From: Robert Roebling Date: Fri, 30 Nov 2007 23:24:48 +0000 (+0000) Subject: compilation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7b1a66bb689ec080da5b95e9b2ae991af063d31d compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index 2fde9ec8a1..923bbe2793 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -52,19 +52,19 @@ static inline double DegToRad(double deg) IMPLEMENT_DYNAMIC_CLASS(wxGCDC, wxDC) -wxGCDC::wxGCDC(const wxWindowDC& dc) +wxGCDC::wxGCDC(const wxWindowDC& dc) : + wxDC( new wxGCDCImpl( this, dc ) ) { - m_pimpl = new wxGCDCImpl( this, dc ); } -wxGCDC::wxGCDC( const wxMemoryDC& dc) +wxGCDC::wxGCDC( const wxMemoryDC& dc) : + wxDC( new wxGCDCImpl( this, dc ) ) { - m_pimpl = new wxGCDCImpl( this, dc ); } -wxGCDC::wxGCDC() +wxGCDC::wxGCDC() : + wxDC( new wxGCDCImpl( this ) ) { - m_pimpl = new wxGCDCImpl( this ); } wxGraphicsContext* wxGCDC::GetGraphicsContext()