]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dc.cpp
Fixed bug: wxPGProperty::SetName() crashed if it was called before property was added...
[wxWidgets.git] / src / os2 / dc.cpp
index 998873614140df5f08a3f1f2d5fa4888d841a76f..0b8cd600b5d48ce7586460ddf15d49c79f3f67ac 100644 (file)
@@ -2160,7 +2160,7 @@ void wxPMDCImpl::DoGetTextExtent(
     //
     if (!m_hPS)
     {
-       (void)wxMessageBox( _T("wxWidgets core library")
+       (void)wxMessageBox( wxT("wxWidgets core library")
                            ,"Using uninitialized DC for measuring text!\n"
                            ,wxICON_INFORMATION
                            );
@@ -2177,8 +2177,8 @@ void wxPMDCImpl::DoGetTextExtent(
        vErrorCode = ::WinGetLastError(wxGetInstance());
        sError = wxPMErrorToStr(vErrorCode);
        // DEBUG
-       wxSprintf(zMsg, _T("GpiQueryTextBox for %s: failed with Error: %lx - %s"), rsString.c_str(), vErrorCode, sError.c_str());
-       (void)wxMessageBox( _T("wxWidgets core library")
+       wxSprintf(zMsg, wxT("GpiQueryTextBox for %s: failed with Error: %lx - %s"), rsString.c_str(), vErrorCode, sError.c_str());
+       (void)wxMessageBox( wxT("wxWidgets core library")
                           ,zMsg
                           ,wxICON_INFORMATION
                          );