X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d57be459406c2830f6abc9d99ae99166c6d133b..f6ddc54a659d3f45c4dcd83eb4a70a92fdf7a391:/include/wx/motif/choice.h diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index f9f0c43be9..1e3c872c5d 100644 --- a/include/wx/motif/choice.h +++ b/include/wx/motif/choice.h @@ -55,7 +55,12 @@ class WXDLLEXPORT wxChoice: public wxControl virtual void SetSelection(int n); virtual int FindString(const wxString& s) const; virtual wxString GetString(int n) const ; + virtual void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + virtual wxString GetStringSelection() const ; virtual bool SetStringSelection(const wxString& sel); @@ -68,7 +73,7 @@ class WXDLLEXPORT wxChoice: public wxControl void SetFocus(); // Implementation - virtual void ChangeFont(); + virtual void ChangeFont(bool keepOriginalSize = TRUE); virtual void ChangeBackgroundColour(); virtual void ChangeForegroundColour(); WXWidget GetTopWidget() const { return m_formWidget; }