X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c7789014106c9269b0f4ecc1a3071b14f351d3f..31cc5049d386913adeba034e499e3c181ad54a50:/include/wx/bookctrl.h diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index 9085595d68..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; @@ -336,7 +336,7 @@ private: unsigned int m_internalBorder; DECLARE_ABSTRACT_CLASS(wxBookCtrlBase) - DECLARE_NO_COPY_CLASS(wxBookCtrlBase) + wxDECLARE_NO_COPY_CLASS(wxBookCtrlBase); DECLARE_EVENT_TABLE() };