git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50122
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (style & wxRESIZE_BORDER)
m_gdkFunc = GDK_FUNC_RESIZE;
if (style & wxRESIZE_BORDER)
m_gdkFunc = GDK_FUNC_RESIZE;
+ // need to reset default size after changing m_gdkDecor
+ gtk_window_set_default_size(GTK_WINDOW(m_widget), m_width, m_height);
+
if (m_parent && (GTK_IS_WINDOW(m_parent->m_widget)))
{
gtk_window_set_transient_for( GTK_WINDOW(m_widget), GTK_WINDOW(m_parent->m_widget) );
if (m_parent && (GTK_IS_WINDOW(m_parent->m_widget)))
{
gtk_window_set_transient_for( GTK_WINDOW(m_widget), GTK_WINDOW(m_parent->m_widget) );