X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54c13c66d2c465ae00fc4e59c29312bb16eccdc4..10434f3c24ae2faf228b6b6c6b6cb6de0c26213d:/src/msw/stattext.cpp diff --git a/src/msw/stattext.cpp b/src/msw/stattext.cpp index 084a748c6c..d8afd05b0c 100644 --- a/src/msw/stattext.cpp +++ b/src/msw/stattext.cpp @@ -72,12 +72,12 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id, if ( wxStyleHasBorder(m_windowStyle) ) msStyle |= WS_BORDER; - m_hWnd = (WXHWND)::CreateWindowEx(MakeExtendedStyle(m_windowStyle), _T("STATIC"), (const wxChar *)label, + m_hWnd = (WXHWND)::CreateWindowEx(MakeExtendedStyle(m_windowStyle), T("STATIC"), (const wxChar *)label, msStyle, 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId, wxGetInstance(), NULL); - wxCHECK_MSG( m_hWnd, FALSE, _T("Failed to create static ctrl") ); + wxCHECK_MSG( m_hWnd, FALSE, T("Failed to create static ctrl") ); #if wxUSE_CTL3D /* @@ -103,13 +103,13 @@ wxSize wxStaticText::DoGetBestSize() wxString curLine; for ( const wxChar *pc = text; ; pc++ ) { - if ( *pc == _T('\n') || *pc == _T('\0') ) { + if ( *pc == T('\n') || *pc == T('\0') ) { GetTextExtent(curLine, &widthLine, &heightLine); if ( widthLine > widthTextMax ) widthTextMax = widthLine; heightTextTotal += heightLine; - if ( *pc == _T('\n') ) { + if ( *pc == T('\n') ) { curLine.Empty(); } else {