]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove undefined wxScrollBarBase::Create() declaration.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 16 Jan 2011 14:09:07 +0000 (14:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 16 Jan 2011 14:09:07 +0000 (14:09 +0000)
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

include/wx/scrolbar.h

index 2d01bcae4b3ae03bb537fe1672e436219f63b435..7e28e8936be34fc5554350ac6dcaa863d9809844 100644 (file)
@@ -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;