GTK2: gtk_window_set_policy -> gtk_window_set_resizable. Slight change for resizable toplevel behaviour -
allow_shrink is now always FALSE - it being TRUE is told to be 99% of the times a bad idea, too. I think we aren't the 1% case here git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -333,9 +333,9 @@ gtk_frame_realized_callback( GtkWidget * WXUNUSED(widget),
|
||||
|
||||
// GTK's shrinking/growing policy
|
||||
if ((win->m_gdkFunc & GDK_FUNC_RESIZE) == 0)
|
||||
gtk_window_set_policy(GTK_WINDOW(win->m_widget), 0, 0, 1);
|
||||
gtk_window_set_resizable(GTK_WINDOW(win->m_widget), FALSE);
|
||||
else
|
||||
gtk_window_set_policy(GTK_WINDOW(win->m_widget), 1, 1, 1);
|
||||
gtk_window_set_resizable(GTK_WINDOW(win->m_widget), TRUE);
|
||||
|
||||
// reset the icon
|
||||
wxIconBundle iconsOld = win->GetIcons();
|
||||
|
Reference in New Issue
Block a user