fixed cursor flicker (patch 1254492 by Hans P. Palbol)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user