]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/choice.cpp
Fixes for building wxOS2 shared with OpenWatcom.
[wxWidgets.git] / src / univ / choice.cpp
index 426b2b41803d01b0371d02e5fdc9cbb4d78b9d45..9115f4de787f791d8ced8f80e52f2982a118a93c 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "univchoice.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
@@ -37,7 +33,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,