made wxBitmapRefData private (actually, this also fixes some bug so it's not absolutely gratitious, but I already closed the bug not knowing that my cvs checkin was going to timeout and die and don't remember any more what it was...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -432,7 +432,7 @@ void wxPrinterDC::DoDrawBitmap(const wxBitmap &bmp,
|
||||
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),
|
||||
@@ -561,7 +561,7 @@ bool wxPrinterDC::DoBlit(wxCoord xdest, wxCoord ydest,
|
||||
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),
|
||||
|
Reference in New Issue
Block a user