]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
Missed labels to replace number of 'topicNNN' in anchors.
[wxWidgets.git] / src / generic / textdlgg.cpp
index 46b3f6ea66b3cd82dd4ad3ffac1e130786757aa7..cc2c28ebd70f548a30a8bb9c630831ad08a296bb 100644 (file)
@@ -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();