X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1e01716310cb6e3bfcf5894b442d277bc32789a..b5aaf62e977b828214d65c3712478410fb2c8a05:/src/os2/tglbtn.cpp diff --git a/src/os2/tglbtn.cpp b/src/os2/tglbtn.cpp index 6269009481..966961a4d0 100644 --- a/src/os2/tglbtn.cpp +++ b/src/os2/tglbtn.cpp @@ -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)