From 01e13147456744839fd9965838c66aacf22f1480 Mon Sep 17 00:00:00 2001 From: Kevin Hock Date: Sat, 6 Nov 2004 02:19:33 +0000 Subject: [PATCH] Simplified the wxCENTRE style check git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/textdlgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 276e745fb6..fa240b4f50 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -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); -- 2.45.2