diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 2e0e7f2ed2..3d503ba0cb 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2803,6 +2803,8 @@ void wxWindowGTK::PostCreation() { wxASSERT_MSG( (m_widget != NULL), wxT("invalid window") ); + SetLayoutDirection(wxLayout_Default); + GTKConnectFreezeWidget(m_widget); if (m_wxwindow && m_wxwindow != m_widget) GTKConnectFreezeWidget(m_wxwindow); @@ -2924,8 +2926,6 @@ void wxWindowGTK::PostCreation() InheritAttributes(); - SetLayoutDirection(wxLayout_Default); - // if the window had been disabled before being created, it should be // created in the initially disabled state if ( !m_isEnabled )