X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20bc5ad8dd419d0d3e524079f8fdbe3d8c14231f..5d7792236f7e4fcbb94cdc2a5213e0c5788e8c28:/src/palmos/tglbtn.cpp?ds=sidebyside diff --git a/src/palmos/tglbtn.cpp b/src/palmos/tglbtn.cpp index d9de36c03f..856b13d77e 100644 --- a/src/palmos/tglbtn.cpp +++ b/src/palmos/tglbtn.cpp @@ -26,6 +26,8 @@ #if wxUSE_TOGGLEBTN +#include "wx/tglbtn.h" + #ifndef WX_PRECOMP #include "wx/button.h" #include "wx/brush.h" @@ -35,8 +37,6 @@ #include "wx/log.h" #endif // WX_PRECOMP -#include "wx/tglbtn.h" - #include // ---------------------------------------------------------------------------- @@ -44,7 +44,7 @@ // ---------------------------------------------------------------------------- IMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxControl) -DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED) +wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent ); // ============================================================================ // implementation @@ -101,4 +101,3 @@ void wxToggleButton::Command(wxCommandEvent & event) } #endif // wxUSE_TOGGLEBTN -