X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdb5436554c910fe850db1470514ee83ded76db3..c6ea1fdaf924be4ee49a19d12f76e4fcd257bb0a:/include/wx/palmos/tglbtn.h diff --git a/include/wx/palmos/tglbtn.h b/include/wx/palmos/tglbtn.h index 4b8f99def8..def85cdf5d 100644 --- a/include/wx/palmos/tglbtn.h +++ b/include/wx/palmos/tglbtn.h @@ -13,10 +13,10 @@ #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() {} @@ -46,6 +46,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;