Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
57f1a343
Commit
57f1a343
authored
Dec 07, 2010
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent
parent
3141ab7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/gui/set/cards_panel.cpp
src/gui/set/cards_panel.cpp
+2
-2
No files found.
src/gui/set/cards_panel.cpp
View file @
57f1a343
...
...
@@ -97,7 +97,7 @@ void FilterCtrl::setFilter(const String& new_value, bool event) {
// send event
if
(
event
)
{
wxCommandEvent
ev
(
wxEVT_COMMAND_TEXT_UPDATED
,
GetId
());
GetParent
()
->
Process
Event
(
ev
);
GetParent
()
->
HandleWindow
Event
(
ev
);
}
}
...
...
@@ -163,7 +163,7 @@ BEGIN_EVENT_TABLE(FilterCtrl, wxControl)
END_EVENT_TABLE
()
void
TextCtrlWithFocus
::
forwardEvent
(
wxFocusEvent
&
ev
)
{
GetParent
()
->
Process
Event
(
ev
);
GetParent
()
->
HandleWindow
Event
(
ev
);
}
BEGIN_EVENT_TABLE
(
TextCtrlWithFocus
,
wxTextCtrl
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment