projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
759b3c7
)
Only process dynamic events if the eventTypes match
author
Robin Dunn
<robin@alldunn.com>
Fri, 19 Sep 2003 01:32:44 +0000
(
01:32
+0000)
committer
Robin Dunn
<robin@alldunn.com>
Fri, 19 Sep 2003 01:32:44 +0000
(
01:32
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23703
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/event.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/event.cpp
b/src/common/event.cpp
index f4be1f6d954802990d4e5855e6ce0cbd0973b8ce..187dbf5fcdab090af2c57216b219362ca1b6af3e 100644
(file)
--- a/
src/common/event.cpp
+++ b/
src/common/event.cpp
@@
-1253,7
+1253,7
@@
bool wxEvtHandler::SearchDynamicEventTable( wxEvent& event )
wxDynamicEventTableEntry *entry = (wxDynamicEventTableEntry*)node->GetData();
#endif // WXWIN_COMPATIBILITY_EVENT_TYPES/!WXWIN_COMPATIBILITY_EVENT_TYPES
- if (entry->m_fn)
+ if (
(event.m_eventType == entry->m_eventType) &&
entry->m_fn)
{
wxEvtHandler *handler =
#if !WXWIN_COMPATIBILITY_EVENT_TYPES