X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/598ddd96f45745188c96f16757f7ceeaa0c8d70d..a6cb8040a8f73935791c44b8f1b8ac4711cb84f6:/include/wx/msw/metafile.h?ds=inline diff --git a/include/wx/msw/metafile.h b/include/wx/msw/metafile.h index 97ade18838..95c316092c 100644 --- a/include/wx/msw/metafile.h +++ b/include/wx/msw/metafile.h @@ -12,14 +12,6 @@ #ifndef _WX_METAFIILE_H_ #define _WX_METAFIILE_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "metafile.h" -#endif - -#include "wx/setup.h" - -#if wxUSE_METAFILE - #include "wx/dc.h" #include "wx/gdiobj.h" @@ -52,7 +44,6 @@ class WXDLLEXPORT wxMetafile: public wxGDIObject { public: wxMetafile(const wxString& file = wxEmptyString); - wxMetafile(const wxMetafile& metafile) { Ref(metafile); } virtual ~wxMetafile(); // After this is called, the metafile cannot be used for anything @@ -77,8 +68,6 @@ public: void SetWindowsMappingMode(int mm); // Operators - wxMetafile& operator=(const wxMetafile& metafile) - { if (*this != metafile) Ref(metafile); return *this; } bool operator==(const wxMetafile& metafile) const { return m_refData == metafile.m_refData; } bool operator!=(const wxMetafile& metafile) const @@ -115,6 +104,8 @@ public: void SetWindowsMappingMode(int mm) { m_windowsMappingMode = mm; } protected: + virtual void DoGetSize(int *width, int *height) const; + int m_windowsMappingMode; wxMetafile* m_metaFile; @@ -168,7 +159,6 @@ protected: #endif // wxUSE_DRAG_AND_DROP -#endif // wxUSE_METAFILE #endif // _WX_METAFIILE_H_