]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/metafile.cpp
Try to use the correct make.
[wxWidgets.git] / src / msw / metafile.cpp
index 33f1798b4f670b6f68e5e4528a1c4760cc082529..681c8d3a5637893d11037ac7742a4f382ac69933 100644 (file)
@@ -382,7 +382,7 @@ bool wxMakeMetafilePlaceable(const wxString& filename, int x1, int y1, int x2, i
 
     wxChar tempFileBuf[256];
     wxGetTempFileName(wxT("mf"), tempFileBuf);
-    FILE *fHandle = wxFopen(wxConvFile.cWX2MB(tempFileBuf), _T("wb"));
+    FILE *fHandle = wxFopen(wxFNCONV(wxConvFile), _T("wb"));
     if (!fHandle)
         return FALSE;
     fwrite((void *)&header, sizeof(unsigned char), sizeof(mfPLACEABLEHEADER), fHandle);