From 371efb285bbe6fe8e76cdc7da157b9525e93b01f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 20 Feb 2003 19:30:45 +0000 Subject: [PATCH] Fixed GetFirstSelected helper method, the parameter is ignored (copy-paste error) so I made it optional so old code wont break. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/controls2.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/src/controls2.i b/wxPython/src/controls2.i index da3e8854fa..3ef170b7b3 100644 --- a/wxPython/src/controls2.i +++ b/wxPython/src/controls2.i @@ -703,7 +703,7 @@ public: '''get the currently focused item or -1 if none''' return self.GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_FOCUSED) - def GetFirstSelected(self, item): + def GetFirstSelected(self, *args): '''return first selected item, or -1 when none''' return self.GetNextSelected(-1)