correct wxMemoryDC constr. to not use m_owner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,7 @@ wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner, wxBitmap& bitmap)
|
|||||||
: wxWindowDCImpl( owner )
|
: wxWindowDCImpl( owner )
|
||||||
{
|
{
|
||||||
Init();
|
Init();
|
||||||
owner->SelectObject(bitmap);
|
DoSelect(bitmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner, wxDC *WXUNUSED(dc) )
|
wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner, wxDC *WXUNUSED(dc) )
|
||||||
|
Reference in New Issue
Block a user