X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fabb57533169f2f75367e0d120c762518548890..0a9f252212bdc4f9eea745a04632748d5544c042:/include/wx/motif/radiobox.h diff --git a/include/wx/motif/radiobox.h b/include/wx/motif/radiobox.h index 78168c845f..6d536f7a97 100644 --- a/include/wx/motif/radiobox.h +++ b/include/wx/motif/radiobox.h @@ -54,6 +54,8 @@ public: void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) { wxWindow::SetSize(rect, sizeFlags); } void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + virtual void SetSize(int width, int height) { SetSize(-1, -1, width, height, wxSIZE_USE_EXISTING); } + void SetLabel(const wxString& label) { wxControl::SetLabel(label); }; void SetLabel(int item, const wxString& label) ; wxString GetLabel(int item) const; @@ -61,7 +63,7 @@ public: void Enable(bool enable); void Enable(int item, bool enable); void Show(int item, bool show) ; - bool Show(bool show) { return wxControl::Show(show); }; + bool Show(bool show) ; virtual wxString GetStringSelection() const; virtual bool SetStringSelection(const wxString& s); @@ -77,6 +79,7 @@ public: virtual void ChangeForegroundColour(); WXWidget GetTopWidget() const { return m_formWidget; } WXWidget GetLabelWidget() const { return m_labelWidget; } + WXWidget GetFrameWidget() const { return m_frameWidget; } inline WXWidget* GetRadioButtons() const { return m_radioButtons; } inline void SetSel(int i) { m_selectedButton = i; } @@ -88,6 +91,7 @@ protected: WXWidget m_formWidget; WXWidget m_labelWidget; + WXWidget m_frameWidget; WXWidget* m_radioButtons; wxString* m_radioButtonLabels; };