]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/notebook.cpp
more cvs to svn script changes
[wxWidgets.git] / src / gtk / notebook.cpp
index f0f8bc5abdf02d2aca313497db1659bbe38214e2..be9cc04945a84553a0b6c2b4e66d6de0e9d1992c 100644 (file)
@@ -127,17 +127,6 @@ static void gtk_page_size_callback( GtkWidget *WXUNUSED(widget), GtkAllocation*
     }
 
     win->SetSize( alloc->x, alloc->y, alloc->width, alloc->height );
-
-    /* GTK 1.2 up to version 1.2.5 is broken so that we have to call allocate
-       here in order to make repositioning after resizing to take effect. */
-    if ((gtk_major_version == 1) &&
-        (gtk_minor_version == 2) &&
-        (gtk_micro_version < 6) &&
-        (win->m_wxwindow) &&
-        (GTK_WIDGET_REALIZED(win->m_wxwindow)))
-    {
-        gtk_widget_size_allocate( win->m_wxwindow, alloc );
-    }
 }
 }