]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/PlatWX.cpp
added pragmas to disable icc warning when va_arg is used with a pointer type
[wxWidgets.git] / src / stc / PlatWX.cpp
index fabec08d8372982dbb9b63a4a8ef68739dfd0d29..06497eb0dde6872351a1746f93a14ffebb83d4ab 100644 (file)
@@ -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;
+       }
 }