From 612c1ebf572f75302251e6f0ca905e2590b849c2 Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Mon, 28 Apr 2008 04:19:15 +0000 Subject: [PATCH] Reverting last commit, it breaks ABI compat. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dcgraph.h | 3 --- src/common/dcgraph.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/include/wx/dcgraph.h b/include/wx/dcgraph.h index d9d4ce7e21..dea6c8f7b7 100755 --- a/include/wx/dcgraph.h +++ b/include/wx/dcgraph.h @@ -94,8 +94,6 @@ public: wxGraphicsContext* GetGraphicsContext() { return m_graphicContext; } virtual void SetGraphicsContext( wxGraphicsContext* ctx ); - wxDC* GetBaseDC() { return m_baseDC; } - protected: // the true implementations virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col, @@ -185,7 +183,6 @@ protected: double m_formerScaleX, m_formerScaleY; wxGraphicsContext* m_graphicContext; - wxDC* m_baseDC; }; #endif diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index 348012270c..82abf02b33 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -79,7 +79,6 @@ void wxGCDC::SetGraphicsContext( wxGraphicsContext* ctx ) wxGCDC::wxGCDC(const wxWindowDC& dc) { Init(); - m_baseDC = (wxDC*)&dc; SetGraphicsContext( wxGraphicsContext::Create(dc) ); } @@ -87,7 +86,6 @@ wxGCDC::wxGCDC(const wxWindowDC& dc) wxGCDC::wxGCDC(const wxMemoryDC& dc) { Init(); - m_baseDC = (wxDC*)&dc; SetGraphicsContext( wxGraphicsContext::Create(dc) ); } #endif @@ -104,7 +102,6 @@ void wxGCDC::Init() m_brush = *wxWHITE_BRUSH; m_graphicContext = NULL; - m_baseDC = NULL; m_logicalFunctionSupported = true; }