X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c9009c8d06898324d2f09db1b48423b43faf13..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/uiaction.h 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 // -------------------