wxPrintData printData = printDataConst;
printData.ConvertToNative();
- wxChar* driverName = (wxChar*) NULL;
+ wxChar* driverName = NULL;
wxString devNameStr = printData.GetPrinterName();
wxChar* deviceName;
- wxChar* portName = (wxChar*) NULL; // Obsolete in WIN32
+ wxChar* portName = NULL; // Obsolete in WIN32
if (devNameStr.empty())
- deviceName = (wxChar*) NULL;
+ deviceName = NULL;
else
deviceName = WXSTRINGCAST devNameStr;
wxCoord WXUNUSED(vY),
bool WXUNUSED(bUseMask))
{
- wxCHECK_RET( rBmp.Ok(), _T("invalid bitmap in wxPrinterDC::DrawBitmap") );
+ wxCHECK_RET( rBmp.IsOk(), wxT("invalid bitmap in wxPrinterDC::DrawBitmap") );
// int nWidth = rBmp.GetWidth();
// int nHeight = rBmp.GetHeight();