ifdef'd windows focus calls, remove unnecessary meter refreshes

This commit is contained in:
Charles J. Cliffe
2016-05-30 00:17:08 -04:00
parent a0d15026df
commit ce1cd27007
6 changed files with 13 additions and 9 deletions
+2
View File
@@ -410,9 +410,11 @@ void TuningCanvas::OnMouseEnterWindow(wxMouseEvent& event) {
hoverIndex = 0;
hoverState = TUNING_HOVER_NONE;
lastPPM = currentPPM = wxGetApp().getPPM();
#ifdef _WIN32
if (wxGetApp().getAppFrame()->canFocus()) {
this->SetFocus();
}
#endif
}
void TuningCanvas::setHelpTip(std::string tip) {