#endif
#include "wx/defs.h"
+
+#if wxUSE_RADIOBOX
+
#include "wx/object.h"
#include "wx/list.h"
#include "wx/control.h"
class wxRadioBox: public wxControl
{
-
- DECLARE_DYNAMIC_CLASS(wxRadioBox)
-
public:
wxRadioBox();
inline wxRadioBox( wxWindow *parent, wxWindowID id, const wxString& title,
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__