]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
Allow OS X Cocoa (or any OS X port) to override GetBestSize and provide a native...
[wxWidgets.git] / src / msw / dcprint.cpp
index c41e222d7b989150b732c47b87dfbac20e369e2c..16402f760e61a4401a362fa783f122d4fcaa90cb 100644 (file)
@@ -341,7 +341,7 @@ WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& printDataConst)
                 );
     if ( !hDC )
     {
                 );
     if ( !hDC )
     {
-        wxLogLastError(_T("CreateDC(printer)"));
+        wxLogLastError(wxT("CreateDC(printer)"));
     }
 
     return (WXHDC) hDC;
     }
 
     return (WXHDC) hDC;
@@ -367,7 +367,7 @@ bool DrawBitmapUsingStretchDIBits(HDC hdc,
     DIBSECTION ds;
     if ( !::GetObject(dib.GetHandle(), sizeof(ds), &ds) )
     {
     DIBSECTION ds;
     if ( !::GetObject(dib.GetHandle(), sizeof(ds), &ds) )
     {
-        wxLogLastError(_T("GetObject(DIBSECTION)"));
+        wxLogLastError(wxT("GetObject(DIBSECTION)"));
 
         return false;
     }
 
         return false;
     }
@@ -401,7 +401,7 @@ void wxPrinterDCImpl::DoDrawBitmap(const wxBitmap& bmp,
                                wxCoord x, wxCoord y,
                                bool useMask)
 {
                                wxCoord x, wxCoord y,
                                bool useMask)
 {
-    wxCHECK_RET( bmp.Ok(), _T("invalid bitmap in wxPrinterDC::DrawBitmap") );
+    wxCHECK_RET( bmp.Ok(), wxT("invalid bitmap in wxPrinterDC::DrawBitmap") );
 
     int width = bmp.GetWidth(),
         height = bmp.GetHeight();
 
     int width = bmp.GetWidth(),
         height = bmp.GetHeight();