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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user