]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/win_gtk.cpp
Correct conversion from text file to charset (which is read in that text file)
[wxWidgets.git] / src / gtk / win_gtk.cpp
index 0ef51eb2bdf680ebb9f684c4b9700bfa8f35ba88..4d7f2d5b64cfea3ffe2d11981b8d783dfc32dcb5 100644 (file)
@@ -108,12 +108,7 @@ static void size_allocate(GtkWidget* widget, GtkAllocation* alloc)
             child_alloc.height = req.height;
             if (gtk_widget_get_direction(widget) == GTK_TEXT_DIR_RTL)
                 child_alloc.x = w - child_alloc.x - child_alloc.width;
-                
-            if ((child_alloc.x != child_old_alloc.x) ||
-                (child_alloc.y != child_old_alloc.y) ||
-                (child_alloc.width != child_old_alloc.width) ||
-                (child_alloc.height != child_old_alloc.height))
-                gtk_widget_size_allocate(child->widget, &child_alloc);
+            gtk_widget_size_allocate(child->widget, &child_alloc);
         }
     }
 }