X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcf924a345ea8ffbc1cf6b40b5f75c6005e504c0..1d910ac1fcebc69cda4c0b85278af09a55c9a611:/include/wx/gtk1/checkbox.h diff --git a/include/wx/gtk1/checkbox.h b/include/wx/gtk1/checkbox.h index edd5cf3dd0..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,11 +66,20 @@ public: bool Enable( bool enable ); // implementation + // -------------- + void ApplyWidgetStyle(); + bool IsOwnGtkWindow( GdkWindow *window ); + void OnInternalIdle(); - bool m_blockFirstEvent; GtkWidget *m_widgetCheckbox; GtkWidget *m_widgetLabel; + +protected: + virtual wxSize DoGetBestSize() const; + +private: + DECLARE_DYNAMIC_CLASS(wxCheckBox) }; #endif