]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
Commited latest SciTech changes into CVS. This includes updates to the
[wxWidgets.git] / src / generic / textdlgg.cpp
index e5e86c96e1e7506a846bb3ec2366c29056b20e62..d34210a7c9f6319fe9537b5a67cbc6877fe54b21 100644 (file)
@@ -87,7 +87,9 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent,
     topsizer->Add( CreateTextSizer( message ), 0, wxALL, 10 );
 
     // 2) text ctrl
-    m_textctrl = new wxTextCtrl(this, wxID_TEXT, value, wxDefaultPosition, wxSize(300, -1));
+    m_textctrl = new wxTextCtrl(this, wxID_TEXT, value,
+                                wxDefaultPosition, wxSize(300, -1),
+                                style & ~wxTextEntryDialogStyle);
     topsizer->Add( m_textctrl, 1, wxEXPAND | wxLEFT|wxRIGHT, 15 );
 
 #if wxUSE_STATLINE