]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/ogl/mfutils.cpp
correcting last commit
[wxWidgets.git] / contrib / src / ogl / mfutils.cpp
index 046a2164fd70af8356f81ed7aa1acbc450e514e2..ce580697f5cc8eb3620169675e2015ce083ce2da 100644 (file)
@@ -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