#ifndef _WX_TOGGLEBUTTON_H_
#define _WX_TOGGLEBUTTON_H_
-WXDLLEXPORT_DATA(extern const wxChar*) wxCheckBoxNameStr;
+#include "wx/checkbox.h" // wxCheckBoxNameStr, in datacmn.cpp
// Checkbox item (single checkbox)
-class WXDLLEXPORT wxToggleButton : public wxControl
+class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase
{
public:
wxToggleButton() {}
virtual void Command(wxCommandEvent& event);
+ // send a notification event, return true if processed
+ bool SendClickEvent();
+
protected:
virtual wxSize DoGetBestSize() const;
virtual wxBorder GetDefaultBorder() const;