honor wxMAXIMIZE frame style, fixes #11631
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -561,6 +561,9 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (style & wxMAXIMIZE)
|
||||||
|
gtk_window_maximize(GTK_WINDOW(m_widget));
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
if (!name.empty())
|
if (!name.empty())
|
||||||
gtk_window_set_role( GTK_WINDOW(m_widget), wxGTK_CONV( name ) );
|
gtk_window_set_role( GTK_WINDOW(m_widget), wxGTK_CONV( name ) );
|
||||||
|
Reference in New Issue
Block a user