]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
fixing osx_cocoa
[wxWidgets.git] / src / msw / window.cpp
index 7535e4efeb10d7b3710682d038be5878ea8ba1cb..5e2e43a438aeb3282ecd2e8adabfc551c7175815 100644 (file)
@@ -881,7 +881,7 @@ bool wxWindowMSW::SetCursor(const wxCursor& cursor)
             return false;
         }
 
             return false;
         }
 
-        const wxWindow* win = wxFindWindowAtPoint(wxPoint(pt.x, pt.y));
+        const wxWindowMSW* win = wxFindWindowAtPoint(wxPoint(pt.x, pt.y));
         if ( !win )
             win = this;
 
         if ( !win )
             win = this;