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:
@@ -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", "");
|
||||
|
||||
|
@@ -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.", "");
|
||||
|
||||
|
@@ -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", "");
|
||||
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user