]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
Missing header
[wxWidgets.git] / src / os2 / window.cpp
index 2a7b44ea658657c659de95908e3c3db201952a10..068003159de052a26552ba6b451bc0f7ac722a1f 100644 (file)
@@ -46,6 +46,7 @@
     #include "wx/settings.h"
     #include "wx/intl.h"
     #include "wx/log.h"
+    #include "wx/textctrl.h"
     #include <stdio.h>
 #endif
 
@@ -73,9 +74,6 @@
     #include "wx/caret.h"
 #endif // wxUSE_CARET
 
-
-#include "wx/textctrl.h"
-
 #include <string.h>
 
 //
@@ -5043,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) )