// Created: 1998-01-01
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
{
DECLARE_DYNAMIC_CLASS(wxMetafile)
public:
- // Copy constructor
- wxMetafile(const wxMetafile& metafile)
- : wxGDIObject()
- { Ref(metafile); }
-
wxMetafile(const wxString& file = wxEmptyString);
~wxMetafile(void);
void SetHMETAFILE(WXHMETAFILE mf) ;
// Operators
- inline wxMetafile& operator = (const wxMetafile& metafile) { if (*this == metafile) return (*this); Ref(metafile); return *this; }
- inline bool operator == (const wxMetafile& metafile) { return m_refData == metafile.m_refData; }
- inline bool operator != (const wxMetafile& metafile) { return m_refData != metafile.m_refData; }
+ inline bool operator == (const wxMetafile& metafile) const { return m_refData == metafile.m_refData; }
+ inline bool operator != (const wxMetafile& metafile) const { return m_refData != metafile.m_refData; }
protected:
};