X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e99762c031bf2c71af7f856c1d713bce0422acaa..29149a64916d6fdc53e445adca9ef83bc58fb6c3:/src/os2/font.cpp 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