diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 359b5c4383..5b4ed4af35 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -1975,9 +1975,9 @@ void Window::SetCursor(Cursor curs) { break; } - wxCursor wc = wxCursor(cursorId); if(curs != cursorLast) { + wxCursor wc = wxCursor(cursorId); GETWIN(wid)->SetCursor(wc); cursorLast = curs; }