From: Stefan Csomor Date: Tue, 11 Jun 2013 23:14:20 +0000 (+0000) Subject: missing commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/12bb29f5432174ecbd65549bda832d70d34a98ae missing commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/uiaction.h b/include/wx/uiaction.h index 5170170dc9..1fce389770 100644 --- a/include/wx/uiaction.h +++ b/include/wx/uiaction.h @@ -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 // -------------------