X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdb5436554c910fe850db1470514ee83ded76db3..cf2918d40e990646a1277ba67a029cafe9e0fec8:/include/wx/palmos/tglbtn.h diff --git a/include/wx/palmos/tglbtn.h b/include/wx/palmos/tglbtn.h index 4b8f99def8..ff31ea7e2a 100644 --- a/include/wx/palmos/tglbtn.h +++ b/include/wx/palmos/tglbtn.h @@ -13,10 +13,11 @@ #ifndef _WX_TOGGLEBUTTON_H_ #define _WX_TOGGLEBUTTON_H_ -WXDLLEXPORT_DATA(extern const wxChar*) wxCheckBoxNameStr; +#include "wx/checkbox.h" // wxCheckBoxNameStr, in Datacmn.cpp +//WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxCheckBoxNameStr[]; // Checkbox item (single checkbox) -class WXDLLEXPORT wxToggleButton : public wxControl +class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase { public: wxToggleButton() {} @@ -46,6 +47,9 @@ public: virtual void Command(wxCommandEvent& event); + // send a notification event, return true if processed + bool SendClickEvent(); + protected: virtual wxSize DoGetBestSize() const; virtual wxBorder GetDefaultBorder() const;