mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-03-30 16:18:54 -04:00
Missed gain canvas focus for Win7 wheel support
This commit is contained in:
parent
baa7501711
commit
ce697c610d
@ -194,6 +194,11 @@ void GainCanvas::OnMouseLeftWindow(wxMouseEvent& event) {
|
||||
void GainCanvas::OnMouseEnterWindow(wxMouseEvent& event) {
|
||||
InteractiveCanvas::mouseTracker.OnMouseEnterWindow(event);
|
||||
SetCursor(wxCURSOR_CROSS);
|
||||
#ifdef _WIN32
|
||||
if (wxGetApp().getAppFrame()->canFocus()) {
|
||||
this->SetFocus();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user