]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/combobox_osx.cpp
notify the event loop that synthesized events are on the queue, wait for them to...
[wxWidgets.git] / src / osx / combobox_osx.cpp
index 00a8e571fe659f939354c47020c3096c55735317..762d575df1bd63c604060906e2b9d37f79f89061 100644 (file)
@@ -207,7 +207,7 @@ void wxComboBox::EnableTextChangedEvents(bool WXUNUSED(enable))
 
 bool wxComboBox::OSXHandleClicked( double WXUNUSED(timestampsec) )
 {
-    wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, m_windowId );
+    wxCommandEvent event(wxEVT_COMBOBOX, m_windowId );
     event.SetInt(GetSelection());
     event.SetEventObject(this);
     event.SetString(GetStringSelection());