git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35353
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#else
wxCursor wc = wxCursor(cursorId) ;
#endif
#else
wxCursor wc = wxCursor(cursorId) ;
#endif
- GETWIN(id)->SetCursor(wc);
+ if(curs != cursorLast)
+ {
+ GETWIN(id)->SetCursor(wc);
+ cursorLast = curs;
+ }
#else
wxCursor wc = wxCursor(cursorId) ;
#endif
#else
wxCursor wc = wxCursor(cursorId) ;
#endif
- GETWIN(id)->SetCursor(wc);
+ if(curs != cursorLast)
+ {
+ GETWIN(id)->SetCursor(wc);
+ cursorLast = curs;
+ }