Constructor.
If no filename is passed, the metafile is created in memory.
*/
- wxMetafileDC(const wxString& filename = "");
+ wxMetafileDC(const wxString& filename = wxEmptyString);
/**
Destructor.
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();