X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e99762c031bf2c71af7f856c1d713bce0422acaa..ee65598f95309d64d69cfb4dd4191b3f567551fb:/src/os2/font.cpp?ds=sidebyside diff --git a/src/os2/font.cpp b/src/os2/font.cpp index 38289bdeba..0b60d98378 100644 --- a/src/os2/font.cpp +++ b/src/os2/font.cpp @@ -399,12 +399,17 @@ bool wxFont::FreeResource( return FALSE; } // end of wxFont::FreeResource -WXHANDLE wxFont::GetResourceHandle() +WXHANDLE wxFont::GetHFONT() const { if (!M_FONTDATA) return 0; else return (WXHANDLE)M_FONTDATA->m_hFont; +} // end of wxFont::GetHFONT + +WXHANDLE wxFont::GetResourceHandle() +{ + return GetHFONT(); } // end of wxFont::GetResourceHandle bool wxFont::IsFree() const