]> git.saurik.com Git - wxWidgets.git/commitdiff
call Thaw() instead of DoThaw() so frozen status will be properly updated, and use...
authorPaul Cornett <paulcor@bullseye.com>
Tue, 25 Sep 2012 18:01:04 +0000 (18:01 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 25 Sep 2012 18:01:04 +0000 (18:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp

index 613f33abf59e0a7a53bd1d7f885dc04aba993aab..9b460e7a23ba09884cf5b446a1f9b325c6f65046 100644 (file)
@@ -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)
     {