git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8446
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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"))
{
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"))
{