#include "wx/checkbox.h"
-class WXDLLEXPORT wxToggleButton : public wxCheckBox
+class WXDLLIMPEXP_CORE wxToggleButton : public wxCheckBox
{
public:
wxToggleButton() { Init(); }
long style = 0,
const wxValidator& val = wxDefaultValidator,
const wxString &name = wxCheckBoxNameStr );
+
+protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
private:
DECLARE_DYNAMIC_CLASS(wxToggleButton)
// common part of all constructors
void Init()
{
- m_evtType = wxEVT_COMMAND_TOGGLEBUTTON_CLICKED;
+ m_evtType = wxEVT_TOGGLEBUTTON;
}
};