X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e6efd1fd2f6cedda23140aff17f56b26ef7c2d2..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/gtk/checkbox.h diff --git a/include/wx/gtk/checkbox.h b/include/wx/gtk/checkbox.h index 5ae9c7fb47..d9edb0a356 100644 --- a/include/wx/gtk/checkbox.h +++ b/include/wx/gtk/checkbox.h @@ -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) };