From 65eb5b0b0b47a1aa2696d9f031caf09c5d1d7469 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 12 Oct 2003 09:24:55 +0000 Subject: [PATCH] Compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/metafile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/metafile.cpp b/src/msw/metafile.cpp index 681c8d3a56..f0e7314343 100644 --- a/src/msw/metafile.cpp +++ b/src/msw/metafile.cpp @@ -222,7 +222,7 @@ wxMetafileDC::~wxMetafileDC() } void wxMetafileDC::GetTextExtent(const wxString& string, long *x, long *y, - long *descent, long *externalLeading, wxFont *theFont, bool use16bit) const + long *descent, long *externalLeading, wxFont *theFont, bool WXUNUSED(use16bit)) const { wxFont *fontToUse = theFont; if (!fontToUse) @@ -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(wxFNCONV(wxConvFile), _T("wb")); + FILE *fHandle = wxFopen(wxFNCONV(tempFileBuf), _T("wb")); if (!fHandle) return FALSE; fwrite((void *)&header, sizeof(unsigned char), sizeof(mfPLACEABLEHEADER), fHandle);