X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e75491071dbefcada61175e3eb89ce4edf335983..3f4fc7967b595ea8257696baff78e1866511223d:/include/wx/mac/listbox.h?ds=sidebyside diff --git a/include/wx/mac/listbox.h b/include/wx/mac/listbox.h index 061c146b0e..a312aec593 100644 --- a/include/wx/mac/listbox.h +++ b/include/wx/mac/listbox.h @@ -104,11 +104,6 @@ public: int GetItemIndex(wxOwnerDrawn *item) const { return m_aItems.Index(item); } #endif // wxUSE_OWNER_DRAWN - // Windows-specific code to set the horizontal extent of the listbox, if - // necessary. If s is non-NULL, it's used to calculate the horizontal - // extent. Otherwise, all strings are used. - virtual void SetHorizontalExtent(const wxString& s = wxEmptyString); - // Windows callbacks virtual void SetupColours(); @@ -143,7 +138,7 @@ protected: int m_noItems; int m_selected; - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const ; #if wxUSE_OWNER_DRAWN // control items