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
This commit is contained in:
Mart Raudsepp 2006-02-05 00:23:32 +00:00
parent ea9e382e48
commit 8e729eb44b

View 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();