X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90c1d2a19361551eb07778280f22be3e759cf64..85f3749fd2c61a7cdf18b41a8feb616ba6b5e07c:/src/msw/textctrl.cpp diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 79cab1c444..0b25964bb4 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -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;