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();
|
virtual void ComputeScaleAndOrigin();
|
||||||
|
|
||||||
wxGraphicsContext* GetGraphicContext() { return m_graphicContext; }
|
wxGraphicsContext* GetGraphicContext() { return m_graphicContext; }
|
||||||
virtual void SetGraphicsContext( wxGraphicsContext* ctx )
|
virtual void SetGraphicsContext( wxGraphicsContext* ctx );
|
||||||
{ delete m_graphicContext; m_graphicContext = ctx; }
|
|
||||||
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,
|
||||||
|
@@ -274,6 +274,11 @@ wxGCDC::wxGCDC()
|
|||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxGCDC::SetGraphicsContext( wxGraphicsContext* ctx )
|
||||||
|
{
|
||||||
|
delete m_graphicContext;
|
||||||
|
m_graphicContext = ctx;
|
||||||
|
}
|
||||||
|
|
||||||
wxGCDC::wxGCDC(const wxWindowDC& dc)
|
wxGCDC::wxGCDC(const wxWindowDC& dc)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user