X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f3ee029e052f2b8b3ea36ca9afd94809834bb8cf..2cfcf22d47b7d9cf3c85edfe498c5f23a18a9a19:/src/stc/PlatWX.cpp diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index fabec08d83..06497eb0dd 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -592,7 +592,11 @@ void Window::SetCursor(Cursor curs) { #else wxCursor wc = wxCursor(cursorId) ; #endif - GETWIN(id)->SetCursor(wc); + if(curs != cursorLast) + { + GETWIN(id)->SetCursor(wc); + cursorLast = curs; + } }