X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/953704c1c76cfb9cfb7b91f0e81f98c30d27eb56..40bd6154f1476dbe598c60b4760bbf2fe0d9ab0f:/include/wx/gtk1/checkbox.h diff --git a/include/wx/gtk1/checkbox.h b/include/wx/gtk1/checkbox.h index f26be094c8..562f783397 100644 --- a/include/wx/gtk1/checkbox.h +++ b/include/wx/gtk1/checkbox.h @@ -7,7 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKCHECKBOXH__ #define __GTKCHECKBOXH__ @@ -41,8 +40,6 @@ extern const char *wxCheckBoxNameStr; class wxCheckBox: public wxControl { -DECLARE_DYNAMIC_CLASS(wxCheckBox) - public: wxCheckBox(); wxCheckBox( wxWindow *parent, wxWindowID id, const wxString& label, @@ -69,10 +66,20 @@ public: bool Enable( bool enable ); // implementation + // -------------- + void ApplyWidgetStyle(); + bool IsOwnGtkWindow( GdkWindow *window ); + void OnInternalIdle(); GtkWidget *m_widgetCheckbox; GtkWidget *m_widgetLabel; + +protected: + virtual wxSize DoGetBestSize() const; + +private: + DECLARE_DYNAMIC_CLASS(wxCheckBox) }; #endif