]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/uiactioncmn.cpp
No changes, just change data structures used by mouse capture code.
[wxWidgets.git] / src / common / uiactioncmn.cpp
index cf718d2a01618cbce9ab0152fe5a3a145ae47553..32a8d2f2d4274c4b3f09cb9ec546ab46bc4769ce 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Kevin Ollivier, Steven Lamerton, Vadim Zeitlin
 // Modified by:
 // Created:     2010-03-06
-// RCS-ID:      $Id$
 // Copyright:   (c) Kevin Ollivier
 //              (c) 2010 Steven Lamerton
 //              (c) 2010 Vadim Zeitlin
@@ -37,28 +36,19 @@ bool wxUIActionSimulator::MouseDblClick(int button)
     return true;
 }
 
-bool wxUIActionSimulator::MouseClickAndDragTo(long x, long y, int button)
-{
-    MouseDown(button);
-    MouseMove(x,y);
-    MouseUp(button);
-    return true;
-}
-
-#endif
-
-bool
-wxUIActionSimulator::MouseDragDrop(long x1, long y1, long x2, long y2,
+bool wxUIActionSimulator::MouseDragDrop(long x1, long y1, long x2, long y2,
                                    int button)
 {
     MouseMove(x1, y1);
     MouseDown(button);
     MouseMove(x2, y2);
     MouseUp(button);
-
+    
     return true;
 }
 
+#endif
+
 bool
 wxUIActionSimulator::Key(int keycode, int modifiers, bool isDown)
 {