X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/184b5d99a5382cd7a19888c85aff11f8a21af2f6..7010b7bccd3674adaa1b53b371b0dae57d4ba4bf:/include/wx/msw/listbox.h?ds=sidebyside diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index ac0efc056f..f64c4741e2 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -101,6 +101,9 @@ class WXDLLEXPORT wxListBox: public wxControl virtual bool Selected(int n) 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); } // Set the specified item at the first visible item // or scroll to max range.