X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdb5436554c910fe850db1470514ee83ded76db3..6e3515377ca94ccc018f7a5ba8f185914081e601:/include/wx/palmos/checkbox.h?ds=sidebyside diff --git a/include/wx/palmos/checkbox.h b/include/wx/palmos/checkbox.h index d2f7628a26..a96f5f9db0 100644 --- a/include/wx/palmos/checkbox.h +++ b/include/wx/palmos/checkbox.h @@ -12,12 +12,8 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "checkbox.h" -#endif - // Checkbox item (single checkbox) -class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase +class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase { public: wxCheckBox() { } @@ -47,6 +43,9 @@ public: virtual void Command(wxCommandEvent& event); + // send a notification event, return true if processed + bool SendClickEvent(); + protected: virtual wxSize DoGetBestSize() const; @@ -56,6 +55,8 @@ protected: private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxCheckBox) + // current state of the checkbox + wxCheckBoxState m_state; }; #endif