Reset mouse cursor on button up event.
This commit is contained in:
parent
5502537065
commit
affaee415b
1 changed files with 1 additions and 0 deletions
|
@ -783,6 +783,7 @@ sub mouse_event {
|
|||
$parent->Refresh;
|
||||
$self->{drag_start_pos} = undef;
|
||||
$self->{drag_object} = undef;
|
||||
$self->SetCursor(wxSTANDARD_CURSOR);
|
||||
} elsif ($event->Dragging) {
|
||||
return if !$self->{drag_start_pos}; # concurrency problems
|
||||
for my $obj ($self->{drag_object}) {
|
||||
|
|
Loading…
Reference in a new issue