X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdbd4e96121a470b518420cff4c2dfea20f2b7a6..e51636824377587ae2406e144702bc748ee90ae2:/include/wx/gtk/checkbox.h diff --git a/include/wx/gtk/checkbox.h b/include/wx/gtk/checkbox.h index e48a048938..3e86b4c495 100644 --- a/include/wx/gtk/checkbox.h +++ b/include/wx/gtk/checkbox.h @@ -44,24 +44,22 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - // implementation - // -------------- - - void DoApplyWidgetStyle(GtkRcStyle *style); - bool IsOwnGtkWindow( GdkWindow *window ); - void OnInternalIdle(); - - GtkWidget *m_widgetCheckbox; - GtkWidget *m_widgetLabel; - - bool m_blockEvent; - 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(); + + GtkWidget *m_widgetCheckbox; + GtkWidget *m_widgetLabel; + private: DECLARE_DYNAMIC_CLASS(wxCheckBox) };