- int f_sizes[7];
- if (size == -1)
- size = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetPointSize();
-
- f_sizes[0] = int(size * 0.6);
- f_sizes[1] = int(size * 0.8);
- f_sizes[2] = size;
- f_sizes[3] = int(size * 1.2);
- f_sizes[4] = int(size * 1.4);
- f_sizes[5] = int(size * 1.6);
- f_sizes[6] = int(size * 1.8);
-
- SetFonts(wxEmptyString, wxEmptyString, f_sizes);
+ m_Parser->SetStandardFonts(size, normal_face, fixed_face);
+ if (m_DC == NULL && m_Cells != NULL)
+ m_Cells->Layout(m_Width);