X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..95fbecf646470893c0d643757c118a8803a7786c:/include/wx/bookctrl.h diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index 8ecfbef190..e101e0660c 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -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;