X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/41ce5eff753793c44801ab162b028027ba124a28..29a35dd5fee0e33143a39824e71aefd66e3e4851:/src/common/stattextcmn.cpp?ds=sidebyside diff --git a/src/common/stattextcmn.cpp b/src/common/stattextcmn.cpp index 9558d2dfdd..e9a22fd8f5 100644 --- a/src/common/stattextcmn.cpp +++ b/src/common/stattextcmn.cpp @@ -24,6 +24,7 @@ #pragma hdrstop #endif +#include "wx/textwrapper.h" #include "wx/private/stattext.h" #ifndef WX_PRECOMP @@ -68,7 +69,7 @@ void wxTextWrapper::Wrap(wxWindow *win, const wxString& text, int widthMax) lineStart = p; } - if ( p == text.end() || *p == _T('\n') ) + if ( p == text.end() || *p == wxT('\n') ) { DoOutputLine(line); @@ -77,7 +78,7 @@ void wxTextWrapper::Wrap(wxWindow *win, const wxString& text, int widthMax) } else // not EOL { - if ( *p == _T(' ') ) + if ( *p == wxT(' ') ) lastSpace = p; line += *p; @@ -126,7 +127,7 @@ protected: virtual void OnNewLine() { - m_text += _T('\n'); + m_text += wxT('\n'); } private: