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
This commit is contained in:
Kevin Ollivier
2008-04-28 04:19:15 +00:00
parent ee50eb7432
commit 612c1ebf57
2 changed files with 0 additions and 6 deletions

View File

@@ -94,8 +94,6 @@ public:
wxGraphicsContext* GetGraphicsContext() { return m_graphicContext; } wxGraphicsContext* GetGraphicsContext() { return m_graphicContext; }
virtual void SetGraphicsContext( wxGraphicsContext* ctx ); virtual void SetGraphicsContext( wxGraphicsContext* ctx );
wxDC* GetBaseDC() { return m_baseDC; }
protected: protected:
// the true implementations // the true implementations
virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col, virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
@@ -185,7 +183,6 @@ protected:
double m_formerScaleX, m_formerScaleY; double m_formerScaleX, m_formerScaleY;
wxGraphicsContext* m_graphicContext; wxGraphicsContext* m_graphicContext;
wxDC* m_baseDC;
}; };
#endif #endif

View File

@@ -79,7 +79,6 @@ void wxGCDC::SetGraphicsContext( wxGraphicsContext* ctx )
wxGCDC::wxGCDC(const wxWindowDC& dc) wxGCDC::wxGCDC(const wxWindowDC& dc)
{ {
Init(); Init();
m_baseDC = (wxDC*)&dc;
SetGraphicsContext( wxGraphicsContext::Create(dc) ); SetGraphicsContext( wxGraphicsContext::Create(dc) );
} }
@@ -87,7 +86,6 @@ wxGCDC::wxGCDC(const wxWindowDC& dc)
wxGCDC::wxGCDC(const wxMemoryDC& dc) wxGCDC::wxGCDC(const wxMemoryDC& dc)
{ {
Init(); Init();
m_baseDC = (wxDC*)&dc;
SetGraphicsContext( wxGraphicsContext::Create(dc) ); SetGraphicsContext( wxGraphicsContext::Create(dc) );
} }
#endif #endif
@@ -104,7 +102,6 @@ void wxGCDC::Init()
m_brush = *wxWHITE_BRUSH; m_brush = *wxWHITE_BRUSH;
m_graphicContext = NULL; m_graphicContext = NULL;
m_baseDC = NULL;
m_logicalFunctionSupported = true; m_logicalFunctionSupported = true;
} }