]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/mousestate.h
avoid infinite recursion for richtooltops, (hopefully) fixes #15070
[wxWidgets.git] / interface / wx / mousestate.h
index 1088c7de7e0a562fc366ba2147f1214a36ebe44a..62ff0e39ac43f96c43b82b9c85c76f8215dd9375 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      wxWidgets team
 // Created:     2008-09-19
 // RCS-ID:      $Id$
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 /// Symbolic names for the mouse buttons.
@@ -50,7 +50,7 @@ enum wxMouseButton
     has no linking requirements.
 
     @nolibrary
-    @category{misc}
+    @category{events}
 
     @see wxGetMouseState(), wxMouseEvent
  */
@@ -104,6 +104,20 @@ public:
         Returns @true if the second extra button mouse button is currently down.
     */
     bool Aux2IsDown() const;
+
+
+    void SetX(wxCoord x);
+    void SetY(wxCoord y);
+    void SetPosition(wxPoint pos);
+    
+    void SetLeftDown(bool down);
+    void SetMiddleDown(bool down);
+    void SetRightDown(bool down);
+    void SetAux1Down(bool down);
+    void SetAux2Down(bool down);
+
+    void SetState(const wxMouseState& state);
+    
 };