X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3abb199dee0afdeae31bac69186751a02a37611e..6493aacaeb7b22b9fa35c559f7753e9fec0da71f:/src/common/sizer.cpp 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