X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f97c985452b20a8c2f0bbfb1d0275298bf09fb45..687d733769cc797102a52c7cad8edd32be5a2f89:/include/wx/motif/listbox.h diff --git a/include/wx/motif/listbox.h b/include/wx/motif/listbox.h index 5ca22a7d03..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,15 +93,18 @@ 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: int m_noItems; int m_selected; // List mapping positions->client data wxList m_clientDataList; - -public: - bool m_inSetValue; }; #endif