X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08e5319b03f80c8554a49c1ef4c9d2adaa8587ce..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/motif/checkbox.h diff --git a/include/wx/motif/checkbox.h b/include/wx/motif/checkbox.h index 9f9ca5851e..3dd762c3cc 100644 --- a/include/wx/motif/checkbox.h +++ b/include/wx/motif/checkbox.h @@ -12,14 +12,10 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checkbox.h" #endif -#include "wx/control.h" - -WXDLLEXPORT_DATA(extern const char*) wxCheckBoxNameStr; - // Checkbox item (single checkbox) class WXDLLEXPORT wxCheckBox: public wxCheckBoxBase { @@ -56,6 +52,10 @@ private: m_evtType = wxEVT_COMMAND_CHECKBOX_CLICKED; } + virtual void DoSet3StateValue(wxCheckBoxState state); + + virtual wxCheckBoxState DoGet3StateValue() const; + // public for the callback public: // either exEVT_COMMAND_CHECKBOX_CLICKED or ..._TOGGLEBUTTON_CLICKED