X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9cc7121f68faafefe947eba3e9dafb7228debad3..e5f741e5d467b1ce7105be96e9f3dcb553e8b89d:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 725ba77679..a85d6ab17b 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -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")) {