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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user