Font-size tweak

This commit is contained in:
Tim Warren 2015-04-17 12:57:49 -04:00
parent 1b1c88e4ff
commit 3415733eff

View File

@ -42,12 +42,19 @@ bool EditPane::LoadAndHighlight(wxString filePath)
this->StyleClearAll(); this->StyleClearAll();
// Font setup // Font setup
#ifdef __WXMAC__
wxFont *defaultFont = wxFont::New( wxFont *defaultFont = wxFont::New(
14, 14,
wxFONTFAMILY_MODERN, wxFONTFAMILY_MODERN,
wxFONTFLAG_ANTIALIASED, wxFONTFLAG_ANTIALIASED
"Anonymous Pro"
); );
#else
wxFont *defaultFont = wxFont::New(
12,
wxFONTFAMILY_MODERN,
wxFONTFLAG_ANTIALIASED
);
#endif
if (lexerMap.count(lang) > 0) if (lexerMap.count(lang) > 0)
{ {