]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/choice.cpp
added wxListBox styles
[wxWidgets.git] / src / univ / choice.cpp
index 426b2b41803d01b0371d02e5fdc9cbb4d78b9d45..19c7cb72ffacb4df409a01d1cbbd6a4d2ca7e36f 100644 (file)
@@ -37,7 +37,7 @@
 IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
 
 BEGIN_EVENT_TABLE(wxChoice, wxComboBox)
-    EVT_COMBOBOX(-1, wxChoice::OnComboBox)
+    EVT_COMBOBOX(wxID_ANY, wxChoice::OnComboBox)
 END_EVENT_TABLE()
 
 wxChoice::wxChoice(wxWindow *parent, wxWindowID id,