]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/metafile.h
added definition of TARGET_CARBON when compiling with non generated setup.h
[wxWidgets.git] / include / wx / mac / metafile.h
index 393cca992e695bd781878258d135a3416c4d400f..8c9de9914347c0aa7b25d49bad641d269312baf5 100644 (file)
@@ -51,7 +51,8 @@ class WXDLLEXPORT wxMetafile: public wxGDIObject
   DECLARE_DYNAMIC_CLASS(wxMetafile)
  public:
   // Copy constructor
   DECLARE_DYNAMIC_CLASS(wxMetafile)
  public:
   // Copy constructor
-  inline wxMetafile(const wxMetafile& metafile)
+  wxMetafile(const wxMetafile& metafile)
+      : wxGDIObject()
   { Ref(metafile); }
 
   wxMetafile(const wxString& file = "");
   { Ref(metafile); }
 
   wxMetafile(const wxString& file = "");