Minor fixes and theme tweaks

This commit is contained in:
Timothy Warren 2015-04-21 21:09:08 -04:00
parent 61cf8efca3
commit 8d2421de33
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
}, },
"foreground": { "foreground": {
"default": [101, 123, 131], "default": [101, 123, 131],
"keyword1": [220, 50, 47], "keyword1": [133, 153, 0],
"keyword2": [42, 161, 152], "keyword2": [42, 161, 152],
"keyword3": [181, 137, 0], "keyword3": [181, 137, 0],
"keyword4": [181, 137, 0], "keyword4": [181, 137, 0],
@ -41,7 +41,7 @@
"punctuation": [101, 123, 131], "punctuation": [101, 123, 131],
"operator": [101, 123, 131], "operator": [101, 123, 131],
"brace": [101, 123, 131], "brace": [101, 123, 131],
"command": [], "command": [220, 50, 47],
"identifier": [38, 139, 210], "identifier": [38, 139, 210],
"label": [220, 50, 47], "label": [220, 50, 47],
"number": [211, 54, 130], "number": [211, 54, 130],

View File

@ -405,7 +405,7 @@ void EditPane::_ApplyTheme(JsonValue lexer_map)
); );
#else #else
wxFont *defaultFont = wxFont::New( wxFont *defaultFont = wxFont::New(
12, 10,
wxFONTFAMILY_MODERN, wxFONTFAMILY_MODERN,
wxFONTFLAG_ANTIALIASED wxFONTFLAG_ANTIALIASED
); );

View File

@ -366,7 +366,7 @@ void MainFrame::EnableEditControls(bool enable)
editMenu->Enable(wxID_COPY, enable); editMenu->Enable(wxID_COPY, enable);
editMenu->Enable(wxID_PASTE, enable); editMenu->Enable(wxID_PASTE, enable);
editMenu->Enable(wxID_CLEAR, enable); editMenu->Enable(wxID_CLEAR, enable);
editMenu->Enable(wxID_FIND, enable); //editMenu->Enable(wxID_FIND, enable);
editMenu->Enable(wxID_SELECTALL, enable); editMenu->Enable(wxID_SELECTALL, enable);
toolBar->EnableTool(wxID_SAVE, enable); toolBar->EnableTool(wxID_SAVE, enable);