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:
@@ -774,6 +774,10 @@ static void gtk_window_draw_callback( GtkWidget *widget, GdkRectangle *rect, wxW
|
|||||||
if (g_isIdle)
|
if (g_isIdle)
|
||||||
wxapp_install_idle_handler();
|
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"))
|
if (win->GetName() == wxT("panel"))
|
||||||
{
|
{
|
||||||
|
@@ -774,6 +774,10 @@ static void gtk_window_draw_callback( GtkWidget *widget, GdkRectangle *rect, wxW
|
|||||||
if (g_isIdle)
|
if (g_isIdle)
|
||||||
wxapp_install_idle_handler();
|
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"))
|
if (win->GetName() == wxT("panel"))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user