// Name: metafile.h
// Purpose: interface of wxMetafileDC
// Author: wxWidgets team
-// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
Constructor.
If no filename is passed, the metafile is created in memory.
*/
- wxMetafileDC(const wxString& filename = "");
+ wxMetafileDC(const wxString& filename = wxEmptyString);
/**
Destructor.
@onlyfor{wxmsw}
@library{wxcore}
- @category{gdi,misc}
+ @category{gdi}
@see wxMetafileDC
*/
If a filename is given, the Windows disk metafile is read in.
Check whether this was performed successfully by using the IsOk() member.
*/
- wxMetafile(const wxString& filename = "");
+ wxMetafile(const wxString& filename = wxEmptyString);
/**
Destructor.
/**
Returns @true if the metafile is valid.
*/
- bool Ok();
+ bool IsOk();
/**
Plays the metafile into the given device context, returning
@code
wxMetafileDC dc;
- if (dc.Ok())
+ if (dc.IsOk())
{
Draw(dc, false);
wxMetafile *mf = dc.Close();