// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "dcprint.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
GlobalFree(pd.hDevMode);
pd.hDevMode=NULL;
}
- return ( deviceName != wxEmptyString );
+ return ( !deviceName.empty() );
}
// Gets an HDC for the specified printer configuration
if ( !(::GetDeviceCaps(GetHdc(), RASTERCAPS) & RC_STRETCHDIB) ||
!DrawBitmapUsingStretchDIBits(GetHdc(), bmp, x, y) )
{
- // no support for StretchDIBits() or an error occured if we got here
+ // no support for StretchDIBits() or an error occurred if we got here
wxMemoryDC memDC;
memDC.SelectObject(bmp);