projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added QueryRawValue() to wxRegKey and test code for it in the sample
[wxWidgets.git]
/
src
/
gtk
/
window.cpp
diff --git
a/src/gtk/window.cpp
b/src/gtk/window.cpp
index 725ba776792a73513be40c92e54434b3eb6924fa..a85d6ab17b857ad6d222173471a3f122b5be095b 100644
(file)
--- 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();
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 (win->GetName() == wxT("panel"))
{