Applied patch [ 1207202 ] [wxMSW] Fixes GDI leak in cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -357,7 +357,8 @@ wxCursor::wxCursor(int idCursor)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_refData = new wxCursorRefData(hcursor);
|
||||
m_refData = new wxCursorRefData(hcursor,
|
||||
!stdCursor.isStd /* delete it later */);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user