X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e99762c031bf2c71af7f856c1d713bce0422acaa..87df17a11b0017d31c09f767bd921abb27193bee:/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