From: Paul Cornett Date: Tue, 25 Sep 2012 18:01:04 +0000 (+0000) Subject: call Thaw() instead of DoThaw() so frozen status will be properly updated, and use... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cec92136b4aaf0d9b779047daeb284eeca3da280 call Thaw() instead of DoThaw() so frozen status will be properly updated, and use a loop in case window has been frozen more than once git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 613f33abf5..9b460e7a23 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2371,8 +2371,8 @@ wxWindowGTK::~wxWindowGTK() // avoid problem with GTK+ 2.18 where a frozen window causes the whole // TLW to be frozen, and if the window is then destroyed, nothing ever // gets painted again - if (IsFrozen()) - DoThaw(); + while (IsFrozen()) + Thaw(); if (m_widget) {