#include "wx/gdiobj.h"
#include "wx/os2/private.h"
+#include "wx/fontutil.h"
WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
(void)Create(nSize, nFamily, nStyle, nWeight, bUnderlined, rsFace, vEncoding);
}
- wxFont(const wxNativeFontInfo& rInfo)
- {
- Init();
-
- (void)Create( rInfo.pointSize
- ,rInfo.family
- ,rInfo.style
- ,rInfo.weight
- ,rInfo.underlined
- ,rInfo.faceName
- ,rInfo.encoding
- );
- }
+ wxFont(const wxNativeFontInfo& rInfo);
bool Create( int nSize
,int nFamily
virtual WXHANDLE GetResourceHandle(void);
virtual bool FreeResource(bool bForce = FALSE);
+ WXHFONT GetHFONT(void) const;
protected:
//
// Common part of all ctors