]> git.saurik.com Git - wxWidgets.git/commitdiff
missing commit
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 11 Jun 2013 23:14:20 +0000 (23:14 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 11 Jun 2013 23:14:20 +0000 (23:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/uiaction.h

index 5170170dc910edacc656611edf13011d610485a3..1fce3897705f77229df61a242e659f2c41d6f80e 100644 (file)
@@ -45,7 +45,13 @@ public:
     bool MouseDblClick(int button = wxMOUSE_BTN_LEFT);
     bool MouseDragDrop(long x1, long y1, long x2, long y2,
                        int button = wxMOUSE_BTN_LEFT);
+    bool MouseDragDrop(const wxPoint& p1, const wxPoint& p2,
+                       int button = wxMOUSE_BTN_LEFT)
+    { return MouseDragDrop(p1.x, p1.y, p2.x, p2.y, button); }
 
+    bool MouseClickAndDragTo(long x, long y, int button = wxMOUSE_BTN_LEFT);
+    bool MouseClickAndDragTo(const wxPoint& point, int button = wxMOUSE_BTN_LEFT)
+    { return MouseClickAndDragTo(point.x, point.y, button); }
 
     // Keyboard simulation
     // -------------------