Mouse wheel support for tuning bar digits

This commit is contained in:
Charles J. Cliffe
2015-04-08 18:37:40 -04:00
parent 2dada587d1
commit 4f2b9d93c3
2 changed files with 16 additions and 1 deletions
+5 -1
View File
@@ -518,7 +518,11 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
}
}
if (!waterfallCanvas->HasFocus()) {
if (demodTuner->getMouseTracker()->mouseInView()) {
if (!demodTuner->HasFocus()) {
demodTuner->SetFocus();
}
} else if (!waterfallCanvas->HasFocus()) {
waterfallCanvas->SetFocus();
}