// fall through
case wxFONTSTYLE_NORMAL:
+ lf.lfItalic = FALSE;
break;
case wxFONTSTYLE_ITALIC:
return FALSE;
}
-WXHANDLE wxFont::GetResourceHandle()
+WXHANDLE wxFont::GetResourceHandle() const
{
- return GetHFONT();
+ return (WXHANDLE)GetHFONT();
}
WXHFONT wxFont::GetHFONT() const