]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
Added a rule to the tmake templates so the makefiles know how to
[wxWidgets.git] / src / msw / textctrl.cpp
index 55e3e77492451babc8e3e8348e8e761c62021761..3ba5f18f0eab7d7c1d5f93fc21f9cf3b18ad3dce 100644 (file)
@@ -164,10 +164,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
     const wxChar *windowClass = _T("EDIT");
 
 #if wxUSE_RICHEDIT
-    // multiline edit controls are RICHEDITs except for those which have a
-    // simple border (VZ: why??)
-    if ( (m_windowStyle & wxTE_MULTILINE) &&
-         !(m_windowStyle & wxSIMPLE_BORDER) )
+    if ( m_windowStyle & wxTE_RICH )
     {
         msStyle |= ES_AUTOVSCROLL;
         m_isRich = TRUE;