From 6d92b8c675f5d3ad88d02ddef3bea43296972fef Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 26 Feb 2003 03:59:33 +0000 Subject: [PATCH] Give the second form of BeginDrag a better name git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/misc2.i | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wxPython/src/misc2.i b/wxPython/src/misc2.i index 6be1cd9725..15edd72de2 100644 --- a/wxPython/src/misc2.i +++ b/wxPython/src/misc2.i @@ -511,8 +511,10 @@ public: bool BeginDrag(const wxPoint& hotspot, wxWindow* window, bool fullScreen = FALSE, wxRect* rect = NULL); - %name(BeginDrag2) bool BeginDrag(const wxPoint& hotspot, wxWindow* window, - wxWindow* fullScreenRect); + %name(BeginDragBounded) bool BeginDrag(const wxPoint& hotspot, wxWindow* window, + wxWindow* boundingWindow); + + %pragma(python) addtoclass = "BeginDrag2 = BeginDragBounded" bool EndDrag(); bool Move(const wxPoint& pt);