]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/win_gtk.c
DocView and wxStream things
[wxWidgets.git] / src / gtk / win_gtk.c
index 1c885094af9c313fc7a753faa208501d680cdc78..dcd694df3fd1261b2dc65a40234456485e595fac 100644 (file)
@@ -10,6 +10,7 @@
 #include "wx/gtk/win_gtk.h"
 #include "gtk/gtksignal.h"
 #include "gtk/gtknotebook.h"
+#include "gtk/gtktable.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -327,7 +328,9 @@ gtk_myfixed_set_size (GtkMyFixed    *myfixed,
 
             if (GTK_WIDGET_VISIBLE (widget) && GTK_WIDGET_VISIBLE (myfixed))
            {
-                if ((child->width > 1) && (child->height > 1) && (GTK_WIDGET_REALIZED(widget)))
+                if ( ((child->width > 1) && (child->height > 1) && (GTK_WIDGET_REALIZED(widget))) ||
+                    /* I don't know why GtkTable is different */
+                    GTK_IS_TABLE(widget))
                {
                     child_allocation.x = child->x;
                     child_allocation.y = child->y;