use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxBookCtrlSizer ctor too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1947,12 +1947,16 @@ IMPLEMENT_CLASS(wxNotebookSizer, wxBookCtrlSizer)
|
|||||||
|
|
||||||
#if wxUSE_BOOKCTRL
|
#if wxUSE_BOOKCTRL
|
||||||
|
|
||||||
|
#if WXWIN_COMPATIBILITY_2_6
|
||||||
|
|
||||||
wxBookCtrlSizer::wxBookCtrlSizer(wxBookCtrlBase *bookctrl)
|
wxBookCtrlSizer::wxBookCtrlSizer(wxBookCtrlBase *bookctrl)
|
||||||
: m_bookctrl(bookctrl)
|
: m_bookctrl(bookctrl)
|
||||||
{
|
{
|
||||||
wxASSERT_MSG( bookctrl, wxT("wxBookCtrlSizer needs a control") );
|
wxASSERT_MSG( bookctrl, wxT("wxBookCtrlSizer needs a control") );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // WXWIN_COMPATIBILITY_2_6
|
||||||
|
|
||||||
void wxBookCtrlSizer::RecalcSizes()
|
void wxBookCtrlSizer::RecalcSizes()
|
||||||
{
|
{
|
||||||
m_bookctrl->SetSize( m_position.x, m_position.y, m_size.x, m_size.y );
|
m_bookctrl->SetSize( m_position.x, m_position.y, m_size.x, m_size.y );
|
||||||
|
Reference in New Issue
Block a user