Made DoSize and GetPageRect virtual for easier derivation without duplicating a lot of code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-03-13 09:22:23 +00:00
parent 0f425df617
commit 95835bc453

View File

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