if ( ::GetDeviceCaps(GetHdc(), RASTERCAPS) & RC_STRETCHDIB )
{
#if wxUSE_DIB_FOR_BITMAP
- if(bmp.GetHFileMap()) // we already have a dib
+ if ( bmp.IsDIB() )
{
DIBSECTION dib;
if ( ::GetObject(GetHbitmapOf(bmp),
int width = bmp.GetWidth(),
height = bmp.GetHeight();
#if wxUSE_DIB_FOR_BITMAP
- if(bmp.GetHFileMap()) // we already have a dib
+ if ( bmp.IsDIB() )
{
DIBSECTION dib;
if( ::GetObject(GetHbitmapOf(bmp),