]> git.saurik.com Git - wxWidgets.git/commitdiff
GTK2: Revert one set_resizable back to set_policy for now, as we need allow_shring...
authorMart Raudsepp <leio@gentoo.org>
Sun, 5 Feb 2006 00:23:32 +0000 (00:23 +0000)
committerMart Raudsepp <leio@gentoo.org>
Sun, 5 Feb 2006 00:23:32 +0000 (00:23 +0000)
bad things(tm) to the size requests of child widgets inside the toplevel.

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

src/gtk/toplevel.cpp

index cf2801e1e9c638701cbe69dcc2f8da3aea4aafea..439133d152c7e71da87c3e776ee5e584e69e79d2 100644 (file)
@@ -335,7 +335,7 @@ gtk_frame_realized_callback( GtkWidget * WXUNUSED(widget),
     if ((win->m_gdkFunc & GDK_FUNC_RESIZE) == 0)
         gtk_window_set_resizable(GTK_WINDOW(win->m_widget), FALSE);
     else
-        gtk_window_set_resizable(GTK_WINDOW(win->m_widget), TRUE);
+        gtk_window_set_policy(GTK_WINDOW(win->m_widget), 1, 1, 1);
 
     // reset the icon
     wxIconBundle iconsOld = win->GetIcons();