X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63ec432bd7b9c93961e85e871bcb31758364a634..527343602e91d60c65fb7589a6ddcf4683930c78:/include/wx/mac/carbon/scrolbar.h diff --git a/include/wx/mac/carbon/scrolbar.h b/include/wx/mac/carbon/scrolbar.h index 71c711e305..cabbeb9dc3 100644 --- a/include/wx/mac/carbon/scrolbar.h +++ b/include/wx/mac/carbon/scrolbar.h @@ -23,7 +23,7 @@ class WXDLLEXPORT wxScrollBar: public wxControl public: inline wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; } - ~wxScrollBar(); + virtual ~wxScrollBar(); inline wxScrollBar(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, @@ -55,6 +55,9 @@ public: void Command(wxCommandEvent& event); virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ; virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF mevent ) ; + + wxSize DoGetBestSize() const; + protected: int m_pageSize; int m_viewSize;