fix from Robert for extra refreshes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-09-30 16:30:30 +00:00
parent 426bb74a93
commit 2d19ad2578
2 changed files with 10 additions and 2 deletions

View File

@ -774,6 +774,10 @@ static void gtk_window_draw_callback( GtkWidget *widget, GdkRectangle *rect, wxW
if (g_isIdle)
wxapp_install_idle_handler();
// this is supposed to take care of extra (and unneeded) frame repaints
if (win->GetChildren().GetCount() == 0)
return;
/*
if (win->GetName() == wxT("panel"))
{

View File

@ -774,6 +774,10 @@ static void gtk_window_draw_callback( GtkWidget *widget, GdkRectangle *rect, wxW
if (g_isIdle)
wxapp_install_idle_handler();
// this is supposed to take care of extra (and unneeded) frame repaints
if (win->GetChildren().GetCount() == 0)
return;
/*
if (win->GetName() == wxT("panel"))
{