X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdb5436554c910fe850db1470514ee83ded76db3..f1a73c6a816aeba155e88c628a0a778a2fe068bd:/include/wx/palmos/checkbox.h 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