]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/checkbox.h
flipped accessor conforming to plain c++ impl
[wxWidgets.git] / include / wx / gtk / checkbox.h
index c4639026ff131e77d54d3d88a3c66b93b1271263..3e86b4c495d76b0b0a101e70c28ee542916b6990 100644 (file)
@@ -44,14 +44,6 @@ public:
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
-    // implementation
-    // --------------
-
-    GtkWidget *m_widgetCheckbox;
-    GtkWidget *m_widgetLabel;
-
-    bool       m_blockEvent;
-
 protected:
     virtual wxSize DoGetBestSize() const;
     virtual void DoApplyWidgetStyle(GtkRcStyle *style);
 protected:
     virtual wxSize DoGetBestSize() const;
     virtual void DoApplyWidgetStyle(GtkRcStyle *style);
@@ -60,6 +52,14 @@ protected:
     void DoSet3StateValue(wxCheckBoxState state);
     wxCheckBoxState DoGet3StateValue() const;
 
     void DoSet3StateValue(wxCheckBoxState state);
     wxCheckBoxState DoGet3StateValue() const;
 
+public:
+    // implementation
+    void GTKDisableEvents();
+    void GTKEnableEvents();
+
+    GtkWidget *m_widgetCheckbox;
+    GtkWidget *m_widgetLabel;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxCheckBox)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxCheckBox)
 };