X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdb5436554c910fe850db1470514ee83ded76db3..e700e2964b33a7c510edf8b726b90207ed66f6b7:/include/wx/palmos/tglbtn.h?ds=sidebyside 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;