X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..850df2d78866c3edcf848103b5dbc7e7fa1ee5fa:/src/os2/metafile.cpp diff --git a/src/os2/metafile.cpp b/src/os2/metafile.cpp index 020041396f..82709b4ccb 100644 --- a/src/os2/metafile.cpp +++ b/src/os2/metafile.cpp @@ -188,12 +188,12 @@ void wxMetafileDC::GetTextExtent(const wxString& WXUNUSED(string), long *WXUNUSED(y), long *WXUNUSED(descent), long *WXUNUSED(externalLeading), - wxFont *theFont, + const wxFont *theFont, bool WXUNUSED(use16bit) ) const { - wxFont *fontToUse = theFont; + const wxFont *fontToUse = theFont; if (!fontToUse) - fontToUse = (wxFont*) &m_font; + fontToUse = &m_font; // TODO: /*