Commit 8eefd5a9 authored by Charlie Fenton's avatar Charlie Fenton

MGR: in Advanced Preferences dialog highlight textedit field with illegal...

MGR: in Advanced Preferences dialog highlight textedit field with illegal value by setting its background to red.
parent 1aaba0d0
......@@ -953,6 +953,7 @@ void CDlgAdvPreferences::ShowErrorMessage(wxString& message,wxTextCtrl* errorCtr
stdTextBkgdColor = errorCtrl->GetBackgroundColour();
}
errorCtrl->SetBackgroundColour(*wxRED);
errorCtrl->Refresh();
lastErrorCtrl = errorCtrl;
wxGetApp().SafeMessageBox(message,_("Validation Error"),wxOK | wxCENTRE | wxICON_ERROR,this);
errorCtrl->SetFocus();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment