Skip to content

Commit

Permalink
Fix resetting cursor after dragging split separator
Browse files Browse the repository at this point in the history
Reset the cursor to default, instead of setting to the value (arrow)
that happens to be the default. This fixes incorrect cursor in textctrls
under Windows.
  • Loading branch information
vslavik committed Sep 18, 2024
1 parent 44ae6f9 commit d4b0070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class ThinSplitter : public wxSplitterWindow
}
else
{
win->SetCursor(*wxSTANDARD_CURSOR);
win->SetCursor(wxNullCursor);
}
};
win->Bind(wxEVT_MOTION, motionHandler);
Expand Down

0 comments on commit d4b0070

Please sign in to comment.