freeze whole window for TLW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2010-04-05 01:06:39 +00:00
parent 2f55b88cb0
commit 9914bfbb77

View File

@ -4446,9 +4446,9 @@ static void wx_frozen_widget_realize(GtkWidget* w, wxWindowGTK* win)
win
);
GdkWindow* window = win->GTKGetDrawingWindow();
if (window == NULL)
window = w->window;
GdkWindow* window = w->window;
if (w == win->m_wxwindow)
window = win->GTKGetDrawingWindow();
gdk_window_freeze_updates(window);
}
@ -4473,9 +4473,9 @@ void wxWindowGTK::GTKFreezeWidget(GtkWidget *w)
return;
}
GdkWindow* window = GTKGetDrawingWindow();
if (window == NULL)
window = w->window;
GdkWindow* window = w->window;
if (w == m_wxwindow)
window = GTKGetDrawingWindow();
gdk_window_freeze_updates(window);
}
@ -4496,9 +4496,9 @@ void wxWindowGTK::GTKThawWidget(GtkWidget *w)
return;
}
GdkWindow* window = GTKGetDrawingWindow();
if (window == NULL)
window = w->window;
GdkWindow* window = w->window;
if (w == m_wxwindow)
window = GTKGetDrawingWindow();
gdk_window_thaw_updates(window);
}