X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0de9b5b23f70465393526546cd1a69fcfcd26e9c..bb338b31a760f9ad5c875db1c182a9bb2f3e1431:/include/wx/gtk/radiobox.h diff --git a/include/wx/gtk/radiobox.h b/include/wx/gtk/radiobox.h index a73c1a608e..eded3b86e9 100644 --- a/include/wx/gtk/radiobox.h +++ b/include/wx/gtk/radiobox.h @@ -16,6 +16,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_RADIOBOX + #include "wx/object.h" #include "wx/list.h" #include "wx/control.h" @@ -39,9 +42,6 @@ extern const char *wxRadioBoxNameStr; class wxRadioBox: public wxControl { - - DECLARE_DYNAMIC_CLASS(wxRadioBox) - public: wxRadioBox(); inline wxRadioBox( wxWindow *parent, wxWindowID id, const wxString& title, @@ -88,20 +88,28 @@ public: int GetNumberOfRowsOrCols() const; void SetNumberOfRowsOrCols( int n ); - void OnSize( wxSizeEvent &event ); - void SetFocus(); - - // implementation + // implementation + // -------------- + void SetFocus(); + void GtkDisableEvents(); + void GtkEnableEvents(); bool IsOwnGtkWindow( GdkWindow *window ); void ApplyWidgetStyle(); +#if wxUSE_TOOLTIPS + void ApplyToolTip( GtkTooltips *tips, const wxChar *tip ); +#endif // wxUSE_TOOLTIPS wxSize LayoutItems(); + void DoSetSize( int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO ); bool m_alreadySent; int m_majorDim; wxList m_boxes; - DECLARE_EVENT_TABLE() +private: + DECLARE_DYNAMIC_CLASS(wxRadioBox) }; +#endif + #endif // __GTKRADIOBOXH__