// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma implementation "font.h"
-#endif
-
#include "wx/defs.h"
#include "wx/string.h"
#include "wx/font.h"
#include "wx/gdicmn.h"
+#include "wx/encinfo.h"
-#if !USE_SHARED_LIBRARIES
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
-#endif
void wxFontRefData::Init(int size, int family, int style, int weight, bool underlined, const wxString& faceName, wxFontEncoding encoding)
{
// TODO: delete font data
}
-void wxFont::Init()
-{
-}
-
bool wxFont::Create(const wxNativeFontInfo&)
{
return FALSE;
return 0;
}
+const wxNativeFontInfo *wxFont::GetNativeFontInfo() const
+{
+ return NULL;
+}
+
void wxGetNativeFontEncoding(wxFontEncoding, wxNativeEncodingInfo*);
bool wxFont::Create(int pointSize, int family, int style, int weight, bool underlined, const wxString& faceName, wxFontEncoding encoding)
/* New font system */
wxString wxFont::GetFaceName() const
{
- wxString str("");
+ wxString str;
if (M_FONTDATA)
str = M_FONTDATA->m_faceName ;
return str;