More updates for gdi

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-04-19 21:40:05 +00:00
parent c690ae86db
commit 1d0edc0f73
9 changed files with 84 additions and 43 deletions

View File

@@ -55,6 +55,7 @@ void wxMemoryDC::Init()
// DrawText() to OPAQUE as required, otherwise always TRANSPARENT
::GpiSetBackMix( GetHPS(), BM_LEAVEALONE );
}
memset(&m_vRclPaint, 0, sizeof(m_vRclPaint));
} // end of wxMemoryDC::Init
bool wxMemoryDC::CreateCompatible(
@@ -147,7 +148,7 @@ void wxMemoryDC::SelectObject(
m_vSelectedBitmap = rBitmap;
WXHBITMAP hBmp = m_vSelectedBitmap.GetHBITMAP();
WXHBITMAP hBmp = rBitmap.GetHBITMAP();
if (!hBmp)
return;