From: Vadim Zeitlin Date: Mon, 10 Apr 2006 13:04:25 +0000 (+0000) Subject: use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxNotebookSizer ctor too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f3190d1ceaf664645d9583ba51931f49294405c0 use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxNotebookSizer ctor too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index a8abbb3445..1d9e4c216b 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -2002,12 +2002,16 @@ wxSize wxBookCtrlSizer::CalcMin() #if wxUSE_NOTEBOOK +#if WXWIN_COMPATIBILITY_2_6 + wxNotebookSizer::wxNotebookSizer(wxNotebook *nb) { wxASSERT_MSG( nb, wxT("wxNotebookSizer needs a control") ); m_bookctrl = nb; } +#endif // WXWIN_COMPATIBILITY_2_6 + #endif // wxUSE_NOTEBOOOK #endif // wxUSE_BOOKCTRL