X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/750b78ba359e7d30c7d3ad49d268923e986268cb..f7c832a7867b1cc588fc1ec658c2f20d0b4c81ec:/src/motif/utils.cpp diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index 99569a53c2..94820453fb 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -556,6 +556,9 @@ wxXSetBusyCursor (wxWindow * win, wxCursor * cursor) Display *display = (Display*) win->GetXDisplay(); Window xwin = (Window) win->GetXWindow(); + if (!xwin) + return; + XSetWindowAttributes attrs; if (cursor)