X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..a8680e3e0e5066d35a8f4fd43294ba4bfcaf4ba7:/include/wx/mac/metafile.h?ds=sidebyside diff --git a/include/wx/mac/metafile.h b/include/wx/mac/metafile.h index 393cca992e..bbf8e54117 100644 --- a/include/wx/mac/metafile.h +++ b/include/wx/mac/metafile.h @@ -3,12 +3,12 @@ // Purpose: wxMetaFile, wxMetaFileDC classes. // This probably should be restricted to Windows platforms, // but if there is an equivalent on your platform, great. -// Author: AUTHOR +// Author: Stefan Csomor // Modified by: -// Created: ??/??/98 +// Created: 1998-01-01 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) Stefan Csomor +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -51,10 +51,11 @@ 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 = ""); + wxMetafile(const wxString& file = wxEmptyString); ~wxMetafile(void); // After this is called, the metafile cannot be used for anything @@ -83,7 +84,7 @@ class WXDLLEXPORT wxMetafileDC: public wxDC public: // Don't supply origin and extent // Supply them to wxMakeMetaFilePlaceable instead. - wxMetafileDC(const wxString& file = ""); + wxMetafileDC(const wxString& file = wxEmptyString); // Supply origin and extent (recommended). // Then don't need to supply them to wxMakeMetaFilePlaceable.