From 40a0d6ca1f997c12ebc396b3f8716f6f0c5de55b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 27 May 2005 00:53:05 +0000 Subject: [PATCH] cleanup and some docstring fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_choice.i | 4 ++-- wxPython/src/_cmndlgs.i | 4 ++-- wxPython/src/_combobox.i | 4 ++-- wxPython/src/_listbox.i | 4 ---- wxPython/src/_radio.i | 2 -- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/wxPython/src/_choice.i b/wxPython/src/_choice.i index a071e49e9c..d50d06a3c2 100644 --- a/wxPython/src/_choice.i +++ b/wxPython/src/_choice.i @@ -51,7 +51,7 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyChoiceNameStr), "__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - List choices=[], long style=0, Validator validator=DefaultValidator, + List choices=EmptyList, long style=0, Validator validator=DefaultValidator, String name=ChoiceNameStr) -> Choice", "Create and show a Choice control", ""); @@ -70,7 +70,7 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyChoiceNameStr), "Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - List choices=[], long style=0, Validator validator=DefaultValidator, + List choices=EmptyList, long style=0, Validator validator=DefaultValidator, String name=ChoiceNameStr) -> bool", "Actually create the GUI Choice control for 2-phase creation", ""); diff --git a/wxPython/src/_cmndlgs.i b/wxPython/src/_cmndlgs.i index dad5c822ec..f7ea72c2cb 100644 --- a/wxPython/src/_cmndlgs.i +++ b/wxPython/src/_cmndlgs.i @@ -354,7 +354,7 @@ public: long style = wxCHOICEDLG_STYLE, const wxPoint& pos = wxDefaultPosition), "__init__(self, Window parent, String message, String caption, - List choices=None, long style=CHOICEDLG_STYLE, + List choices=EmptyList, long style=CHOICEDLG_STYLE, Point pos=DefaultPosition) -> MultiChoiceDialog", "Constructor. Use the `ShowModal` method to show the dialog. @@ -402,7 +402,7 @@ public: DocAStr(wxSingleChoiceDialog, "__init__(Window parent, String message, String caption, - List choices=[], long style=CHOICEDLG_STYLE, + List choices=EmptyList, long style=CHOICEDLG_STYLE, Point pos=DefaultPosition) -> SingleChoiceDialog", "Constructor. Use ShowModal method to show the dialog.", ""); diff --git a/wxPython/src/_combobox.i b/wxPython/src/_combobox.i index 8ee9435d08..9359f75dfb 100644 --- a/wxPython/src/_combobox.i +++ b/wxPython/src/_combobox.i @@ -83,7 +83,7 @@ public: const wxString& name = wxPyComboBoxNameStr), "__init__(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition, Size size=DefaultSize, - List choices=[], long style=0, Validator validator=DefaultValidator, + List choices=EmptyList, long style=0, Validator validator=DefaultValidator, String name=ComboBoxNameStr) -> ComboBox", "Constructor, creates and shows a ComboBox control.", ""); @@ -104,7 +104,7 @@ public: const wxString& name = wxPyChoiceNameStr), "Create(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition, Size size=DefaultSize, - List choices=[], long style=0, Validator validator=DefaultValidator, + List choices=EmptyList, long style=0, Validator validator=DefaultValidator, String name=ChoiceNameStr) -> bool", "Actually create the GUI wxComboBox control for 2-phase creation", ""); diff --git a/wxPython/src/_listbox.i b/wxPython/src/_listbox.i index 41fdd0eb02..c3c01ea3e7 100644 --- a/wxPython/src/_listbox.i +++ b/wxPython/src/_listbox.i @@ -37,7 +37,6 @@ public: wxListBox(wxWindow* parent, wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - //int choices=0, wxString* choices_array = NULL, const wxArrayString& choices = wxPyEmptyStringArray, long style = 0, const wxValidator& validator = wxDefaultValidator, @@ -47,7 +46,6 @@ public: bool Create(wxWindow* parent, wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - //int choices=0, wxString* choices_array = NULL, const wxArrayString& choices = wxPyEmptyStringArray, long style = 0, const wxValidator& validator = wxDefaultValidator, @@ -151,7 +149,6 @@ public: wxCheckListBox(wxWindow *parent, wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - //int choices = 0, wxString* choices_array = NULL, const wxArrayString& choices = wxPyEmptyStringArray, long style = 0, const wxValidator& validator = wxDefaultValidator, @@ -161,7 +158,6 @@ public: bool Create(wxWindow *parent, wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - //int choices = 0, wxString* choices_array = NULL, const wxArrayString& choices = wxPyEmptyStringArray, long style = 0, const wxValidator& validator = wxDefaultValidator, diff --git a/wxPython/src/_radio.i b/wxPython/src/_radio.i index fac2b130c1..5d5b97c547 100644 --- a/wxPython/src/_radio.i +++ b/wxPython/src/_radio.i @@ -35,7 +35,6 @@ public: const wxString& label = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - //int choices = 0, wxString* choices_array = NULL, const wxArrayString& choices = wxPyEmptyStringArray, int majorDimension = 0, long style = wxRA_HORIZONTAL, @@ -47,7 +46,6 @@ public: const wxString& label = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - //int choices = 0, wxString* choices_array = NULL, const wxArrayString& choices = wxPyEmptyStringArray, int majorDimension = 0, long style = wxRA_HORIZONTAL, -- 2.45.2