]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
Made .dsp files consistent with debug option; added JPEG project file
[wxWidgets.git] / src / msw / textctrl.cpp
index 79cab1c44473ccfa8054799e51ee1139b233a6b3..0b25964bb4c0f1e2442923673fd24edc74fd9b56 100644 (file)
@@ -167,14 +167,14 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
         m_lDlgCode |= DLGC_WANTTAB;
 
     // do create the control - either an EDIT or RICHEDIT
-    const wxChar *windowClass = T("EDIT(");
+    const wxChar *windowClass = T("EDIT");
 
 #if wxUSE_RICHEDIT
     if ( m_windowStyle & wxTE_RICH )
     {
         msStyle |= ES_AUTOVSCROLL;
         m_isRich = TRUE;
-        windowClass = T("RICHEDIT(");
+        windowClass = T("RICHEDIT");
     }
     else
         m_isRich = FALSE;
@@ -260,7 +260,7 @@ void wxTextCtrl::AdoptAttributesFromHWND()
 
   GetClassName(hWnd, buf, WXSIZEOF(buf));
 
-  if ( wxStricmp(buf, T("EDIT(")) == 0 )
+  if ( wxStricmp(buf, T("EDIT")) == 0 )
     m_isRich = FALSE;
   else
     m_isRich = TRUE;