Remove redundant wxGCDC::{Get,Set}GraphicsContext() overrides
This commit is contained in:
@@ -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)
|
||||
|
@@ -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 ) :
|
||||
|
Reference in New Issue
Block a user