X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e1cee233eb64ddf4855970b93f276c5709e2eec..b404a8f3b072129c107c6d9a5e0f6f53cd34807b:/src/msw/window.cpp diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 7535e4efeb..5e2e43a438 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -881,7 +881,7 @@ bool wxWindowMSW::SetCursor(const wxCursor& cursor) return false; } - const wxWindow* win = wxFindWindowAtPoint(wxPoint(pt.x, pt.y)); + const wxWindowMSW* win = wxFindWindowAtPoint(wxPoint(pt.x, pt.y)); if ( !win ) win = this;