Font-size tweak
This commit is contained in:
parent
1b1c88e4ff
commit
3415733eff
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user