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:
parent
3abb199dee
commit
f3190d1cea
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user