]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for arg to wxFopen
authorJulian Smart <julian@anthemion.co.uk>
Sun, 13 Feb 2005 12:53:09 +0000 (12:53 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 13 Feb 2005 12:53:09 +0000 (12:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/ogl/mfutils.cpp

index e5fbccd33afd7b174fe1a30599933f24a2412d4e..ce580697f5cc8eb3620169675e2015ce083ce2da 100644 (file)
@@ -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