X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58dea4b0673c76bdd3ef5624f65fa341b7d5f7b0..c127177f8dc31dbe99764852b8dbcc047d3ad826:/src/gtk/win_gtk.c?ds=sidebyside diff --git a/src/gtk/win_gtk.c b/src/gtk/win_gtk.c index 11cae307e1..8dfde26e72 100644 --- a/src/gtk/win_gtk.c +++ b/src/gtk/win_gtk.c @@ -416,6 +416,7 @@ gtk_myfixed_size_allocate (GtkWidget *widget, myfixed = GTK_MYFIXED (widget); + widget->allocation = *allocation; #if (GTK_MINOR_VERSION > 0) if (myfixed->shadow_type == GTK_SHADOW_NONE) border = 0; @@ -425,7 +426,6 @@ gtk_myfixed_size_allocate (GtkWidget *widget, border = 0; #endif - widget->allocation = *allocation; if (GTK_WIDGET_REALIZED (widget)) { gdk_window_move_resize( widget->window,