// 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
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)
{