]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/spinctrl.h
don't define comparison operators taking wxStrings when wxUSE_STL == 1
[wxWidgets.git] / include / wx / spinctrl.h
index 7910a98de36f7084d5575b4d32b5eb1bfd03cd18..0d7f175cbb4de1cae656aa75ae1b39a25d5a4e33 100644 (file)
@@ -65,10 +65,12 @@ protected:
     #include "wx/generic/spinctlg.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/spinctrl.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/generic/spinctlg.h"
 #endif // platform
 
 #define EVT_SPINCTRL(id, fn) \
-    DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_SPINCTRL_UPDATED, id, -1, (wxObjectEventFunction) (wxEventFunction)  wxStaticCastEvent( wxSpinEventFunction, & fn ), (wxObject *) NULL ),
+    DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_SPINCTRL_UPDATED, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction)  wxStaticCastEvent( wxSpinEventFunction, & fn ), (wxObject *) NULL ),
 
 #endif // _WX_SPINCTRL_H_