]> git.saurik.com Git - wxWidgets.git/commitdiff
No real changes, just remove an unused variable.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Feb 2010 11:08:46 +0000 (11:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Feb 2010 11:08:46 +0000 (11:08 +0000)
This fixes a warning from IRIX mipsPro compiler.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/win_gtk.cpp

index 6869fbde37cb379d4b8828b0aaf2c3641f3f77f6..b3aeed5a4a0242ebc0a5ea92c81d3b621e8cfddc 100644 (file)
@@ -103,8 +103,6 @@ static void size_allocate(GtkWidget* widget, GtkAllocation* alloc)
         const GtkFixedChild* child = static_cast<GtkFixedChild*>(list->data);
         if (GTK_WIDGET_VISIBLE(child->widget))
         {
-            GtkAllocation child_old_alloc = child->widget->allocation;
-
             GtkAllocation child_alloc;
             // note that child positions do not take border into
             // account, they need to be relative to widget->window,