]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/choiccmn.cpp
fixed wxXmlResource::Load's detection of filenames to be done as early as possible
[wxWidgets.git] / src / common / choiccmn.cpp
index 6685fda3cf9e13e653e918a904832e1f22dcc37f..64f8a92347e01da7d80b107e513fdde002f4ec48 100644 (file)
@@ -49,7 +49,7 @@ wxChoiceBase::~wxChoiceBase()
 void wxChoiceBase::Command(wxCommandEvent& event)
 {
     SetSelection(event.GetInt());
-    (void)ProcessEvent(event);
+    (void)GetEventHandler()->ProcessEvent(event);
 }
 
 #endif // wxUSE_CHOICE