]> git.saurik.com Git - wxWidgets.git/commitdiff
Made DoSize and GetPageRect virtual for easier derivation without duplicating a lot...
authorJulian Smart <julian@anthemion.co.uk>
Fri, 13 Mar 2009 09:22:23 +0000 (09:22 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 13 Mar 2009 09:22:23 +0000 (09:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/bookctrl.h

index 8ecfbef1907d66038be340cb32fbecad407f3f10..e101e0660cc2713ebe11a1335cabce2ce86f3478 100644 (file)
@@ -286,7 +286,7 @@ protected:
     int GetNextPage(bool forward) const;
 
     // Lay out controls
-    void DoSize();
+    virtual void DoSize();
 
     // This method also invalidates the size of the controller and should be
     // called instead of just InvalidateBestSize() whenever pages are added or
@@ -309,7 +309,7 @@ protected:
     bool m_ownsImageList;
 
     // get the page area
-    wxRect GetPageRect() const;
+    virtual wxRect GetPageRect() const;
 
     // event handlers
     virtual wxSize GetControllerSize() const;