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