X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fabb57533169f2f75367e0d120c762518548890..03ab016d6692ccceafb0f324a063bbf8f334f020:/include/wx/motif/choice.h?ds=sidebyside diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index 1e3c872c5d..17702e03cb 100644 --- a/include/wx/motif/choice.h +++ b/include/wx/motif/choice.h @@ -60,6 +60,7 @@ class WXDLLEXPORT wxChoice: public wxControl virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) { wxWindow::SetSize(rect, sizeFlags); } virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + virtual void SetSize(int width, int height) { SetSize(-1, -1, width, height, wxSIZE_USE_EXISTING); } virtual wxString GetStringSelection() const ; virtual bool SetStringSelection(const wxString& sel);