X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..5d644707ca96dcaa63dc5a24c9eb5c2b7ee0b50d:/include/wx/mac/metafile.h?ds=inline diff --git a/include/wx/mac/metafile.h b/include/wx/mac/metafile.h index 393cca992e..8c9de99143 100644 --- a/include/wx/mac/metafile.h +++ b/include/wx/mac/metafile.h @@ -51,7 +51,8 @@ class WXDLLEXPORT wxMetafile: public wxGDIObject DECLARE_DYNAMIC_CLASS(wxMetafile) public: // Copy constructor - inline wxMetafile(const wxMetafile& metafile) + wxMetafile(const wxMetafile& metafile) + : wxGDIObject() { Ref(metafile); } wxMetafile(const wxString& file = "");