From b2da749f06696b8c1e362788bd1371105d6abce2 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 30 Nov 2007 23:12:58 +0000 Subject: [PATCH] compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/metafile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/mac/carbon/metafile.h b/include/wx/mac/carbon/metafile.h index 119ed37967..4188807b8a 100644 --- a/include/wx/mac/carbon/metafile.h +++ b/include/wx/mac/carbon/metafile.h @@ -102,8 +102,9 @@ class WXDLLEXPORT wxMetafileDC: public wxDC // the metafile picture size and the optional description/comment wxMetafileDC( const wxString& filename = wxEmptyString, int width = 0, int height = 0, - const wxString& description = wxEmptyString ) - { m_pimpl = new wxMetafileDCImpl( this, filename, width, height, description ); } + const wxString& description = wxEmptyString ) : + wxDC( new wxMetafileDCImpl( this, filename, width, height, description) ) + { } wxMetafile *GetMetafile() const { return ((wxMetafileDCImpl*)m_pimpl)->GetMetaFile(); }