#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
+ void DisableEvents();
+ void EnableEvents();
bool IsOwnGtkWindow( GdkWindow *window );
void ApplyWidgetStyle();
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__