git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9961
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// We have to call this here because the label in
// question might just have been added and no screen
// update taken place.
// We have to call this here because the label in
// question might just have been added and no screen
// update taken place.
- if (m_dirty) wxYieldIfNeeded();
+ // JACS: removed this because the yield can cause the window to be
+ // deleted from under us if a close window event is pending
+ // if (m_dirty) wxYieldIfNeeded();
wxClientDC dc(this);
PrepareDC(dc);
wxClientDC dc(this);
PrepareDC(dc);