X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c9009c8d06898324d2f09db1b48423b43faf13..9c34a216817028bc533e07873d047208a96b05a2:/include/wx/uiaction.h?ds=inline diff --git a/include/wx/uiaction.h b/include/wx/uiaction.h index 5170170dc9..68de3dde6a 100644 --- a/include/wx/uiaction.h +++ b/include/wx/uiaction.h @@ -45,7 +45,9 @@ 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); } // Keyboard simulation // -------------------