]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/checkbox.h
Applied rowspan patch #15276 (dghart)
[wxWidgets.git] / include / wx / gtk / checkbox.h
index 5ae9c7fb473e16e3b200ae0e8dc11d3a11c3a0bc..d9edb0a356ff7351e9a63845d334e932dbc048c0 100644 (file)
@@ -18,6 +18,7 @@ class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase
 {
 public:
     wxCheckBox();
+    ~wxCheckBox();
     wxCheckBox( wxWindow *parent, wxWindowID id, const wxString& label,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize, long style = 0,
@@ -44,23 +45,23 @@ public:
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
+    // implementation
+    void GTKDisableEvents();
+    void GTKEnableEvents();
+
 protected:
-    virtual wxSize DoGetBestSize() const;
     virtual void DoApplyWidgetStyle(GtkRcStyle *style);
     virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
 
     void DoSet3StateValue(wxCheckBoxState state);
     wxCheckBoxState DoGet3StateValue() const;
 
-public:
-    // implementation
-    void GTKDisableEvents();
-    void GTKEnableEvents();
+private:
+    typedef wxCheckBoxBase base_type;
 
     GtkWidget *m_widgetCheckbox;
     GtkWidget *m_widgetLabel;
 
-private:
     DECLARE_DYNAMIC_CLASS(wxCheckBox)
 };