]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/checkbox.h
Add new methods to transform coordinates expressed in Cocoa's bounds rect to
[wxWidgets.git] / include / wx / motif / checkbox.h
index 9f9ca5851e3cff873121580eda3059846af85f35..3dd762c3cc2137aa1b706dfcbad12ab2df0a43bb 100644 (file)
 #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