]> git.saurik.com Git - wxWidgets.git/commitdiff
use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxBookCtrlSizer ctor too
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Apr 2006 12:54:52 +0000 (12:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Apr 2006 12:54:52 +0000 (12:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sizer.cpp

index ea63c184c9367d294cb00b5a82ee432daefe3b83..a8abbb34459ddbc956a757914fe3c53fca11ab20 100644 (file)
@@ -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 );