]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/choiccmn.cpp
refactor wxLog documentation moving verbose parts to the wxLog overview and grouping...
[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