From: Vadim Zeitlin Date: Mon, 10 Apr 2006 12:54:52 +0000 (+0000) Subject: use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxBookCtrlSizer ctor too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3abb199dee0afdeae31bac69186751a02a37611e use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxBookCtrlSizer ctor too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index ea63c184c9..a8abbb3445 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -1947,12 +1947,16 @@ IMPLEMENT_CLASS(wxNotebookSizer, wxBookCtrlSizer) #if wxUSE_BOOKCTRL +#if WXWIN_COMPATIBILITY_2_6 + wxBookCtrlSizer::wxBookCtrlSizer(wxBookCtrlBase *bookctrl) : m_bookctrl(bookctrl) { wxASSERT_MSG( bookctrl, wxT("wxBookCtrlSizer needs a control") ); } +#endif // WXWIN_COMPATIBILITY_2_6 + void wxBookCtrlSizer::RecalcSizes() { m_bookctrl->SetSize( m_position.x, m_position.y, m_size.x, m_size.y );