X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3399051ee9fa4dfa5fa7ac2dd9034062f4414d64..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/motif/checkbox.h?ds=sidebyside diff --git a/include/wx/motif/checkbox.h b/include/wx/motif/checkbox.h index 94a504384a..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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#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