From: Mart Raudsepp Date: Sun, 5 Feb 2006 00:23:32 +0000 (+0000) Subject: GTK2: Revert one set_resizable back to set_policy for now, as we need allow_shring... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8e729eb44b9d88850799d9c3748ada6cfefd953e GTK2: Revert one set_resizable back to set_policy for now, as we need allow_shring to be TRUE right now, due to doing 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 --- diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index cf2801e1e9..439133d152 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -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();