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:
parent
426bb74a93
commit
2d19ad2578
@ -773,7 +773,11 @@ 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"))
|
||||
{
|
||||
|
@ -773,7 +773,11 @@ 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"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user