- %addtofunc wxListBox "self._setOORInfo(self)"
- %addtofunc wxListBox() ""
-
- wxListBox(wxWindow* parent, wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- int choices=0, wxString* choices_array = NULL,
- long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxPyListBoxNameStr);
- %name(PreListBox)wxListBox();
-
- bool Create(wxWindow* parent, wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- int choices=0, wxString* choices_array = NULL,
- long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxPyListBoxNameStr);
+ %pythonAppend wxListBox "self._setOORInfo(self)"
+ %pythonAppend wxListBox() ""
+
+ wxListBox(wxWindow* parent,
+ wxWindowID id = -1,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ const wxArrayString& choices = wxPyEmptyStringArray,
+ long style = 0,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxPyListBoxNameStr);
+
+// wxListBox(wxWindow* parent,
+// wxWindowID id = -1,
+// const wxPoint& pos = wxDefaultPosition,
+// const wxSize& size = wxDefaultSize,
+// int n = 0,
+// const wxString choices[] = NULL,
+// long style = 0,
+// const wxValidator& validator = wxDefaultValidator,
+// const wxString& name = wxPyListBoxNameStr);
+ %RenameCtor(PreListBox, wxListBox());
+
+ bool Create(wxWindow* parent,
+ wxWindowID id = -1,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ const wxArrayString& choices = wxPyEmptyStringArray,
+ long style = 0,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxPyListBoxNameStr);
+
+// bool Create(wxWindow *parent,
+// wxWindowID id = -1,
+// const wxPoint& pos = wxDefaultPosition,
+// const wxSize& size = wxDefaultSize,
+// int n = 0,
+// const wxString choices[] = NULL,
+// long style = 0,
+// const wxValidator& validator = wxDefaultValidator,
+// const wxString& name = wxPyListBoxNameStr);