X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d6d2cd4622a2fdfdbce768dfaf868a838747707..93c95e18f416c25995bf84843694c30a488499c6:/src/gtk1/win_gtk.c diff --git a/src/gtk1/win_gtk.c b/src/gtk1/win_gtk.c index 529c295cd3..a9552bd63b 100644 --- a/src/gtk1/win_gtk.c +++ b/src/gtk1/win_gtk.c @@ -10,6 +10,7 @@ #include "wx/gtk/win_gtk.h" #include "gtk/gtksignal.h" #include "gtk/gtknotebook.h" +#include "gtk/gtkscrolledwindow.h" #ifdef __cplusplus extern "C" { @@ -536,15 +537,15 @@ gtk_myfixed_size_allocate (GtkWidget *widget, child = children->data; children = children->next; - /* please look at the text in wxWindow::DoSetSize() on why the - test GTK_WIDGET_REALIZED() has to be here */ if (GTK_WIDGET_VISIBLE (child->widget)) { +/* please look at the text in wxWindow::DoSetSize() on why the + test GTK_WIDGET_REALIZED() has to be here */ /* if (GTK_IS_NOTEBOOK(child->widget) && !GTK_WIDGET_REALIZED(child->widget)) { gtk_widget_queue_resize( child->widget ); } - else */ + else */ { child_allocation.x = child->x; child_allocation.y = child->y;