const wxString& device_name,
const wxString& file,
bool interactive,
- int orientation)
+ wxPrintOrientation orientation)
{
m_isInteractive = interactive;
);
if ( !hDC )
{
- wxLogLastError(_T("CreateDC(printer)"));
+ wxLogLastError(wxT("CreateDC(printer)"));
}
return (WXHDC) hDC;
DIBSECTION ds;
if ( !::GetObject(dib.GetHandle(), sizeof(ds), &ds) )
{
- wxLogLastError(_T("GetObject(DIBSECTION)"));
+ wxLogLastError(wxT("GetObject(DIBSECTION)"));
return false;
}
wxCoord x, wxCoord y,
bool useMask)
{
- wxCHECK_RET( bmp.Ok(), _T("invalid bitmap in wxPrinterDC::DrawBitmap") );
+ wxCHECK_RET( bmp.IsOk(), wxT("invalid bitmap in wxPrinterDC::DrawBitmap") );
int width = bmp.GetWidth(),
height = bmp.GetHeight();