Remove redundant wxGCDC::{Get,Set}GraphicsContext() overrides

This commit is contained in:
Paul Cornett
2016-02-22 10:34:30 -08:00
parent 371ee79f88
commit ace212a311
2 changed files with 0 additions and 17 deletions

View File

@@ -36,9 +36,6 @@ public:
wxGCDC();
virtual ~wxGCDC();
wxGraphicsContext* GetGraphicsContext() const wxOVERRIDE;
void SetGraphicsContext( wxGraphicsContext* ctx ) wxOVERRIDE;
#ifdef __WXMSW__
// override wxDC virtual functions to provide access to HDC associated with
// this Graphics object (implemented in src/msw/graphics.cpp)

View File

@@ -120,20 +120,6 @@ wxGCDC::~wxGCDC()
{
}
wxGraphicsContext* wxGCDC::GetGraphicsContext() const
{
if (!m_pimpl) return NULL;
wxGCDCImpl *gc_impl = (wxGCDCImpl*) m_pimpl;
return gc_impl->GetGraphicsContext();
}
void wxGCDC::SetGraphicsContext( wxGraphicsContext* ctx )
{
if (!m_pimpl) return;
wxGCDCImpl *gc_impl = (wxGCDCImpl*) m_pimpl;
gc_impl->SetGraphicsContext( ctx );
}
wxIMPLEMENT_ABSTRACT_CLASS(wxGCDCImpl, wxDCImpl);
wxGCDCImpl::wxGCDCImpl( wxDC *owner ) :