cleanup and some docstring fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-05-27 00:53:05 +00:00
parent 40cd6a37c8
commit 40a0d6ca1f
5 changed files with 6 additions and 12 deletions

View File

@@ -51,7 +51,7 @@ public:
const wxValidator& validator = wxDefaultValidator, const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxPyChoiceNameStr), const wxString& name = wxPyChoiceNameStr),
"__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, "__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", String name=ChoiceNameStr) -> Choice",
"Create and show a Choice control", ""); "Create and show a Choice control", "");
@@ -70,7 +70,7 @@ public:
const wxValidator& validator = wxDefaultValidator, const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxPyChoiceNameStr), const wxString& name = wxPyChoiceNameStr),
"Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, "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", String name=ChoiceNameStr) -> bool",
"Actually create the GUI Choice control for 2-phase creation", ""); "Actually create the GUI Choice control for 2-phase creation", "");

View File

@@ -354,7 +354,7 @@ public:
long style = wxCHOICEDLG_STYLE, long style = wxCHOICEDLG_STYLE,
const wxPoint& pos = wxDefaultPosition), const wxPoint& pos = wxDefaultPosition),
"__init__(self, Window parent, String message, String caption, "__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", Point pos=DefaultPosition) -> MultiChoiceDialog",
"Constructor. Use the `ShowModal` method to show the dialog. "Constructor. Use the `ShowModal` method to show the dialog.
@@ -402,7 +402,7 @@ public:
DocAStr(wxSingleChoiceDialog, DocAStr(wxSingleChoiceDialog,
"__init__(Window parent, String message, String caption, "__init__(Window parent, String message, String caption,
List choices=[], long style=CHOICEDLG_STYLE, List choices=EmptyList, long style=CHOICEDLG_STYLE,
Point pos=DefaultPosition) -> SingleChoiceDialog", Point pos=DefaultPosition) -> SingleChoiceDialog",
"Constructor. Use ShowModal method to show the dialog.", ""); "Constructor. Use ShowModal method to show the dialog.", "");

View File

@@ -83,7 +83,7 @@ public:
const wxString& name = wxPyComboBoxNameStr), const wxString& name = wxPyComboBoxNameStr),
"__init__(Window parent, int id, String value=EmptyString, "__init__(Window parent, int id, String value=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize, 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", String name=ComboBoxNameStr) -> ComboBox",
"Constructor, creates and shows a ComboBox control.", ""); "Constructor, creates and shows a ComboBox control.", "");
@@ -104,7 +104,7 @@ public:
const wxString& name = wxPyChoiceNameStr), const wxString& name = wxPyChoiceNameStr),
"Create(Window parent, int id, String value=EmptyString, "Create(Window parent, int id, String value=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize, 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", String name=ChoiceNameStr) -> bool",
"Actually create the GUI wxComboBox control for 2-phase creation", ""); "Actually create the GUI wxComboBox control for 2-phase creation", "");

View File

@@ -37,7 +37,6 @@ public:
wxListBox(wxWindow* parent, wxWindowID id=-1, wxListBox(wxWindow* parent, wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
//int choices=0, wxString* choices_array = NULL,
const wxArrayString& choices = wxPyEmptyStringArray, const wxArrayString& choices = wxPyEmptyStringArray,
long style = 0, long style = 0,
const wxValidator& validator = wxDefaultValidator, const wxValidator& validator = wxDefaultValidator,
@@ -47,7 +46,6 @@ public:
bool Create(wxWindow* parent, wxWindowID id=-1, bool Create(wxWindow* parent, wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
//int choices=0, wxString* choices_array = NULL,
const wxArrayString& choices = wxPyEmptyStringArray, const wxArrayString& choices = wxPyEmptyStringArray,
long style = 0, long style = 0,
const wxValidator& validator = wxDefaultValidator, const wxValidator& validator = wxDefaultValidator,
@@ -151,7 +149,6 @@ public:
wxCheckListBox(wxWindow *parent, wxWindowID id=-1, wxCheckListBox(wxWindow *parent, wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
//int choices = 0, wxString* choices_array = NULL,
const wxArrayString& choices = wxPyEmptyStringArray, const wxArrayString& choices = wxPyEmptyStringArray,
long style = 0, long style = 0,
const wxValidator& validator = wxDefaultValidator, const wxValidator& validator = wxDefaultValidator,
@@ -161,7 +158,6 @@ public:
bool Create(wxWindow *parent, wxWindowID id=-1, bool Create(wxWindow *parent, wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
//int choices = 0, wxString* choices_array = NULL,
const wxArrayString& choices = wxPyEmptyStringArray, const wxArrayString& choices = wxPyEmptyStringArray,
long style = 0, long style = 0,
const wxValidator& validator = wxDefaultValidator, const wxValidator& validator = wxDefaultValidator,

View File

@@ -35,7 +35,6 @@ public:
const wxString& label = wxPyEmptyString, const wxString& label = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
//int choices = 0, wxString* choices_array = NULL,
const wxArrayString& choices = wxPyEmptyStringArray, const wxArrayString& choices = wxPyEmptyStringArray,
int majorDimension = 0, int majorDimension = 0,
long style = wxRA_HORIZONTAL, long style = wxRA_HORIZONTAL,
@@ -47,7 +46,6 @@ public:
const wxString& label = wxPyEmptyString, const wxString& label = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
//int choices = 0, wxString* choices_array = NULL,
const wxArrayString& choices = wxPyEmptyStringArray, const wxArrayString& choices = wxPyEmptyStringArray,
int majorDimension = 0, int majorDimension = 0,
long style = wxRA_HORIZONTAL, long style = wxRA_HORIZONTAL,