Correct positioning of the entry text dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -112,7 +112,8 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent,
|
||||
topsizer->SetSizeHints( this );
|
||||
topsizer->Fit( this );
|
||||
|
||||
Centre( wxBOTH );
|
||||
if ( ( style & wxCENTRE ) == wxCENTRE )
|
||||
Centre( wxBOTH );
|
||||
|
||||
m_textctrl->SetSelection(-1, -1);
|
||||
m_textctrl->SetFocus();
|
||||
|
Reference in New Issue
Block a user