X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b21126db7a8232fa9e64b29f916d73d6b0153bef..232b2162776e08c0b16d5280b90f5c075f38c667:/interface/wx/metafile.h diff --git a/interface/wx/metafile.h b/interface/wx/metafile.h index 114b95f777..8d4f7c3b28 100644 --- a/interface/wx/metafile.h +++ b/interface/wx/metafile.h @@ -39,7 +39,7 @@ public: Constructor. If no filename is passed, the metafile is created in memory. */ - wxMetafileDC(const wxString& filename = ""); + wxMetafileDC(const wxString& filename = wxEmptyString); /** Destructor. @@ -82,7 +82,7 @@ public: 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. @@ -94,7 +94,7 @@ public: /** Returns @true if the metafile is valid. */ - bool Ok(); + bool IsOk(); /** Plays the metafile into the given device context, returning @@ -114,7 +114,7 @@ public: @code wxMetafileDC dc; - if (dc.Ok()) + if (dc.IsOk()) { Draw(dc, false); wxMetafile *mf = dc.Close();