git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53453
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/fontutil.h"
#include "wx/graphics.h"
#include "wx/fontutil.h"
#include "wx/graphics.h"
+#include "wx/settings.h"
wxFontEncoding encoding)
{
m_style = style;
wxFontEncoding encoding)
{
m_style = style;
- m_pointSize = pointSize;
+ m_pointSize = (pointSize == -1) ? wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetPointSize() : pointSize;
m_family = family;
m_style = style;
m_weight = weight;
m_family = family;
m_style = style;
m_weight = weight;