projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation fixes - wxGTK compiles but not links
[wxWidgets.git]
/
src
/
os2
/
font.cpp
diff --git
a/src/os2/font.cpp
b/src/os2/font.cpp
index 38289bdeba19644d3a0803e9fd6d087595f3248b..0b60d983789bd21908894edced075e81b5eef4f6 100644
(file)
--- a/
src/os2/font.cpp
+++ b/
src/os2/font.cpp
@@
-399,12
+399,17
@@
bool wxFont::FreeResource(
return FALSE;
} // end of wxFont::FreeResource
return FALSE;
} // end of wxFont::FreeResource
-WXHANDLE wxFont::Get
ResourceHandle()
+WXHANDLE wxFont::Get
HFONT() const
{
if (!M_FONTDATA)
return 0;
else
return (WXHANDLE)M_FONTDATA->m_hFont;
{
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
} // end of wxFont::GetResourceHandle
bool wxFont::IsFree() const