git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43368
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_requested_bmp_size = size;
// if window is already initialized, recalculate the tab height
m_requested_bmp_size = size;
// if window is already initialized, recalculate the tab height
- SetTabCtrlHeight(CalculateTabCtrlHeight());
+ if (m_dummy_wnd)
+ {
+ SetTabCtrlHeight(CalculateTabCtrlHeight());
+ }
}
void wxAuiNotebook::SetTabCtrlHeight(int height)
}
void wxAuiNotebook::SetTabCtrlHeight(int height)