Describe the bug
It's not possible to drag/drop an external procedure file into the editor.
To Reproduce
Steps to reproduce the behavior:
Select an external procedure file
drag/drop it into the editor
see problem
Expected behavior
It should be possible to drag/drop an external procedure file into the editor
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: 10x64
Version v1.1.5.2303
Additional context
Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
The problem is that the drag/drop event handler void NumeReEditor::OnDragOver(wxStyledTextEvent& event) does not allow to move although it returns wxDragMove as default return value, which is a contradiction. Enable this via event.SetDragAllowMove(true).
DESCRIPTION
Describe the bug It's not possible to drag/drop an external procedure file into the editor.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should be possible to drag/drop an external procedure file into the editor
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
The problem is that the drag/drop event handler
void NumeReEditor::OnDragOver(wxStyledTextEvent& event)
does not allow to move although it returnswxDragMove
as default return value, which is a contradiction. Enable this viaevent.SetDragAllowMove(true)
.IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST