X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4294b7832a5aed3c1cccc06aecd227d43da8830..dc63c944b3193e35fd1f49aceabc010c070ae53f:/include/wx/motif/choice.h diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index 321e5cfab3..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); @@ -67,6 +72,10 @@ class WXDLLEXPORT wxChoice: public wxControl void SetFocus(); +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); WXWidget GetTopWidget() const { return m_formWidget; } WXWidget GetMainWidget() const { return m_buttonWidget; }