From: Vadim Zeitlin Date: Sun, 16 Jan 2011 14:09:07 +0000 (+0000) Subject: Remove undefined wxScrollBarBase::Create() declaration. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/62441159cc081536cc43b1a29fefb60ec5c4c0ae Remove undefined wxScrollBarBase::Create() declaration. Create() method in a base class can't be implemented and actually shouldn't even have been defined there in the first place. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/scrolbar.h b/include/wx/scrolbar.h index 2d01bcae4b..7e28e8936b 100644 --- a/include/wx/scrolbar.h +++ b/include/wx/scrolbar.h @@ -29,7 +29,10 @@ class WXDLLIMPEXP_CORE wxScrollBarBase : public wxControl public: wxScrollBarBase() { } - // scrollbar construction + /* + Derived classes should provide the following method and ctor with the + same parameters: + bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, @@ -37,6 +40,7 @@ public: long style = wxSB_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxScrollBarNameStr); + */ // accessors virtual int GetThumbPosition() const = 0;