X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a38d0585257e8e72fcba090846506503bce0ff6a..5e0d7b6bce53ad3ceb3c832925c25d2e614a0d62:/src/msw/font.cpp?ds=sidebyside diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 4cd6532a0c..f29b9a4aea 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -742,9 +742,9 @@ bool wxFont::FreeResource(bool WXUNUSED(force)) return FALSE; } -WXHANDLE wxFont::GetResourceHandle() +WXHANDLE wxFont::GetResourceHandle() const { - return GetHFONT(); + return (WXHANDLE)GetHFONT(); } WXHFONT wxFont::GetHFONT() const @@ -839,7 +839,7 @@ void wxFont::SetEncoding(wxFontEncoding encoding) RealizeResource(); } -void wxFont::SetNativeFontInfo(const wxNativeFontInfo& info) +void wxFont::DoSetNativeFontInfo(const wxNativeFontInfo& info) { Unshare();