X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc797d8e1b4ef10be4f5c9cd73151406f459706d..029a401d74c00ce86f485fafeda73520d315fb0f:/include/wx/motif/tglbtn.h diff --git a/include/wx/motif/tglbtn.h b/include/wx/motif/tglbtn.h index 0fd827b953..68e731f5f6 100644 --- a/include/wx/motif/tglbtn.h +++ b/include/wx/motif/tglbtn.h @@ -5,7 +5,6 @@ // Author: Mattia Barbon // Modified by: // Created: 10.02.03 -// RCS-ID: $Id$ // Copyright: (c) 2003 Mattia Barbon // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +14,7 @@ #include "wx/checkbox.h" -class WXDLLEXPORT wxToggleButton : public wxCheckBox +class WXDLLIMPEXP_CORE wxToggleButton : public wxCheckBox { public: wxToggleButton() { Init(); } @@ -47,7 +46,7 @@ private: // common part of all constructors void Init() { - m_evtType = wxEVT_COMMAND_TOGGLEBUTTON_CLICKED; + m_evtType = wxEVT_TOGGLEBUTTON; } };