Ownerdrawn updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-03-23 23:30:11 +00:00
parent 45805ba322
commit 1159a76f9c
2 changed files with 6 additions and 15 deletions

View File

@@ -144,6 +144,7 @@ wxMemoryDC::wxMemoryDC(
wxMemoryDC::~wxMemoryDC()
{
m_vSelectedBitmap.SetSelectedInto(NULL);
if (m_hPS != NULLHANDLE)
::GpiDestroyPS(m_hPS);
if (m_hDC != NULLHANDLE)