]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/tglbtn.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / palmos / tglbtn.cpp
index 3f75361d7e45b16d4c3b33cae4b2d12c7826ecf9..856b13d77ebfffb098c5701b1ceef69e8268cfed 100644 (file)
@@ -44,7 +44,7 @@
 // ----------------------------------------------------------------------------
 
 IMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxControl)
-DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED)
+wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent );
 
 // ============================================================================
 // implementation