gtk crash fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2452,7 +2452,10 @@ void wxAuiNotebook::SetUniformBitmapSize(const wxSize& size)
|
||||
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)
|
||||
|
Reference in New Issue
Block a user