X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef0e92205a01c7d0ca6f381cc690cb5d4fa595c9..d0f063020e6fb1b1a660952d0844071e0df24324:/include/wx/tglbtn.h?ds=inline diff --git a/include/wx/tglbtn.h b/include/wx/tglbtn.h index ccb80dce96..d7546f1f44 100644 --- a/include/wx/tglbtn.h +++ b/include/wx/tglbtn.h @@ -20,7 +20,7 @@ #include "wx/event.h" #include "wx/control.h" // base class -extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TOGGLEBUTTON_CLICKED; +wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent ); // ---------------------------------------------------------------------------- // wxToggleButtonBase @@ -65,7 +65,7 @@ protected: // choose the default border for this window virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } - DECLARE_NO_COPY_CLASS(wxToggleButtonBase) + wxDECLARE_NO_COPY_CLASS(wxToggleButtonBase); };