X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d85ddeece939e0d2cf602a45286e8368544320..e5354813181461c154044d52a464b29fa1aefaf8:/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) {