]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/font.cpp
Replaced /'s with \'s as BCC requires \'s for path names
[wxWidgets.git] / src / os2 / font.cpp
index 38289bdeba19644d3a0803e9fd6d087595f3248b..0b60d983789bd21908894edced075e81b5eef4f6 100644 (file)
@@ -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