wx: use the documented Move method rather than the undocumented SetPosition

parent b37280cb
...@@ -177,7 +177,7 @@ DialogsProvider::DialogsProvider( intf_thread_t *_p_intf, wxWindow *p_parent ) ...@@ -177,7 +177,7 @@ DialogsProvider::DialogsProvider( intf_thread_t *_p_intf, wxWindow *p_parent )
if( !w ) \ if( !w ) \
w = N; \ w = N; \
w->SetSize( s ); \ w->SetSize( s ); \
w->SetPosition( p ); \ w->Move( p ); \
w->S( true ); \ w->S( true ); \
} }
......
...@@ -311,7 +311,7 @@ Interface::Interface( intf_thread_t *_p_intf, long style ): ...@@ -311,7 +311,7 @@ Interface::Interface( intf_thread_t *_p_intf, long style ):
wxSystemSettings::GetMetric( wxSYS_SCREEN_Y ) ); wxSystemSettings::GetMetric( wxSYS_SCREEN_Y ) );
if( ws->GetSettings( WindowSettings::ID_MAIN, b_shown, p, s ) ) if( ws->GetSettings( WindowSettings::ID_MAIN, b_shown, p, s ) )
SetPosition( p ); Move( p );
} }
Interface::~Interface() Interface::~Interface()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment