Set text layout direction earlier during window creation
Code later in the same function was using the direction before it was set
This commit is contained in:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user