X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cc0e28f6add744e192d196951dc8be7c9cc51f5..ebea0891d0a5531cfd1ff85e6d77fab66dcf834b:/include/wx/gtk/checkbox.h diff --git a/include/wx/gtk/checkbox.h b/include/wx/gtk/checkbox.h index 41f405680c..edd5cf3dd0 100644 --- a/include/wx/gtk/checkbox.h +++ b/include/wx/gtk/checkbox.h @@ -16,6 +16,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_CHECKBOX + #include "wx/object.h" #include "wx/list.h" #include "wx/control.h" @@ -63,7 +66,7 @@ public: bool GetValue() const; void SetLabel( const wxString& label ); - void Enable( bool enable ); + bool Enable( bool enable ); // implementation void ApplyWidgetStyle(); @@ -73,4 +76,6 @@ public: GtkWidget *m_widgetLabel; }; +#endif + #endif // __GTKCHECKBOXH__