From d4b007054164c62d73fa58cc6632d0e509b00695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 18 Sep 2024 15:41:27 +0200 Subject: [PATCH] Fix resetting cursor after dragging split separator 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. --- src/edframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edframe.cpp b/src/edframe.cpp index 8112df159c..364fedc38b 100644 --- a/src/edframe.cpp +++ b/src/edframe.cpp @@ -148,7 +148,7 @@ class ThinSplitter : public wxSplitterWindow } else { - win->SetCursor(*wxSTANDARD_CURSOR); + win->SetCursor(wxNullCursor); } }; win->Bind(wxEVT_MOTION, motionHandler);