]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/uiaction.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / include / wx / uiaction.h
index 5170170dc910edacc656611edf13011d610485a3..fb965235443b65940108ad01846bbb5a644efdbb 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Kevin Ollivier, Steven Lamerton, Vadim Zeitlin
 // Modified by:
 // Created:     2010-03-06
-// RCS-ID:      $Id$
 // Copyright:   (c) Kevin Ollivier
 //              (c) 2010 Steven Lamerton
 //              (c) 2010 Vadim Zeitlin
@@ -45,7 +44,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
     // -------------------