From 7b98cf028f6ecbdbcebda06756a99f095dfd9239 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 22 Dec 2007 09:25:37 +0000 Subject: [PATCH] keep the owning window git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcgraph.cpp | 1 + 1 file changed, 1 insertion(+) 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 ) : -- 2.50.0