X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7491d644e6103afc2a69b750ca255218181b63a3..4e57b0d49515043e7b4083eb596ac5044ccb950e:/src/motif/utils.cpp diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index 47e93405ef..65d6c32bec 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -541,8 +541,8 @@ wxXSetBusyCursor (wxWindow * win, wxCursor * cursor) else { // Restore old cursor - if (win->GetCursor()->Ok()) - attrs.cursor = (Cursor) win->GetCursor()->GetXCursor(display); + if (win->GetCursor().Ok()) + attrs.cursor = (Cursor) win->GetCursor().GetXCursor(display); else attrs.cursor = None; }