X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4294b7832a5aed3c1cccc06aecd227d43da8830..e0543d2a7000693be84cd8bb5cfa3a85b1ad457c:/include/wx/motif/listbox.h?ds=sidebyside diff --git a/include/wx/motif/listbox.h b/include/wx/motif/listbox.h index 0b938da821..0a7ccee86f 100644 --- a/include/wx/motif/listbox.h +++ b/include/wx/motif/listbox.h @@ -74,7 +74,11 @@ class WXDLLEXPORT wxListBox: public wxControl virtual int GetSelections(wxArrayInt& aSelections) const; 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); + virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); } // Set the specified item at the first visible item // or scroll to max range. @@ -89,6 +93,10 @@ class WXDLLEXPORT wxListBox: public wxControl void Command(wxCommandEvent& event); +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); WXWidget GetTopWidget() const; protected: