keep the owning window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-12-22 09:25:37 +00:00
parent fdf3ce593b
commit 7b98cf028f

View File

@@ -114,6 +114,7 @@ wxGCDCImpl::wxGCDCImpl( wxDC *owner, const wxWindowDC& dc ) :
{ {
Init(); Init();
SetGraphicsContext( wxGraphicsContext::Create(dc) ); SetGraphicsContext( wxGraphicsContext::Create(dc) );
m_window = dc.GetWindow();
} }
wxGCDCImpl::wxGCDCImpl( wxDC *owner, const wxMemoryDC& dc ) : wxGCDCImpl::wxGCDCImpl( wxDC *owner, const wxMemoryDC& dc ) :