Some basic BookmarkView drag+drop functionality

This commit is contained in:
Charles J. Cliffe
2016-10-13 00:41:35 -04:00
parent 824598cb1a
commit 14cf709447
8 changed files with 241 additions and 17 deletions
+8
View File
@@ -1901,6 +1901,10 @@ int AppFrame::OnGlobalKeyDown(wxKeyEvent &event) {
return -1;
}
if (bookmarkView && bookmarkView->isMouseInView()) {
return -1;
}
DemodulatorInstance *demod = nullptr, *lastDemod = wxGetApp().getDemodMgr().getLastActiveDemodulator();
int snap = wxGetApp().getFrequencySnap();
@@ -2002,6 +2006,10 @@ int AppFrame::OnGlobalKeyUp(wxKeyEvent &event) {
return -1;
}
if (bookmarkView && bookmarkView->isMouseInView()) {
return -1;
}
if (event.ControlDown()) {
return 1;
}