git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42212
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void ComputeScaleAndOrigin();
wxGraphicsContext* GetGraphicContext() { return m_graphicContext; }
- virtual void SetGraphicsContext( wxGraphicsContext* ctx )
- { delete m_graphicContext; m_graphicContext = ctx; }
+ virtual void SetGraphicsContext( wxGraphicsContext* ctx );
+
protected:
// the true implementations
virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
Init();
}
+void wxGCDC::SetGraphicsContext( wxGraphicsContext* ctx )
+{
+ delete m_graphicContext;
+ m_graphicContext = ctx;
+}
wxGCDC::wxGCDC(const wxWindowDC& dc)
{