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
This commit is contained in:
Vadim Zeitlin 2006-04-10 13:04:25 +00:00
parent 3abb199dee
commit f3190d1cea

View File

@ -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