X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b21126db7a8232fa9e64b29f916d73d6b0153bef..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/metafile.h diff --git a/interface/wx/metafile.h b/interface/wx/metafile.h index 114b95f777..1b09cfd5df 100644 --- a/interface/wx/metafile.h +++ b/interface/wx/metafile.h @@ -3,7 +3,7 @@ // Purpose: interface of wxMetafileDC // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -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. @@ -69,7 +69,7 @@ public: @onlyfor{wxmsw} @library{wxcore} - @category{gdi,misc} + @category{gdi} @see wxMetafileDC */ @@ -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();