#include "wx/wxprec.h"
+#include "wx/font.h"
+
#ifndef WX_PRECOMP
#include "wx/string.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/font.h"
-#include "wx/gdicmn.h"
#include "wx/encinfo.h"
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
// TODO: delete font data
}
+#define M_FONTDATA ((wxFontRefData*)m_refData)
+
bool wxFont::Create(const wxNativeFontInfo&)
{
return false;
bool wxFont::GetUnderlined() const
{
- return false;
+ if(M_FONTDATA)
+ return M_FONTDATA->m_underlined;
+ else
+ return false;
}
int wxFont::GetStyle() const