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:
Vadim Zeitlin
2003-01-22 17:43:02 +00:00
parent 33a7c3dd0b
commit 8bbbae215c
4 changed files with 176 additions and 109 deletions

View File

@@ -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),