X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc797d8e1b4ef10be4f5c9cd73151406f459706d..3174a8a92a642106df50f92af7b145f0524bf43d:/include/wx/motif/tglbtn.h diff --git a/include/wx/motif/tglbtn.h b/include/wx/motif/tglbtn.h index 0fd827b953..b0af6483bb 100644 --- a/include/wx/motif/tglbtn.h +++ b/include/wx/motif/tglbtn.h @@ -15,7 +15,7 @@ #include "wx/checkbox.h" -class WXDLLEXPORT wxToggleButton : public wxCheckBox +class WXDLLIMPEXP_CORE wxToggleButton : public wxCheckBox { public: wxToggleButton() { Init(); } @@ -47,7 +47,7 @@ private: // common part of all constructors void Init() { - m_evtType = wxEVT_COMMAND_TOGGLEBUTTON_CLICKED; + m_evtType = wxEVT_TOGGLEBUTTON; } };