Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -86,8 +86,8 @@ public:
|
||||
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,
|
||||
|
@@ -274,6 +274,11 @@ wxGCDC::wxGCDC()
|
||||
Init();
|
||||
}
|
||||
|
||||
void wxGCDC::SetGraphicsContext( wxGraphicsContext* ctx )
|
||||
{
|
||||
delete m_graphicContext;
|
||||
m_graphicContext = ctx;
|
||||
}
|
||||
|
||||
wxGCDC::wxGCDC(const wxWindowDC& dc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user