X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e6efd1fd2f6cedda23140aff17f56b26ef7c2d2..ca77701441e39245dcbfce903049e76f166979e5:/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) };