]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/uiactioncmn.cpp
Add a helper wxApp::GetValidTraits() method.
[wxWidgets.git] / src / common / uiactioncmn.cpp
index cf718d2a01618cbce9ab0152fe5a3a145ae47553..0df4aea34b54692b17e82ba16a4f8ef95b173437 100644 (file)
@@ -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)
 {