X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..618512fe10b1ba8dbff1482aba403b615f626cc4:/include/wx/msw/choice.h diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index e3fd471b6d..c7518c79b8 100644 --- a/include/wx/msw/choice.h +++ b/include/wx/msw/choice.h @@ -55,6 +55,9 @@ class WXDLLEXPORT wxChoice: public wxControl 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); + void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + void SetSize(const wxSize& size) { wxWindow::SetSize(size); } virtual wxString GetStringSelection(void) const ; virtual bool SetStringSelection(const wxString& sel);