Simplified the wxCENTRE style check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
04a014a5d6
commit
01e1314745
@ -135,7 +135,7 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent,
|
||||
topsizer->SetSizeHints( this );
|
||||
topsizer->Fit( this );
|
||||
|
||||
if ( ( style & wxCENTRE ) == wxCENTRE )
|
||||
if ( style & wxCENTRE )
|
||||
Centre( wxBOTH );
|
||||
|
||||
m_textctrl->SetSelection(-1, -1);
|
||||
|
Loading…
Reference in New Issue
Block a user