X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4430ec36d1707fa18b28590bceb5d5d7cacbc337..1bf168351b2e49c54ee960829ecf88debd7a7ab9:/contrib/src/ogl/mfutils.cpp diff --git a/contrib/src/ogl/mfutils.cpp b/contrib/src/ogl/mfutils.cpp index 046a2164fd..ce580697f5 100644 --- a/contrib/src/ogl/mfutils.cpp +++ b/contrib/src/ogl/mfutils.cpp @@ -111,7 +111,7 @@ wxXMetaFile::wxXMetaFile(const wxChar *file) [3] | -> wxPen The handle table works as follows. - When a GDI object is created whilst reading in the + When a GDI object is created while reading in the metafile, the (e.g.) createpen record is added to the first free entry in the handle table. The createpen record's param1 is a pointer to the actual wxPen, and @@ -158,7 +158,7 @@ bool wxXMetaFile::ReadFile(const wxChar *file) { HandleTableSize = 0; - FILE *handle = wxFopen(wxFNCONV(file), wxT("rb")); + FILE *handle = wxFopen(file, wxT("rb")); if (!handle) return false; // Read placeable metafile header, if any