]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
typo
[wxWidgets.git] / src / generic / textdlgg.cpp
index 276e745fb6c0ded66ff942338f040788577c579c..fa240b4f500168d5ea274857a4373b32051ba03d 100644 (file)
@@ -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);