From: Benjamin Williams Date: Sun, 12 Nov 2006 21:01:38 +0000 (+0000) Subject: gtk crash fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dbbe02ea5acfbf744672220494409331142d298e gtk crash fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index 561121d170..fe3d5f9a56 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -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)