X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fec9cc08e7d94574af3f04b4c5fbafde63ac0b31..909b16f6294d47cae7be032cd2bcab6874ad31af:/src/os2/window.cpp diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 2aa1c96130..068003159d 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -5041,12 +5041,20 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& rPt) // Get the current mouse position. wxPoint wxGetMousePosition() { - POINTL vPt; + POINTL vPt; ::WinQueryPointerPos(HWND_DESKTOP, &vPt); return wxPoint(vPt.x, vPt.y); } +wxMouseState wxGetMouseState() +{ + wxMouseState ms; + // TODO + return ms; +} + + wxWindowOS2* FindWindowForMouseEvent( wxWindow* pWin, short* WXUNUSED(pnX), short* WXUNUSED(pnY) )