#include "wx/checkbox.h"
-class WXDLLEXPORT wxToggleButton : public wxCheckBox
+class WXDLLIMPEXP_CORE wxToggleButton : public wxCheckBox
{
public:
wxToggleButton() { Init(); }
// common part of all constructors
void Init()
{
- m_evtType = wxEVT_COMMAND_TOGGLEBUTTON_CLICKED;
+ m_evtType = wxEVT_TOGGLEBUTTON;
}
};