GlobalFree(pd.hDevMode);
pd.hDevMode=NULL;
}
- return ( deviceName != wxT("") );
+ return ( deviceName != wxEmptyString );
}
// Gets an HDC for the specified printer configuration
else // no mask
{
if ( !(::GetDeviceCaps(GetHdc(), RASTERCAPS) & RC_STRETCHDIB) ||
- !DrawBitmapUsingStretchDIBits(GetHdc(), bmp, xsrc, ysrc) )
+ !DrawBitmapUsingStretchDIBits(GetHdc(), bmp, xdest, ydest) )
{
// no support for StretchDIBits