#pragma interface "font.h"
#endif
-// ----------------------------------------------------------------------------
-// public functions
-// ----------------------------------------------------------------------------
-
-// convert wxFontEncoding into one of Windows XXX_CHARSET constants (fill exact
-// parameter if it's not NULL with TRUE if encoding is realyl supported under
-// Windows and FALSE if not and we just chose something close to it)
-extern int wxCharsetFromEncoding(wxFontEncoding encoding, bool *exact = NULL);
-
// ----------------------------------------------------------------------------
// wxFont
// ----------------------------------------------------------------------------
virtual bool RealizeResource();
virtual WXHANDLE GetResourceHandle();
virtual bool FreeResource(bool force = FALSE);
+
+ // for consistency with other wxMSW classes and to have a const
+ // GetResourceHandle()-like function we have a synonym for it
+ WXHFONT GetHFONT() const;
+
/*
virtual bool UseResource();
virtual bool ReleaseResource();