X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4673c0ee21068f4d1adf4ddf36b4bd26cae9ce3..0c60a0e2b726073be874f45e5227ea93b63623f4:/src/common/uiactioncmn.cpp diff --git a/src/common/uiactioncmn.cpp b/src/common/uiactioncmn.cpp index cf718d2a01..32a8d2f2d4 100644 --- a/src/common/uiactioncmn.cpp +++ b/src/common/uiactioncmn.cpp @@ -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) {