]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
linking fix for wxUSE_VALIDATORS==0
[wxWidgets.git] / src / common / combocmn.cpp
index c3a2334c47328083ef5da8000f19a4520c6b674d..5df0a61af55efdc0200ad2e92a0edb0e9f1db3ad 100644 (file)
@@ -1874,7 +1874,7 @@ void wxComboCtrlBase::OnButtonClick()
     {
         wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_DROPDOWN, GetId());
         event.SetEventObject(this);
-        ProcessCommand(event);
+        HandleWindowEvent(event);
 
         ShowPopup();
     }
@@ -2157,7 +2157,7 @@ void wxComboCtrlBase::OnPopupDismiss(bool generateEvent)
     {
         wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_CLOSEUP, GetId());
         event.SetEventObject(this);
-        ProcessCommand(event);
+        HandleWindowEvent(event);
     }
 }