]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/tglbtn.cpp
fix a typo in comment
[wxWidgets.git] / src / os2 / tglbtn.cpp
index 6269009481bab25b6fa399f39ce8b318684c6fc1..d852a0dff31716654c4a87f9c3a4da6b5aa209ae 100644 (file)
@@ -43,7 +43,7 @@
 // ----------------------------------------------------------------------------
 
 IMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxControl)
-DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED)
+wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent )
 
 #define BUTTON_HEIGHT_FROM_CHAR_HEIGHT(cy) (11*EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy)/10)