From: Stefan Csomor Date: Sat, 22 Dec 2007 09:25:37 +0000 (+0000) Subject: keep the owning window X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7b98cf028f6ecbdbcebda06756a99f095dfd9239 keep the owning window git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index c945600de4..d39eec3217 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -114,6 +114,7 @@ wxGCDCImpl::wxGCDCImpl( wxDC *owner, const wxWindowDC& dc ) : { Init(); SetGraphicsContext( wxGraphicsContext::Create(dc) ); + m_window = dc.GetWindow(); } wxGCDCImpl::wxGCDCImpl( wxDC *owner, const wxMemoryDC& dc ) :