]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls_wrap.cpp
Version number update
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
9d1d5697 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210#define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211#define SWIGTYPE_p_wxSizer swig_types[2]
58203fa6
RD
212#define SWIGTYPE_p_wxCheckBox swig_types[3]
213#define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214#define SWIGTYPE_p_wxEvent swig_types[5]
215#define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216#define SWIGTYPE_p_bool swig_types[7]
217#define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218#define SWIGTYPE_p_wxItemContainer swig_types[9]
219#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220#define SWIGTYPE_p_wxPyListCtrl swig_types[11]
221#define SWIGTYPE_p_wxStaticLine swig_types[12]
222#define SWIGTYPE_p_wxControl swig_types[13]
223#define SWIGTYPE_p_wxPyControl swig_types[14]
224#define SWIGTYPE_p_wxGauge swig_types[15]
225#define SWIGTYPE_p_wxToolBarBase swig_types[16]
226#define SWIGTYPE_p_wxFont swig_types[17]
227#define SWIGTYPE_p_wxToggleButton swig_types[18]
228#define SWIGTYPE_p_wxRadioButton swig_types[19]
229#define SWIGTYPE_p_wxChoice swig_types[20]
230#define SWIGTYPE_p_wxMemoryDC swig_types[21]
231#define SWIGTYPE_p_wxListItemAttr swig_types[22]
232#define SWIGTYPE_p_void swig_types[23]
233#define SWIGTYPE_p_int swig_types[24]
234#define SWIGTYPE_p_wxSize swig_types[25]
235#define SWIGTYPE_p_wxDC swig_types[26]
236#define SWIGTYPE_p_wxListView swig_types[27]
237#define SWIGTYPE_p_wxIcon swig_types[28]
238#define SWIGTYPE_p_wxTextCtrl swig_types[29]
239#define SWIGTYPE_p_wxNotebook swig_types[30]
240#define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241#define SWIGTYPE_p_wxArrayString swig_types[32]
242#define SWIGTYPE_p_wxListbook swig_types[33]
243#define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244#define SWIGTYPE_p_wxSlider swig_types[35]
245#define SWIGTYPE_p_wxStaticBox swig_types[36]
246#define SWIGTYPE_p_wxArrayInt swig_types[37]
247#define SWIGTYPE_p_wxContextHelp swig_types[38]
248#define SWIGTYPE_p_long swig_types[39]
249#define SWIGTYPE_p_wxEvtHandler swig_types[40]
250#define SWIGTYPE_p_wxListEvent swig_types[41]
251#define SWIGTYPE_p_wxListBox swig_types[42]
252#define SWIGTYPE_p_wxCheckListBox swig_types[43]
253#define SWIGTYPE_p_wxBookCtrl swig_types[44]
254#define SWIGTYPE_p_wxSpinButton swig_types[45]
255#define SWIGTYPE_p_wxButton swig_types[46]
256#define SWIGTYPE_p_wxBitmapButton swig_types[47]
257#define SWIGTYPE_p_wxRect swig_types[48]
258#define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259#define SWIGTYPE_p_wxRadioBox swig_types[50]
260#define SWIGTYPE_p_wxScrollBar swig_types[51]
994141e6
RD
261#define SWIGTYPE_p_char swig_types[52]
262#define SWIGTYPE_p_wxTreeItemId swig_types[53]
263#define SWIGTYPE_p_wxComboBox swig_types[54]
264#define SWIGTYPE_p_wxHelpEvent swig_types[55]
265#define SWIGTYPE_p_wxListItem swig_types[56]
266#define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267#define SWIGTYPE_p_wxSpinEvent swig_types[58]
268#define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269#define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270#define SWIGTYPE_p_wxImageList swig_types[61]
271#define SWIGTYPE_p_wxHelpProvider swig_types[62]
272#define SWIGTYPE_p_wxTextAttr swig_types[63]
273#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274#define SWIGTYPE_p_wxPoint swig_types[65]
275#define SWIGTYPE_p_wxListbookEvent swig_types[66]
276#define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277#define SWIGTYPE_p_wxObject swig_types[68]
278#define SWIGTYPE_p_wxCursor swig_types[69]
279#define SWIGTYPE_p_wxKeyEvent swig_types[70]
280#define SWIGTYPE_p_wxWindow swig_types[71]
281#define SWIGTYPE_p_wxString swig_types[72]
282#define SWIGTYPE_p_wxBitmap swig_types[73]
283#define SWIGTYPE_p_wxTreeEvent swig_types[74]
284#define SWIGTYPE_p_wxMouseEvent swig_types[75]
285#define SWIGTYPE_p_wxCommandEvent swig_types[76]
286#define SWIGTYPE_p_wxStaticText swig_types[77]
287#define SWIGTYPE_p_wxControlWithItems swig_types[78]
288#define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289#define SWIGTYPE_p_wxColour swig_types[80]
290#define SWIGTYPE_p_wxToolBar swig_types[81]
291#define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292#define SWIGTYPE_p_wxValidator swig_types[83]
293static swig_type_info *swig_types[85];
d14a1e28
RD
294
295/* -------- TYPES TABLE (END) -------- */
296
297
298/*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301#define SWIG_init init_controls
302
303#define SWIG_name "_controls"
304
15afbcd0 305/* Auxiliar swig macros */
994141e6 306
994141e6 307#ifdef __cplusplus
15afbcd0 308#define SWIGSTATICINLINE(a) static inline a
994141e6 309#define SWIGSTATIC(a) static a
15afbcd0
RD
310#define swig_new_array(type, size) (new type[(size)])
311#define swig_delete_array(cptr) delete[] cptr
312#define swig_const_cast(type,a) const_cast<type>(a)
313#define swig_static_cast(type,a) static_cast<type>(a)
314#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 315
994141e6 316#ifdef HAVE_NUMERIC_CAST
15afbcd0 317#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 318#else
15afbcd0 319#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
320#endif
321
15afbcd0
RD
322#else /* C case */
323
324#define SWIGSTATICINLINE(a) static a
325#define SWIGSTATIC(a) static a
326#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327#define swig_delete_array(cptr) free((char*)cptr)
328#define swig_const_cast(type,a) (type)(a)
329#define swig_static_cast(type,a) (type)(a)
330#define swig_reinterpret_cast(type,a) (type)(a)
331#define swig_numeric_cast(type,a) (type)(a)
332
333#endif /* __cplusplus */
994141e6
RD
334
335
15afbcd0
RD
336#define SWIG_FromSignedChar PyInt_FromLong
337#define SWIG_FromUnsignedChar PyInt_FromLong
338#define SWIG_FromShort PyInt_FromLong
339#define SWIG_FromUnsignedShort PyInt_FromLong
340#define SWIG_FromInt PyInt_FromLong
341#define SWIG_FromLong PyInt_FromLong
342#define SWIG_FromFloat PyFloat_FromDouble
343#define SWIG_FromDouble PyFloat_FromDouble
344#define SWIG_FromFloat PyFloat_FromDouble
345#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
346
347
d14a1e28
RD
348#include "wx/wxPython/wxPython.h"
349#include "wx/wxPython/pyclasses.h"
350
b2dc1044
RD
351 static const wxString wxPyPanelNameStr(wxPanelNameStr);
352 static const wxString wxPyEmptyString(wxEmptyString);
353 static const wxString wxPyControlNameStr(wxControlNameStr);
4d5c3d91
RD
354
355 const wxArrayString wxPyEmptyStringArray;
356
b2dc1044 357 static const wxString wxPyButtonNameStr(wxButtonNameStr);
994141e6 358
15afbcd0
RD
359#include <limits.h>
360
361
362SWIGSTATICINLINE(long)
363SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365{
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383}
384
385
386SWIGSTATICINLINE(long)
387SWIG_AsLong(PyObject * obj)
388{
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390}
391
392
393#if INT_MAX != LONG_MAX
394SWIGSTATICINLINE(int)
395SWIG_AsInt(PyObject *obj)
994141e6 396{
15afbcd0
RD
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj),
399 "int", INT_MIN, INT_MAX));
994141e6 400}
15afbcd0
RD
401#else
402#define SWIG_AsInt SWIG_AsLong
403#endif
994141e6
RD
404
405
15afbcd0
RD
406SWIGSTATICINLINE(int)
407SWIG_CheckInt(PyObject* obj)
994141e6 408{
15afbcd0
RD
409 SWIG_AsInt(obj);
410 if (PyErr_Occurred()) {
411 PyErr_Clear();
412 return 0;
413 } else {
414 return 1;
415 }
416}
417
418
419SWIGSTATICINLINE(int)
420SWIG_CheckLong(PyObject* obj)
421{
422 SWIG_AsLong(obj);
423 if (PyErr_Occurred()) {
424 PyErr_Clear();
425 return 0;
426 } else {
427 return 1;
428 }
994141e6
RD
429}
430
b2dc1044 431 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
994141e6 432
15afbcd0
RD
433SWIGSTATICINLINE(bool)
434SWIG_AsBool(PyObject *obj)
994141e6
RD
435{
436 return PyObject_IsTrue(obj) ? true : false;
437}
438
15afbcd0
RD
439
440SWIGSTATICINLINE(int)
441SWIG_CheckBool(PyObject* obj)
442{
443 SWIG_AsBool(obj);
444 if (PyErr_Occurred()) {
445 PyErr_Clear();
446 return 0;
447 } else {
448 return 1;
449 }
450}
451
b2dc1044
RD
452 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
453 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
454 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
455 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
456 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
457 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
458
459#include <wx/checklst.h>
460
d14a1e28 461
b2dc1044 462 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
d14a1e28
RD
463void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
464 if (clientData) {
465 wxPyClientData* data = new wxPyClientData(clientData);
466 self->Insert(item, pos, data);
467 } else
468 self->Insert(item, pos);
469 }
470PyObject *wxListBox_GetSelections(wxListBox *self){
471 wxArrayInt lst;
472 self->GetSelections(lst);
473 PyObject *tup = PyTuple_New(lst.GetCount());
474 for(size_t i=0; i<lst.GetCount(); i++) {
475 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
476 }
477 return tup;
478 }
c3eb6258
RD
479void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
480 #ifdef __WXMSW__
481 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
482 self->GetItem(item)->SetTextColour(c);
483 #endif
484 }
485void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
486 #ifdef __WXMSW__
487 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
488 self->GetItem(item)->SetBackgroundColour(c);
489 #endif
490 }
491void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
492 #ifdef __WXMSW__
493 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
494 self->GetItem(item)->SetFont(f);
495 #endif
496 }
b2dc1044 497 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d14a1e28
RD
498
499static PyObject* t_output_helper(PyObject* target, PyObject* o) {
500 PyObject* o2;
501 PyObject* o3;
502
503 if (!target) {
504 target = o;
505 } else if (target == Py_None) {
506 Py_DECREF(Py_None);
507 target = o;
508 } else {
509 if (!PyTuple_Check(target)) {
510 o2 = target;
511 target = PyTuple_New(1);
512 PyTuple_SetItem(target, 0, o2);
513 }
514 o3 = PyTuple_New(1);
515 PyTuple_SetItem(o3, 0, o);
516
517 o2 = target;
518 target = PySequence_Concat(o2, o3);
519 Py_DECREF(o2);
520 Py_DECREF(o3);
521 }
522 return target;
523}
524
15afbcd0
RD
525
526SWIGSTATICINLINE(unsigned long)
527SWIG_AsUnsignedLong(PyObject * obj)
528{
529 if (PyLong_Check(obj)) {
530 return PyLong_AsUnsignedLong(obj);
531 } else {
532 long i = PyInt_AsLong(obj);
533 if ( !PyErr_Occurred() && (i < 0)) {
534 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
535 }
536 return i;
537 }
538}
539
540
541SWIGSTATICINLINE(int)
542SWIG_CheckUnsignedLong(PyObject* obj)
543{
544 SWIG_AsUnsignedLong(obj);
545 if (PyErr_Occurred()) {
546 PyErr_Clear();
547 return 0;
548 } else {
549 return 1;
550 }
551}
552
d14a1e28
RD
553void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
554 self->AppendText(text);
555 }
556wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
557 return self->GetValue().Mid(from, to - from);
558 }
b2dc1044
RD
559 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
560 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 561 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
b2dc1044
RD
562 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
563 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
d14a1e28
RD
564int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
565int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
566int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
567
568#include <wx/slider.h>
569
d14a1e28 570
b2dc1044 571 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 572 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 573
15afbcd0
RD
574#if !wxUSE_TOGGLEBTN
575// implement dummy items for platforms that don't have this class
d14a1e28
RD
576
577#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
578
579class wxToggleButton : public wxControl
580{
581public:
582 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
583 const wxPoint&, const wxSize&, long,
584 const wxValidator&, const wxString&)
39f61e25 585 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
586
587 wxToggleButton()
39f61e25 588 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
589};
590#endif
591
b2dc1044 592 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
994141e6 593
15afbcd0
RD
594SWIGSTATICINLINE(PyObject* )
595SWIG_FromUnsignedLong(unsigned long value)
994141e6 596{
15afbcd0
RD
597 return (value > LONG_MAX) ?
598 PyLong_FromUnsignedLong(value)
599 : PyInt_FromLong(swig_numeric_cast(long,value));
994141e6
RD
600}
601
b2dc1044 602 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
603PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
604 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
605 if (udata) {
606 Py_INCREF(udata->m_obj);
607 return udata->m_obj;
608 } else {
609 Py_INCREF(Py_None);
610 return Py_None;
611 }
612 }
613void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
614 self->SetClientData(new wxPyUserData(clientData));
615 }
616wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
617 wxPyUserData* udata = NULL;
618 if (clientData && clientData != Py_None)
619 udata = new wxPyUserData(clientData);
620 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
621 shortHelp, longHelp, udata);
622 }
623wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
624 wxPyUserData* udata = NULL;
625 if (clientData && clientData != Py_None)
626 udata = new wxPyUserData(clientData);
627 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
628 shortHelp, longHelp, udata);
629 }
630PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
631 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
632 if (udata) {
633 Py_INCREF(udata->m_obj);
634 return udata->m_obj;
635 } else {
636 Py_INCREF(Py_None);
637 return Py_None;
638 }
639 }
640void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
641 self->SetToolClientData(id, new wxPyUserData(clientData));
642 }
643
644#include <wx/listctrl.h>
645
d14a1e28 646
33b885b9 647 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
d14a1e28
RD
648void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
649 // Python aware sorting function for wxPyListCtrl
650 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
651 int retval = 0;
652 PyObject* func = (PyObject*)funcPtr;
4f89f6a3 653 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
654
655 PyObject* args = Py_BuildValue("(ii)", item1, item2);
656 PyObject* result = PyEval_CallObject(func, args);
657 Py_DECREF(args);
658 if (result) {
659 retval = PyInt_AsLong(result);
660 Py_DECREF(result);
661 }
662
4f89f6a3 663 wxPyEndBlockThreads(blocked);
d14a1e28
RD
664 return retval;
665 }
666
667 // C++ Version of a Python aware class
668class wxPyListCtrl : public wxListCtrl {
669 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
670public:
671 wxPyListCtrl() : wxListCtrl() {}
672 wxPyListCtrl(wxWindow* parent, wxWindowID id,
673 const wxPoint& pos,
674 const wxSize& size,
675 long style,
676 const wxValidator& validator,
677 const wxString& name) :
678 wxListCtrl(parent, id, pos, size, style, validator, name) {}
679
680 bool Create(wxWindow* parent, wxWindowID id,
681 const wxPoint& pos,
682 const wxSize& size,
683 long style,
684 const wxValidator& validator,
685 const wxString& name) {
686 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
687 }
688
689 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
690 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
691 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
692
693 PYPRIVATE;
694};
695
696IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
697
698IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
699IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
700IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
701
702wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
703 wxListItem item;
704 item.SetMask( wxLIST_MASK_STATE |
705 wxLIST_MASK_TEXT |
706 wxLIST_MASK_IMAGE |
707 wxLIST_MASK_DATA |
708 wxLIST_SET_ITEM |
709 wxLIST_MASK_WIDTH |
710 wxLIST_MASK_FORMAT
711 );
712 if (self->GetColumn(col, item))
713 return new wxListItem(item);
714 else
715 return NULL;
716 }
717wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
718 wxListItem* info = new wxListItem;
719 info->m_itemId = itemId;
720 info->m_col = col;
721 info->m_mask = 0xFFFF;
722 self->GetItem(*info);
723 return info;
724 }
725wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
726 wxPoint pos;
727 self->GetItemPosition(item, pos);
728 return pos;
729 }
730wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
731 wxRect rect;
732 self->GetItemRect(item, rect, code);
733 return rect;
734 }
735bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
736 if (!PyCallable_Check(func))
e811c8ce 737 return False;
d14a1e28
RD
738 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
739 }
740wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
741
742
743
744 return (wxWindow*)self->m_mainWin;
745
746 }
747
748#include <wx/treectrl.h>
749#include "wx/wxPython/pytree.h"
d14a1e28 750
33b885b9 751 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
22faec7d
RD
752bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
753bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
754void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
755 // C++ version of Python aware wxTreeCtrl
756class wxPyTreeCtrl : public wxTreeCtrl {
757 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
758public:
759 wxPyTreeCtrl() : wxTreeCtrl() {}
760 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
761 const wxPoint& pos,
762 const wxSize& size,
763 long style,
764 const wxValidator& validator,
765 const wxString& name) :
766 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
767
768 bool Create(wxWindow *parent, wxWindowID id,
769 const wxPoint& pos,
770 const wxSize& size,
771 long style,
772 const wxValidator& validator,
773 const wxString& name) {
774 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
775 }
776
777
778 int OnCompareItems(const wxTreeItemId& item1,
779 const wxTreeItemId& item2) {
780 int rval = 0;
781 bool found;
4f89f6a3 782 bool blocked = wxPyBeginBlockThreads();
d14a1e28 783 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
e811c8ce
RD
784 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
785 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
d14a1e28
RD
786 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
787 Py_DECREF(o1);
788 Py_DECREF(o2);
789 }
4f89f6a3 790 wxPyEndBlockThreads(blocked);
d14a1e28
RD
791 if (! found)
792 rval = wxTreeCtrl::OnCompareItems(item1, item2);
793 return rval;
794 }
795 PYPRIVATE;
796};
797
798IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
799
800
994141e6 801
15afbcd0
RD
802#if UINT_MAX < LONG_MAX
803#define SWIG_FromUnsignedInt SWIG_FromLong
804#else
805#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
806#endif
807
808
809SWIGSTATICINLINE(unsigned long)
810SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
811 unsigned long max_value)
812{
813 if (!PyErr_Occurred()) {
814 if (value > max_value) {
815 PyObject *err =
816 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
817 value, type, max_value);
818 PyErr_SetObject(PyExc_OverflowError, err);
819 Py_DECREF(err);
820 }
821 }
822 return value;
823}
994141e6
RD
824
825
15afbcd0
RD
826#if UINT_MAX != ULONG_MAX
827SWIGSTATICINLINE(unsigned int)
828SWIG_AsUnsignedInt(PyObject *obj)
994141e6 829{
15afbcd0
RD
830 return swig_numeric_cast(unsigned int,
831 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
832 "unsigned int", UINT_MAX));
833}
834#else
835#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
836#endif
837
838
839SWIGSTATICINLINE(int)
840SWIG_CheckUnsignedInt(PyObject* obj)
841{
842 SWIG_AsUnsignedInt(obj);
843 if (PyErr_Occurred()) {
844 PyErr_Clear();
845 return 0;
846 } else {
847 return 1;
848 }
994141e6
RD
849}
850
d14a1e28
RD
851wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
852 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
853 if (data == NULL) {
854 data = new wxPyTreeItemData();
855 data->SetId(item); // set the id
856 self->SetItemData(item, data);
857 }
858 return data;
859 }
860PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
861 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
862 if (data == NULL) {
863 data = new wxPyTreeItemData();
864 data->SetId(item); // set the id
865 self->SetItemData(item, data);
866 }
867 return data->GetData();
868 }
869void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
870 data->SetId(item); // set the id
871 self->SetItemData(item, data);
872 }
873void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
874 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
875 if (data == NULL) {
876 data = new wxPyTreeItemData(obj);
877 data->SetId(item); // set the id
878 self->SetItemData(item, data);
879 } else
880 data->SetData(obj);
881 }
882PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
4f89f6a3 883 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
884 PyObject* rval = PyList_New(0);
885 wxArrayTreeItemIds array;
886 size_t num, x;
887 num = self->GetSelections(array);
888 for (x=0; x < num; x++) {
889 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
e811c8ce 890 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
d14a1e28
RD
891 PyList_Append(rval, item);
892 }
4f89f6a3 893 wxPyEndBlockThreads(blocked);
d14a1e28
RD
894 return rval;
895 }
896PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
897 void* cookie = 0;
898 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
4f89f6a3 899 bool blocked = wxPyBeginBlockThreads();
d14a1e28 900 PyObject* tup = PyTuple_New(2);
58203fa6
RD
901 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
902 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 903 wxPyEndBlockThreads(blocked);
d14a1e28
RD
904 return tup;
905 }
58203fa6
RD
906PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
907 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
4f89f6a3 908 bool blocked = wxPyBeginBlockThreads();
d14a1e28 909 PyObject* tup = PyTuple_New(2);
58203fa6
RD
910 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
911 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 912 wxPyEndBlockThreads(blocked);
d14a1e28
RD
913 return tup;
914 }
915PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
916 wxRect rect;
917 if (self->GetBoundingRect(item, rect, textOnly)) {
4f89f6a3 918 bool blocked = wxPyBeginBlockThreads();
d14a1e28 919 wxRect* r = new wxRect(rect);
e811c8ce 920 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
4f89f6a3 921 wxPyEndBlockThreads(blocked);
d14a1e28
RD
922 return val;
923 }
924 else
925 RETURN_NONE();
926 }
b2dc1044 927 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
d14a1e28
RD
928 // C++ version of Python aware wxControl
929class wxPyControl : public wxControl
930{
931 DECLARE_DYNAMIC_CLASS(wxPyControl)
932public:
933 wxPyControl() : wxControl() {}
934 wxPyControl(wxWindow* parent, const wxWindowID id,
935 const wxPoint& pos = wxDefaultPosition,
936 const wxSize& size = wxDefaultSize,
937 long style = 0,
938 const wxValidator& validator=wxDefaultValidator,
939 const wxString& name = wxPyControlNameStr)
940 : wxControl(parent, id, pos, size, style, validator, name) {}
941
942
943 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
944 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
946 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
947
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
950 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
951
952 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
953 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
954
955 DEC_PYCALLBACK__(InitDialog);
956 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
957 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
958 DEC_PYCALLBACK_BOOL_(Validate);
959
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
961 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
962 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
963
964 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
965 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
966
4276dc52 967 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1cb4a8aa 968 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
4276dc52 969
d14a1e28
RD
970 PYPRIVATE;
971};
972
973IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
974
975IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
976IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
977IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
978IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
979
980IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
981IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
982IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
983
984IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
985IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
986
987IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
988IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
989IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
990IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
991
992IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
993IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
994IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
995
996IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
997IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
998
4276dc52 999IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
1cb4a8aa 1000IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
d14a1e28
RD
1001
1002
1003
1004void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
1005
1006#include <wx/generic/dragimgg.h>
1007
d14a1e28
RD
1008#ifdef __cplusplus
1009extern "C" {
1010#endif
b2dc1044
RD
1011static int _wrap_ButtonNameStr_set(PyObject *_val) {
1012 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1013 return 1;
1014}
1015
1016
1017static PyObject *_wrap_ButtonNameStr_get() {
1018 PyObject *pyobj;
1019
1020 {
1021#if wxUSE_UNICODE
1022 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1023#else
1024 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1025#endif
1026 }
1027 return pyobj;
1028}
1029
1030
d14a1e28
RD
1031static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1032 PyObject *resultobj;
1033 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1034 int arg2 ;
d14a1e28
RD
1035 wxString *arg3 = 0 ;
1036 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1037 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1038 wxSize const &arg5_defvalue = wxDefaultSize ;
1039 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1040 long arg6 = (long) 0 ;
1041 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1042 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1043 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1044 wxString *arg8 = (wxString *) &arg8_defvalue ;
1045 wxButton *result;
e811c8ce 1046 bool temp3 = False ;
d14a1e28
RD
1047 wxPoint temp4 ;
1048 wxSize temp5 ;
e811c8ce 1049 bool temp8 = False ;
d14a1e28 1050 PyObject * obj0 = 0 ;
994141e6 1051 PyObject * obj1 = 0 ;
d14a1e28
RD
1052 PyObject * obj2 = 0 ;
1053 PyObject * obj3 = 0 ;
1054 PyObject * obj4 = 0 ;
994141e6 1055 PyObject * obj5 = 0 ;
d14a1e28
RD
1056 PyObject * obj6 = 0 ;
1057 PyObject * obj7 = 0 ;
1058 char *kwnames[] = {
1059 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1060 };
1061
994141e6 1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1065 arg2 = (int) SWIG_AsInt(obj1);
1066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1067 {
1068 arg3 = wxString_in_helper(obj2);
1069 if (arg3 == NULL) SWIG_fail;
e811c8ce 1070 temp3 = True;
d14a1e28
RD
1071 }
1072 if (obj3) {
1073 {
1074 arg4 = &temp4;
1075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1076 }
1077 }
1078 if (obj4) {
1079 {
1080 arg5 = &temp5;
1081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1082 }
1083 }
994141e6 1084 if (obj5) {
15afbcd0
RD
1085 arg6 = (long) SWIG_AsLong(obj5);
1086 if (PyErr_Occurred()) SWIG_fail;
994141e6 1087 }
d14a1e28 1088 if (obj6) {
15afbcd0
RD
1089 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1090 SWIG_POINTER_EXCEPTION | 0)) == -1)
1091 SWIG_fail;
d14a1e28 1092 if (arg7 == NULL) {
15afbcd0
RD
1093 PyErr_SetString(PyExc_TypeError,"null reference");
1094 SWIG_fail;
d14a1e28
RD
1095 }
1096 }
1097 if (obj7) {
1098 {
1099 arg8 = wxString_in_helper(obj7);
1100 if (arg8 == NULL) SWIG_fail;
e811c8ce 1101 temp8 = True;
d14a1e28
RD
1102 }
1103 }
1104 {
1105 PyThreadState* __tstate = wxPyBeginAllowThreads();
1106 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1107
1108 wxPyEndAllowThreads(__tstate);
1109 if (PyErr_Occurred()) SWIG_fail;
1110 }
1111 {
1112 resultobj = wxPyMake_wxObject(result);
1113 }
1114 {
1115 if (temp3)
1116 delete arg3;
1117 }
1118 {
1119 if (temp8)
1120 delete arg8;
1121 }
1122 return resultobj;
1123 fail:
1124 {
1125 if (temp3)
1126 delete arg3;
1127 }
1128 {
1129 if (temp8)
1130 delete arg8;
1131 }
1132 return NULL;
1133}
1134
1135
1136static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1137 PyObject *resultobj;
1138 wxButton *result;
1139 char *kwnames[] = {
1140 NULL
1141 };
1142
1143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1144 {
1145 PyThreadState* __tstate = wxPyBeginAllowThreads();
1146 result = (wxButton *)new wxButton();
1147
1148 wxPyEndAllowThreads(__tstate);
1149 if (PyErr_Occurred()) SWIG_fail;
1150 }
1151 {
1152 resultobj = wxPyMake_wxObject(result);
1153 }
1154 return resultobj;
1155 fail:
1156 return NULL;
1157}
1158
1159
1160static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1161 PyObject *resultobj;
1162 wxButton *arg1 = (wxButton *) 0 ;
1163 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1164 int arg3 ;
d14a1e28
RD
1165 wxString *arg4 = 0 ;
1166 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1167 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1168 wxSize const &arg6_defvalue = wxDefaultSize ;
1169 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1170 long arg7 = (long) 0 ;
1171 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1172 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1173 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1174 wxString *arg9 = (wxString *) &arg9_defvalue ;
1175 bool result;
e811c8ce 1176 bool temp4 = False ;
d14a1e28
RD
1177 wxPoint temp5 ;
1178 wxSize temp6 ;
e811c8ce 1179 bool temp9 = False ;
d14a1e28
RD
1180 PyObject * obj0 = 0 ;
1181 PyObject * obj1 = 0 ;
994141e6 1182 PyObject * obj2 = 0 ;
d14a1e28
RD
1183 PyObject * obj3 = 0 ;
1184 PyObject * obj4 = 0 ;
1185 PyObject * obj5 = 0 ;
994141e6 1186 PyObject * obj6 = 0 ;
d14a1e28
RD
1187 PyObject * obj7 = 0 ;
1188 PyObject * obj8 = 0 ;
1189 char *kwnames[] = {
1190 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1191 };
1192
994141e6 1193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1198 arg3 = (int) SWIG_AsInt(obj2);
1199 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1200 {
1201 arg4 = wxString_in_helper(obj3);
1202 if (arg4 == NULL) SWIG_fail;
e811c8ce 1203 temp4 = True;
d14a1e28
RD
1204 }
1205 if (obj4) {
1206 {
1207 arg5 = &temp5;
1208 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1209 }
1210 }
1211 if (obj5) {
1212 {
1213 arg6 = &temp6;
1214 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1215 }
1216 }
994141e6 1217 if (obj6) {
15afbcd0
RD
1218 arg7 = (long) SWIG_AsLong(obj6);
1219 if (PyErr_Occurred()) SWIG_fail;
994141e6 1220 }
d14a1e28 1221 if (obj7) {
15afbcd0
RD
1222 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1223 SWIG_POINTER_EXCEPTION | 0)) == -1)
1224 SWIG_fail;
d14a1e28 1225 if (arg8 == NULL) {
15afbcd0
RD
1226 PyErr_SetString(PyExc_TypeError,"null reference");
1227 SWIG_fail;
d14a1e28
RD
1228 }
1229 }
1230 if (obj8) {
1231 {
1232 arg9 = wxString_in_helper(obj8);
1233 if (arg9 == NULL) SWIG_fail;
e811c8ce 1234 temp9 = True;
d14a1e28
RD
1235 }
1236 }
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
4f89f6a3
RD
1244 {
1245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1246 }
d14a1e28
RD
1247 {
1248 if (temp4)
1249 delete arg4;
1250 }
1251 {
1252 if (temp9)
1253 delete arg9;
1254 }
1255 return resultobj;
1256 fail:
1257 {
1258 if (temp4)
1259 delete arg4;
1260 }
1261 {
1262 if (temp9)
1263 delete arg9;
1264 }
1265 return NULL;
1266}
1267
1268
1269static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1270 PyObject *resultobj;
1271 wxButton *arg1 = (wxButton *) 0 ;
1272 PyObject * obj0 = 0 ;
1273 char *kwnames[] = {
1274 (char *) "self", NULL
1275 };
1276
1277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
1278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1280 {
1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
1282 (arg1)->SetDefault();
1283
1284 wxPyEndAllowThreads(__tstate);
1285 if (PyErr_Occurred()) SWIG_fail;
1286 }
1287 Py_INCREF(Py_None); resultobj = Py_None;
1288 return resultobj;
1289 fail:
1290 return NULL;
1291}
1292
1293
1294static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1295 PyObject *resultobj;
1296 wxSize result;
1297 char *kwnames[] = {
1298 NULL
1299 };
1300
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1302 {
1303 PyThreadState* __tstate = wxPyBeginAllowThreads();
1304 result = wxButton::GetDefaultSize();
1305
1306 wxPyEndAllowThreads(__tstate);
1307 if (PyErr_Occurred()) SWIG_fail;
1308 }
1309 {
1310 wxSize * resultptr;
1311 resultptr = new wxSize((wxSize &) result);
15afbcd0 1312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1313 }
1314 return resultobj;
1315 fail:
1316 return NULL;
1317}
1318
1319
1320static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1321 PyObject *obj;
1322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1323 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1324 Py_INCREF(obj);
1325 return Py_BuildValue((char *)"");
1326}
1327static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1328 PyObject *resultobj;
1329 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1330 int arg2 ;
d14a1e28
RD
1331 wxBitmap *arg3 = 0 ;
1332 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1333 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1334 wxSize const &arg5_defvalue = wxDefaultSize ;
1335 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1336 long arg6 = (long) wxBU_AUTODRAW ;
1337 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1338 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1339 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1340 wxString *arg8 = (wxString *) &arg8_defvalue ;
1341 wxBitmapButton *result;
1342 wxPoint temp4 ;
1343 wxSize temp5 ;
e811c8ce 1344 bool temp8 = False ;
d14a1e28 1345 PyObject * obj0 = 0 ;
994141e6 1346 PyObject * obj1 = 0 ;
d14a1e28
RD
1347 PyObject * obj2 = 0 ;
1348 PyObject * obj3 = 0 ;
1349 PyObject * obj4 = 0 ;
994141e6 1350 PyObject * obj5 = 0 ;
d14a1e28
RD
1351 PyObject * obj6 = 0 ;
1352 PyObject * obj7 = 0 ;
1353 char *kwnames[] = {
1354 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1355 };
1356
994141e6 1357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1360 arg2 = (int) SWIG_AsInt(obj1);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1363 SWIG_POINTER_EXCEPTION | 0)) == -1)
1364 SWIG_fail;
d14a1e28 1365 if (arg3 == NULL) {
15afbcd0
RD
1366 PyErr_SetString(PyExc_TypeError,"null reference");
1367 SWIG_fail;
d14a1e28
RD
1368 }
1369 if (obj3) {
1370 {
1371 arg4 = &temp4;
1372 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1373 }
1374 }
1375 if (obj4) {
1376 {
1377 arg5 = &temp5;
1378 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1379 }
1380 }
994141e6 1381 if (obj5) {
15afbcd0
RD
1382 arg6 = (long) SWIG_AsLong(obj5);
1383 if (PyErr_Occurred()) SWIG_fail;
994141e6 1384 }
d14a1e28 1385 if (obj6) {
15afbcd0
RD
1386 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1387 SWIG_POINTER_EXCEPTION | 0)) == -1)
1388 SWIG_fail;
d14a1e28 1389 if (arg7 == NULL) {
15afbcd0
RD
1390 PyErr_SetString(PyExc_TypeError,"null reference");
1391 SWIG_fail;
d14a1e28
RD
1392 }
1393 }
1394 if (obj7) {
1395 {
1396 arg8 = wxString_in_helper(obj7);
1397 if (arg8 == NULL) SWIG_fail;
e811c8ce 1398 temp8 = True;
d14a1e28
RD
1399 }
1400 }
1401 {
1402 PyThreadState* __tstate = wxPyBeginAllowThreads();
1403 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1404
1405 wxPyEndAllowThreads(__tstate);
1406 if (PyErr_Occurred()) SWIG_fail;
1407 }
1408 {
1409 resultobj = wxPyMake_wxObject(result);
1410 }
1411 {
1412 if (temp8)
1413 delete arg8;
1414 }
1415 return resultobj;
1416 fail:
1417 {
1418 if (temp8)
1419 delete arg8;
1420 }
1421 return NULL;
1422}
1423
1424
1425static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1426 PyObject *resultobj;
1427 wxBitmapButton *result;
1428 char *kwnames[] = {
1429 NULL
1430 };
1431
1432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1433 {
1434 PyThreadState* __tstate = wxPyBeginAllowThreads();
1435 result = (wxBitmapButton *)new wxBitmapButton();
1436
1437 wxPyEndAllowThreads(__tstate);
1438 if (PyErr_Occurred()) SWIG_fail;
1439 }
1440 {
1441 resultobj = wxPyMake_wxObject(result);
1442 }
1443 return resultobj;
1444 fail:
1445 return NULL;
1446}
1447
1448
1449static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1450 PyObject *resultobj;
1451 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1452 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1453 int arg3 ;
d14a1e28
RD
1454 wxBitmap *arg4 = 0 ;
1455 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1456 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1457 wxSize const &arg6_defvalue = wxDefaultSize ;
1458 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1459 long arg7 = (long) wxBU_AUTODRAW ;
1460 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1461 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1462 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1463 wxString *arg9 = (wxString *) &arg9_defvalue ;
1464 bool result;
1465 wxPoint temp5 ;
1466 wxSize temp6 ;
e811c8ce 1467 bool temp9 = False ;
d14a1e28
RD
1468 PyObject * obj0 = 0 ;
1469 PyObject * obj1 = 0 ;
994141e6 1470 PyObject * obj2 = 0 ;
d14a1e28
RD
1471 PyObject * obj3 = 0 ;
1472 PyObject * obj4 = 0 ;
1473 PyObject * obj5 = 0 ;
994141e6 1474 PyObject * obj6 = 0 ;
d14a1e28
RD
1475 PyObject * obj7 = 0 ;
1476 PyObject * obj8 = 0 ;
1477 char *kwnames[] = {
1478 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1479 };
1480
994141e6 1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1486 arg3 = (int) SWIG_AsInt(obj2);
1487 if (PyErr_Occurred()) SWIG_fail;
1488 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1489 SWIG_POINTER_EXCEPTION | 0)) == -1)
1490 SWIG_fail;
d14a1e28 1491 if (arg4 == NULL) {
15afbcd0
RD
1492 PyErr_SetString(PyExc_TypeError,"null reference");
1493 SWIG_fail;
d14a1e28
RD
1494 }
1495 if (obj4) {
1496 {
1497 arg5 = &temp5;
1498 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1499 }
1500 }
1501 if (obj5) {
1502 {
1503 arg6 = &temp6;
1504 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1505 }
1506 }
994141e6 1507 if (obj6) {
15afbcd0
RD
1508 arg7 = (long) SWIG_AsLong(obj6);
1509 if (PyErr_Occurred()) SWIG_fail;
994141e6 1510 }
d14a1e28 1511 if (obj7) {
15afbcd0
RD
1512 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1513 SWIG_POINTER_EXCEPTION | 0)) == -1)
1514 SWIG_fail;
d14a1e28 1515 if (arg8 == NULL) {
15afbcd0
RD
1516 PyErr_SetString(PyExc_TypeError,"null reference");
1517 SWIG_fail;
d14a1e28
RD
1518 }
1519 }
1520 if (obj8) {
1521 {
1522 arg9 = wxString_in_helper(obj8);
1523 if (arg9 == NULL) SWIG_fail;
e811c8ce 1524 temp9 = True;
d14a1e28
RD
1525 }
1526 }
1527 {
1528 PyThreadState* __tstate = wxPyBeginAllowThreads();
1529 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1530
1531 wxPyEndAllowThreads(__tstate);
1532 if (PyErr_Occurred()) SWIG_fail;
1533 }
4f89f6a3
RD
1534 {
1535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1536 }
d14a1e28
RD
1537 {
1538 if (temp9)
1539 delete arg9;
1540 }
1541 return resultobj;
1542 fail:
1543 {
1544 if (temp9)
1545 delete arg9;
1546 }
1547 return NULL;
1548}
1549
1550
1551static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1552 PyObject *resultobj;
1553 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1554 wxBitmap result;
1555 PyObject * obj0 = 0 ;
1556 char *kwnames[] = {
1557 (char *) "self", NULL
1558 };
1559
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
1561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1563 {
1564 PyThreadState* __tstate = wxPyBeginAllowThreads();
1565 result = (arg1)->GetBitmapLabel();
1566
1567 wxPyEndAllowThreads(__tstate);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 {
1571 wxBitmap * resultptr;
1572 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1574 }
1575 return resultobj;
1576 fail:
1577 return NULL;
1578}
1579
1580
1581static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1582 PyObject *resultobj;
1583 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1584 wxBitmap result;
1585 PyObject * obj0 = 0 ;
1586 char *kwnames[] = {
1587 (char *) "self", NULL
1588 };
1589
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
1591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1593 {
1594 PyThreadState* __tstate = wxPyBeginAllowThreads();
1595 result = (arg1)->GetBitmapDisabled();
1596
1597 wxPyEndAllowThreads(__tstate);
1598 if (PyErr_Occurred()) SWIG_fail;
1599 }
1600 {
1601 wxBitmap * resultptr;
1602 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1604 }
1605 return resultobj;
1606 fail:
1607 return NULL;
1608}
1609
1610
1611static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1612 PyObject *resultobj;
1613 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1614 wxBitmap result;
1615 PyObject * obj0 = 0 ;
1616 char *kwnames[] = {
1617 (char *) "self", NULL
1618 };
1619
1620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
1621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 result = (arg1)->GetBitmapFocus();
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 {
1631 wxBitmap * resultptr;
1632 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1634 }
1635 return resultobj;
1636 fail:
1637 return NULL;
1638}
1639
1640
1641static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1644 wxBitmap result;
1645 PyObject * obj0 = 0 ;
1646 char *kwnames[] = {
1647 (char *) "self", NULL
1648 };
1649
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
1651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 result = (arg1)->GetBitmapSelected();
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
1660 {
1661 wxBitmap * resultptr;
1662 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1664 }
1665 return resultobj;
1666 fail:
1667 return NULL;
1668}
1669
1670
1671static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1672 PyObject *resultobj;
1673 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1674 wxBitmap *arg2 = 0 ;
1675 PyObject * obj0 = 0 ;
1676 PyObject * obj1 = 0 ;
1677 char *kwnames[] = {
1678 (char *) "self",(char *) "bitmap", NULL
1679 };
1680
1681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1685 SWIG_POINTER_EXCEPTION | 0)) == -1)
1686 SWIG_fail;
d14a1e28 1687 if (arg2 == NULL) {
15afbcd0
RD
1688 PyErr_SetString(PyExc_TypeError,"null reference");
1689 SWIG_fail;
d14a1e28
RD
1690 }
1691 {
1692 PyThreadState* __tstate = wxPyBeginAllowThreads();
1693 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1694
1695 wxPyEndAllowThreads(__tstate);
1696 if (PyErr_Occurred()) SWIG_fail;
1697 }
1698 Py_INCREF(Py_None); resultobj = Py_None;
1699 return resultobj;
1700 fail:
1701 return NULL;
1702}
1703
1704
1705static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1706 PyObject *resultobj;
1707 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1708 wxBitmap *arg2 = 0 ;
1709 PyObject * obj0 = 0 ;
1710 PyObject * obj1 = 0 ;
1711 char *kwnames[] = {
1712 (char *) "self",(char *) "bitmap", NULL
1713 };
1714
1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1719 SWIG_POINTER_EXCEPTION | 0)) == -1)
1720 SWIG_fail;
d14a1e28 1721 if (arg2 == NULL) {
15afbcd0
RD
1722 PyErr_SetString(PyExc_TypeError,"null reference");
1723 SWIG_fail;
d14a1e28
RD
1724 }
1725 {
1726 PyThreadState* __tstate = wxPyBeginAllowThreads();
1727 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1728
1729 wxPyEndAllowThreads(__tstate);
1730 if (PyErr_Occurred()) SWIG_fail;
1731 }
1732 Py_INCREF(Py_None); resultobj = Py_None;
1733 return resultobj;
1734 fail:
1735 return NULL;
1736}
1737
1738
1739static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1740 PyObject *resultobj;
1741 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1742 wxBitmap *arg2 = 0 ;
1743 PyObject * obj0 = 0 ;
1744 PyObject * obj1 = 0 ;
1745 char *kwnames[] = {
1746 (char *) "self",(char *) "bitmap", NULL
1747 };
1748
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1753 SWIG_POINTER_EXCEPTION | 0)) == -1)
1754 SWIG_fail;
d14a1e28 1755 if (arg2 == NULL) {
15afbcd0
RD
1756 PyErr_SetString(PyExc_TypeError,"null reference");
1757 SWIG_fail;
d14a1e28
RD
1758 }
1759 {
1760 PyThreadState* __tstate = wxPyBeginAllowThreads();
1761 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1762
1763 wxPyEndAllowThreads(__tstate);
1764 if (PyErr_Occurred()) SWIG_fail;
1765 }
1766 Py_INCREF(Py_None); resultobj = Py_None;
1767 return resultobj;
1768 fail:
1769 return NULL;
1770}
1771
1772
1773static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject *resultobj;
1775 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1776 wxBitmap *arg2 = 0 ;
1777 PyObject * obj0 = 0 ;
1778 PyObject * obj1 = 0 ;
1779 char *kwnames[] = {
1780 (char *) "self",(char *) "bitmap", NULL
1781 };
1782
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1787 SWIG_POINTER_EXCEPTION | 0)) == -1)
1788 SWIG_fail;
d14a1e28 1789 if (arg2 == NULL) {
15afbcd0
RD
1790 PyErr_SetString(PyExc_TypeError,"null reference");
1791 SWIG_fail;
d14a1e28
RD
1792 }
1793 {
1794 PyThreadState* __tstate = wxPyBeginAllowThreads();
1795 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1796
1797 wxPyEndAllowThreads(__tstate);
1798 if (PyErr_Occurred()) SWIG_fail;
1799 }
1800 Py_INCREF(Py_None); resultobj = Py_None;
1801 return resultobj;
1802 fail:
1803 return NULL;
1804}
1805
1806
1807static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1808 PyObject *resultobj;
1809 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1810 int arg2 ;
1811 int arg3 ;
1812 PyObject * obj0 = 0 ;
994141e6
RD
1813 PyObject * obj1 = 0 ;
1814 PyObject * obj2 = 0 ;
d14a1e28
RD
1815 char *kwnames[] = {
1816 (char *) "self",(char *) "x",(char *) "y", NULL
1817 };
1818
994141e6 1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1822 arg2 = (int) SWIG_AsInt(obj1);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 arg3 = (int) SWIG_AsInt(obj2);
1825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1826 {
1827 PyThreadState* __tstate = wxPyBeginAllowThreads();
1828 (arg1)->SetMargins(arg2,arg3);
1829
1830 wxPyEndAllowThreads(__tstate);
1831 if (PyErr_Occurred()) SWIG_fail;
1832 }
1833 Py_INCREF(Py_None); resultobj = Py_None;
1834 return resultobj;
1835 fail:
1836 return NULL;
1837}
1838
1839
1840static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1841 PyObject *resultobj;
1842 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1843 int result;
1844 PyObject * obj0 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
15afbcd0
RD
1850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1852 {
1853 PyThreadState* __tstate = wxPyBeginAllowThreads();
1854 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1855
1856 wxPyEndAllowThreads(__tstate);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 }
15afbcd0 1859 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1860 return resultobj;
1861 fail:
1862 return NULL;
1863}
1864
1865
1866static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1867 PyObject *resultobj;
1868 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1869 int result;
1870 PyObject * obj0 = 0 ;
1871 char *kwnames[] = {
1872 (char *) "self", NULL
1873 };
1874
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
15afbcd0
RD
1876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1878 {
1879 PyThreadState* __tstate = wxPyBeginAllowThreads();
1880 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1881
1882 wxPyEndAllowThreads(__tstate);
1883 if (PyErr_Occurred()) SWIG_fail;
1884 }
15afbcd0 1885 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1886 return resultobj;
1887 fail:
1888 return NULL;
1889}
1890
1891
1892static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1893 PyObject *obj;
1894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1895 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1896 Py_INCREF(obj);
1897 return Py_BuildValue((char *)"");
1898}
b2dc1044
RD
1899static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1900 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1901 return 1;
1902}
1903
1904
1905static PyObject *_wrap_CheckBoxNameStr_get() {
1906 PyObject *pyobj;
1907
1908 {
1909#if wxUSE_UNICODE
1910 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1911#else
1912 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1913#endif
1914 }
1915 return pyobj;
1916}
1917
1918
d14a1e28
RD
1919static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1920 PyObject *resultobj;
1921 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1922 int arg2 ;
d14a1e28
RD
1923 wxString *arg3 = 0 ;
1924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1926 wxSize const &arg5_defvalue = wxDefaultSize ;
1927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1928 long arg6 = (long) 0 ;
1929 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1930 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1931 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1932 wxString *arg8 = (wxString *) &arg8_defvalue ;
1933 wxCheckBox *result;
e811c8ce 1934 bool temp3 = False ;
d14a1e28
RD
1935 wxPoint temp4 ;
1936 wxSize temp5 ;
e811c8ce 1937 bool temp8 = False ;
d14a1e28 1938 PyObject * obj0 = 0 ;
994141e6 1939 PyObject * obj1 = 0 ;
d14a1e28
RD
1940 PyObject * obj2 = 0 ;
1941 PyObject * obj3 = 0 ;
1942 PyObject * obj4 = 0 ;
994141e6 1943 PyObject * obj5 = 0 ;
d14a1e28
RD
1944 PyObject * obj6 = 0 ;
1945 PyObject * obj7 = 0 ;
1946 char *kwnames[] = {
1947 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1948 };
1949
994141e6 1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1953 arg2 = (int) SWIG_AsInt(obj1);
1954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1955 {
1956 arg3 = wxString_in_helper(obj2);
1957 if (arg3 == NULL) SWIG_fail;
e811c8ce 1958 temp3 = True;
d14a1e28
RD
1959 }
1960 if (obj3) {
1961 {
1962 arg4 = &temp4;
1963 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1964 }
1965 }
1966 if (obj4) {
1967 {
1968 arg5 = &temp5;
1969 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1970 }
1971 }
994141e6 1972 if (obj5) {
15afbcd0
RD
1973 arg6 = (long) SWIG_AsLong(obj5);
1974 if (PyErr_Occurred()) SWIG_fail;
994141e6 1975 }
d14a1e28 1976 if (obj6) {
15afbcd0
RD
1977 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1978 SWIG_POINTER_EXCEPTION | 0)) == -1)
1979 SWIG_fail;
d14a1e28 1980 if (arg7 == NULL) {
15afbcd0
RD
1981 PyErr_SetString(PyExc_TypeError,"null reference");
1982 SWIG_fail;
d14a1e28
RD
1983 }
1984 }
1985 if (obj7) {
1986 {
1987 arg8 = wxString_in_helper(obj7);
1988 if (arg8 == NULL) SWIG_fail;
e811c8ce 1989 temp8 = True;
d14a1e28
RD
1990 }
1991 }
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
15afbcd0 1999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2000 {
2001 if (temp3)
2002 delete arg3;
2003 }
2004 {
2005 if (temp8)
2006 delete arg8;
2007 }
2008 return resultobj;
2009 fail:
2010 {
2011 if (temp3)
2012 delete arg3;
2013 }
2014 {
2015 if (temp8)
2016 delete arg8;
2017 }
2018 return NULL;
2019}
2020
2021
2022static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2023 PyObject *resultobj;
2024 wxCheckBox *result;
2025 char *kwnames[] = {
2026 NULL
2027 };
2028
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2030 {
2031 PyThreadState* __tstate = wxPyBeginAllowThreads();
2032 result = (wxCheckBox *)new wxCheckBox();
2033
2034 wxPyEndAllowThreads(__tstate);
2035 if (PyErr_Occurred()) SWIG_fail;
2036 }
15afbcd0 2037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2038 return resultobj;
2039 fail:
2040 return NULL;
2041}
2042
2043
2044static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2045 PyObject *resultobj;
2046 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2047 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2048 int arg3 ;
d14a1e28
RD
2049 wxString *arg4 = 0 ;
2050 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2051 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2052 wxSize const &arg6_defvalue = wxDefaultSize ;
2053 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2054 long arg7 = (long) 0 ;
2055 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2056 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2057 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2058 wxString *arg9 = (wxString *) &arg9_defvalue ;
2059 bool result;
e811c8ce 2060 bool temp4 = False ;
d14a1e28
RD
2061 wxPoint temp5 ;
2062 wxSize temp6 ;
e811c8ce 2063 bool temp9 = False ;
d14a1e28
RD
2064 PyObject * obj0 = 0 ;
2065 PyObject * obj1 = 0 ;
994141e6 2066 PyObject * obj2 = 0 ;
d14a1e28
RD
2067 PyObject * obj3 = 0 ;
2068 PyObject * obj4 = 0 ;
2069 PyObject * obj5 = 0 ;
994141e6 2070 PyObject * obj6 = 0 ;
d14a1e28
RD
2071 PyObject * obj7 = 0 ;
2072 PyObject * obj8 = 0 ;
2073 char *kwnames[] = {
2074 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2075 };
2076
994141e6 2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2082 arg3 = (int) SWIG_AsInt(obj2);
2083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2084 {
2085 arg4 = wxString_in_helper(obj3);
2086 if (arg4 == NULL) SWIG_fail;
e811c8ce 2087 temp4 = True;
d14a1e28
RD
2088 }
2089 if (obj4) {
2090 {
2091 arg5 = &temp5;
2092 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2093 }
2094 }
2095 if (obj5) {
2096 {
2097 arg6 = &temp6;
2098 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2099 }
2100 }
994141e6 2101 if (obj6) {
15afbcd0
RD
2102 arg7 = (long) SWIG_AsLong(obj6);
2103 if (PyErr_Occurred()) SWIG_fail;
994141e6 2104 }
d14a1e28 2105 if (obj7) {
15afbcd0
RD
2106 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2107 SWIG_POINTER_EXCEPTION | 0)) == -1)
2108 SWIG_fail;
d14a1e28 2109 if (arg8 == NULL) {
15afbcd0
RD
2110 PyErr_SetString(PyExc_TypeError,"null reference");
2111 SWIG_fail;
d14a1e28
RD
2112 }
2113 }
2114 if (obj8) {
2115 {
2116 arg9 = wxString_in_helper(obj8);
2117 if (arg9 == NULL) SWIG_fail;
e811c8ce 2118 temp9 = True;
d14a1e28
RD
2119 }
2120 }
2121 {
2122 PyThreadState* __tstate = wxPyBeginAllowThreads();
2123 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2124
2125 wxPyEndAllowThreads(__tstate);
2126 if (PyErr_Occurred()) SWIG_fail;
2127 }
4f89f6a3
RD
2128 {
2129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2130 }
d14a1e28
RD
2131 {
2132 if (temp4)
2133 delete arg4;
2134 }
2135 {
2136 if (temp9)
2137 delete arg9;
2138 }
2139 return resultobj;
2140 fail:
2141 {
2142 if (temp4)
2143 delete arg4;
2144 }
2145 {
2146 if (temp9)
2147 delete arg9;
2148 }
2149 return NULL;
2150}
2151
2152
2153static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject *resultobj;
2155 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2156 bool result;
2157 PyObject * obj0 = 0 ;
2158 char *kwnames[] = {
2159 (char *) "self", NULL
2160 };
2161
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2165 {
2166 PyThreadState* __tstate = wxPyBeginAllowThreads();
2167 result = (bool)(arg1)->GetValue();
2168
2169 wxPyEndAllowThreads(__tstate);
2170 if (PyErr_Occurred()) SWIG_fail;
2171 }
4f89f6a3
RD
2172 {
2173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2174 }
d14a1e28
RD
2175 return resultobj;
2176 fail:
2177 return NULL;
2178}
2179
2180
2181static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2182 PyObject *resultobj;
2183 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2184 bool result;
2185 PyObject * obj0 = 0 ;
2186 char *kwnames[] = {
2187 (char *) "self", NULL
2188 };
2189
2190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
2191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2193 {
2194 PyThreadState* __tstate = wxPyBeginAllowThreads();
2195 result = (bool)(arg1)->IsChecked();
2196
2197 wxPyEndAllowThreads(__tstate);
2198 if (PyErr_Occurred()) SWIG_fail;
2199 }
4f89f6a3
RD
2200 {
2201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2202 }
d14a1e28
RD
2203 return resultobj;
2204 fail:
2205 return NULL;
2206}
2207
2208
2209static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2212 bool arg2 ;
2213 PyObject * obj0 = 0 ;
2214 PyObject * obj1 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self",(char *) "state", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2222 arg2 = (bool const) SWIG_AsBool(obj1);
2223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2224 {
2225 PyThreadState* __tstate = wxPyBeginAllowThreads();
2226 (arg1)->SetValue(arg2);
2227
2228 wxPyEndAllowThreads(__tstate);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 }
2231 Py_INCREF(Py_None); resultobj = Py_None;
2232 return resultobj;
2233 fail:
2234 return NULL;
2235}
2236
2237
2238static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2239 PyObject *resultobj;
2240 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2241 int result;
2242 PyObject * obj0 = 0 ;
2243 char *kwnames[] = {
2244 (char *) "self", NULL
2245 };
2246
2247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2252 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) SWIG_fail;
2256 }
15afbcd0 2257 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2258 return resultobj;
2259 fail:
2260 return NULL;
2261}
2262
2263
2264static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2265 PyObject *resultobj;
2266 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2267 int arg2 ;
2268 PyObject * obj0 = 0 ;
994141e6 2269 PyObject * obj1 = 0 ;
d14a1e28
RD
2270 char *kwnames[] = {
2271 (char *) "self",(char *) "state", NULL
2272 };
2273
994141e6 2274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2277 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2278 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2279 {
2280 PyThreadState* __tstate = wxPyBeginAllowThreads();
2281 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2282
2283 wxPyEndAllowThreads(__tstate);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 }
2286 Py_INCREF(Py_None); resultobj = Py_None;
2287 return resultobj;
2288 fail:
2289 return NULL;
2290}
2291
2292
2293static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2294 PyObject *resultobj;
2295 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2296 bool result;
2297 PyObject * obj0 = 0 ;
2298 char *kwnames[] = {
2299 (char *) "self", NULL
2300 };
2301
2302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
15afbcd0
RD
2303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
4f89f6a3
RD
2312 {
2313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2314 }
d14a1e28
RD
2315 return resultobj;
2316 fail:
2317 return NULL;
2318}
2319
2320
2321static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2322 PyObject *resultobj;
2323 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2324 bool result;
2325 PyObject * obj0 = 0 ;
2326 char *kwnames[] = {
2327 (char *) "self", NULL
2328 };
2329
2330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
15afbcd0
RD
2331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 }
4f89f6a3
RD
2340 {
2341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2342 }
d14a1e28
RD
2343 return resultobj;
2344 fail:
2345 return NULL;
2346}
2347
2348
2349static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2350 PyObject *obj;
2351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2352 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2353 Py_INCREF(obj);
2354 return Py_BuildValue((char *)"");
2355}
b2dc1044
RD
2356static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2357 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2358 return 1;
2359}
2360
2361
2362static PyObject *_wrap_ChoiceNameStr_get() {
2363 PyObject *pyobj;
2364
2365 {
2366#if wxUSE_UNICODE
2367 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2368#else
2369 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2370#endif
2371 }
2372 return pyobj;
2373}
2374
2375
d14a1e28
RD
2376static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject *resultobj;
2378 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2379 int arg2 ;
d14a1e28
RD
2380 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2381 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2382 wxSize const &arg4_defvalue = wxDefaultSize ;
2383 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
2384 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2385 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2386 long arg6 = (long) 0 ;
2387 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2388 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2389 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2390 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
2391 wxChoice *result;
2392 wxPoint temp3 ;
2393 wxSize temp4 ;
3adfb63b 2394 bool temp5 = False ;
e811c8ce 2395 bool temp8 = False ;
d14a1e28 2396 PyObject * obj0 = 0 ;
994141e6 2397 PyObject * obj1 = 0 ;
d14a1e28
RD
2398 PyObject * obj2 = 0 ;
2399 PyObject * obj3 = 0 ;
2400 PyObject * obj4 = 0 ;
994141e6 2401 PyObject * obj5 = 0 ;
d14a1e28
RD
2402 PyObject * obj6 = 0 ;
2403 PyObject * obj7 = 0 ;
2404 char *kwnames[] = {
2405 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2406 };
2407
994141e6 2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
2409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2411 arg2 = (int) SWIG_AsInt(obj1);
2412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2413 if (obj2) {
2414 {
2415 arg3 = &temp3;
2416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2417 }
2418 }
2419 if (obj3) {
2420 {
2421 arg4 = &temp4;
2422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2423 }
2424 }
2425 if (obj4) {
2426 {
4d5c3d91
RD
2427 if (! PySequence_Check(obj4)) {
2428 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2429 SWIG_fail;
2430 }
2431 arg5 = new wxArrayString;
3adfb63b 2432 temp5 = True;
4d5c3d91
RD
2433 int i, len=PySequence_Length(obj4);
2434 for (i=0; i<len; i++) {
2435 PyObject* item = PySequence_GetItem(obj4, i);
2436#if wxUSE_UNICODE
2437 PyObject* str = PyObject_Unicode(item);
2438#else
2439 PyObject* str = PyObject_Str(item);
2440#endif
2441 arg5->Add(Py2wxString(str));
2442 Py_DECREF(item);
2443 Py_DECREF(str);
2444 }
d14a1e28
RD
2445 }
2446 }
994141e6 2447 if (obj5) {
15afbcd0
RD
2448 arg6 = (long) SWIG_AsLong(obj5);
2449 if (PyErr_Occurred()) SWIG_fail;
994141e6 2450 }
d14a1e28 2451 if (obj6) {
15afbcd0
RD
2452 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2453 SWIG_POINTER_EXCEPTION | 0)) == -1)
2454 SWIG_fail;
4d5c3d91 2455 if (arg7 == NULL) {
15afbcd0
RD
2456 PyErr_SetString(PyExc_TypeError,"null reference");
2457 SWIG_fail;
d14a1e28
RD
2458 }
2459 }
2460 if (obj7) {
2461 {
4d5c3d91
RD
2462 arg8 = wxString_in_helper(obj7);
2463 if (arg8 == NULL) SWIG_fail;
e811c8ce 2464 temp8 = True;
d14a1e28
RD
2465 }
2466 }
2467 {
2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2469 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
2470
2471 wxPyEndAllowThreads(__tstate);
2472 if (PyErr_Occurred()) SWIG_fail;
2473 }
15afbcd0 2474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 2475 {
3adfb63b 2476 if (temp5) delete arg5;
d14a1e28
RD
2477 }
2478 {
2479 if (temp8)
4d5c3d91 2480 delete arg8;
d14a1e28
RD
2481 }
2482 return resultobj;
2483 fail:
2484 {
3adfb63b 2485 if (temp5) delete arg5;
d14a1e28
RD
2486 }
2487 {
2488 if (temp8)
4d5c3d91 2489 delete arg8;
d14a1e28
RD
2490 }
2491 return NULL;
2492}
2493
2494
2495static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2496 PyObject *resultobj;
2497 wxChoice *result;
2498 char *kwnames[] = {
2499 NULL
2500 };
2501
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2503 {
2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
2505 result = (wxChoice *)new wxChoice();
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 }
15afbcd0 2510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
2511 return resultobj;
2512 fail:
2513 return NULL;
2514}
2515
2516
2517static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2518 PyObject *resultobj;
2519 wxChoice *arg1 = (wxChoice *) 0 ;
2520 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2521 int arg3 ;
d14a1e28
RD
2522 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2523 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2524 wxSize const &arg5_defvalue = wxDefaultSize ;
2525 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
2526 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2527 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2528 long arg7 = (long) 0 ;
2529 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2530 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2531 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2532 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
2533 bool result;
2534 wxPoint temp4 ;
2535 wxSize temp5 ;
3adfb63b 2536 bool temp6 = False ;
e811c8ce 2537 bool temp9 = False ;
d14a1e28
RD
2538 PyObject * obj0 = 0 ;
2539 PyObject * obj1 = 0 ;
994141e6 2540 PyObject * obj2 = 0 ;
d14a1e28
RD
2541 PyObject * obj3 = 0 ;
2542 PyObject * obj4 = 0 ;
2543 PyObject * obj5 = 0 ;
994141e6 2544 PyObject * obj6 = 0 ;
d14a1e28
RD
2545 PyObject * obj7 = 0 ;
2546 PyObject * obj8 = 0 ;
2547 char *kwnames[] = {
2548 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2549 };
2550
994141e6 2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2556 arg3 = (int) SWIG_AsInt(obj2);
2557 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2558 if (obj3) {
2559 {
2560 arg4 = &temp4;
2561 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2562 }
2563 }
2564 if (obj4) {
2565 {
2566 arg5 = &temp5;
2567 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2568 }
2569 }
2570 if (obj5) {
2571 {
4d5c3d91
RD
2572 if (! PySequence_Check(obj5)) {
2573 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2574 SWIG_fail;
2575 }
2576 arg6 = new wxArrayString;
3adfb63b 2577 temp6 = True;
4d5c3d91
RD
2578 int i, len=PySequence_Length(obj5);
2579 for (i=0; i<len; i++) {
2580 PyObject* item = PySequence_GetItem(obj5, i);
2581#if wxUSE_UNICODE
2582 PyObject* str = PyObject_Unicode(item);
2583#else
2584 PyObject* str = PyObject_Str(item);
2585#endif
2586 arg6->Add(Py2wxString(str));
2587 Py_DECREF(item);
2588 Py_DECREF(str);
2589 }
d14a1e28
RD
2590 }
2591 }
994141e6 2592 if (obj6) {
15afbcd0
RD
2593 arg7 = (long) SWIG_AsLong(obj6);
2594 if (PyErr_Occurred()) SWIG_fail;
994141e6 2595 }
d14a1e28 2596 if (obj7) {
15afbcd0
RD
2597 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2598 SWIG_POINTER_EXCEPTION | 0)) == -1)
2599 SWIG_fail;
4d5c3d91 2600 if (arg8 == NULL) {
15afbcd0
RD
2601 PyErr_SetString(PyExc_TypeError,"null reference");
2602 SWIG_fail;
d14a1e28
RD
2603 }
2604 }
2605 if (obj8) {
2606 {
4d5c3d91
RD
2607 arg9 = wxString_in_helper(obj8);
2608 if (arg9 == NULL) SWIG_fail;
e811c8ce 2609 temp9 = True;
d14a1e28
RD
2610 }
2611 }
2612 {
2613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2614 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
2615
2616 wxPyEndAllowThreads(__tstate);
2617 if (PyErr_Occurred()) SWIG_fail;
2618 }
4f89f6a3
RD
2619 {
2620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2621 }
d14a1e28 2622 {
3adfb63b 2623 if (temp6) delete arg6;
d14a1e28
RD
2624 }
2625 {
2626 if (temp9)
4d5c3d91 2627 delete arg9;
d14a1e28
RD
2628 }
2629 return resultobj;
2630 fail:
2631 {
3adfb63b 2632 if (temp6) delete arg6;
d14a1e28
RD
2633 }
2634 {
2635 if (temp9)
4d5c3d91 2636 delete arg9;
d14a1e28
RD
2637 }
2638 return NULL;
2639}
2640
2641
d14a1e28
RD
2642static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxChoice *arg1 = (wxChoice *) 0 ;
2645 int arg2 ;
2646 PyObject * obj0 = 0 ;
994141e6 2647 PyObject * obj1 = 0 ;
d14a1e28
RD
2648 char *kwnames[] = {
2649 (char *) "self",(char *) "n", NULL
2650 };
2651
994141e6 2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2655 arg2 = (int const) SWIG_AsInt(obj1);
2656 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2657 {
2658 PyThreadState* __tstate = wxPyBeginAllowThreads();
2659 (arg1)->SetSelection(arg2);
2660
2661 wxPyEndAllowThreads(__tstate);
2662 if (PyErr_Occurred()) SWIG_fail;
2663 }
2664 Py_INCREF(Py_None); resultobj = Py_None;
2665 return resultobj;
2666 fail:
2667 return NULL;
2668}
2669
2670
2671static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject *resultobj;
2673 wxChoice *arg1 = (wxChoice *) 0 ;
2674 wxString *arg2 = 0 ;
e811c8ce 2675 bool temp2 = False ;
d14a1e28
RD
2676 PyObject * obj0 = 0 ;
2677 PyObject * obj1 = 0 ;
2678 char *kwnames[] = {
2679 (char *) "self",(char *) "string", NULL
2680 };
2681
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2685 {
2686 arg2 = wxString_in_helper(obj1);
2687 if (arg2 == NULL) SWIG_fail;
e811c8ce 2688 temp2 = True;
d14a1e28
RD
2689 }
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 (arg1)->SetStringSelection((wxString const &)*arg2);
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 Py_INCREF(Py_None); resultobj = Py_None;
2698 {
2699 if (temp2)
2700 delete arg2;
2701 }
2702 return resultobj;
2703 fail:
2704 {
2705 if (temp2)
2706 delete arg2;
2707 }
2708 return NULL;
2709}
2710
2711
2712static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2713 PyObject *resultobj;
2714 wxChoice *arg1 = (wxChoice *) 0 ;
2715 int arg2 ;
2716 wxString *arg3 = 0 ;
e811c8ce 2717 bool temp3 = False ;
d14a1e28 2718 PyObject * obj0 = 0 ;
994141e6 2719 PyObject * obj1 = 0 ;
d14a1e28
RD
2720 PyObject * obj2 = 0 ;
2721 char *kwnames[] = {
fcafa8a9 2722 (char *) "self",(char *) "n",(char *) "string", NULL
d14a1e28
RD
2723 };
2724
994141e6 2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2728 arg2 = (int) SWIG_AsInt(obj1);
2729 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2730 {
2731 arg3 = wxString_in_helper(obj2);
2732 if (arg3 == NULL) SWIG_fail;
e811c8ce 2733 temp3 = True;
d14a1e28
RD
2734 }
2735 {
2736 PyThreadState* __tstate = wxPyBeginAllowThreads();
2737 (arg1)->SetString(arg2,(wxString const &)*arg3);
2738
2739 wxPyEndAllowThreads(__tstate);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 Py_INCREF(Py_None); resultobj = Py_None;
2743 {
2744 if (temp3)
2745 delete arg3;
2746 }
2747 return resultobj;
2748 fail:
2749 {
2750 if (temp3)
2751 delete arg3;
2752 }
2753 return NULL;
2754}
2755
2756
2757static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2758 PyObject *obj;
2759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2760 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2761 Py_INCREF(obj);
2762 return Py_BuildValue((char *)"");
2763}
b2dc1044
RD
2764static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2765 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2766 return 1;
2767}
2768
2769
2770static PyObject *_wrap_ComboBoxNameStr_get() {
2771 PyObject *pyobj;
2772
2773 {
2774#if wxUSE_UNICODE
2775 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2776#else
2777 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2778#endif
2779 }
2780 return pyobj;
2781}
2782
2783
d14a1e28
RD
2784static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2787 int arg2 ;
d14a1e28
RD
2788 wxString const &arg3_defvalue = wxPyEmptyString ;
2789 wxString *arg3 = (wxString *) &arg3_defvalue ;
2790 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2791 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2792 wxSize const &arg5_defvalue = wxDefaultSize ;
2793 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
2794 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2795 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2796 long arg7 = (long) 0 ;
2797 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2798 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2799 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2800 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 2801 wxComboBox *result;
e811c8ce 2802 bool temp3 = False ;
d14a1e28
RD
2803 wxPoint temp4 ;
2804 wxSize temp5 ;
3adfb63b 2805 bool temp6 = False ;
e811c8ce 2806 bool temp9 = False ;
d14a1e28 2807 PyObject * obj0 = 0 ;
994141e6 2808 PyObject * obj1 = 0 ;
d14a1e28
RD
2809 PyObject * obj2 = 0 ;
2810 PyObject * obj3 = 0 ;
2811 PyObject * obj4 = 0 ;
2812 PyObject * obj5 = 0 ;
994141e6 2813 PyObject * obj6 = 0 ;
d14a1e28
RD
2814 PyObject * obj7 = 0 ;
2815 PyObject * obj8 = 0 ;
2816 char *kwnames[] = {
2817 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2818 };
2819
994141e6 2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2823 arg2 = (int) SWIG_AsInt(obj1);
2824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2825 if (obj2) {
2826 {
2827 arg3 = wxString_in_helper(obj2);
2828 if (arg3 == NULL) SWIG_fail;
e811c8ce 2829 temp3 = True;
d14a1e28
RD
2830 }
2831 }
2832 if (obj3) {
2833 {
2834 arg4 = &temp4;
2835 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2836 }
2837 }
2838 if (obj4) {
2839 {
2840 arg5 = &temp5;
2841 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2842 }
2843 }
2844 if (obj5) {
2845 {
4d5c3d91
RD
2846 if (! PySequence_Check(obj5)) {
2847 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2848 SWIG_fail;
2849 }
2850 arg6 = new wxArrayString;
3adfb63b 2851 temp6 = True;
4d5c3d91
RD
2852 int i, len=PySequence_Length(obj5);
2853 for (i=0; i<len; i++) {
2854 PyObject* item = PySequence_GetItem(obj5, i);
2855#if wxUSE_UNICODE
2856 PyObject* str = PyObject_Unicode(item);
2857#else
2858 PyObject* str = PyObject_Str(item);
2859#endif
2860 arg6->Add(Py2wxString(str));
2861 Py_DECREF(item);
2862 Py_DECREF(str);
2863 }
d14a1e28
RD
2864 }
2865 }
994141e6 2866 if (obj6) {
15afbcd0
RD
2867 arg7 = (long) SWIG_AsLong(obj6);
2868 if (PyErr_Occurred()) SWIG_fail;
994141e6 2869 }
d14a1e28 2870 if (obj7) {
15afbcd0
RD
2871 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2872 SWIG_POINTER_EXCEPTION | 0)) == -1)
2873 SWIG_fail;
4d5c3d91 2874 if (arg8 == NULL) {
15afbcd0
RD
2875 PyErr_SetString(PyExc_TypeError,"null reference");
2876 SWIG_fail;
d14a1e28
RD
2877 }
2878 }
2879 if (obj8) {
2880 {
4d5c3d91
RD
2881 arg9 = wxString_in_helper(obj8);
2882 if (arg9 == NULL) SWIG_fail;
e811c8ce 2883 temp9 = True;
d14a1e28
RD
2884 }
2885 }
2886 {
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2888 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
15afbcd0 2893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
2894 {
2895 if (temp3)
2896 delete arg3;
2897 }
2898 {
3adfb63b 2899 if (temp6) delete arg6;
d14a1e28
RD
2900 }
2901 {
2902 if (temp9)
4d5c3d91 2903 delete arg9;
d14a1e28
RD
2904 }
2905 return resultobj;
2906 fail:
2907 {
2908 if (temp3)
2909 delete arg3;
2910 }
2911 {
3adfb63b 2912 if (temp6) delete arg6;
d14a1e28
RD
2913 }
2914 {
2915 if (temp9)
4d5c3d91 2916 delete arg9;
d14a1e28
RD
2917 }
2918 return NULL;
2919}
2920
2921
2922static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2923 PyObject *resultobj;
2924 wxComboBox *result;
2925 char *kwnames[] = {
2926 NULL
2927 };
2928
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2930 {
2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
2932 result = (wxComboBox *)new wxComboBox();
2933
2934 wxPyEndAllowThreads(__tstate);
2935 if (PyErr_Occurred()) SWIG_fail;
2936 }
15afbcd0 2937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
2938 return resultobj;
2939 fail:
2940 return NULL;
2941}
2942
2943
2944static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2945 PyObject *resultobj;
2946 wxComboBox *arg1 = (wxComboBox *) 0 ;
2947 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2948 int arg3 ;
d14a1e28
RD
2949 wxString const &arg4_defvalue = wxPyEmptyString ;
2950 wxString *arg4 = (wxString *) &arg4_defvalue ;
2951 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2952 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2953 wxSize const &arg6_defvalue = wxDefaultSize ;
2954 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
2955 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2956 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2957 long arg8 = (long) 0 ;
2958 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2959 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
b88bce5f 2960 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4d5c3d91 2961 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 2962 bool result;
e811c8ce 2963 bool temp4 = False ;
d14a1e28
RD
2964 wxPoint temp5 ;
2965 wxSize temp6 ;
3adfb63b 2966 bool temp7 = False ;
e811c8ce 2967 bool temp10 = False ;
d14a1e28
RD
2968 PyObject * obj0 = 0 ;
2969 PyObject * obj1 = 0 ;
994141e6 2970 PyObject * obj2 = 0 ;
d14a1e28
RD
2971 PyObject * obj3 = 0 ;
2972 PyObject * obj4 = 0 ;
2973 PyObject * obj5 = 0 ;
2974 PyObject * obj6 = 0 ;
994141e6 2975 PyObject * obj7 = 0 ;
d14a1e28
RD
2976 PyObject * obj8 = 0 ;
2977 PyObject * obj9 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2980 };
2981
994141e6 2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
2983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2987 arg3 = (int) SWIG_AsInt(obj2);
2988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2989 if (obj3) {
2990 {
2991 arg4 = wxString_in_helper(obj3);
2992 if (arg4 == NULL) SWIG_fail;
e811c8ce 2993 temp4 = True;
d14a1e28
RD
2994 }
2995 }
2996 if (obj4) {
2997 {
2998 arg5 = &temp5;
2999 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3000 }
3001 }
3002 if (obj5) {
3003 {
3004 arg6 = &temp6;
3005 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3006 }
3007 }
3008 if (obj6) {
3009 {
4d5c3d91
RD
3010 if (! PySequence_Check(obj6)) {
3011 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3012 SWIG_fail;
3013 }
3014 arg7 = new wxArrayString;
3adfb63b 3015 temp7 = True;
4d5c3d91
RD
3016 int i, len=PySequence_Length(obj6);
3017 for (i=0; i<len; i++) {
3018 PyObject* item = PySequence_GetItem(obj6, i);
3019#if wxUSE_UNICODE
3020 PyObject* str = PyObject_Unicode(item);
3021#else
3022 PyObject* str = PyObject_Str(item);
3023#endif
3024 arg7->Add(Py2wxString(str));
3025 Py_DECREF(item);
3026 Py_DECREF(str);
3027 }
d14a1e28
RD
3028 }
3029 }
994141e6 3030 if (obj7) {
15afbcd0
RD
3031 arg8 = (long) SWIG_AsLong(obj7);
3032 if (PyErr_Occurred()) SWIG_fail;
994141e6 3033 }
d14a1e28 3034 if (obj8) {
15afbcd0
RD
3035 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3036 SWIG_POINTER_EXCEPTION | 0)) == -1)
3037 SWIG_fail;
4d5c3d91 3038 if (arg9 == NULL) {
15afbcd0
RD
3039 PyErr_SetString(PyExc_TypeError,"null reference");
3040 SWIG_fail;
d14a1e28
RD
3041 }
3042 }
3043 if (obj9) {
3044 {
4d5c3d91
RD
3045 arg10 = wxString_in_helper(obj9);
3046 if (arg10 == NULL) SWIG_fail;
e811c8ce 3047 temp10 = True;
d14a1e28
RD
3048 }
3049 }
3050 {
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3052 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
d14a1e28
RD
3053
3054 wxPyEndAllowThreads(__tstate);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
4f89f6a3
RD
3057 {
3058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3059 }
d14a1e28
RD
3060 {
3061 if (temp4)
3062 delete arg4;
3063 }
3064 {
3adfb63b 3065 if (temp7) delete arg7;
d14a1e28
RD
3066 }
3067 {
3068 if (temp10)
4d5c3d91 3069 delete arg10;
d14a1e28
RD
3070 }
3071 return resultobj;
3072 fail:
3073 {
3074 if (temp4)
3075 delete arg4;
3076 }
3077 {
3adfb63b 3078 if (temp7) delete arg7;
d14a1e28
RD
3079 }
3080 {
3081 if (temp10)
4d5c3d91 3082 delete arg10;
d14a1e28
RD
3083 }
3084 return NULL;
3085}
3086
3087
3088static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3089 PyObject *resultobj;
3090 wxComboBox *arg1 = (wxComboBox *) 0 ;
3091 wxString result;
3092 PyObject * obj0 = 0 ;
3093 char *kwnames[] = {
3094 (char *) "self", NULL
3095 };
3096
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3100 {
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 result = ((wxComboBox const *)arg1)->GetValue();
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
3107 {
3108#if wxUSE_UNICODE
3109 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3110#else
3111 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3112#endif
3113 }
3114 return resultobj;
3115 fail:
3116 return NULL;
3117}
3118
3119
3120static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject *resultobj;
3122 wxComboBox *arg1 = (wxComboBox *) 0 ;
3123 wxString *arg2 = 0 ;
e811c8ce 3124 bool temp2 = False ;
d14a1e28
RD
3125 PyObject * obj0 = 0 ;
3126 PyObject * obj1 = 0 ;
3127 char *kwnames[] = {
3128 (char *) "self",(char *) "value", NULL
3129 };
3130
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3134 {
3135 arg2 = wxString_in_helper(obj1);
3136 if (arg2 == NULL) SWIG_fail;
e811c8ce 3137 temp2 = True;
d14a1e28
RD
3138 }
3139 {
3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
3141 (arg1)->SetValue((wxString const &)*arg2);
3142
3143 wxPyEndAllowThreads(__tstate);
3144 if (PyErr_Occurred()) SWIG_fail;
3145 }
3146 Py_INCREF(Py_None); resultobj = Py_None;
3147 {
3148 if (temp2)
3149 delete arg2;
3150 }
3151 return resultobj;
3152 fail:
3153 {
3154 if (temp2)
3155 delete arg2;
3156 }
3157 return NULL;
3158}
3159
3160
3161static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxComboBox *arg1 = (wxComboBox *) 0 ;
3164 PyObject * obj0 = 0 ;
3165 char *kwnames[] = {
3166 (char *) "self", NULL
3167 };
3168
3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3172 {
3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
3174 (arg1)->Copy();
3175
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 Py_INCREF(Py_None); resultobj = Py_None;
3180 return resultobj;
3181 fail:
3182 return NULL;
3183}
3184
3185
3186static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3187 PyObject *resultobj;
3188 wxComboBox *arg1 = (wxComboBox *) 0 ;
3189 PyObject * obj0 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
3195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 (arg1)->Cut();
3200
3201 wxPyEndAllowThreads(__tstate);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 }
3204 Py_INCREF(Py_None); resultobj = Py_None;
3205 return resultobj;
3206 fail:
3207 return NULL;
3208}
3209
3210
3211static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3212 PyObject *resultobj;
3213 wxComboBox *arg1 = (wxComboBox *) 0 ;
3214 PyObject * obj0 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self", NULL
3217 };
3218
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
3220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 (arg1)->Paste();
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 Py_INCREF(Py_None); resultobj = Py_None;
3230 return resultobj;
3231 fail:
3232 return NULL;
3233}
3234
3235
3236static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj;
3238 wxComboBox *arg1 = (wxComboBox *) 0 ;
3239 long arg2 ;
3240 PyObject * obj0 = 0 ;
994141e6 3241 PyObject * obj1 = 0 ;
d14a1e28
RD
3242 char *kwnames[] = {
3243 (char *) "self",(char *) "pos", NULL
3244 };
3245
994141e6 3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3249 arg2 = (long) SWIG_AsLong(obj1);
3250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 (arg1)->SetInsertionPoint(arg2);
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 Py_INCREF(Py_None); resultobj = Py_None;
3259 return resultobj;
3260 fail:
3261 return NULL;
3262}
3263
3264
3265static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 wxComboBox *arg1 = (wxComboBox *) 0 ;
3268 long result;
3269 PyObject * obj0 = 0 ;
3270 char *kwnames[] = {
3271 (char *) "self", NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
3275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
15afbcd0 3284 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3285 return resultobj;
3286 fail:
3287 return NULL;
3288}
3289
3290
3291static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxComboBox *arg1 = (wxComboBox *) 0 ;
3294 long result;
3295 PyObject * obj0 = 0 ;
3296 char *kwnames[] = {
3297 (char *) "self", NULL
3298 };
3299
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
3305 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
15afbcd0 3310 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3311 return resultobj;
3312 fail:
3313 return NULL;
3314}
3315
3316
3317static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj;
3319 wxComboBox *arg1 = (wxComboBox *) 0 ;
3320 long arg2 ;
3321 long arg3 ;
3322 wxString *arg4 = 0 ;
e811c8ce 3323 bool temp4 = False ;
d14a1e28 3324 PyObject * obj0 = 0 ;
994141e6
RD
3325 PyObject * obj1 = 0 ;
3326 PyObject * obj2 = 0 ;
d14a1e28
RD
3327 PyObject * obj3 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3330 };
3331
994141e6 3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3335 arg2 = (long) SWIG_AsLong(obj1);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 arg3 = (long) SWIG_AsLong(obj2);
3338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3339 {
3340 arg4 = wxString_in_helper(obj3);
3341 if (arg4 == NULL) SWIG_fail;
e811c8ce 3342 temp4 = True;
d14a1e28
RD
3343 }
3344 {
3345 PyThreadState* __tstate = wxPyBeginAllowThreads();
3346 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3347
3348 wxPyEndAllowThreads(__tstate);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 }
3351 Py_INCREF(Py_None); resultobj = Py_None;
3352 {
3353 if (temp4)
3354 delete arg4;
3355 }
3356 return resultobj;
3357 fail:
3358 {
3359 if (temp4)
3360 delete arg4;
3361 }
3362 return NULL;
3363}
3364
3365
fd3f2efe
RD
3366static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxComboBox *arg1 = (wxComboBox *) 0 ;
3369 int arg2 ;
3370 PyObject * obj0 = 0 ;
994141e6 3371 PyObject * obj1 = 0 ;
fd3f2efe
RD
3372 char *kwnames[] = {
3373 (char *) "self",(char *) "n", NULL
3374 };
3375
994141e6 3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3379 arg2 = (int) SWIG_AsInt(obj1);
3380 if (PyErr_Occurred()) SWIG_fail;
fd3f2efe
RD
3381 {
3382 PyThreadState* __tstate = wxPyBeginAllowThreads();
3383 (arg1)->SetSelection(arg2);
3384
3385 wxPyEndAllowThreads(__tstate);
3386 if (PyErr_Occurred()) SWIG_fail;
3387 }
3388 Py_INCREF(Py_None); resultobj = Py_None;
3389 return resultobj;
3390 fail:
3391 return NULL;
3392}
3393
3394
d14a1e28
RD
3395static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3396 PyObject *resultobj;
3397 wxComboBox *arg1 = (wxComboBox *) 0 ;
3398 long arg2 ;
3399 long arg3 ;
3400 PyObject * obj0 = 0 ;
994141e6
RD
3401 PyObject * obj1 = 0 ;
3402 PyObject * obj2 = 0 ;
d14a1e28
RD
3403 char *kwnames[] = {
3404 (char *) "self",(char *) "from",(char *) "to", NULL
3405 };
3406
994141e6 3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3410 arg2 = (long) SWIG_AsLong(obj1);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 arg3 = (long) SWIG_AsLong(obj2);
3413 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 (arg1)->SetSelection(arg2,arg3);
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 Py_INCREF(Py_None); resultobj = Py_None;
3422 return resultobj;
3423 fail:
3424 return NULL;
3425}
3426
3427
3428static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 wxComboBox *arg1 = (wxComboBox *) 0 ;
3431 bool arg2 ;
3432 PyObject * obj0 = 0 ;
3433 PyObject * obj1 = 0 ;
3434 char *kwnames[] = {
3435 (char *) "self",(char *) "editable", NULL
3436 };
3437
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3441 arg2 = (bool) SWIG_AsBool(obj1);
3442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 (arg1)->SetEditable(arg2);
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 Py_INCREF(Py_None); resultobj = Py_None;
3451 return resultobj;
3452 fail:
3453 return NULL;
3454}
3455
3456
3457static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxComboBox *arg1 = (wxComboBox *) 0 ;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 (arg1)->SetInsertionPointEnd();
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 Py_INCREF(Py_None); resultobj = Py_None;
3476 return resultobj;
3477 fail:
3478 return NULL;
3479}
3480
3481
3482static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3483 PyObject *resultobj;
3484 wxComboBox *arg1 = (wxComboBox *) 0 ;
3485 long arg2 ;
3486 long arg3 ;
3487 PyObject * obj0 = 0 ;
994141e6
RD
3488 PyObject * obj1 = 0 ;
3489 PyObject * obj2 = 0 ;
d14a1e28
RD
3490 char *kwnames[] = {
3491 (char *) "self",(char *) "from",(char *) "to", NULL
3492 };
3493
994141e6 3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3497 arg2 = (long) SWIG_AsLong(obj1);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 arg3 = (long) SWIG_AsLong(obj2);
3500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 (arg1)->Remove(arg2,arg3);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 Py_INCREF(Py_None); resultobj = Py_None;
3509 return resultobj;
3510 fail:
3511 return NULL;
3512}
3513
3514
3515static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3516 PyObject *obj;
3517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3518 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3519 Py_INCREF(obj);
3520 return Py_BuildValue((char *)"");
3521}
b2dc1044
RD
3522static int _wrap_GaugeNameStr_set(PyObject *_val) {
3523 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3524 return 1;
3525}
3526
3527
3528static PyObject *_wrap_GaugeNameStr_get() {
3529 PyObject *pyobj;
3530
3531 {
3532#if wxUSE_UNICODE
3533 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3534#else
3535 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3536#endif
3537 }
3538 return pyobj;
3539}
3540
3541
d14a1e28
RD
3542static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3545 int arg2 ;
d14a1e28
RD
3546 int arg3 ;
3547 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3548 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3549 wxSize const &arg5_defvalue = wxDefaultSize ;
3550 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3551 long arg6 = (long) wxGA_HORIZONTAL ;
3552 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3553 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3554 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3555 wxString *arg8 = (wxString *) &arg8_defvalue ;
3556 wxGauge *result;
3557 wxPoint temp4 ;
3558 wxSize temp5 ;
e811c8ce 3559 bool temp8 = False ;
d14a1e28 3560 PyObject * obj0 = 0 ;
994141e6
RD
3561 PyObject * obj1 = 0 ;
3562 PyObject * obj2 = 0 ;
d14a1e28
RD
3563 PyObject * obj3 = 0 ;
3564 PyObject * obj4 = 0 ;
994141e6 3565 PyObject * obj5 = 0 ;
d14a1e28
RD
3566 PyObject * obj6 = 0 ;
3567 PyObject * obj7 = 0 ;
3568 char *kwnames[] = {
3569 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3570 };
3571
994141e6 3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3575 arg2 = (int) SWIG_AsInt(obj1);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 arg3 = (int) SWIG_AsInt(obj2);
3578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3579 if (obj3) {
3580 {
3581 arg4 = &temp4;
3582 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3583 }
3584 }
3585 if (obj4) {
3586 {
3587 arg5 = &temp5;
3588 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3589 }
3590 }
994141e6 3591 if (obj5) {
15afbcd0
RD
3592 arg6 = (long) SWIG_AsLong(obj5);
3593 if (PyErr_Occurred()) SWIG_fail;
994141e6 3594 }
d14a1e28 3595 if (obj6) {
15afbcd0
RD
3596 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3597 SWIG_POINTER_EXCEPTION | 0)) == -1)
3598 SWIG_fail;
d14a1e28 3599 if (arg7 == NULL) {
15afbcd0
RD
3600 PyErr_SetString(PyExc_TypeError,"null reference");
3601 SWIG_fail;
d14a1e28
RD
3602 }
3603 }
3604 if (obj7) {
3605 {
3606 arg8 = wxString_in_helper(obj7);
3607 if (arg8 == NULL) SWIG_fail;
e811c8ce 3608 temp8 = True;
d14a1e28
RD
3609 }
3610 }
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
15afbcd0 3618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3619 {
3620 if (temp8)
3621 delete arg8;
3622 }
3623 return resultobj;
3624 fail:
3625 {
3626 if (temp8)
3627 delete arg8;
3628 }
3629 return NULL;
3630}
3631
3632
3633static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject *resultobj;
3635 wxGauge *result;
3636 char *kwnames[] = {
3637 NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (wxGauge *)new wxGauge();
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
15afbcd0 3648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3649 return resultobj;
3650 fail:
3651 return NULL;
3652}
3653
3654
3655static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj;
3657 wxGauge *arg1 = (wxGauge *) 0 ;
3658 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3659 int arg3 ;
d14a1e28
RD
3660 int arg4 ;
3661 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3662 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3663 wxSize const &arg6_defvalue = wxDefaultSize ;
3664 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3665 long arg7 = (long) wxGA_HORIZONTAL ;
3666 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3667 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3668 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3669 wxString *arg9 = (wxString *) &arg9_defvalue ;
3670 bool result;
3671 wxPoint temp5 ;
3672 wxSize temp6 ;
e811c8ce 3673 bool temp9 = False ;
d14a1e28
RD
3674 PyObject * obj0 = 0 ;
3675 PyObject * obj1 = 0 ;
994141e6
RD
3676 PyObject * obj2 = 0 ;
3677 PyObject * obj3 = 0 ;
d14a1e28
RD
3678 PyObject * obj4 = 0 ;
3679 PyObject * obj5 = 0 ;
994141e6 3680 PyObject * obj6 = 0 ;
d14a1e28
RD
3681 PyObject * obj7 = 0 ;
3682 PyObject * obj8 = 0 ;
3683 char *kwnames[] = {
3684 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3685 };
3686
994141e6 3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
3688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3692 arg3 = (int) SWIG_AsInt(obj2);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 arg4 = (int) SWIG_AsInt(obj3);
3695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3696 if (obj4) {
3697 {
3698 arg5 = &temp5;
3699 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3700 }
3701 }
3702 if (obj5) {
3703 {
3704 arg6 = &temp6;
3705 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3706 }
3707 }
994141e6 3708 if (obj6) {
15afbcd0
RD
3709 arg7 = (long) SWIG_AsLong(obj6);
3710 if (PyErr_Occurred()) SWIG_fail;
994141e6 3711 }
d14a1e28 3712 if (obj7) {
15afbcd0
RD
3713 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3714 SWIG_POINTER_EXCEPTION | 0)) == -1)
3715 SWIG_fail;
d14a1e28 3716 if (arg8 == NULL) {
15afbcd0
RD
3717 PyErr_SetString(PyExc_TypeError,"null reference");
3718 SWIG_fail;
d14a1e28
RD
3719 }
3720 }
3721 if (obj8) {
3722 {
3723 arg9 = wxString_in_helper(obj8);
3724 if (arg9 == NULL) SWIG_fail;
e811c8ce 3725 temp9 = True;
d14a1e28
RD
3726 }
3727 }
3728 {
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
4f89f6a3
RD
3735 {
3736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3737 }
d14a1e28
RD
3738 {
3739 if (temp9)
3740 delete arg9;
3741 }
3742 return resultobj;
3743 fail:
3744 {
3745 if (temp9)
3746 delete arg9;
3747 }
3748 return NULL;
3749}
3750
3751
3752static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj;
3754 wxGauge *arg1 = (wxGauge *) 0 ;
3755 int arg2 ;
3756 PyObject * obj0 = 0 ;
994141e6 3757 PyObject * obj1 = 0 ;
d14a1e28
RD
3758 char *kwnames[] = {
3759 (char *) "self",(char *) "range", NULL
3760 };
3761
994141e6 3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3765 arg2 = (int) SWIG_AsInt(obj1);
3766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 (arg1)->SetRange(arg2);
3770
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 Py_INCREF(Py_None); resultobj = Py_None;
3775 return resultobj;
3776 fail:
3777 return NULL;
3778}
3779
3780
3781static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj;
3783 wxGauge *arg1 = (wxGauge *) 0 ;
3784 int result;
3785 PyObject * obj0 = 0 ;
3786 char *kwnames[] = {
3787 (char *) "self", NULL
3788 };
3789
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
3791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3793 {
3794 PyThreadState* __tstate = wxPyBeginAllowThreads();
3795 result = (int)((wxGauge const *)arg1)->GetRange();
3796
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
15afbcd0 3800 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3801 return resultobj;
3802 fail:
3803 return NULL;
3804}
3805
3806
3807static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject *resultobj;
3809 wxGauge *arg1 = (wxGauge *) 0 ;
3810 int arg2 ;
3811 PyObject * obj0 = 0 ;
994141e6 3812 PyObject * obj1 = 0 ;
d14a1e28
RD
3813 char *kwnames[] = {
3814 (char *) "self",(char *) "pos", NULL
3815 };
3816
994141e6 3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3820 arg2 = (int) SWIG_AsInt(obj1);
3821 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 (arg1)->SetValue(arg2);
3825
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 Py_INCREF(Py_None); resultobj = Py_None;
3830 return resultobj;
3831 fail:
3832 return NULL;
3833}
3834
3835
3836static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj;
3838 wxGauge *arg1 = (wxGauge *) 0 ;
3839 int result;
3840 PyObject * obj0 = 0 ;
3841 char *kwnames[] = {
3842 (char *) "self", NULL
3843 };
3844
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (int)((wxGauge const *)arg1)->GetValue();
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
15afbcd0 3855 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3856 return resultobj;
3857 fail:
3858 return NULL;
3859}
3860
3861
3862static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxGauge *arg1 = (wxGauge *) 0 ;
3865 bool result;
3866 PyObject * obj0 = 0 ;
3867 char *kwnames[] = {
3868 (char *) "self", NULL
3869 };
3870
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
3872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 result = (bool)((wxGauge const *)arg1)->IsVertical();
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
4f89f6a3
RD
3881 {
3882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3883 }
d14a1e28
RD
3884 return resultobj;
3885 fail:
3886 return NULL;
3887}
3888
3889
3890static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3891 PyObject *resultobj;
3892 wxGauge *arg1 = (wxGauge *) 0 ;
3893 int arg2 ;
3894 PyObject * obj0 = 0 ;
994141e6 3895 PyObject * obj1 = 0 ;
d14a1e28
RD
3896 char *kwnames[] = {
3897 (char *) "self",(char *) "w", NULL
3898 };
3899
994141e6 3900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3903 arg2 = (int) SWIG_AsInt(obj1);
3904 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3905 {
3906 PyThreadState* __tstate = wxPyBeginAllowThreads();
3907 (arg1)->SetShadowWidth(arg2);
3908
3909 wxPyEndAllowThreads(__tstate);
3910 if (PyErr_Occurred()) SWIG_fail;
3911 }
3912 Py_INCREF(Py_None); resultobj = Py_None;
3913 return resultobj;
3914 fail:
3915 return NULL;
3916}
3917
3918
3919static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3920 PyObject *resultobj;
3921 wxGauge *arg1 = (wxGauge *) 0 ;
3922 int result;
3923 PyObject * obj0 = 0 ;
3924 char *kwnames[] = {
3925 (char *) "self", NULL
3926 };
3927
3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3934
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
15afbcd0 3938 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3939 return resultobj;
3940 fail:
3941 return NULL;
3942}
3943
3944
3945static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 wxGauge *arg1 = (wxGauge *) 0 ;
3948 int arg2 ;
3949 PyObject * obj0 = 0 ;
994141e6 3950 PyObject * obj1 = 0 ;
d14a1e28
RD
3951 char *kwnames[] = {
3952 (char *) "self",(char *) "w", NULL
3953 };
3954
994141e6 3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3958 arg2 = (int) SWIG_AsInt(obj1);
3959 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3960 {
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 (arg1)->SetBezelFace(arg2);
3963
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 Py_INCREF(Py_None); resultobj = Py_None;
3968 return resultobj;
3969 fail:
3970 return NULL;
3971}
3972
3973
3974static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3975 PyObject *resultobj;
3976 wxGauge *arg1 = (wxGauge *) 0 ;
3977 int result;
3978 PyObject * obj0 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "self", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
15afbcd0
RD
3984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3989
3990 wxPyEndAllowThreads(__tstate);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
15afbcd0 3993 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3994 return resultobj;
3995 fail:
3996 return NULL;
3997}
3998
3999
4000static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4001 PyObject *obj;
4002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4003 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4004 Py_INCREF(obj);
4005 return Py_BuildValue((char *)"");
4006}
b2dc1044
RD
4007static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4008 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4009 return 1;
4010}
4011
4012
4013static PyObject *_wrap_StaticBitmapNameStr_get() {
4014 PyObject *pyobj;
4015
4016 {
4017#if wxUSE_UNICODE
4018 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4019#else
4020 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4021#endif
4022 }
4023 return pyobj;
4024}
4025
4026
4027static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4028 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4029 return 1;
4030}
4031
4032
4033static PyObject *_wrap_StaticBoxNameStr_get() {
4034 PyObject *pyobj;
4035
4036 {
4037#if wxUSE_UNICODE
4038 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4039#else
4040 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4041#endif
4042 }
4043 return pyobj;
4044}
4045
4046
4047static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4048 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4049 return 1;
4050}
4051
4052
4053static PyObject *_wrap_StaticTextNameStr_get() {
4054 PyObject *pyobj;
4055
4056 {
4057#if wxUSE_UNICODE
4058 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4059#else
4060 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4061#endif
4062 }
4063 return pyobj;
4064}
4065
4066
d14a1e28
RD
4067static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4068 PyObject *resultobj;
4069 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4070 int arg2 ;
d14a1e28
RD
4071 wxString *arg3 = 0 ;
4072 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4073 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4074 wxSize const &arg5_defvalue = wxDefaultSize ;
4075 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4076 long arg6 = (long) 0 ;
4077 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4078 wxString *arg7 = (wxString *) &arg7_defvalue ;
4079 wxStaticBox *result;
e811c8ce 4080 bool temp3 = False ;
d14a1e28
RD
4081 wxPoint temp4 ;
4082 wxSize temp5 ;
e811c8ce 4083 bool temp7 = False ;
d14a1e28 4084 PyObject * obj0 = 0 ;
994141e6 4085 PyObject * obj1 = 0 ;
d14a1e28
RD
4086 PyObject * obj2 = 0 ;
4087 PyObject * obj3 = 0 ;
4088 PyObject * obj4 = 0 ;
994141e6 4089 PyObject * obj5 = 0 ;
d14a1e28
RD
4090 PyObject * obj6 = 0 ;
4091 char *kwnames[] = {
4092 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4093 };
4094
994141e6 4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4098 arg2 = (int) SWIG_AsInt(obj1);
4099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4100 {
4101 arg3 = wxString_in_helper(obj2);
4102 if (arg3 == NULL) SWIG_fail;
e811c8ce 4103 temp3 = True;
d14a1e28
RD
4104 }
4105 if (obj3) {
4106 {
4107 arg4 = &temp4;
4108 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4109 }
4110 }
4111 if (obj4) {
4112 {
4113 arg5 = &temp5;
4114 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4115 }
4116 }
994141e6 4117 if (obj5) {
15afbcd0
RD
4118 arg6 = (long) SWIG_AsLong(obj5);
4119 if (PyErr_Occurred()) SWIG_fail;
994141e6 4120 }
d14a1e28
RD
4121 if (obj6) {
4122 {
4123 arg7 = wxString_in_helper(obj6);
4124 if (arg7 == NULL) SWIG_fail;
e811c8ce 4125 temp7 = True;
d14a1e28
RD
4126 }
4127 }
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 {
4136 resultobj = wxPyMake_wxObject(result);
4137 }
4138 {
4139 if (temp3)
4140 delete arg3;
4141 }
4142 {
4143 if (temp7)
4144 delete arg7;
4145 }
4146 return resultobj;
4147 fail:
4148 {
4149 if (temp3)
4150 delete arg3;
4151 }
4152 {
4153 if (temp7)
4154 delete arg7;
4155 }
4156 return NULL;
4157}
4158
4159
4160static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxStaticBox *result;
4163 char *kwnames[] = {
4164 NULL
4165 };
4166
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 result = (wxStaticBox *)new wxStaticBox();
4171
4172 wxPyEndAllowThreads(__tstate);
4173 if (PyErr_Occurred()) SWIG_fail;
4174 }
4175 {
4176 resultobj = wxPyMake_wxObject(result);
4177 }
4178 return resultobj;
4179 fail:
4180 return NULL;
4181}
4182
4183
4184static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4187 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4188 int arg3 ;
d14a1e28
RD
4189 wxString *arg4 = 0 ;
4190 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4191 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4192 wxSize const &arg6_defvalue = wxDefaultSize ;
4193 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4194 long arg7 = (long) 0 ;
4195 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4196 wxString *arg8 = (wxString *) &arg8_defvalue ;
4197 bool result;
e811c8ce 4198 bool temp4 = False ;
d14a1e28
RD
4199 wxPoint temp5 ;
4200 wxSize temp6 ;
e811c8ce 4201 bool temp8 = False ;
d14a1e28
RD
4202 PyObject * obj0 = 0 ;
4203 PyObject * obj1 = 0 ;
994141e6 4204 PyObject * obj2 = 0 ;
d14a1e28
RD
4205 PyObject * obj3 = 0 ;
4206 PyObject * obj4 = 0 ;
4207 PyObject * obj5 = 0 ;
994141e6 4208 PyObject * obj6 = 0 ;
d14a1e28
RD
4209 PyObject * obj7 = 0 ;
4210 char *kwnames[] = {
4211 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4212 };
4213
994141e6 4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4217 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4219 arg3 = (int) SWIG_AsInt(obj2);
4220 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4221 {
4222 arg4 = wxString_in_helper(obj3);
4223 if (arg4 == NULL) SWIG_fail;
e811c8ce 4224 temp4 = True;
d14a1e28
RD
4225 }
4226 if (obj4) {
4227 {
4228 arg5 = &temp5;
4229 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4230 }
4231 }
4232 if (obj5) {
4233 {
4234 arg6 = &temp6;
4235 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4236 }
4237 }
994141e6 4238 if (obj6) {
15afbcd0
RD
4239 arg7 = (long) SWIG_AsLong(obj6);
4240 if (PyErr_Occurred()) SWIG_fail;
994141e6 4241 }
d14a1e28
RD
4242 if (obj7) {
4243 {
4244 arg8 = wxString_in_helper(obj7);
4245 if (arg8 == NULL) SWIG_fail;
e811c8ce 4246 temp8 = True;
d14a1e28
RD
4247 }
4248 }
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4f89f6a3
RD
4256 {
4257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4258 }
d14a1e28
RD
4259 {
4260 if (temp4)
4261 delete arg4;
4262 }
4263 {
4264 if (temp8)
4265 delete arg8;
4266 }
4267 return resultobj;
4268 fail:
4269 {
4270 if (temp4)
4271 delete arg4;
4272 }
4273 {
4274 if (temp8)
4275 delete arg8;
4276 }
4277 return NULL;
4278}
4279
4280
4281static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4282 PyObject *obj;
4283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4284 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4285 Py_INCREF(obj);
4286 return Py_BuildValue((char *)"");
4287}
4288static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4289 PyObject *resultobj;
4290 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4291 int arg2 ;
d14a1e28
RD
4292 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4293 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4294 wxSize const &arg4_defvalue = wxDefaultSize ;
4295 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4296 long arg5 = (long) wxLI_HORIZONTAL ;
4297 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4298 wxString *arg6 = (wxString *) &arg6_defvalue ;
4299 wxStaticLine *result;
4300 wxPoint temp3 ;
4301 wxSize temp4 ;
e811c8ce 4302 bool temp6 = False ;
d14a1e28 4303 PyObject * obj0 = 0 ;
994141e6 4304 PyObject * obj1 = 0 ;
d14a1e28
RD
4305 PyObject * obj2 = 0 ;
4306 PyObject * obj3 = 0 ;
994141e6 4307 PyObject * obj4 = 0 ;
d14a1e28
RD
4308 PyObject * obj5 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4311 };
4312
994141e6 4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
4314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4316 arg2 = (int) SWIG_AsInt(obj1);
4317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4318 if (obj2) {
4319 {
4320 arg3 = &temp3;
4321 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4322 }
4323 }
4324 if (obj3) {
4325 {
4326 arg4 = &temp4;
4327 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4328 }
4329 }
994141e6 4330 if (obj4) {
15afbcd0
RD
4331 arg5 = (long) SWIG_AsLong(obj4);
4332 if (PyErr_Occurred()) SWIG_fail;
994141e6 4333 }
d14a1e28
RD
4334 if (obj5) {
4335 {
4336 arg6 = wxString_in_helper(obj5);
4337 if (arg6 == NULL) SWIG_fail;
e811c8ce 4338 temp6 = True;
d14a1e28
RD
4339 }
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4344
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
15afbcd0 4348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4349 {
4350 if (temp6)
4351 delete arg6;
4352 }
4353 return resultobj;
4354 fail:
4355 {
4356 if (temp6)
4357 delete arg6;
4358 }
4359 return NULL;
4360}
4361
4362
4363static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4364 PyObject *resultobj;
4365 wxStaticLine *result;
4366 char *kwnames[] = {
4367 NULL
4368 };
4369
4370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4371 {
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 result = (wxStaticLine *)new wxStaticLine();
4374
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
15afbcd0 4378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4379 return resultobj;
4380 fail:
4381 return NULL;
4382}
4383
4384
4385static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4386 PyObject *resultobj;
4387 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4388 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4389 int arg3 ;
d14a1e28
RD
4390 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4391 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4392 wxSize const &arg5_defvalue = wxDefaultSize ;
4393 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4394 long arg6 = (long) wxLI_HORIZONTAL ;
4395 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4396 wxString *arg7 = (wxString *) &arg7_defvalue ;
4397 bool result;
4398 wxPoint temp4 ;
4399 wxSize temp5 ;
e811c8ce 4400 bool temp7 = False ;
d14a1e28
RD
4401 PyObject * obj0 = 0 ;
4402 PyObject * obj1 = 0 ;
994141e6 4403 PyObject * obj2 = 0 ;
d14a1e28
RD
4404 PyObject * obj3 = 0 ;
4405 PyObject * obj4 = 0 ;
994141e6 4406 PyObject * obj5 = 0 ;
d14a1e28
RD
4407 PyObject * obj6 = 0 ;
4408 char *kwnames[] = {
4409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4410 };
4411
994141e6 4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4417 arg3 = (int) SWIG_AsInt(obj2);
4418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4419 if (obj3) {
4420 {
4421 arg4 = &temp4;
4422 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4423 }
4424 }
4425 if (obj4) {
4426 {
4427 arg5 = &temp5;
4428 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4429 }
4430 }
994141e6 4431 if (obj5) {
15afbcd0
RD
4432 arg6 = (long) SWIG_AsLong(obj5);
4433 if (PyErr_Occurred()) SWIG_fail;
994141e6 4434 }
d14a1e28
RD
4435 if (obj6) {
4436 {
4437 arg7 = wxString_in_helper(obj6);
4438 if (arg7 == NULL) SWIG_fail;
e811c8ce 4439 temp7 = True;
d14a1e28
RD
4440 }
4441 }
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4445
4446 wxPyEndAllowThreads(__tstate);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4f89f6a3
RD
4449 {
4450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4451 }
d14a1e28
RD
4452 {
4453 if (temp7)
4454 delete arg7;
4455 }
4456 return resultobj;
4457 fail:
4458 {
4459 if (temp7)
4460 delete arg7;
4461 }
4462 return NULL;
4463}
4464
4465
4466static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj;
4468 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4469 bool result;
4470 PyObject * obj0 = 0 ;
4471 char *kwnames[] = {
4472 (char *) "self", NULL
4473 };
4474
4475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
4476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4f89f6a3
RD
4485 {
4486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4487 }
d14a1e28
RD
4488 return resultobj;
4489 fail:
4490 return NULL;
4491}
4492
4493
4494static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj;
4496 int result;
4497 char *kwnames[] = {
4498 NULL
4499 };
4500
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 result = (int)wxStaticLine::GetDefaultSize();
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
15afbcd0 4509 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4510 return resultobj;
4511 fail:
4512 return NULL;
4513}
4514
4515
4516static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4517 PyObject *obj;
4518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4519 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4520 Py_INCREF(obj);
4521 return Py_BuildValue((char *)"");
4522}
4523static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4524 PyObject *resultobj;
4525 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4526 int arg2 ;
d14a1e28
RD
4527 wxString *arg3 = 0 ;
4528 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4529 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4530 wxSize const &arg5_defvalue = wxDefaultSize ;
4531 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4532 long arg6 = (long) 0 ;
4533 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4534 wxString *arg7 = (wxString *) &arg7_defvalue ;
4535 wxStaticText *result;
e811c8ce 4536 bool temp3 = False ;
d14a1e28
RD
4537 wxPoint temp4 ;
4538 wxSize temp5 ;
e811c8ce 4539 bool temp7 = False ;
d14a1e28 4540 PyObject * obj0 = 0 ;
994141e6 4541 PyObject * obj1 = 0 ;
d14a1e28
RD
4542 PyObject * obj2 = 0 ;
4543 PyObject * obj3 = 0 ;
4544 PyObject * obj4 = 0 ;
994141e6 4545 PyObject * obj5 = 0 ;
d14a1e28
RD
4546 PyObject * obj6 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4549 };
4550
994141e6 4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4554 arg2 = (int) SWIG_AsInt(obj1);
4555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4556 {
4557 arg3 = wxString_in_helper(obj2);
4558 if (arg3 == NULL) SWIG_fail;
e811c8ce 4559 temp3 = True;
d14a1e28
RD
4560 }
4561 if (obj3) {
4562 {
4563 arg4 = &temp4;
4564 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4565 }
4566 }
4567 if (obj4) {
4568 {
4569 arg5 = &temp5;
4570 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4571 }
4572 }
994141e6 4573 if (obj5) {
15afbcd0
RD
4574 arg6 = (long) SWIG_AsLong(obj5);
4575 if (PyErr_Occurred()) SWIG_fail;
994141e6 4576 }
d14a1e28
RD
4577 if (obj6) {
4578 {
4579 arg7 = wxString_in_helper(obj6);
4580 if (arg7 == NULL) SWIG_fail;
e811c8ce 4581 temp7 = True;
d14a1e28
RD
4582 }
4583 }
4584 {
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4587
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) SWIG_fail;
4590 }
15afbcd0 4591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
4592 {
4593 if (temp3)
4594 delete arg3;
4595 }
4596 {
4597 if (temp7)
4598 delete arg7;
4599 }
4600 return resultobj;
4601 fail:
4602 {
4603 if (temp3)
4604 delete arg3;
4605 }
4606 {
4607 if (temp7)
4608 delete arg7;
4609 }
4610 return NULL;
4611}
4612
4613
4614static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4615 PyObject *resultobj;
4616 wxStaticText *result;
4617 char *kwnames[] = {
4618 NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (wxStaticText *)new wxStaticText();
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
15afbcd0 4629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
4630 return resultobj;
4631 fail:
4632 return NULL;
4633}
4634
4635
4636static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4637 PyObject *resultobj;
4638 wxStaticText *arg1 = (wxStaticText *) 0 ;
4639 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4640 int arg3 ;
d14a1e28
RD
4641 wxString *arg4 = 0 ;
4642 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4643 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4644 wxSize const &arg6_defvalue = wxDefaultSize ;
4645 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4646 long arg7 = (long) 0 ;
4647 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4648 wxString *arg8 = (wxString *) &arg8_defvalue ;
4649 bool result;
e811c8ce 4650 bool temp4 = False ;
d14a1e28
RD
4651 wxPoint temp5 ;
4652 wxSize temp6 ;
e811c8ce 4653 bool temp8 = False ;
d14a1e28
RD
4654 PyObject * obj0 = 0 ;
4655 PyObject * obj1 = 0 ;
994141e6 4656 PyObject * obj2 = 0 ;
d14a1e28
RD
4657 PyObject * obj3 = 0 ;
4658 PyObject * obj4 = 0 ;
4659 PyObject * obj5 = 0 ;
994141e6 4660 PyObject * obj6 = 0 ;
d14a1e28
RD
4661 PyObject * obj7 = 0 ;
4662 char *kwnames[] = {
4663 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4664 };
4665
994141e6 4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4671 arg3 = (int) SWIG_AsInt(obj2);
4672 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4673 {
4674 arg4 = wxString_in_helper(obj3);
4675 if (arg4 == NULL) SWIG_fail;
e811c8ce 4676 temp4 = True;
d14a1e28
RD
4677 }
4678 if (obj4) {
4679 {
4680 arg5 = &temp5;
4681 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4682 }
4683 }
4684 if (obj5) {
4685 {
4686 arg6 = &temp6;
4687 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4688 }
4689 }
994141e6 4690 if (obj6) {
15afbcd0
RD
4691 arg7 = (long) SWIG_AsLong(obj6);
4692 if (PyErr_Occurred()) SWIG_fail;
994141e6 4693 }
d14a1e28
RD
4694 if (obj7) {
4695 {
4696 arg8 = wxString_in_helper(obj7);
4697 if (arg8 == NULL) SWIG_fail;
e811c8ce 4698 temp8 = True;
d14a1e28
RD
4699 }
4700 }
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4f89f6a3
RD
4708 {
4709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4710 }
d14a1e28
RD
4711 {
4712 if (temp4)
4713 delete arg4;
4714 }
4715 {
4716 if (temp8)
4717 delete arg8;
4718 }
4719 return resultobj;
4720 fail:
4721 {
4722 if (temp4)
4723 delete arg4;
4724 }
4725 {
4726 if (temp8)
4727 delete arg8;
4728 }
4729 return NULL;
4730}
4731
4732
4733static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4734 PyObject *obj;
4735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4736 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4737 Py_INCREF(obj);
4738 return Py_BuildValue((char *)"");
4739}
4740static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4741 PyObject *resultobj;
4742 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4743 int arg2 ;
d14a1e28
RD
4744 wxBitmap *arg3 = 0 ;
4745 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4746 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4747 wxSize const &arg5_defvalue = wxDefaultSize ;
4748 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4749 long arg6 = (long) 0 ;
4750 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4751 wxString *arg7 = (wxString *) &arg7_defvalue ;
4752 wxStaticBitmap *result;
4753 wxPoint temp4 ;
4754 wxSize temp5 ;
e811c8ce 4755 bool temp7 = False ;
d14a1e28 4756 PyObject * obj0 = 0 ;
994141e6 4757 PyObject * obj1 = 0 ;
d14a1e28
RD
4758 PyObject * obj2 = 0 ;
4759 PyObject * obj3 = 0 ;
4760 PyObject * obj4 = 0 ;
994141e6 4761 PyObject * obj5 = 0 ;
d14a1e28
RD
4762 PyObject * obj6 = 0 ;
4763 char *kwnames[] = {
4764 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4765 };
4766
994141e6 4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4770 arg2 = (int) SWIG_AsInt(obj1);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4773 SWIG_POINTER_EXCEPTION | 0)) == -1)
4774 SWIG_fail;
d14a1e28 4775 if (arg3 == NULL) {
15afbcd0
RD
4776 PyErr_SetString(PyExc_TypeError,"null reference");
4777 SWIG_fail;
d14a1e28
RD
4778 }
4779 if (obj3) {
4780 {
4781 arg4 = &temp4;
4782 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4783 }
4784 }
4785 if (obj4) {
4786 {
4787 arg5 = &temp5;
4788 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4789 }
4790 }
994141e6 4791 if (obj5) {
15afbcd0
RD
4792 arg6 = (long) SWIG_AsLong(obj5);
4793 if (PyErr_Occurred()) SWIG_fail;
994141e6 4794 }
d14a1e28
RD
4795 if (obj6) {
4796 {
4797 arg7 = wxString_in_helper(obj6);
4798 if (arg7 == NULL) SWIG_fail;
e811c8ce 4799 temp7 = True;
d14a1e28
RD
4800 }
4801 }
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
15afbcd0 4809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
4810 {
4811 if (temp7)
4812 delete arg7;
4813 }
4814 return resultobj;
4815 fail:
4816 {
4817 if (temp7)
4818 delete arg7;
4819 }
4820 return NULL;
4821}
4822
4823
4824static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxStaticBitmap *result;
4827 char *kwnames[] = {
4828 NULL
4829 };
4830
4831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 result = (wxStaticBitmap *)new wxStaticBitmap();
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
15afbcd0 4839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
4840 return resultobj;
4841 fail:
4842 return NULL;
4843}
4844
4845
4846static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4847 PyObject *resultobj;
4848 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4849 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4850 int arg3 ;
d14a1e28
RD
4851 wxBitmap *arg4 = 0 ;
4852 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4853 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4854 wxSize const &arg6_defvalue = wxDefaultSize ;
4855 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4856 long arg7 = (long) 0 ;
4857 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4858 wxString *arg8 = (wxString *) &arg8_defvalue ;
4859 bool result;
4860 wxPoint temp5 ;
4861 wxSize temp6 ;
e811c8ce 4862 bool temp8 = False ;
d14a1e28
RD
4863 PyObject * obj0 = 0 ;
4864 PyObject * obj1 = 0 ;
994141e6 4865 PyObject * obj2 = 0 ;
d14a1e28
RD
4866 PyObject * obj3 = 0 ;
4867 PyObject * obj4 = 0 ;
4868 PyObject * obj5 = 0 ;
994141e6 4869 PyObject * obj6 = 0 ;
d14a1e28
RD
4870 PyObject * obj7 = 0 ;
4871 char *kwnames[] = {
4872 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4873 };
4874
994141e6 4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4880 arg3 = (int) SWIG_AsInt(obj2);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4883 SWIG_POINTER_EXCEPTION | 0)) == -1)
4884 SWIG_fail;
d14a1e28 4885 if (arg4 == NULL) {
15afbcd0
RD
4886 PyErr_SetString(PyExc_TypeError,"null reference");
4887 SWIG_fail;
d14a1e28
RD
4888 }
4889 if (obj4) {
4890 {
4891 arg5 = &temp5;
4892 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4893 }
4894 }
4895 if (obj5) {
4896 {
4897 arg6 = &temp6;
4898 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4899 }
4900 }
994141e6 4901 if (obj6) {
15afbcd0
RD
4902 arg7 = (long) SWIG_AsLong(obj6);
4903 if (PyErr_Occurred()) SWIG_fail;
994141e6 4904 }
d14a1e28
RD
4905 if (obj7) {
4906 {
4907 arg8 = wxString_in_helper(obj7);
4908 if (arg8 == NULL) SWIG_fail;
e811c8ce 4909 temp8 = True;
d14a1e28
RD
4910 }
4911 }
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4915
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
4f89f6a3
RD
4919 {
4920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4921 }
d14a1e28
RD
4922 {
4923 if (temp8)
4924 delete arg8;
4925 }
4926 return resultobj;
4927 fail:
4928 {
4929 if (temp8)
4930 delete arg8;
4931 }
4932 return NULL;
4933}
4934
4935
4936static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4937 PyObject *resultobj;
4938 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4939 wxBitmap result;
4940 PyObject * obj0 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
4946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 result = (arg1)->GetBitmap();
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 {
4956 wxBitmap * resultptr;
4957 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 4958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
4959 }
4960 return resultobj;
4961 fail:
4962 return NULL;
4963}
4964
4965
4966static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4967 PyObject *resultobj;
4968 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4969 wxBitmap *arg2 = 0 ;
4970 PyObject * obj0 = 0 ;
4971 PyObject * obj1 = 0 ;
4972 char *kwnames[] = {
4973 (char *) "self",(char *) "bitmap", NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4980 SWIG_POINTER_EXCEPTION | 0)) == -1)
4981 SWIG_fail;
d14a1e28 4982 if (arg2 == NULL) {
15afbcd0
RD
4983 PyErr_SetString(PyExc_TypeError,"null reference");
4984 SWIG_fail;
d14a1e28
RD
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 Py_INCREF(Py_None); resultobj = Py_None;
4994 return resultobj;
4995 fail:
4996 return NULL;
4997}
4998
4999
5000static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5003 wxIcon *arg2 = 0 ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "icon", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5014 SWIG_POINTER_EXCEPTION | 0)) == -1)
5015 SWIG_fail;
d14a1e28 5016 if (arg2 == NULL) {
15afbcd0
RD
5017 PyErr_SetString(PyExc_TypeError,"null reference");
5018 SWIG_fail;
d14a1e28
RD
5019 }
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 (arg1)->SetIcon((wxIcon const &)*arg2);
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 Py_INCREF(Py_None); resultobj = Py_None;
5028 return resultobj;
5029 fail:
5030 return NULL;
5031}
5032
5033
5034static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5035 PyObject *obj;
5036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5037 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5038 Py_INCREF(obj);
5039 return Py_BuildValue((char *)"");
5040}
b2dc1044
RD
5041static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5042 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5043 return 1;
5044}
5045
5046
5047static PyObject *_wrap_ListBoxNameStr_get() {
5048 PyObject *pyobj;
5049
5050 {
5051#if wxUSE_UNICODE
5052 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5053#else
5054 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5055#endif
5056 }
5057 return pyobj;
5058}
5059
5060
d14a1e28
RD
5061static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 5064 int arg2 ;
d14a1e28
RD
5065 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5066 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5067 wxSize const &arg4_defvalue = wxDefaultSize ;
5068 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
5069 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5070 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5071 long arg6 = (long) 0 ;
5072 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5073 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5074 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5075 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
5076 wxListBox *result;
5077 wxPoint temp3 ;
5078 wxSize temp4 ;
3adfb63b 5079 bool temp5 = False ;
e811c8ce 5080 bool temp8 = False ;
d14a1e28 5081 PyObject * obj0 = 0 ;
994141e6 5082 PyObject * obj1 = 0 ;
d14a1e28
RD
5083 PyObject * obj2 = 0 ;
5084 PyObject * obj3 = 0 ;
5085 PyObject * obj4 = 0 ;
994141e6 5086 PyObject * obj5 = 0 ;
d14a1e28
RD
5087 PyObject * obj6 = 0 ;
5088 PyObject * obj7 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5091 };
5092
994141e6 5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5096 arg2 = (int) SWIG_AsInt(obj1);
5097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5098 if (obj2) {
5099 {
5100 arg3 = &temp3;
5101 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5102 }
5103 }
5104 if (obj3) {
5105 {
5106 arg4 = &temp4;
5107 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5108 }
5109 }
5110 if (obj4) {
5111 {
4d5c3d91
RD
5112 if (! PySequence_Check(obj4)) {
5113 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5114 SWIG_fail;
5115 }
5116 arg5 = new wxArrayString;
3adfb63b 5117 temp5 = True;
4d5c3d91
RD
5118 int i, len=PySequence_Length(obj4);
5119 for (i=0; i<len; i++) {
5120 PyObject* item = PySequence_GetItem(obj4, i);
5121#if wxUSE_UNICODE
5122 PyObject* str = PyObject_Unicode(item);
5123#else
5124 PyObject* str = PyObject_Str(item);
5125#endif
5126 arg5->Add(Py2wxString(str));
5127 Py_DECREF(item);
5128 Py_DECREF(str);
5129 }
d14a1e28
RD
5130 }
5131 }
994141e6 5132 if (obj5) {
15afbcd0
RD
5133 arg6 = (long) SWIG_AsLong(obj5);
5134 if (PyErr_Occurred()) SWIG_fail;
994141e6 5135 }
d14a1e28 5136 if (obj6) {
15afbcd0
RD
5137 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5138 SWIG_POINTER_EXCEPTION | 0)) == -1)
5139 SWIG_fail;
4d5c3d91 5140 if (arg7 == NULL) {
15afbcd0
RD
5141 PyErr_SetString(PyExc_TypeError,"null reference");
5142 SWIG_fail;
d14a1e28
RD
5143 }
5144 }
5145 if (obj7) {
5146 {
4d5c3d91
RD
5147 arg8 = wxString_in_helper(obj7);
5148 if (arg8 == NULL) SWIG_fail;
e811c8ce 5149 temp8 = True;
d14a1e28
RD
5150 }
5151 }
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5154 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
5155
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
15afbcd0 5159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 5160 {
3adfb63b 5161 if (temp5) delete arg5;
d14a1e28
RD
5162 }
5163 {
5164 if (temp8)
4d5c3d91 5165 delete arg8;
d14a1e28
RD
5166 }
5167 return resultobj;
5168 fail:
5169 {
3adfb63b 5170 if (temp5) delete arg5;
d14a1e28
RD
5171 }
5172 {
5173 if (temp8)
4d5c3d91 5174 delete arg8;
d14a1e28
RD
5175 }
5176 return NULL;
5177}
5178
5179
5180static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5181 PyObject *resultobj;
5182 wxListBox *result;
5183 char *kwnames[] = {
5184 NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5188 {
5189 PyThreadState* __tstate = wxPyBeginAllowThreads();
5190 result = (wxListBox *)new wxListBox();
5191
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
15afbcd0 5195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
5196 return resultobj;
5197 fail:
5198 return NULL;
5199}
5200
5201
5202static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj;
5204 wxListBox *arg1 = (wxListBox *) 0 ;
5205 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 5206 int arg3 ;
d14a1e28
RD
5207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5209 wxSize const &arg5_defvalue = wxDefaultSize ;
5210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
5211 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5212 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5213 long arg7 = (long) 0 ;
5214 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5215 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5216 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5217 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
5218 bool result;
5219 wxPoint temp4 ;
5220 wxSize temp5 ;
3adfb63b 5221 bool temp6 = False ;
e811c8ce 5222 bool temp9 = False ;
d14a1e28
RD
5223 PyObject * obj0 = 0 ;
5224 PyObject * obj1 = 0 ;
994141e6 5225 PyObject * obj2 = 0 ;
d14a1e28
RD
5226 PyObject * obj3 = 0 ;
5227 PyObject * obj4 = 0 ;
5228 PyObject * obj5 = 0 ;
994141e6 5229 PyObject * obj6 = 0 ;
d14a1e28
RD
5230 PyObject * obj7 = 0 ;
5231 PyObject * obj8 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5234 };
5235
994141e6 5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
5237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5241 arg3 = (int) SWIG_AsInt(obj2);
5242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5243 if (obj3) {
5244 {
5245 arg4 = &temp4;
5246 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5247 }
5248 }
5249 if (obj4) {
5250 {
5251 arg5 = &temp5;
5252 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5253 }
5254 }
5255 if (obj5) {
5256 {
4d5c3d91
RD
5257 if (! PySequence_Check(obj5)) {
5258 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5259 SWIG_fail;
5260 }
5261 arg6 = new wxArrayString;
3adfb63b 5262 temp6 = True;
4d5c3d91
RD
5263 int i, len=PySequence_Length(obj5);
5264 for (i=0; i<len; i++) {
5265 PyObject* item = PySequence_GetItem(obj5, i);
5266#if wxUSE_UNICODE
5267 PyObject* str = PyObject_Unicode(item);
5268#else
5269 PyObject* str = PyObject_Str(item);
5270#endif
5271 arg6->Add(Py2wxString(str));
5272 Py_DECREF(item);
5273 Py_DECREF(str);
5274 }
d14a1e28
RD
5275 }
5276 }
994141e6 5277 if (obj6) {
15afbcd0
RD
5278 arg7 = (long) SWIG_AsLong(obj6);
5279 if (PyErr_Occurred()) SWIG_fail;
994141e6 5280 }
d14a1e28 5281 if (obj7) {
15afbcd0
RD
5282 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5283 SWIG_POINTER_EXCEPTION | 0)) == -1)
5284 SWIG_fail;
4d5c3d91 5285 if (arg8 == NULL) {
15afbcd0
RD
5286 PyErr_SetString(PyExc_TypeError,"null reference");
5287 SWIG_fail;
d14a1e28
RD
5288 }
5289 }
5290 if (obj8) {
5291 {
4d5c3d91
RD
5292 arg9 = wxString_in_helper(obj8);
5293 if (arg9 == NULL) SWIG_fail;
e811c8ce 5294 temp9 = True;
d14a1e28
RD
5295 }
5296 }
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5299 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
4f89f6a3
RD
5304 {
5305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5306 }
d14a1e28 5307 {
3adfb63b 5308 if (temp6) delete arg6;
d14a1e28
RD
5309 }
5310 {
5311 if (temp9)
4d5c3d91 5312 delete arg9;
d14a1e28
RD
5313 }
5314 return resultobj;
5315 fail:
5316 {
3adfb63b 5317 if (temp6) delete arg6;
d14a1e28
RD
5318 }
5319 {
5320 if (temp9)
4d5c3d91 5321 delete arg9;
d14a1e28
RD
5322 }
5323 return NULL;
5324}
5325
5326
5327static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxListBox *arg1 = (wxListBox *) 0 ;
5330 wxString *arg2 = 0 ;
5331 int arg3 ;
5332 PyObject *arg4 = (PyObject *) NULL ;
e811c8ce 5333 bool temp2 = False ;
d14a1e28
RD
5334 PyObject * obj0 = 0 ;
5335 PyObject * obj1 = 0 ;
994141e6 5336 PyObject * obj2 = 0 ;
d14a1e28
RD
5337 PyObject * obj3 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5340 };
5341
994141e6 5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5345 {
5346 arg2 = wxString_in_helper(obj1);
5347 if (arg2 == NULL) SWIG_fail;
e811c8ce 5348 temp2 = True;
d14a1e28 5349 }
15afbcd0
RD
5350 arg3 = (int) SWIG_AsInt(obj2);
5351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5352 if (obj3) {
5353 arg4 = obj3;
5354 }
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 Py_INCREF(Py_None); resultobj = Py_None;
5363 {
5364 if (temp2)
5365 delete arg2;
5366 }
5367 return resultobj;
5368 fail:
5369 {
5370 if (temp2)
5371 delete arg2;
5372 }
5373 return NULL;
5374}
5375
5376
5377static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5378 PyObject *resultobj;
5379 wxListBox *arg1 = (wxListBox *) 0 ;
5380 wxArrayString *arg2 = 0 ;
5381 int arg3 ;
3adfb63b 5382 bool temp2 = False ;
d14a1e28
RD
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
994141e6 5385 PyObject * obj2 = 0 ;
d14a1e28
RD
5386 char *kwnames[] = {
5387 (char *) "self",(char *) "items",(char *) "pos", NULL
5388 };
5389
994141e6 5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5393 {
5394 if (! PySequence_Check(obj1)) {
5395 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5396 SWIG_fail;
5397 }
5398 arg2 = new wxArrayString;
3adfb63b 5399 temp2 = True;
d14a1e28
RD
5400 int i, len=PySequence_Length(obj1);
5401 for (i=0; i<len; i++) {
5402 PyObject* item = PySequence_GetItem(obj1, i);
5403#if wxUSE_UNICODE
5404 PyObject* str = PyObject_Unicode(item);
5405#else
5406 PyObject* str = PyObject_Str(item);
5407#endif
5408 arg2->Add(Py2wxString(str));
5409 Py_DECREF(item);
5410 Py_DECREF(str);
5411 }
5412 }
15afbcd0
RD
5413 arg3 = (int) SWIG_AsInt(obj2);
5414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 Py_INCREF(Py_None); resultobj = Py_None;
5423 {
3adfb63b 5424 if (temp2) delete arg2;
d14a1e28
RD
5425 }
5426 return resultobj;
5427 fail:
5428 {
3adfb63b 5429 if (temp2) delete arg2;
d14a1e28
RD
5430 }
5431 return NULL;
5432}
5433
5434
5435static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxListBox *arg1 = (wxListBox *) 0 ;
5438 wxArrayString *arg2 = 0 ;
3adfb63b 5439 bool temp2 = False ;
d14a1e28
RD
5440 PyObject * obj0 = 0 ;
5441 PyObject * obj1 = 0 ;
5442 char *kwnames[] = {
5443 (char *) "self",(char *) "items", NULL
5444 };
5445
5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5449 {
5450 if (! PySequence_Check(obj1)) {
5451 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5452 SWIG_fail;
5453 }
5454 arg2 = new wxArrayString;
3adfb63b 5455 temp2 = True;
d14a1e28
RD
5456 int i, len=PySequence_Length(obj1);
5457 for (i=0; i<len; i++) {
5458 PyObject* item = PySequence_GetItem(obj1, i);
5459#if wxUSE_UNICODE
5460 PyObject* str = PyObject_Unicode(item);
5461#else
5462 PyObject* str = PyObject_Str(item);
5463#endif
5464 arg2->Add(Py2wxString(str));
5465 Py_DECREF(item);
5466 Py_DECREF(str);
5467 }
5468 }
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 (arg1)->Set((wxArrayString const &)*arg2);
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 Py_INCREF(Py_None); resultobj = Py_None;
5477 {
3adfb63b 5478 if (temp2) delete arg2;
d14a1e28
RD
5479 }
5480 return resultobj;
5481 fail:
5482 {
3adfb63b 5483 if (temp2) delete arg2;
d14a1e28
RD
5484 }
5485 return NULL;
5486}
5487
5488
5489static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj;
5491 wxListBox *arg1 = (wxListBox *) 0 ;
5492 int arg2 ;
5493 bool result;
5494 PyObject * obj0 = 0 ;
994141e6 5495 PyObject * obj1 = 0 ;
d14a1e28
RD
5496 char *kwnames[] = {
5497 (char *) "self",(char *) "n", NULL
5498 };
5499
994141e6 5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5503 arg2 = (int) SWIG_AsInt(obj1);
5504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5508
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
4f89f6a3
RD
5512 {
5513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5514 }
d14a1e28
RD
5515 return resultobj;
5516 fail:
5517 return NULL;
5518}
5519
5520
5521static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj;
5523 wxListBox *arg1 = (wxListBox *) 0 ;
5524 int arg2 ;
e811c8ce 5525 bool arg3 = (bool) True ;
d14a1e28 5526 PyObject * obj0 = 0 ;
994141e6 5527 PyObject * obj1 = 0 ;
d14a1e28
RD
5528 PyObject * obj2 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self",(char *) "n",(char *) "select", NULL
5531 };
5532
994141e6 5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5536 arg2 = (int) SWIG_AsInt(obj1);
5537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5538 if (obj2) {
15afbcd0
RD
5539 arg3 = (bool) SWIG_AsBool(obj2);
5540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5541 }
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 (arg1)->SetSelection(arg2,arg3);
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 Py_INCREF(Py_None); resultobj = Py_None;
5550 return resultobj;
5551 fail:
5552 return NULL;
5553}
5554
5555
5556static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxListBox *arg1 = (wxListBox *) 0 ;
5559 int arg2 ;
5560 PyObject * obj0 = 0 ;
994141e6 5561 PyObject * obj1 = 0 ;
d14a1e28
RD
5562 char *kwnames[] = {
5563 (char *) "self",(char *) "n", NULL
5564 };
5565
994141e6 5566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5569 arg2 = (int) SWIG_AsInt(obj1);
5570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 (arg1)->Select(arg2);
5574
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 Py_INCREF(Py_None); resultobj = Py_None;
5579 return resultobj;
5580 fail:
5581 return NULL;
5582}
5583
5584
5585static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxListBox *arg1 = (wxListBox *) 0 ;
5588 int arg2 ;
5589 PyObject * obj0 = 0 ;
994141e6 5590 PyObject * obj1 = 0 ;
d14a1e28
RD
5591 char *kwnames[] = {
5592 (char *) "self",(char *) "n", NULL
5593 };
5594
994141e6 5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5598 arg2 = (int) SWIG_AsInt(obj1);
5599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 (arg1)->Deselect(arg2);
5603
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 Py_INCREF(Py_None); resultobj = Py_None;
5608 return resultobj;
5609 fail:
5610 return NULL;
5611}
5612
5613
5614static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj;
5616 wxListBox *arg1 = (wxListBox *) 0 ;
5617 int arg2 = (int) -1 ;
5618 PyObject * obj0 = 0 ;
994141e6 5619 PyObject * obj1 = 0 ;
d14a1e28
RD
5620 char *kwnames[] = {
5621 (char *) "self",(char *) "itemToLeaveSelected", NULL
5622 };
5623
994141e6 5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5627 if (obj1) {
15afbcd0
RD
5628 arg2 = (int) SWIG_AsInt(obj1);
5629 if (PyErr_Occurred()) SWIG_fail;
994141e6 5630 }
d14a1e28
RD
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 (arg1)->DeselectAll(arg2);
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 Py_INCREF(Py_None); resultobj = Py_None;
5639 return resultobj;
5640 fail:
5641 return NULL;
5642}
5643
5644
5645static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5646 PyObject *resultobj;
5647 wxListBox *arg1 = (wxListBox *) 0 ;
5648 wxString *arg2 = 0 ;
e811c8ce 5649 bool arg3 = (bool) True ;
d14a1e28 5650 bool result;
e811c8ce 5651 bool temp2 = False ;
d14a1e28
RD
5652 PyObject * obj0 = 0 ;
5653 PyObject * obj1 = 0 ;
5654 PyObject * obj2 = 0 ;
5655 char *kwnames[] = {
5656 (char *) "self",(char *) "s",(char *) "select", NULL
5657 };
5658
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5662 {
5663 arg2 = wxString_in_helper(obj1);
5664 if (arg2 == NULL) SWIG_fail;
e811c8ce 5665 temp2 = True;
d14a1e28
RD
5666 }
5667 if (obj2) {
15afbcd0
RD
5668 arg3 = (bool) SWIG_AsBool(obj2);
5669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5670 }
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
4f89f6a3
RD
5678 {
5679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5680 }
d14a1e28
RD
5681 {
5682 if (temp2)
5683 delete arg2;
5684 }
5685 return resultobj;
5686 fail:
5687 {
5688 if (temp2)
5689 delete arg2;
5690 }
5691 return NULL;
5692}
5693
5694
5695static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5696 PyObject *resultobj;
5697 wxListBox *arg1 = (wxListBox *) 0 ;
5698 PyObject *result;
5699 PyObject * obj0 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "self", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
5705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (PyObject *)wxListBox_GetSelections(arg1);
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = result;
5715 return resultobj;
5716 fail:
5717 return NULL;
5718}
5719
5720
5721static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj;
5723 wxListBox *arg1 = (wxListBox *) 0 ;
5724 int arg2 ;
5725 PyObject * obj0 = 0 ;
994141e6 5726 PyObject * obj1 = 0 ;
d14a1e28
RD
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "n", NULL
5729 };
5730
994141e6 5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5734 arg2 = (int) SWIG_AsInt(obj1);
5735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 (arg1)->SetFirstItem(arg2);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 Py_INCREF(Py_None); resultobj = Py_None;
5744 return resultobj;
5745 fail:
5746 return NULL;
5747}
5748
5749
5750static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj;
5752 wxListBox *arg1 = (wxListBox *) 0 ;
5753 wxString *arg2 = 0 ;
e811c8ce 5754 bool temp2 = False ;
d14a1e28
RD
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self",(char *) "s", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5764 {
5765 arg2 = wxString_in_helper(obj1);
5766 if (arg2 == NULL) SWIG_fail;
e811c8ce 5767 temp2 = True;
d14a1e28
RD
5768 }
5769 {
5770 PyThreadState* __tstate = wxPyBeginAllowThreads();
5771 (arg1)->SetFirstItem((wxString const &)*arg2);
5772
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 Py_INCREF(Py_None); resultobj = Py_None;
5777 {
5778 if (temp2)
5779 delete arg2;
5780 }
5781 return resultobj;
5782 fail:
5783 {
5784 if (temp2)
5785 delete arg2;
5786 }
5787 return NULL;
5788}
5789
5790
5791static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5792 PyObject *resultobj;
5793 wxListBox *arg1 = (wxListBox *) 0 ;
5794 int arg2 ;
5795 PyObject * obj0 = 0 ;
994141e6 5796 PyObject * obj1 = 0 ;
d14a1e28
RD
5797 char *kwnames[] = {
5798 (char *) "self",(char *) "n", NULL
5799 };
5800
994141e6 5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5804 arg2 = (int) SWIG_AsInt(obj1);
5805 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 (arg1)->EnsureVisible(arg2);
5809
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 Py_INCREF(Py_None); resultobj = Py_None;
5814 return resultobj;
5815 fail:
5816 return NULL;
5817}
5818
5819
5820static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5821 PyObject *resultobj;
5822 wxListBox *arg1 = (wxListBox *) 0 ;
5823 wxString *arg2 = 0 ;
e811c8ce 5824 bool temp2 = False ;
d14a1e28
RD
5825 PyObject * obj0 = 0 ;
5826 PyObject * obj1 = 0 ;
5827 char *kwnames[] = {
5828 (char *) "self",(char *) "s", NULL
5829 };
5830
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5834 {
5835 arg2 = wxString_in_helper(obj1);
5836 if (arg2 == NULL) SWIG_fail;
e811c8ce 5837 temp2 = True;
d14a1e28
RD
5838 }
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 Py_INCREF(Py_None); resultobj = Py_None;
5847 {
5848 if (temp2)
5849 delete arg2;
5850 }
5851 return resultobj;
5852 fail:
5853 {
5854 if (temp2)
5855 delete arg2;
5856 }
5857 return NULL;
5858}
5859
5860
5861static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj;
5863 wxListBox *arg1 = (wxListBox *) 0 ;
5864 bool result;
5865 PyObject * obj0 = 0 ;
5866 char *kwnames[] = {
5867 (char *) "self", NULL
5868 };
5869
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
15afbcd0
RD
5871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (bool)((wxListBox const *)arg1)->IsSorted();
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
4f89f6a3
RD
5880 {
5881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5882 }
d14a1e28
RD
5883 return resultobj;
5884 fail:
5885 return NULL;
5886}
5887
5888
c3eb6258
RD
5889static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5890 PyObject *resultobj;
5891 wxListBox *arg1 = (wxListBox *) 0 ;
5892 int arg2 ;
5893 wxColour *arg3 = 0 ;
5894 wxColour temp3 ;
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj1 = 0 ;
5897 PyObject * obj2 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self",(char *) "item",(char *) "c", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5905 arg2 = (int) SWIG_AsInt(obj1);
5906 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
5907 {
5908 arg3 = &temp3;
5909 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5910 }
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
5913 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5914
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 Py_INCREF(Py_None); resultobj = Py_None;
5919 return resultobj;
5920 fail:
5921 return NULL;
5922}
5923
5924
5925static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxListBox *arg1 = (wxListBox *) 0 ;
5928 int arg2 ;
5929 wxColour *arg3 = 0 ;
5930 wxColour temp3 ;
5931 PyObject * obj0 = 0 ;
5932 PyObject * obj1 = 0 ;
5933 PyObject * obj2 = 0 ;
5934 char *kwnames[] = {
5935 (char *) "self",(char *) "item",(char *) "c", NULL
5936 };
5937
5938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5941 arg2 = (int) SWIG_AsInt(obj1);
5942 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
5943 {
5944 arg3 = &temp3;
5945 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5946 }
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5950
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 Py_INCREF(Py_None); resultobj = Py_None;
5955 return resultobj;
5956 fail:
5957 return NULL;
5958}
5959
5960
5961static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5962 PyObject *resultobj;
5963 wxListBox *arg1 = (wxListBox *) 0 ;
5964 int arg2 ;
5965 wxFont *arg3 = 0 ;
5966 PyObject * obj0 = 0 ;
5967 PyObject * obj1 = 0 ;
5968 PyObject * obj2 = 0 ;
5969 char *kwnames[] = {
5970 (char *) "self",(char *) "item",(char *) "f", NULL
5971 };
5972
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5976 arg2 = (int) SWIG_AsInt(obj1);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5979 SWIG_POINTER_EXCEPTION | 0)) == -1)
5980 SWIG_fail;
c3eb6258 5981 if (arg3 == NULL) {
15afbcd0
RD
5982 PyErr_SetString(PyExc_TypeError,"null reference");
5983 SWIG_fail;
c3eb6258
RD
5984 }
5985 {
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5988
5989 wxPyEndAllowThreads(__tstate);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 }
5992 Py_INCREF(Py_None); resultobj = Py_None;
5993 return resultobj;
5994 fail:
5995 return NULL;
5996}
5997
5998
d14a1e28
RD
5999static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6000 PyObject *obj;
6001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6002 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6003 Py_INCREF(obj);
6004 return Py_BuildValue((char *)"");
6005}
6006static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6009 int arg2 ;
d14a1e28
RD
6010 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6011 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6012 wxSize const &arg4_defvalue = wxDefaultSize ;
6013 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
6014 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6015 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6016 long arg6 = (long) 0 ;
6017 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6018 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6019 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6020 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
6021 wxCheckListBox *result;
6022 wxPoint temp3 ;
6023 wxSize temp4 ;
3adfb63b 6024 bool temp5 = False ;
e811c8ce 6025 bool temp8 = False ;
d14a1e28 6026 PyObject * obj0 = 0 ;
994141e6 6027 PyObject * obj1 = 0 ;
d14a1e28
RD
6028 PyObject * obj2 = 0 ;
6029 PyObject * obj3 = 0 ;
6030 PyObject * obj4 = 0 ;
994141e6 6031 PyObject * obj5 = 0 ;
d14a1e28
RD
6032 PyObject * obj6 = 0 ;
6033 PyObject * obj7 = 0 ;
6034 char *kwnames[] = {
6035 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6036 };
6037
994141e6 6038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
6039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6041 arg2 = (int) SWIG_AsInt(obj1);
6042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6043 if (obj2) {
6044 {
6045 arg3 = &temp3;
6046 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6047 }
6048 }
6049 if (obj3) {
6050 {
6051 arg4 = &temp4;
6052 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6053 }
6054 }
6055 if (obj4) {
6056 {
4d5c3d91
RD
6057 if (! PySequence_Check(obj4)) {
6058 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6059 SWIG_fail;
6060 }
6061 arg5 = new wxArrayString;
3adfb63b 6062 temp5 = True;
4d5c3d91
RD
6063 int i, len=PySequence_Length(obj4);
6064 for (i=0; i<len; i++) {
6065 PyObject* item = PySequence_GetItem(obj4, i);
6066#if wxUSE_UNICODE
6067 PyObject* str = PyObject_Unicode(item);
6068#else
6069 PyObject* str = PyObject_Str(item);
6070#endif
6071 arg5->Add(Py2wxString(str));
6072 Py_DECREF(item);
6073 Py_DECREF(str);
6074 }
d14a1e28
RD
6075 }
6076 }
994141e6 6077 if (obj5) {
15afbcd0
RD
6078 arg6 = (long) SWIG_AsLong(obj5);
6079 if (PyErr_Occurred()) SWIG_fail;
994141e6 6080 }
d14a1e28 6081 if (obj6) {
15afbcd0
RD
6082 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6083 SWIG_POINTER_EXCEPTION | 0)) == -1)
6084 SWIG_fail;
4d5c3d91 6085 if (arg7 == NULL) {
15afbcd0
RD
6086 PyErr_SetString(PyExc_TypeError,"null reference");
6087 SWIG_fail;
d14a1e28
RD
6088 }
6089 }
6090 if (obj7) {
6091 {
4d5c3d91
RD
6092 arg8 = wxString_in_helper(obj7);
6093 if (arg8 == NULL) SWIG_fail;
e811c8ce 6094 temp8 = True;
d14a1e28
RD
6095 }
6096 }
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6099 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
6100
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
15afbcd0 6104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 6105 {
3adfb63b 6106 if (temp5) delete arg5;
d14a1e28
RD
6107 }
6108 {
6109 if (temp8)
4d5c3d91 6110 delete arg8;
d14a1e28
RD
6111 }
6112 return resultobj;
6113 fail:
6114 {
3adfb63b 6115 if (temp5) delete arg5;
d14a1e28
RD
6116 }
6117 {
6118 if (temp8)
4d5c3d91 6119 delete arg8;
d14a1e28
RD
6120 }
6121 return NULL;
6122}
6123
6124
6125static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject *resultobj;
6127 wxCheckListBox *result;
6128 char *kwnames[] = {
6129 NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 result = (wxCheckListBox *)new wxCheckListBox();
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
15afbcd0 6140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
6141 return resultobj;
6142 fail:
6143 return NULL;
6144}
6145
6146
6147static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6148 PyObject *resultobj;
6149 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6150 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6151 int arg3 ;
d14a1e28
RD
6152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6154 wxSize const &arg5_defvalue = wxDefaultSize ;
6155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
6156 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6157 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6158 long arg7 = (long) 0 ;
6159 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6160 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6161 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6162 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
6163 bool result;
6164 wxPoint temp4 ;
6165 wxSize temp5 ;
3adfb63b 6166 bool temp6 = False ;
e811c8ce 6167 bool temp9 = False ;
d14a1e28
RD
6168 PyObject * obj0 = 0 ;
6169 PyObject * obj1 = 0 ;
994141e6 6170 PyObject * obj2 = 0 ;
d14a1e28
RD
6171 PyObject * obj3 = 0 ;
6172 PyObject * obj4 = 0 ;
6173 PyObject * obj5 = 0 ;
994141e6 6174 PyObject * obj6 = 0 ;
d14a1e28
RD
6175 PyObject * obj7 = 0 ;
6176 PyObject * obj8 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6179 };
6180
994141e6 6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
6182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6186 arg3 = (int) SWIG_AsInt(obj2);
6187 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6188 if (obj3) {
6189 {
6190 arg4 = &temp4;
6191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6192 }
6193 }
6194 if (obj4) {
6195 {
6196 arg5 = &temp5;
6197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6198 }
6199 }
6200 if (obj5) {
6201 {
4d5c3d91
RD
6202 if (! PySequence_Check(obj5)) {
6203 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6204 SWIG_fail;
6205 }
6206 arg6 = new wxArrayString;
3adfb63b 6207 temp6 = True;
4d5c3d91
RD
6208 int i, len=PySequence_Length(obj5);
6209 for (i=0; i<len; i++) {
6210 PyObject* item = PySequence_GetItem(obj5, i);
6211#if wxUSE_UNICODE
6212 PyObject* str = PyObject_Unicode(item);
6213#else
6214 PyObject* str = PyObject_Str(item);
6215#endif
6216 arg6->Add(Py2wxString(str));
6217 Py_DECREF(item);
6218 Py_DECREF(str);
6219 }
d14a1e28
RD
6220 }
6221 }
994141e6 6222 if (obj6) {
15afbcd0
RD
6223 arg7 = (long) SWIG_AsLong(obj6);
6224 if (PyErr_Occurred()) SWIG_fail;
994141e6 6225 }
d14a1e28 6226 if (obj7) {
15afbcd0
RD
6227 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6228 SWIG_POINTER_EXCEPTION | 0)) == -1)
6229 SWIG_fail;
4d5c3d91 6230 if (arg8 == NULL) {
15afbcd0
RD
6231 PyErr_SetString(PyExc_TypeError,"null reference");
6232 SWIG_fail;
d14a1e28
RD
6233 }
6234 }
6235 if (obj8) {
6236 {
4d5c3d91
RD
6237 arg9 = wxString_in_helper(obj8);
6238 if (arg9 == NULL) SWIG_fail;
e811c8ce 6239 temp9 = True;
d14a1e28
RD
6240 }
6241 }
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6244 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
4f89f6a3
RD
6249 {
6250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6251 }
d14a1e28 6252 {
3adfb63b 6253 if (temp6) delete arg6;
d14a1e28
RD
6254 }
6255 {
6256 if (temp9)
4d5c3d91 6257 delete arg9;
d14a1e28
RD
6258 }
6259 return resultobj;
6260 fail:
6261 {
3adfb63b 6262 if (temp6) delete arg6;
d14a1e28
RD
6263 }
6264 {
6265 if (temp9)
4d5c3d91 6266 delete arg9;
d14a1e28
RD
6267 }
6268 return NULL;
6269}
6270
6271
6272static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj;
6274 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6275 int arg2 ;
6276 bool result;
6277 PyObject * obj0 = 0 ;
994141e6 6278 PyObject * obj1 = 0 ;
d14a1e28
RD
6279 char *kwnames[] = {
6280 (char *) "self",(char *) "index", NULL
6281 };
6282
994141e6 6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6286 arg2 = (int) SWIG_AsInt(obj1);
6287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6288 {
6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
6290 result = (bool)(arg1)->IsChecked(arg2);
6291
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
4f89f6a3
RD
6295 {
6296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6297 }
d14a1e28
RD
6298 return resultobj;
6299 fail:
6300 return NULL;
6301}
6302
6303
6304static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject *resultobj;
6306 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6307 int arg2 ;
e811c8ce 6308 int arg3 = (int) True ;
d14a1e28 6309 PyObject * obj0 = 0 ;
994141e6
RD
6310 PyObject * obj1 = 0 ;
6311 PyObject * obj2 = 0 ;
d14a1e28
RD
6312 char *kwnames[] = {
6313 (char *) "self",(char *) "index",(char *) "check", NULL
6314 };
6315
994141e6 6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6319 arg2 = (int) SWIG_AsInt(obj1);
6320 if (PyErr_Occurred()) SWIG_fail;
994141e6 6321 if (obj2) {
15afbcd0
RD
6322 arg3 = (int) SWIG_AsInt(obj2);
6323 if (PyErr_Occurred()) SWIG_fail;
994141e6 6324 }
d14a1e28
RD
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 (arg1)->Check(arg2,arg3);
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 Py_INCREF(Py_None); resultobj = Py_None;
6333 return resultobj;
6334 fail:
6335 return NULL;
6336}
6337
6338
6339static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6342 int result;
6343 PyObject * obj0 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
6349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (int)(arg1)->GetItemHeight();
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
15afbcd0 6358 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6359 return resultobj;
6360 fail:
6361 return NULL;
6362}
6363
6364
6365static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj;
6367 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6368 wxPoint *arg2 = 0 ;
6369 int result;
6370 wxPoint temp2 ;
6371 PyObject * obj0 = 0 ;
6372 PyObject * obj1 = 0 ;
6373 char *kwnames[] = {
6374 (char *) "self",(char *) "pt", NULL
6375 };
6376
6377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6380 {
6381 arg2 = &temp2;
6382 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6383 }
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
15afbcd0 6391 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6392 return resultobj;
6393 fail:
6394 return NULL;
6395}
6396
6397
6398static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
6401 int arg2 ;
6402 int arg3 ;
d14a1e28
RD
6403 int result;
6404 PyObject * obj0 = 0 ;
994141e6
RD
6405 PyObject * obj1 = 0 ;
6406 PyObject * obj2 = 0 ;
d14a1e28
RD
6407 char *kwnames[] = {
6408 (char *) "self",(char *) "x",(char *) "y", NULL
6409 };
6410
994141e6 6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6414 arg2 = (int) SWIG_AsInt(obj1);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 arg3 = (int) SWIG_AsInt(obj2);
6417 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
15afbcd0 6425 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6426 return resultobj;
6427 fail:
6428 return NULL;
6429}
6430
6431
6432static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6433 PyObject *obj;
6434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6435 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6436 Py_INCREF(obj);
6437 return Py_BuildValue((char *)"");
6438}
b2dc1044
RD
6439static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6440 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6441 return 1;
6442}
6443
6444
6445static PyObject *_wrap_TextCtrlNameStr_get() {
6446 PyObject *pyobj;
6447
6448 {
6449#if wxUSE_UNICODE
6450 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6451#else
6452 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6453#endif
6454 }
6455 return pyobj;
6456}
6457
6458
d14a1e28
RD
6459static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6460 PyObject *resultobj;
6461 wxTextAttr *result;
6462
6463 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 result = (wxTextAttr *)new wxTextAttr();
6467
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
15afbcd0 6471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
6472 return resultobj;
6473 fail:
6474 return NULL;
6475}
6476
6477
6478static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6479 PyObject *resultobj;
6480 wxColour *arg1 = 0 ;
6481 wxColour const &arg2_defvalue = wxNullColour ;
6482 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6483 wxFont const &arg3_defvalue = wxNullFont ;
6484 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6485 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6486 wxTextAttr *result;
6487 wxColour temp1 ;
6488 wxColour temp2 ;
6489 PyObject * obj0 = 0 ;
6490 PyObject * obj1 = 0 ;
6491 PyObject * obj2 = 0 ;
994141e6 6492 PyObject * obj3 = 0 ;
d14a1e28 6493
994141e6 6494 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
6495 {
6496 arg1 = &temp1;
6497 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6498 }
6499 if (obj1) {
6500 {
6501 arg2 = &temp2;
6502 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6503 }
6504 }
6505 if (obj2) {
15afbcd0
RD
6506 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6507 SWIG_POINTER_EXCEPTION | 0)) == -1)
6508 SWIG_fail;
d14a1e28 6509 if (arg3 == NULL) {
15afbcd0
RD
6510 PyErr_SetString(PyExc_TypeError,"null reference");
6511 SWIG_fail;
d14a1e28
RD
6512 }
6513 }
994141e6 6514 if (obj3) {
15afbcd0
RD
6515 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6516 if (PyErr_Occurred()) SWIG_fail;
994141e6 6517 }
d14a1e28
RD
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
15afbcd0 6525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
6526 return resultobj;
6527 fail:
6528 return NULL;
6529}
6530
6531
6532static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6533 int argc;
6534 PyObject *argv[5];
6535 int ii;
6536
6537 argc = PyObject_Length(args);
6538 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6539 argv[ii] = PyTuple_GetItem(args,ii);
6540 }
6541 if (argc == 0) {
6542 return _wrap_new_TextAttr__SWIG_0(self,args);
6543 }
6544 if ((argc >= 1) && (argc <= 4)) {
6545 int _v;
6546 {
6547 _v = wxColour_typecheck(argv[0]);
6548 }
6549 if (_v) {
6550 if (argc <= 1) {
6551 return _wrap_new_TextAttr__SWIG_1(self,args);
6552 }
6553 {
6554 _v = wxColour_typecheck(argv[1]);
6555 }
6556 if (_v) {
6557 if (argc <= 2) {
6558 return _wrap_new_TextAttr__SWIG_1(self,args);
6559 }
6560 {
6561 void *ptr;
15afbcd0 6562 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
d14a1e28
RD
6563 _v = 0;
6564 PyErr_Clear();
6565 } else {
6566 _v = 1;
6567 }
6568 }
6569 if (_v) {
6570 if (argc <= 3) {
6571 return _wrap_new_TextAttr__SWIG_1(self,args);
6572 }
15afbcd0 6573 _v = SWIG_CheckInt(argv[3]);
994141e6
RD
6574 if (_v) {
6575 return _wrap_new_TextAttr__SWIG_1(self,args);
6576 }
d14a1e28
RD
6577 }
6578 }
6579 }
6580 }
6581
6582 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6583 return NULL;
6584}
6585
6586
994141e6 6587static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6588 PyObject *resultobj;
6589 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6590 PyObject * obj0 = 0 ;
6591 char *kwnames[] = {
6592 (char *) "self", NULL
6593 };
6594
994141e6 6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
15afbcd0
RD
6596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
994141e6 6600 delete arg1;
d14a1e28
RD
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 Py_INCREF(Py_None); resultobj = Py_None;
6606 return resultobj;
6607 fail:
6608 return NULL;
6609}
6610
6611
994141e6
RD
6612static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
15afbcd0
RD
6621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 (arg1)->Init();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 Py_INCREF(Py_None); resultobj = Py_None;
6631 return resultobj;
6632 fail:
6633 return NULL;
6634}
6635
6636
6637static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6638 PyObject *resultobj;
6639 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6640 wxColour *arg2 = 0 ;
6641 wxColour temp2 ;
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self",(char *) "colText", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6651 {
6652 arg2 = &temp2;
6653 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6654 }
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 (arg1)->SetTextColour((wxColour const &)*arg2);
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 Py_INCREF(Py_None); resultobj = Py_None;
6663 return resultobj;
6664 fail:
6665 return NULL;
6666}
6667
6668
6669static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj;
6671 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6672 wxColour *arg2 = 0 ;
6673 wxColour temp2 ;
6674 PyObject * obj0 = 0 ;
6675 PyObject * obj1 = 0 ;
6676 char *kwnames[] = {
6677 (char *) "self",(char *) "colBack", NULL
6678 };
6679
6680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6683 {
6684 arg2 = &temp2;
6685 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6686 }
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 Py_INCREF(Py_None); resultobj = Py_None;
6695 return resultobj;
6696 fail:
6697 return NULL;
6698}
6699
6700
6701static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6704 wxFont *arg2 = 0 ;
6705 long arg3 = (long) wxTEXT_ATTR_FONT ;
6706 PyObject * obj0 = 0 ;
6707 PyObject * obj1 = 0 ;
994141e6 6708 PyObject * obj2 = 0 ;
d14a1e28
RD
6709 char *kwnames[] = {
6710 (char *) "self",(char *) "font",(char *) "flags", NULL
6711 };
6712
994141e6 6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6717 SWIG_POINTER_EXCEPTION | 0)) == -1)
6718 SWIG_fail;
d14a1e28 6719 if (arg2 == NULL) {
15afbcd0
RD
6720 PyErr_SetString(PyExc_TypeError,"null reference");
6721 SWIG_fail;
d14a1e28 6722 }
994141e6 6723 if (obj2) {
15afbcd0
RD
6724 arg3 = (long) SWIG_AsLong(obj2);
6725 if (PyErr_Occurred()) SWIG_fail;
994141e6 6726 }
d14a1e28
RD
6727 {
6728 PyThreadState* __tstate = wxPyBeginAllowThreads();
6729 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6730
6731 wxPyEndAllowThreads(__tstate);
6732 if (PyErr_Occurred()) SWIG_fail;
6733 }
6734 Py_INCREF(Py_None); resultobj = Py_None;
6735 return resultobj;
6736 fail:
6737 return NULL;
6738}
6739
6740
6741static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj;
6743 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6744 int arg2 ;
6745 PyObject * obj0 = 0 ;
994141e6 6746 PyObject * obj1 = 0 ;
d14a1e28
RD
6747 char *kwnames[] = {
6748 (char *) "self",(char *) "alignment", NULL
6749 };
6750
994141e6 6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6754 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6755 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 Py_INCREF(Py_None); resultobj = Py_None;
6764 return resultobj;
6765 fail:
6766 return NULL;
6767}
6768
6769
6770static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6773 wxArrayInt *arg2 = 0 ;
3adfb63b 6774 bool temp2 = False ;
d14a1e28
RD
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6777 char *kwnames[] = {
6778 (char *) "self",(char *) "tabs", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6784 {
6785 if (! PySequence_Check(obj1)) {
6786 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6787 SWIG_fail;
6788 }
6789 arg2 = new wxArrayInt;
3adfb63b 6790 temp2 = True;
d14a1e28
RD
6791 int i, len=PySequence_Length(obj1);
6792 for (i=0; i<len; i++) {
6793 PyObject* item = PySequence_GetItem(obj1, i);
6794 PyObject* number = PyNumber_Int(item);
6795 arg2->Add(PyInt_AS_LONG(number));
6796 Py_DECREF(item);
6797 Py_DECREF(number);
6798 }
6799 }
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6803
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 Py_INCREF(Py_None); resultobj = Py_None;
6808 {
3adfb63b 6809 if (temp2) delete arg2;
d14a1e28
RD
6810 }
6811 return resultobj;
6812 fail:
6813 {
3adfb63b 6814 if (temp2) delete arg2;
d14a1e28
RD
6815 }
6816 return NULL;
6817}
6818
6819
6820static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6823 int arg2 ;
6824 PyObject * obj0 = 0 ;
994141e6 6825 PyObject * obj1 = 0 ;
d14a1e28
RD
6826 char *kwnames[] = {
6827 (char *) "self",(char *) "indent", NULL
6828 };
6829
994141e6 6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6833 arg2 = (int) SWIG_AsInt(obj1);
6834 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 (arg1)->SetLeftIndent(arg2);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 Py_INCREF(Py_None); resultobj = Py_None;
6843 return resultobj;
6844 fail:
6845 return NULL;
6846}
6847
6848
6849static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6852 int arg2 ;
6853 PyObject * obj0 = 0 ;
994141e6 6854 PyObject * obj1 = 0 ;
d14a1e28
RD
6855 char *kwnames[] = {
6856 (char *) "self",(char *) "indent", NULL
6857 };
6858
994141e6 6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6862 arg2 = (int) SWIG_AsInt(obj1);
6863 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 (arg1)->SetRightIndent(arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 Py_INCREF(Py_None); resultobj = Py_None;
6872 return resultobj;
6873 fail:
6874 return NULL;
6875}
6876
6877
6878static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6881 long arg2 ;
6882 PyObject * obj0 = 0 ;
994141e6 6883 PyObject * obj1 = 0 ;
d14a1e28
RD
6884 char *kwnames[] = {
6885 (char *) "self",(char *) "flags", NULL
6886 };
6887
994141e6 6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6891 arg2 = (long) SWIG_AsLong(obj1);
6892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 (arg1)->SetFlags(arg2);
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 Py_INCREF(Py_None); resultobj = Py_None;
6901 return resultobj;
6902 fail:
6903 return NULL;
6904}
6905
6906
6907static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6910 bool result;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
6917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
4f89f6a3
RD
6926 {
6927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6928 }
d14a1e28
RD
6929 return resultobj;
6930 fail:
6931 return NULL;
6932}
6933
6934
6935static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6938 bool result;
6939 PyObject * obj0 = 0 ;
6940 char *kwnames[] = {
6941 (char *) "self", NULL
6942 };
6943
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
6945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6947 {
6948 PyThreadState* __tstate = wxPyBeginAllowThreads();
6949 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6950
6951 wxPyEndAllowThreads(__tstate);
6952 if (PyErr_Occurred()) SWIG_fail;
6953 }
4f89f6a3
RD
6954 {
6955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6956 }
d14a1e28
RD
6957 return resultobj;
6958 fail:
6959 return NULL;
6960}
6961
6962
6963static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj;
6965 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6966 bool result;
6967 PyObject * obj0 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
6973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
4f89f6a3
RD
6982 {
6983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6984 }
d14a1e28
RD
6985 return resultobj;
6986 fail:
6987 return NULL;
6988}
6989
6990
6991static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6992 PyObject *resultobj;
6993 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6994 bool result;
6995 PyObject * obj0 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
4f89f6a3
RD
7010 {
7011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7012 }
d14a1e28
RD
7013 return resultobj;
7014 fail:
7015 return NULL;
7016}
7017
7018
7019static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7020 PyObject *resultobj;
7021 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7022 bool result;
7023 PyObject * obj0 = 0 ;
7024 char *kwnames[] = {
7025 (char *) "self", NULL
7026 };
7027
7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
4f89f6a3
RD
7038 {
7039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7040 }
d14a1e28
RD
7041 return resultobj;
7042 fail:
7043 return NULL;
7044}
7045
7046
7047static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7050 bool result;
7051 PyObject * obj0 = 0 ;
7052 char *kwnames[] = {
7053 (char *) "self", NULL
7054 };
7055
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
4f89f6a3
RD
7066 {
7067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7068 }
d14a1e28
RD
7069 return resultobj;
7070 fail:
7071 return NULL;
7072}
7073
7074
7075static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7076 PyObject *resultobj;
7077 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7078 bool result;
7079 PyObject * obj0 = 0 ;
7080 char *kwnames[] = {
7081 (char *) "self", NULL
7082 };
7083
7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7087 {
7088 PyThreadState* __tstate = wxPyBeginAllowThreads();
7089 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7090
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
4f89f6a3
RD
7094 {
7095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7096 }
d14a1e28
RD
7097 return resultobj;
7098 fail:
7099 return NULL;
7100}
7101
7102
7103static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj;
7105 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7106 long arg2 ;
7107 bool result;
7108 PyObject * obj0 = 0 ;
994141e6 7109 PyObject * obj1 = 0 ;
d14a1e28
RD
7110 char *kwnames[] = {
7111 (char *) "self",(char *) "flag", NULL
7112 };
7113
994141e6 7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7117 arg2 = (long) SWIG_AsLong(obj1);
7118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
4f89f6a3
RD
7126 {
7127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7128 }
d14a1e28
RD
7129 return resultobj;
7130 fail:
7131 return NULL;
7132}
7133
7134
7135static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj;
7137 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7138 wxColour *result;
7139 PyObject * obj0 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 {
7150 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7151 result = (wxColour *) &_result_ref;
7152 }
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
15afbcd0 7157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7158 return resultobj;
7159 fail:
7160 return NULL;
7161}
7162
7163
7164static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7167 wxColour *result;
7168 PyObject * obj0 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 {
7179 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7180 result = (wxColour *) &_result_ref;
7181 }
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
15afbcd0 7186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7187 return resultobj;
7188 fail:
7189 return NULL;
7190}
7191
7192
7193static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj;
7195 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7196 wxFont *result;
7197 PyObject * obj0 = 0 ;
7198 char *kwnames[] = {
7199 (char *) "self", NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
7203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 {
7208 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7209 result = (wxFont *) &_result_ref;
7210 }
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
4276dc52
RD
7215 {
7216 wxFont* resultptr = new wxFont(*result);
7217 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7218 }
d14a1e28
RD
7219 return resultobj;
7220 fail:
7221 return NULL;
7222}
7223
7224
7225static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj;
7227 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7228 int result;
7229 PyObject * obj0 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
15afbcd0 7244 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7245 return resultobj;
7246 fail:
7247 return NULL;
7248}
7249
7250
7251static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7254 wxArrayInt *result;
7255 PyObject * obj0 = 0 ;
7256 char *kwnames[] = {
7257 (char *) "self", NULL
7258 };
7259
7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 {
7266 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7267 result = (wxArrayInt *) &_result_ref;
7268 }
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 {
7274 resultobj = PyList_New(0);
7275 size_t idx;
7276 for (idx = 0; idx < result->GetCount(); idx += 1) {
7277 PyObject* val = PyInt_FromLong( result->Item(idx) );
7278 PyList_Append(resultobj, val);
7279 Py_DECREF(val);
7280 }
7281 }
7282 return resultobj;
7283 fail:
7284 return NULL;
7285}
7286
7287
7288static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7289 PyObject *resultobj;
7290 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7291 long result;
7292 PyObject * obj0 = 0 ;
7293 char *kwnames[] = {
7294 (char *) "self", NULL
7295 };
7296
7297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7300 {
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7303
7304 wxPyEndAllowThreads(__tstate);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
15afbcd0 7307 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7308 return resultobj;
7309 fail:
7310 return NULL;
7311}
7312
7313
7314static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject *resultobj;
7316 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7317 long result;
7318 PyObject * obj0 = 0 ;
7319 char *kwnames[] = {
7320 (char *) "self", NULL
7321 };
7322
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
15afbcd0 7333 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7334 return resultobj;
7335 fail:
7336 return NULL;
7337}
7338
7339
7340static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject *resultobj;
7342 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7343 long result;
7344 PyObject * obj0 = 0 ;
7345 char *kwnames[] = {
7346 (char *) "self", NULL
7347 };
7348
7349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
7350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7352 {
7353 PyThreadState* __tstate = wxPyBeginAllowThreads();
7354 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7355
7356 wxPyEndAllowThreads(__tstate);
7357 if (PyErr_Occurred()) SWIG_fail;
7358 }
15afbcd0 7359 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7360 return resultobj;
7361 fail:
7362 return NULL;
7363}
7364
7365
7366static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7367 PyObject *resultobj;
7368 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7369 bool result;
7370 PyObject * obj0 = 0 ;
7371 char *kwnames[] = {
7372 (char *) "self", NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
7376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
4f89f6a3
RD
7385 {
7386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7387 }
d14a1e28
RD
7388 return resultobj;
7389 fail:
7390 return NULL;
7391}
7392
7393
7394static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj;
7396 wxTextAttr *arg1 = 0 ;
7397 wxTextAttr *arg2 = 0 ;
7398 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7399 wxTextAttr result;
7400 PyObject * obj0 = 0 ;
7401 PyObject * obj1 = 0 ;
7402 PyObject * obj2 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7409 SWIG_POINTER_EXCEPTION | 0)) == -1)
7410 SWIG_fail;
d14a1e28 7411 if (arg1 == NULL) {
15afbcd0
RD
7412 PyErr_SetString(PyExc_TypeError,"null reference");
7413 SWIG_fail;
d14a1e28 7414 }
15afbcd0
RD
7415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7416 SWIG_POINTER_EXCEPTION | 0)) == -1)
7417 SWIG_fail;
d14a1e28 7418 if (arg2 == NULL) {
15afbcd0
RD
7419 PyErr_SetString(PyExc_TypeError,"null reference");
7420 SWIG_fail;
d14a1e28 7421 }
15afbcd0
RD
7422 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 {
7432 wxTextAttr * resultptr;
7433 resultptr = new wxTextAttr((wxTextAttr &) result);
15afbcd0 7434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
7435 }
7436 return resultobj;
7437 fail:
7438 return NULL;
7439}
7440
7441
7442static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7443 PyObject *obj;
7444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7445 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7446 Py_INCREF(obj);
7447 return Py_BuildValue((char *)"");
7448}
7449static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 7452 int arg2 ;
d14a1e28
RD
7453 wxString const &arg3_defvalue = wxPyEmptyString ;
7454 wxString *arg3 = (wxString *) &arg3_defvalue ;
7455 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7456 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7457 wxSize const &arg5_defvalue = wxDefaultSize ;
7458 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7459 long arg6 = (long) 0 ;
7460 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7461 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7462 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7463 wxString *arg8 = (wxString *) &arg8_defvalue ;
7464 wxTextCtrl *result;
e811c8ce 7465 bool temp3 = False ;
d14a1e28
RD
7466 wxPoint temp4 ;
7467 wxSize temp5 ;
e811c8ce 7468 bool temp8 = False ;
d14a1e28 7469 PyObject * obj0 = 0 ;
994141e6 7470 PyObject * obj1 = 0 ;
d14a1e28
RD
7471 PyObject * obj2 = 0 ;
7472 PyObject * obj3 = 0 ;
7473 PyObject * obj4 = 0 ;
994141e6 7474 PyObject * obj5 = 0 ;
d14a1e28
RD
7475 PyObject * obj6 = 0 ;
7476 PyObject * obj7 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7479 };
7480
994141e6 7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
7482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7484 arg2 = (int) SWIG_AsInt(obj1);
7485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7486 if (obj2) {
7487 {
7488 arg3 = wxString_in_helper(obj2);
7489 if (arg3 == NULL) SWIG_fail;
e811c8ce 7490 temp3 = True;
d14a1e28
RD
7491 }
7492 }
7493 if (obj3) {
7494 {
7495 arg4 = &temp4;
7496 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7497 }
7498 }
7499 if (obj4) {
7500 {
7501 arg5 = &temp5;
7502 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7503 }
7504 }
994141e6 7505 if (obj5) {
15afbcd0
RD
7506 arg6 = (long) SWIG_AsLong(obj5);
7507 if (PyErr_Occurred()) SWIG_fail;
994141e6 7508 }
d14a1e28 7509 if (obj6) {
15afbcd0
RD
7510 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7511 SWIG_POINTER_EXCEPTION | 0)) == -1)
7512 SWIG_fail;
d14a1e28 7513 if (arg7 == NULL) {
15afbcd0
RD
7514 PyErr_SetString(PyExc_TypeError,"null reference");
7515 SWIG_fail;
d14a1e28
RD
7516 }
7517 }
7518 if (obj7) {
7519 {
7520 arg8 = wxString_in_helper(obj7);
7521 if (arg8 == NULL) SWIG_fail;
e811c8ce 7522 temp8 = True;
d14a1e28
RD
7523 }
7524 }
7525 {
7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7527 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7528
7529 wxPyEndAllowThreads(__tstate);
7530 if (PyErr_Occurred()) SWIG_fail;
7531 }
7532 {
7533 resultobj = wxPyMake_wxObject(result);
7534 }
7535 {
7536 if (temp3)
7537 delete arg3;
7538 }
7539 {
7540 if (temp8)
7541 delete arg8;
7542 }
7543 return resultobj;
7544 fail:
7545 {
7546 if (temp3)
7547 delete arg3;
7548 }
7549 {
7550 if (temp8)
7551 delete arg8;
7552 }
7553 return NULL;
7554}
7555
7556
7557static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj;
7559 wxTextCtrl *result;
7560 char *kwnames[] = {
7561 NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 result = (wxTextCtrl *)new wxTextCtrl();
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 {
7573 resultobj = wxPyMake_wxObject(result);
7574 }
7575 return resultobj;
7576 fail:
7577 return NULL;
7578}
7579
7580
7581static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7582 PyObject *resultobj;
7583 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7584 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 7585 int arg3 ;
d14a1e28
RD
7586 wxString const &arg4_defvalue = wxPyEmptyString ;
7587 wxString *arg4 = (wxString *) &arg4_defvalue ;
7588 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7589 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7590 wxSize const &arg6_defvalue = wxDefaultSize ;
7591 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7592 long arg7 = (long) 0 ;
7593 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7594 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7595 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7596 wxString *arg9 = (wxString *) &arg9_defvalue ;
7597 bool result;
e811c8ce 7598 bool temp4 = False ;
d14a1e28
RD
7599 wxPoint temp5 ;
7600 wxSize temp6 ;
e811c8ce 7601 bool temp9 = False ;
d14a1e28
RD
7602 PyObject * obj0 = 0 ;
7603 PyObject * obj1 = 0 ;
994141e6 7604 PyObject * obj2 = 0 ;
d14a1e28
RD
7605 PyObject * obj3 = 0 ;
7606 PyObject * obj4 = 0 ;
7607 PyObject * obj5 = 0 ;
994141e6 7608 PyObject * obj6 = 0 ;
d14a1e28
RD
7609 PyObject * obj7 = 0 ;
7610 PyObject * obj8 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7613 };
7614
994141e6 7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
7616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7620 arg3 = (int) SWIG_AsInt(obj2);
7621 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7622 if (obj3) {
7623 {
7624 arg4 = wxString_in_helper(obj3);
7625 if (arg4 == NULL) SWIG_fail;
e811c8ce 7626 temp4 = True;
d14a1e28
RD
7627 }
7628 }
7629 if (obj4) {
7630 {
7631 arg5 = &temp5;
7632 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7633 }
7634 }
7635 if (obj5) {
7636 {
7637 arg6 = &temp6;
7638 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7639 }
7640 }
994141e6 7641 if (obj6) {
15afbcd0
RD
7642 arg7 = (long) SWIG_AsLong(obj6);
7643 if (PyErr_Occurred()) SWIG_fail;
994141e6 7644 }
d14a1e28 7645 if (obj7) {
15afbcd0
RD
7646 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7647 SWIG_POINTER_EXCEPTION | 0)) == -1)
7648 SWIG_fail;
d14a1e28 7649 if (arg8 == NULL) {
15afbcd0
RD
7650 PyErr_SetString(PyExc_TypeError,"null reference");
7651 SWIG_fail;
d14a1e28
RD
7652 }
7653 }
7654 if (obj8) {
7655 {
7656 arg9 = wxString_in_helper(obj8);
7657 if (arg9 == NULL) SWIG_fail;
e811c8ce 7658 temp9 = True;
d14a1e28
RD
7659 }
7660 }
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
4f89f6a3
RD
7668 {
7669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7670 }
d14a1e28
RD
7671 {
7672 if (temp4)
7673 delete arg4;
7674 }
7675 {
7676 if (temp9)
7677 delete arg9;
7678 }
7679 return resultobj;
7680 fail:
7681 {
7682 if (temp4)
7683 delete arg4;
7684 }
7685 {
7686 if (temp9)
7687 delete arg9;
7688 }
7689 return NULL;
7690}
7691
7692
7693static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7696 wxString result;
7697 PyObject * obj0 = 0 ;
7698 char *kwnames[] = {
7699 (char *) "self", NULL
7700 };
7701
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
7703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 result = ((wxTextCtrl const *)arg1)->GetValue();
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 {
7713#if wxUSE_UNICODE
7714 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7715#else
7716 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7717#endif
7718 }
7719 return resultobj;
7720 fail:
7721 return NULL;
7722}
7723
7724
7725static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj;
7727 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7728 wxString *arg2 = 0 ;
e811c8ce 7729 bool temp2 = False ;
d14a1e28
RD
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self",(char *) "value", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7739 {
7740 arg2 = wxString_in_helper(obj1);
7741 if (arg2 == NULL) SWIG_fail;
e811c8ce 7742 temp2 = True;
d14a1e28
RD
7743 }
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 (arg1)->SetValue((wxString const &)*arg2);
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 Py_INCREF(Py_None); resultobj = Py_None;
7752 {
7753 if (temp2)
7754 delete arg2;
7755 }
7756 return resultobj;
7757 fail:
7758 {
7759 if (temp2)
7760 delete arg2;
7761 }
7762 return NULL;
7763}
7764
7765
7766static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj;
7768 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7769 long arg2 ;
7770 long arg3 ;
7771 wxString result;
7772 PyObject * obj0 = 0 ;
994141e6
RD
7773 PyObject * obj1 = 0 ;
7774 PyObject * obj2 = 0 ;
d14a1e28
RD
7775 char *kwnames[] = {
7776 (char *) "self",(char *) "from",(char *) "to", NULL
7777 };
7778
994141e6 7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7782 arg2 = (long) SWIG_AsLong(obj1);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 arg3 = (long) SWIG_AsLong(obj2);
7785 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 {
7794#if wxUSE_UNICODE
7795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7796#else
7797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7798#endif
7799 }
7800 return resultobj;
7801 fail:
7802 return NULL;
7803}
7804
7805
7806static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj;
7808 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7809 long arg2 ;
7810 int result;
7811 PyObject * obj0 = 0 ;
994141e6 7812 PyObject * obj1 = 0 ;
d14a1e28
RD
7813 char *kwnames[] = {
7814 (char *) "self",(char *) "lineNo", NULL
7815 };
7816
994141e6 7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7820 arg2 = (long) SWIG_AsLong(obj1);
7821 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
15afbcd0 7829 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7830 return resultobj;
7831 fail:
7832 return NULL;
7833}
7834
7835
7836static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7839 long arg2 ;
7840 wxString result;
7841 PyObject * obj0 = 0 ;
994141e6 7842 PyObject * obj1 = 0 ;
d14a1e28
RD
7843 char *kwnames[] = {
7844 (char *) "self",(char *) "lineNo", NULL
7845 };
7846
994141e6 7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7850 arg2 = (long) SWIG_AsLong(obj1);
7851 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7855
7856 wxPyEndAllowThreads(__tstate);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
7859 {
7860#if wxUSE_UNICODE
7861 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7862#else
7863 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7864#endif
7865 }
7866 return resultobj;
7867 fail:
7868 return NULL;
7869}
7870
7871
7872static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj;
7874 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7875 int result;
7876 PyObject * obj0 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
15afbcd0
RD
7882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
15afbcd0 7891 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7892 return resultobj;
7893 fail:
7894 return NULL;
7895}
7896
7897
7898static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj;
7900 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7901 bool result;
7902 PyObject * obj0 = 0 ;
7903 char *kwnames[] = {
7904 (char *) "self", NULL
7905 };
7906
7907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
15afbcd0
RD
7908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
4f89f6a3
RD
7917 {
7918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7919 }
d14a1e28
RD
7920 return resultobj;
7921 fail:
7922 return NULL;
7923}
7924
7925
7926static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7927 PyObject *resultobj;
7928 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7929 bool result;
7930 PyObject * obj0 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
15afbcd0
RD
7936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7941
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
4f89f6a3
RD
7945 {
7946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7947 }
d14a1e28
RD
7948 return resultobj;
7949 fail:
7950 return NULL;
7951}
7952
7953
7954static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7957 bool result;
7958 PyObject * obj0 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
7964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
4f89f6a3
RD
7973 {
7974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7975 }
d14a1e28
RD
7976 return resultobj;
7977 fail:
7978 return NULL;
7979}
7980
7981
7982static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7985 bool result;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
7992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
4f89f6a3
RD
8001 {
8002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8003 }
d14a1e28
RD
8004 return resultobj;
8005 fail:
8006 return NULL;
8007}
8008
8009
8010static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8013 long *arg2 = (long *) 0 ;
8014 long *arg3 = (long *) 0 ;
8015 long temp2 ;
8016 long temp3 ;
8017 PyObject * obj0 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self", NULL
8020 };
8021
8022 arg2 = &temp2;
8023 arg3 = &temp3;
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 Py_INCREF(Py_None); resultobj = Py_None;
8035 {
8036 PyObject *o = PyInt_FromLong((long) (*arg2));
8037 resultobj = t_output_helper(resultobj,o);
8038 }
8039 {
8040 PyObject *o = PyInt_FromLong((long) (*arg3));
8041 resultobj = t_output_helper(resultobj,o);
8042 }
8043 return resultobj;
8044 fail:
8045 return NULL;
8046}
8047
8048
8049static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8052 wxString result;
8053 PyObject * obj0 = 0 ;
8054 char *kwnames[] = {
8055 (char *) "self", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
8063 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8064
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 {
8069#if wxUSE_UNICODE
8070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8071#else
8072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8073#endif
8074 }
8075 return resultobj;
8076 fail:
8077 return NULL;
8078}
8079
8080
8081static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj;
8083 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8084 PyObject * obj0 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
8090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 (arg1)->Clear();
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 Py_INCREF(Py_None); resultobj = Py_None;
8100 return resultobj;
8101 fail:
8102 return NULL;
8103}
8104
8105
8106static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8109 long arg2 ;
8110 long arg3 ;
8111 wxString *arg4 = 0 ;
e811c8ce 8112 bool temp4 = False ;
d14a1e28 8113 PyObject * obj0 = 0 ;
994141e6
RD
8114 PyObject * obj1 = 0 ;
8115 PyObject * obj2 = 0 ;
d14a1e28
RD
8116 PyObject * obj3 = 0 ;
8117 char *kwnames[] = {
8118 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8119 };
8120
994141e6 8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8124 arg2 = (long) SWIG_AsLong(obj1);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 arg3 = (long) SWIG_AsLong(obj2);
8127 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8128 {
8129 arg4 = wxString_in_helper(obj3);
8130 if (arg4 == NULL) SWIG_fail;
e811c8ce 8131 temp4 = True;
d14a1e28
RD
8132 }
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 Py_INCREF(Py_None); resultobj = Py_None;
8141 {
8142 if (temp4)
8143 delete arg4;
8144 }
8145 return resultobj;
8146 fail:
8147 {
8148 if (temp4)
8149 delete arg4;
8150 }
8151 return NULL;
8152}
8153
8154
8155static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8158 long arg2 ;
8159 long arg3 ;
8160 PyObject * obj0 = 0 ;
994141e6
RD
8161 PyObject * obj1 = 0 ;
8162 PyObject * obj2 = 0 ;
d14a1e28
RD
8163 char *kwnames[] = {
8164 (char *) "self",(char *) "from",(char *) "to", NULL
8165 };
8166
994141e6 8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8170 arg2 = (long) SWIG_AsLong(obj1);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 arg3 = (long) SWIG_AsLong(obj2);
8173 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8174 {
8175 PyThreadState* __tstate = wxPyBeginAllowThreads();
8176 (arg1)->Remove(arg2,arg3);
8177
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) SWIG_fail;
8180 }
8181 Py_INCREF(Py_None); resultobj = Py_None;
8182 return resultobj;
8183 fail:
8184 return NULL;
8185}
8186
8187
8188static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8189 PyObject *resultobj;
8190 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8191 wxString *arg2 = 0 ;
8192 bool result;
e811c8ce 8193 bool temp2 = False ;
d14a1e28
RD
8194 PyObject * obj0 = 0 ;
8195 PyObject * obj1 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self",(char *) "file", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8203 {
8204 arg2 = wxString_in_helper(obj1);
8205 if (arg2 == NULL) SWIG_fail;
e811c8ce 8206 temp2 = True;
d14a1e28
RD
8207 }
8208 {
8209 PyThreadState* __tstate = wxPyBeginAllowThreads();
8210 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8211
8212 wxPyEndAllowThreads(__tstate);
8213 if (PyErr_Occurred()) SWIG_fail;
8214 }
4f89f6a3
RD
8215 {
8216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8217 }
d14a1e28
RD
8218 {
8219 if (temp2)
8220 delete arg2;
8221 }
8222 return resultobj;
8223 fail:
8224 {
8225 if (temp2)
8226 delete arg2;
8227 }
8228 return NULL;
8229}
8230
8231
8232static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8235 wxString const &arg2_defvalue = wxPyEmptyString ;
8236 wxString *arg2 = (wxString *) &arg2_defvalue ;
8237 bool result;
e811c8ce 8238 bool temp2 = False ;
d14a1e28
RD
8239 PyObject * obj0 = 0 ;
8240 PyObject * obj1 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self",(char *) "file", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8248 if (obj1) {
8249 {
8250 arg2 = wxString_in_helper(obj1);
8251 if (arg2 == NULL) SWIG_fail;
e811c8ce 8252 temp2 = True;
d14a1e28
RD
8253 }
8254 }
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
4f89f6a3
RD
8262 {
8263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8264 }
d14a1e28
RD
8265 {
8266 if (temp2)
8267 delete arg2;
8268 }
8269 return resultobj;
8270 fail:
8271 {
8272 if (temp2)
8273 delete arg2;
8274 }
8275 return NULL;
8276}
8277
8278
8279static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8282 PyObject * obj0 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "self", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
15afbcd0
RD
8288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 (arg1)->MarkDirty();
8293
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 Py_INCREF(Py_None); resultobj = Py_None;
8298 return resultobj;
8299 fail:
8300 return NULL;
8301}
8302
8303
8304static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8305 PyObject *resultobj;
8306 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8307 PyObject * obj0 = 0 ;
8308 char *kwnames[] = {
8309 (char *) "self", NULL
8310 };
8311
8312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
15afbcd0
RD
8313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 (arg1)->DiscardEdits();
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 Py_INCREF(Py_None); resultobj = Py_None;
8323 return resultobj;
8324 fail:
8325 return NULL;
8326}
8327
8328
8329static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8332 unsigned long arg2 ;
8333 PyObject * obj0 = 0 ;
8334 PyObject * obj1 = 0 ;
8335 char *kwnames[] = {
8336 (char *) "self",(char *) "len", NULL
8337 };
8338
8339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8342 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8344 {
8345 PyThreadState* __tstate = wxPyBeginAllowThreads();
8346 (arg1)->SetMaxLength(arg2);
8347
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 Py_INCREF(Py_None); resultobj = Py_None;
8352 return resultobj;
8353 fail:
8354 return NULL;
8355}
8356
8357
8358static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj;
8360 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8361 wxString *arg2 = 0 ;
e811c8ce 8362 bool temp2 = False ;
d14a1e28
RD
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self",(char *) "text", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8372 {
8373 arg2 = wxString_in_helper(obj1);
8374 if (arg2 == NULL) SWIG_fail;
e811c8ce 8375 temp2 = True;
d14a1e28
RD
8376 }
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 (arg1)->WriteText((wxString const &)*arg2);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 Py_INCREF(Py_None); resultobj = Py_None;
8385 {
8386 if (temp2)
8387 delete arg2;
8388 }
8389 return resultobj;
8390 fail:
8391 {
8392 if (temp2)
8393 delete arg2;
8394 }
8395 return NULL;
8396}
8397
8398
8399static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8402 wxString *arg2 = 0 ;
e811c8ce 8403 bool temp2 = False ;
d14a1e28
RD
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self",(char *) "text", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8413 {
8414 arg2 = wxString_in_helper(obj1);
8415 if (arg2 == NULL) SWIG_fail;
e811c8ce 8416 temp2 = True;
d14a1e28
RD
8417 }
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 (arg1)->AppendText((wxString const &)*arg2);
8421
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 Py_INCREF(Py_None); resultobj = Py_None;
8426 {
8427 if (temp2)
8428 delete arg2;
8429 }
8430 return resultobj;
8431 fail:
8432 {
8433 if (temp2)
8434 delete arg2;
8435 }
8436 return NULL;
8437}
8438
8439
8440static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8441 PyObject *resultobj;
8442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8443 wxKeyEvent *arg2 = 0 ;
8444 bool result;
8445 PyObject * obj0 = 0 ;
8446 PyObject * obj1 = 0 ;
8447 char *kwnames[] = {
8448 (char *) "self",(char *) "event", NULL
8449 };
8450
8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8455 SWIG_POINTER_EXCEPTION | 0)) == -1)
8456 SWIG_fail;
d14a1e28 8457 if (arg2 == NULL) {
15afbcd0
RD
8458 PyErr_SetString(PyExc_TypeError,"null reference");
8459 SWIG_fail;
d14a1e28
RD
8460 }
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
4f89f6a3
RD
8468 {
8469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8470 }
d14a1e28
RD
8471 return resultobj;
8472 fail:
8473 return NULL;
8474}
8475
8476
8477static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8478 PyObject *resultobj;
8479 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8480 long arg2 ;
8481 long arg3 ;
8482 wxTextAttr *arg4 = 0 ;
8483 bool result;
8484 PyObject * obj0 = 0 ;
994141e6
RD
8485 PyObject * obj1 = 0 ;
8486 PyObject * obj2 = 0 ;
d14a1e28
RD
8487 PyObject * obj3 = 0 ;
8488 char *kwnames[] = {
8489 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8490 };
8491
994141e6 8492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8495 arg2 = (long) SWIG_AsLong(obj1);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 arg3 = (long) SWIG_AsLong(obj2);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8500 SWIG_POINTER_EXCEPTION | 0)) == -1)
8501 SWIG_fail;
d14a1e28 8502 if (arg4 == NULL) {
15afbcd0
RD
8503 PyErr_SetString(PyExc_TypeError,"null reference");
8504 SWIG_fail;
d14a1e28
RD
8505 }
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
4f89f6a3
RD
8513 {
8514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8515 }
d14a1e28
RD
8516 return resultobj;
8517 fail:
8518 return NULL;
8519}
8520
8521
8522static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8523 PyObject *resultobj;
8524 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8525 long arg2 ;
8526 wxTextAttr *arg3 = 0 ;
8527 bool result;
8528 PyObject * obj0 = 0 ;
994141e6 8529 PyObject * obj1 = 0 ;
d14a1e28
RD
8530 PyObject * obj2 = 0 ;
8531 char *kwnames[] = {
8532 (char *) "self",(char *) "position",(char *) "style", NULL
8533 };
8534
994141e6 8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8538 arg2 = (long) SWIG_AsLong(obj1);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8541 SWIG_POINTER_EXCEPTION | 0)) == -1)
8542 SWIG_fail;
d14a1e28 8543 if (arg3 == NULL) {
15afbcd0
RD
8544 PyErr_SetString(PyExc_TypeError,"null reference");
8545 SWIG_fail;
d14a1e28
RD
8546 }
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
4f89f6a3
RD
8554 {
8555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8556 }
d14a1e28
RD
8557 return resultobj;
8558 fail:
8559 return NULL;
8560}
8561
8562
8563static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8564 PyObject *resultobj;
8565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8566 wxTextAttr *arg2 = 0 ;
8567 bool result;
8568 PyObject * obj0 = 0 ;
8569 PyObject * obj1 = 0 ;
8570 char *kwnames[] = {
8571 (char *) "self",(char *) "style", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8578 SWIG_POINTER_EXCEPTION | 0)) == -1)
8579 SWIG_fail;
d14a1e28 8580 if (arg2 == NULL) {
15afbcd0
RD
8581 PyErr_SetString(PyExc_TypeError,"null reference");
8582 SWIG_fail;
d14a1e28
RD
8583 }
8584 {
8585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8586 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8587
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
4f89f6a3
RD
8591 {
8592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8593 }
d14a1e28
RD
8594 return resultobj;
8595 fail:
8596 return NULL;
8597}
8598
8599
8600static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj;
8602 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8603 wxTextAttr *result;
8604 PyObject * obj0 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "self", NULL
8607 };
8608
8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
8610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 {
8615 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8616 result = (wxTextAttr *) &_result_ref;
8617 }
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
15afbcd0 8622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
8623 return resultobj;
8624 fail:
8625 return NULL;
8626}
8627
8628
8629static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8632 long arg2 ;
8633 long arg3 ;
8634 long result;
8635 PyObject * obj0 = 0 ;
994141e6
RD
8636 PyObject * obj1 = 0 ;
8637 PyObject * obj2 = 0 ;
d14a1e28
RD
8638 char *kwnames[] = {
8639 (char *) "self",(char *) "x",(char *) "y", NULL
8640 };
8641
994141e6 8642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8645 arg2 = (long) SWIG_AsLong(obj1);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 arg3 = (long) SWIG_AsLong(obj2);
8648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
15afbcd0 8656 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8657 return resultobj;
8658 fail:
8659 return NULL;
8660}
8661
8662
8663static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8666 long arg2 ;
8667 long *arg3 = (long *) 0 ;
8668 long *arg4 = (long *) 0 ;
8669 long temp3 ;
8670 long temp4 ;
8671 PyObject * obj0 = 0 ;
994141e6 8672 PyObject * obj1 = 0 ;
d14a1e28
RD
8673 char *kwnames[] = {
8674 (char *) "self",(char *) "pos", NULL
8675 };
8676
8677 arg3 = &temp3;
8678 arg4 = &temp4;
994141e6 8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8682 arg2 = (long) SWIG_AsLong(obj1);
8683 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 Py_INCREF(Py_None); resultobj = Py_None;
8692 {
8693 PyObject *o = PyInt_FromLong((long) (*arg3));
8694 resultobj = t_output_helper(resultobj,o);
8695 }
8696 {
8697 PyObject *o = PyInt_FromLong((long) (*arg4));
8698 resultobj = t_output_helper(resultobj,o);
8699 }
8700 return resultobj;
8701 fail:
8702 return NULL;
8703}
8704
8705
8706static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj;
8708 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8709 long arg2 ;
8710 PyObject * obj0 = 0 ;
994141e6 8711 PyObject * obj1 = 0 ;
d14a1e28
RD
8712 char *kwnames[] = {
8713 (char *) "self",(char *) "pos", NULL
8714 };
8715
994141e6 8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8719 arg2 = (long) SWIG_AsLong(obj1);
8720 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->ShowPosition(arg2);
8724
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 Py_INCREF(Py_None); resultobj = Py_None;
8729 return resultobj;
8730 fail:
8731 return NULL;
8732}
8733
8734
4d5c3d91
RD
8735static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8736 PyObject *resultobj;
8737 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8738 wxPoint *arg2 = 0 ;
8739 long *arg3 = (long *) 0 ;
8740 long *arg4 = (long *) 0 ;
8741 int result;
8742 wxPoint temp2 ;
8743 long temp3 ;
8744 long temp4 ;
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "self",(char *) "pt", NULL
8749 };
8750
8751 arg3 = &temp3;
8752 arg4 = &temp4;
8753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
8756 {
8757 arg2 = &temp2;
8758 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8759 }
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
15afbcd0 8767 resultobj = SWIG_FromInt((int)result);
4d5c3d91
RD
8768 {
8769 PyObject *o = PyInt_FromLong((long) (*arg3));
8770 resultobj = t_output_helper(resultobj,o);
8771 }
8772 {
8773 PyObject *o = PyInt_FromLong((long) (*arg4));
8774 resultobj = t_output_helper(resultobj,o);
8775 }
8776 return resultobj;
8777 fail:
8778 return NULL;
8779}
8780
8781
d14a1e28
RD
8782static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8785 PyObject * obj0 = 0 ;
8786 char *kwnames[] = {
8787 (char *) "self", NULL
8788 };
8789
8790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
8791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 (arg1)->Copy();
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 Py_INCREF(Py_None); resultobj = Py_None;
8801 return resultobj;
8802 fail:
8803 return NULL;
8804}
8805
8806
8807static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj;
8809 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8810 PyObject * obj0 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "self", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
8816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 (arg1)->Cut();
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 Py_INCREF(Py_None); resultobj = Py_None;
8826 return resultobj;
8827 fail:
8828 return NULL;
8829}
8830
8831
8832static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj;
8834 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8835 PyObject * obj0 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "self", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
8841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 (arg1)->Paste();
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 Py_INCREF(Py_None); resultobj = Py_None;
8851 return resultobj;
8852 fail:
8853 return NULL;
8854}
8855
8856
8857static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8860 bool result;
8861 PyObject * obj0 = 0 ;
8862 char *kwnames[] = {
8863 (char *) "self", NULL
8864 };
8865
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
15afbcd0
RD
8867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
4f89f6a3
RD
8876 {
8877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8878 }
d14a1e28
RD
8879 return resultobj;
8880 fail:
8881 return NULL;
8882}
8883
8884
8885static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj;
8887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8888 bool result;
8889 PyObject * obj0 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
15afbcd0
RD
8895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
4f89f6a3
RD
8904 {
8905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8906 }
d14a1e28
RD
8907 return resultobj;
8908 fail:
8909 return NULL;
8910}
8911
8912
8913static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8916 bool result;
8917 PyObject * obj0 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
15afbcd0
RD
8923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
4f89f6a3
RD
8932 {
8933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8934 }
d14a1e28
RD
8935 return resultobj;
8936 fail:
8937 return NULL;
8938}
8939
8940
8941static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8942 PyObject *resultobj;
8943 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8944 PyObject * obj0 = 0 ;
8945 char *kwnames[] = {
8946 (char *) "self", NULL
8947 };
8948
8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
15afbcd0
RD
8950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 (arg1)->Undo();
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 Py_INCREF(Py_None); resultobj = Py_None;
8960 return resultobj;
8961 fail:
8962 return NULL;
8963}
8964
8965
8966static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8967 PyObject *resultobj;
8968 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8969 PyObject * obj0 = 0 ;
8970 char *kwnames[] = {
8971 (char *) "self", NULL
8972 };
8973
8974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
15afbcd0
RD
8975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 (arg1)->Redo();
8980
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 Py_INCREF(Py_None); resultobj = Py_None;
8985 return resultobj;
8986 fail:
8987 return NULL;
8988}
8989
8990
8991static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject *resultobj;
8993 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8994 bool result;
8995 PyObject * obj0 = 0 ;
8996 char *kwnames[] = {
8997 (char *) "self", NULL
8998 };
8999
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
4f89f6a3
RD
9010 {
9011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9012 }
d14a1e28
RD
9013 return resultobj;
9014 fail:
9015 return NULL;
9016}
9017
9018
9019static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9022 bool result;
9023 PyObject * obj0 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "self", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
4f89f6a3
RD
9038 {
9039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9040 }
d14a1e28
RD
9041 return resultobj;
9042 fail:
9043 return NULL;
9044}
9045
9046
9047static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj;
9049 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9050 long arg2 ;
9051 PyObject * obj0 = 0 ;
994141e6 9052 PyObject * obj1 = 0 ;
d14a1e28
RD
9053 char *kwnames[] = {
9054 (char *) "self",(char *) "pos", NULL
9055 };
9056
994141e6 9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9060 arg2 = (long) SWIG_AsLong(obj1);
9061 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9062 {
9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
9064 (arg1)->SetInsertionPoint(arg2);
9065
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 Py_INCREF(Py_None); resultobj = Py_None;
9070 return resultobj;
9071 fail:
9072 return NULL;
9073}
9074
9075
9076static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9077 PyObject *resultobj;
9078 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9079 PyObject * obj0 = 0 ;
9080 char *kwnames[] = {
9081 (char *) "self", NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
9085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 (arg1)->SetInsertionPointEnd();
9090
9091 wxPyEndAllowThreads(__tstate);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 }
9094 Py_INCREF(Py_None); resultobj = Py_None;
9095 return resultobj;
9096 fail:
9097 return NULL;
9098}
9099
9100
9101static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj;
9103 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9104 long result;
9105 PyObject * obj0 = 0 ;
9106 char *kwnames[] = {
9107 (char *) "self", NULL
9108 };
9109
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
9111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
15afbcd0 9120 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9121 return resultobj;
9122 fail:
9123 return NULL;
9124}
9125
9126
9127static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9130 long result;
9131 PyObject * obj0 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9142
9143 wxPyEndAllowThreads(__tstate);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 }
15afbcd0 9146 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9147 return resultobj;
9148 fail:
9149 return NULL;
9150}
9151
9152
9153static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9154 PyObject *resultobj;
9155 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9156 long arg2 ;
9157 long arg3 ;
9158 PyObject * obj0 = 0 ;
994141e6
RD
9159 PyObject * obj1 = 0 ;
9160 PyObject * obj2 = 0 ;
d14a1e28
RD
9161 char *kwnames[] = {
9162 (char *) "self",(char *) "from",(char *) "to", NULL
9163 };
9164
994141e6 9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9168 arg2 = (long) SWIG_AsLong(obj1);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 arg3 = (long) SWIG_AsLong(obj2);
9171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 (arg1)->SetSelection(arg2,arg3);
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 Py_INCREF(Py_None); resultobj = Py_None;
9180 return resultobj;
9181 fail:
9182 return NULL;
9183}
9184
9185
9186static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9189 PyObject * obj0 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
9195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 (arg1)->SelectAll();
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 Py_INCREF(Py_None); resultobj = Py_None;
9205 return resultobj;
9206 fail:
9207 return NULL;
9208}
9209
9210
9211static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9214 bool arg2 ;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self",(char *) "editable", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9224 arg2 = (bool) SWIG_AsBool(obj1);
9225 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 (arg1)->SetEditable(arg2);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 Py_INCREF(Py_None); resultobj = Py_None;
9234 return resultobj;
9235 fail:
9236 return NULL;
9237}
9238
9239
9240static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9243 wxString *arg2 = 0 ;
e811c8ce 9244 bool temp2 = False ;
d14a1e28
RD
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self",(char *) "text", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9254 {
9255 arg2 = wxString_in_helper(obj1);
9256 if (arg2 == NULL) SWIG_fail;
e811c8ce 9257 temp2 = True;
d14a1e28
RD
9258 }
9259 {
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9262
9263 wxPyEndAllowThreads(__tstate);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 }
9266 Py_INCREF(Py_None); resultobj = Py_None;
9267 {
9268 if (temp2)
9269 delete arg2;
9270 }
9271 return resultobj;
9272 fail:
9273 {
9274 if (temp2)
9275 delete arg2;
9276 }
9277 return NULL;
9278}
9279
9280
9281static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9284 long arg2 ;
9285 long arg3 ;
9286 wxString result;
9287 PyObject * obj0 = 0 ;
994141e6
RD
9288 PyObject * obj1 = 0 ;
9289 PyObject * obj2 = 0 ;
d14a1e28
RD
9290 char *kwnames[] = {
9291 (char *) "self",(char *) "from",(char *) "to", NULL
9292 };
9293
994141e6 9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9297 arg2 = (long) SWIG_AsLong(obj1);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 arg3 = (long) SWIG_AsLong(obj2);
9300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 {
9309#if wxUSE_UNICODE
9310 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9311#else
9312 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9313#endif
9314 }
9315 return resultobj;
9316 fail:
9317 return NULL;
9318}
9319
9320
9321static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9322 PyObject *obj;
9323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9324 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9325 Py_INCREF(obj);
9326 return Py_BuildValue((char *)"");
9327}
9328static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj;
9330 int arg1 ;
9331 wxMouseEvent *arg2 = 0 ;
9332 long arg3 ;
9333 long arg4 ;
9334 wxTextUrlEvent *result;
994141e6 9335 PyObject * obj0 = 0 ;
d14a1e28 9336 PyObject * obj1 = 0 ;
994141e6
RD
9337 PyObject * obj2 = 0 ;
9338 PyObject * obj3 = 0 ;
d14a1e28
RD
9339 char *kwnames[] = {
9340 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9341 };
9342
994141e6 9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9344 arg1 = (int) SWIG_AsInt(obj0);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9347 SWIG_POINTER_EXCEPTION | 0)) == -1)
9348 SWIG_fail;
d14a1e28 9349 if (arg2 == NULL) {
15afbcd0
RD
9350 PyErr_SetString(PyExc_TypeError,"null reference");
9351 SWIG_fail;
994141e6 9352 }
15afbcd0
RD
9353 arg3 = (long) SWIG_AsLong(obj2);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 arg4 = (long) SWIG_AsLong(obj3);
9356 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
15afbcd0 9364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
9365 return resultobj;
9366 fail:
9367 return NULL;
9368}
9369
9370
9371static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9374 wxMouseEvent *result;
9375 PyObject * obj0 = 0 ;
9376 char *kwnames[] = {
9377 (char *) "self", NULL
9378 };
9379
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
9381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 {
9386 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9387 result = (wxMouseEvent *) &_result_ref;
9388 }
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
15afbcd0 9393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
9394 return resultobj;
9395 fail:
9396 return NULL;
9397}
9398
9399
9400static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9403 long result;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
9410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
15afbcd0 9419 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9420 return resultobj;
9421 fail:
9422 return NULL;
9423}
9424
9425
9426static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj;
9428 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9429 long result;
9430 PyObject * obj0 = 0 ;
9431 char *kwnames[] = {
9432 (char *) "self", NULL
9433 };
9434
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
9436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
15afbcd0 9445 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9446 return resultobj;
9447 fail:
9448 return NULL;
9449}
9450
9451
9452static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9453 PyObject *obj;
9454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9455 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9456 Py_INCREF(obj);
9457 return Py_BuildValue((char *)"");
9458}
b2dc1044
RD
9459static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9460 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9461 return 1;
9462}
9463
9464
9465static PyObject *_wrap_ScrollBarNameStr_get() {
9466 PyObject *pyobj;
9467
9468 {
9469#if wxUSE_UNICODE
9470 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9471#else
9472 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9473#endif
9474 }
9475 return pyobj;
9476}
9477
9478
d14a1e28
RD
9479static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9482 int arg2 = (int) -1 ;
d14a1e28
RD
9483 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9484 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9485 wxSize const &arg4_defvalue = wxDefaultSize ;
9486 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9487 long arg5 = (long) wxSB_HORIZONTAL ;
9488 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9489 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9490 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9491 wxString *arg7 = (wxString *) &arg7_defvalue ;
9492 wxScrollBar *result;
9493 wxPoint temp3 ;
9494 wxSize temp4 ;
e811c8ce 9495 bool temp7 = False ;
d14a1e28 9496 PyObject * obj0 = 0 ;
994141e6 9497 PyObject * obj1 = 0 ;
d14a1e28
RD
9498 PyObject * obj2 = 0 ;
9499 PyObject * obj3 = 0 ;
994141e6 9500 PyObject * obj4 = 0 ;
d14a1e28
RD
9501 PyObject * obj5 = 0 ;
9502 PyObject * obj6 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9505 };
9506
994141e6 9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
9508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9510 if (obj1) {
15afbcd0
RD
9511 arg2 = (int) SWIG_AsInt(obj1);
9512 if (PyErr_Occurred()) SWIG_fail;
994141e6 9513 }
d14a1e28
RD
9514 if (obj2) {
9515 {
9516 arg3 = &temp3;
9517 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9518 }
9519 }
9520 if (obj3) {
9521 {
9522 arg4 = &temp4;
9523 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9524 }
9525 }
994141e6 9526 if (obj4) {
15afbcd0
RD
9527 arg5 = (long) SWIG_AsLong(obj4);
9528 if (PyErr_Occurred()) SWIG_fail;
994141e6 9529 }
d14a1e28 9530 if (obj5) {
15afbcd0
RD
9531 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9532 SWIG_POINTER_EXCEPTION | 0)) == -1)
9533 SWIG_fail;
d14a1e28 9534 if (arg6 == NULL) {
15afbcd0
RD
9535 PyErr_SetString(PyExc_TypeError,"null reference");
9536 SWIG_fail;
d14a1e28
RD
9537 }
9538 }
9539 if (obj6) {
9540 {
9541 arg7 = wxString_in_helper(obj6);
9542 if (arg7 == NULL) SWIG_fail;
e811c8ce 9543 temp7 = True;
d14a1e28
RD
9544 }
9545 }
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
15afbcd0 9553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
9554 {
9555 if (temp7)
9556 delete arg7;
9557 }
9558 return resultobj;
9559 fail:
9560 {
9561 if (temp7)
9562 delete arg7;
9563 }
9564 return NULL;
9565}
9566
9567
9568static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj;
9570 wxScrollBar *result;
9571 char *kwnames[] = {
9572 NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (wxScrollBar *)new wxScrollBar();
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
15afbcd0 9583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
9584 return resultobj;
9585 fail:
9586 return NULL;
9587}
9588
9589
9590static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj;
9592 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9593 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9594 int arg3 = (int) -1 ;
d14a1e28
RD
9595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9597 wxSize const &arg5_defvalue = wxDefaultSize ;
9598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9599 long arg6 = (long) wxSB_HORIZONTAL ;
9600 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9601 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9602 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9603 wxString *arg8 = (wxString *) &arg8_defvalue ;
9604 bool result;
9605 wxPoint temp4 ;
9606 wxSize temp5 ;
e811c8ce 9607 bool temp8 = False ;
d14a1e28
RD
9608 PyObject * obj0 = 0 ;
9609 PyObject * obj1 = 0 ;
994141e6 9610 PyObject * obj2 = 0 ;
d14a1e28
RD
9611 PyObject * obj3 = 0 ;
9612 PyObject * obj4 = 0 ;
994141e6 9613 PyObject * obj5 = 0 ;
d14a1e28
RD
9614 PyObject * obj6 = 0 ;
9615 PyObject * obj7 = 0 ;
9616 char *kwnames[] = {
9617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9618 };
9619
994141e6 9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
9621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9625 if (obj2) {
15afbcd0
RD
9626 arg3 = (int) SWIG_AsInt(obj2);
9627 if (PyErr_Occurred()) SWIG_fail;
994141e6 9628 }
d14a1e28
RD
9629 if (obj3) {
9630 {
9631 arg4 = &temp4;
9632 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9633 }
9634 }
9635 if (obj4) {
9636 {
9637 arg5 = &temp5;
9638 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9639 }
9640 }
994141e6 9641 if (obj5) {
15afbcd0
RD
9642 arg6 = (long) SWIG_AsLong(obj5);
9643 if (PyErr_Occurred()) SWIG_fail;
994141e6 9644 }
d14a1e28 9645 if (obj6) {
15afbcd0
RD
9646 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9647 SWIG_POINTER_EXCEPTION | 0)) == -1)
9648 SWIG_fail;
d14a1e28 9649 if (arg7 == NULL) {
15afbcd0
RD
9650 PyErr_SetString(PyExc_TypeError,"null reference");
9651 SWIG_fail;
d14a1e28
RD
9652 }
9653 }
9654 if (obj7) {
9655 {
9656 arg8 = wxString_in_helper(obj7);
9657 if (arg8 == NULL) SWIG_fail;
e811c8ce 9658 temp8 = True;
d14a1e28
RD
9659 }
9660 }
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
4f89f6a3
RD
9668 {
9669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9670 }
d14a1e28
RD
9671 {
9672 if (temp8)
9673 delete arg8;
9674 }
9675 return resultobj;
9676 fail:
9677 {
9678 if (temp8)
9679 delete arg8;
9680 }
9681 return NULL;
9682}
9683
9684
9685static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj;
9687 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9688 int result;
9689 PyObject * obj0 = 0 ;
9690 char *kwnames[] = {
9691 (char *) "self", NULL
9692 };
9693
9694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
15afbcd0 9704 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9705 return resultobj;
9706 fail:
9707 return NULL;
9708}
9709
9710
9711static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9714 int result;
9715 PyObject * obj0 = 0 ;
9716 char *kwnames[] = {
9717 (char *) "self", NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
9721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9726
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
15afbcd0 9730 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9731 return resultobj;
9732 fail:
9733 return NULL;
9734}
9735
9736
9737static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9738 PyObject *resultobj;
9739 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9740 int result;
9741 PyObject * obj0 = 0 ;
9742 char *kwnames[] = {
9743 (char *) "self", NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
9747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
15afbcd0 9756 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9757 return resultobj;
9758 fail:
9759 return NULL;
9760}
9761
9762
9763static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj;
9765 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9766 int result;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "self", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
9773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (int)((wxScrollBar const *)arg1)->GetRange();
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
15afbcd0 9782 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9783 return resultobj;
9784 fail:
9785 return NULL;
9786}
9787
9788
9789static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9792 bool result;
9793 PyObject * obj0 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
9799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
4f89f6a3
RD
9808 {
9809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9810 }
d14a1e28
RD
9811 return resultobj;
9812 fail:
9813 return NULL;
9814}
9815
9816
9817static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9820 int arg2 ;
9821 PyObject * obj0 = 0 ;
994141e6 9822 PyObject * obj1 = 0 ;
d14a1e28
RD
9823 char *kwnames[] = {
9824 (char *) "self",(char *) "viewStart", NULL
9825 };
9826
994141e6 9827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9830 arg2 = (int) SWIG_AsInt(obj1);
9831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 (arg1)->SetThumbPosition(arg2);
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 Py_INCREF(Py_None); resultobj = Py_None;
9840 return resultobj;
9841 fail:
9842 return NULL;
9843}
9844
9845
9846static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj;
9848 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9849 int arg2 ;
9850 int arg3 ;
9851 int arg4 ;
9852 int arg5 ;
e811c8ce 9853 bool arg6 = (bool) True ;
d14a1e28 9854 PyObject * obj0 = 0 ;
994141e6
RD
9855 PyObject * obj1 = 0 ;
9856 PyObject * obj2 = 0 ;
9857 PyObject * obj3 = 0 ;
9858 PyObject * obj4 = 0 ;
d14a1e28
RD
9859 PyObject * obj5 = 0 ;
9860 char *kwnames[] = {
9861 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9862 };
9863
994141e6 9864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9867 arg2 = (int) SWIG_AsInt(obj1);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 arg3 = (int) SWIG_AsInt(obj2);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 arg4 = (int) SWIG_AsInt(obj3);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 arg5 = (int) SWIG_AsInt(obj4);
9874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9875 if (obj5) {
15afbcd0
RD
9876 arg6 = (bool) SWIG_AsBool(obj5);
9877 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9878 }
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9882
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 Py_INCREF(Py_None); resultobj = Py_None;
9887 return resultobj;
9888 fail:
9889 return NULL;
9890}
9891
9892
9893static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9894 PyObject *obj;
9895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9896 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9897 Py_INCREF(obj);
9898 return Py_BuildValue((char *)"");
9899}
b2dc1044
RD
9900static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9901 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9902 return 1;
9903}
9904
9905
9906static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9907 PyObject *pyobj;
9908
9909 {
9910#if wxUSE_UNICODE
9911 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9912#else
9913 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9914#endif
9915 }
9916 return pyobj;
9917}
9918
9919
9920static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9921 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9922 return 1;
9923}
9924
9925
9926static PyObject *_wrap_SpinCtrlNameStr_get() {
9927 PyObject *pyobj;
9928
9929 {
9930#if wxUSE_UNICODE
9931 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9932#else
9933 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9934#endif
9935 }
9936 return pyobj;
9937}
9938
9939
d14a1e28
RD
9940static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9941 PyObject *resultobj;
9942 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9943 int arg2 = (int) -1 ;
d14a1e28
RD
9944 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9945 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9946 wxSize const &arg4_defvalue = wxDefaultSize ;
9947 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9948 long arg5 = (long) wxSP_HORIZONTAL ;
9949 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9950 wxString *arg6 = (wxString *) &arg6_defvalue ;
9951 wxSpinButton *result;
9952 wxPoint temp3 ;
9953 wxSize temp4 ;
e811c8ce 9954 bool temp6 = False ;
d14a1e28 9955 PyObject * obj0 = 0 ;
994141e6 9956 PyObject * obj1 = 0 ;
d14a1e28
RD
9957 PyObject * obj2 = 0 ;
9958 PyObject * obj3 = 0 ;
994141e6 9959 PyObject * obj4 = 0 ;
d14a1e28
RD
9960 PyObject * obj5 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9963 };
9964
994141e6 9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9968 if (obj1) {
15afbcd0
RD
9969 arg2 = (int) SWIG_AsInt(obj1);
9970 if (PyErr_Occurred()) SWIG_fail;
994141e6 9971 }
d14a1e28
RD
9972 if (obj2) {
9973 {
9974 arg3 = &temp3;
9975 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9976 }
9977 }
9978 if (obj3) {
9979 {
9980 arg4 = &temp4;
9981 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9982 }
9983 }
994141e6 9984 if (obj4) {
15afbcd0
RD
9985 arg5 = (long) SWIG_AsLong(obj4);
9986 if (PyErr_Occurred()) SWIG_fail;
994141e6 9987 }
d14a1e28
RD
9988 if (obj5) {
9989 {
9990 arg6 = wxString_in_helper(obj5);
9991 if (arg6 == NULL) SWIG_fail;
e811c8ce 9992 temp6 = True;
d14a1e28
RD
9993 }
9994 }
9995 {
9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
9997 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9998
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
15afbcd0 10002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10003 {
10004 if (temp6)
10005 delete arg6;
10006 }
10007 return resultobj;
10008 fail:
10009 {
10010 if (temp6)
10011 delete arg6;
10012 }
10013 return NULL;
10014}
10015
10016
10017static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj;
10019 wxSpinButton *result;
10020 char *kwnames[] = {
10021 NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 result = (wxSpinButton *)new wxSpinButton();
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
15afbcd0 10032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10033 return resultobj;
10034 fail:
10035 return NULL;
10036}
10037
10038
10039static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj;
10041 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10042 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10043 int arg3 = (int) -1 ;
d14a1e28
RD
10044 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10045 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10046 wxSize const &arg5_defvalue = wxDefaultSize ;
10047 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10048 long arg6 = (long) wxSP_HORIZONTAL ;
10049 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10050 wxString *arg7 = (wxString *) &arg7_defvalue ;
10051 bool result;
10052 wxPoint temp4 ;
10053 wxSize temp5 ;
e811c8ce 10054 bool temp7 = False ;
d14a1e28
RD
10055 PyObject * obj0 = 0 ;
10056 PyObject * obj1 = 0 ;
994141e6 10057 PyObject * obj2 = 0 ;
d14a1e28
RD
10058 PyObject * obj3 = 0 ;
10059 PyObject * obj4 = 0 ;
994141e6 10060 PyObject * obj5 = 0 ;
d14a1e28
RD
10061 PyObject * obj6 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10064 };
10065
994141e6 10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10071 if (obj2) {
15afbcd0
RD
10072 arg3 = (int) SWIG_AsInt(obj2);
10073 if (PyErr_Occurred()) SWIG_fail;
994141e6 10074 }
d14a1e28
RD
10075 if (obj3) {
10076 {
10077 arg4 = &temp4;
10078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10079 }
10080 }
10081 if (obj4) {
10082 {
10083 arg5 = &temp5;
10084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10085 }
10086 }
994141e6 10087 if (obj5) {
15afbcd0
RD
10088 arg6 = (long) SWIG_AsLong(obj5);
10089 if (PyErr_Occurred()) SWIG_fail;
994141e6 10090 }
d14a1e28
RD
10091 if (obj6) {
10092 {
10093 arg7 = wxString_in_helper(obj6);
10094 if (arg7 == NULL) SWIG_fail;
e811c8ce 10095 temp7 = True;
d14a1e28
RD
10096 }
10097 }
10098 {
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10101
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
4f89f6a3
RD
10105 {
10106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10107 }
d14a1e28
RD
10108 {
10109 if (temp7)
10110 delete arg7;
10111 }
10112 return resultobj;
10113 fail:
10114 {
10115 if (temp7)
10116 delete arg7;
10117 }
10118 return NULL;
10119}
10120
10121
10122static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10125 int result;
10126 PyObject * obj0 = 0 ;
10127 char *kwnames[] = {
10128 (char *) "self", NULL
10129 };
10130
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = (int)((wxSpinButton const *)arg1)->GetValue();
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
15afbcd0 10141 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10142 return resultobj;
10143 fail:
10144 return NULL;
10145}
10146
10147
10148static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10149 PyObject *resultobj;
10150 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10151 int result;
10152 PyObject * obj0 = 0 ;
10153 char *kwnames[] = {
10154 (char *) "self", NULL
10155 };
10156
10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
10162 result = (int)((wxSpinButton const *)arg1)->GetMin();
10163
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
15afbcd0 10167 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10168 return resultobj;
10169 fail:
10170 return NULL;
10171}
10172
10173
10174static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj;
10176 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10177 int result;
10178 PyObject * obj0 = 0 ;
10179 char *kwnames[] = {
10180 (char *) "self", NULL
10181 };
10182
10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 result = (int)((wxSpinButton const *)arg1)->GetMax();
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
15afbcd0 10193 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10194 return resultobj;
10195 fail:
10196 return NULL;
10197}
10198
10199
10200static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10201 PyObject *resultobj;
10202 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10203 int arg2 ;
10204 PyObject * obj0 = 0 ;
994141e6 10205 PyObject * obj1 = 0 ;
d14a1e28
RD
10206 char *kwnames[] = {
10207 (char *) "self",(char *) "val", NULL
10208 };
10209
994141e6 10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10213 arg2 = (int) SWIG_AsInt(obj1);
10214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 (arg1)->SetValue(arg2);
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 Py_INCREF(Py_None); resultobj = Py_None;
10223 return resultobj;
10224 fail:
10225 return NULL;
10226}
10227
10228
10229static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10232 int arg2 ;
10233 PyObject * obj0 = 0 ;
994141e6 10234 PyObject * obj1 = 0 ;
d14a1e28
RD
10235 char *kwnames[] = {
10236 (char *) "self",(char *) "minVal", NULL
10237 };
10238
994141e6 10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10242 arg2 = (int) SWIG_AsInt(obj1);
10243 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 (arg1)->SetMin(arg2);
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 Py_INCREF(Py_None); resultobj = Py_None;
10252 return resultobj;
10253 fail:
10254 return NULL;
10255}
10256
10257
10258static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject *resultobj;
10260 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10261 int arg2 ;
10262 PyObject * obj0 = 0 ;
994141e6 10263 PyObject * obj1 = 0 ;
d14a1e28
RD
10264 char *kwnames[] = {
10265 (char *) "self",(char *) "maxVal", NULL
10266 };
10267
994141e6 10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10271 arg2 = (int) SWIG_AsInt(obj1);
10272 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 (arg1)->SetMax(arg2);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 Py_INCREF(Py_None); resultobj = Py_None;
10281 return resultobj;
10282 fail:
10283 return NULL;
10284}
10285
10286
10287static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10288 PyObject *resultobj;
10289 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10290 int arg2 ;
10291 int arg3 ;
10292 PyObject * obj0 = 0 ;
994141e6
RD
10293 PyObject * obj1 = 0 ;
10294 PyObject * obj2 = 0 ;
d14a1e28
RD
10295 char *kwnames[] = {
10296 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10297 };
10298
994141e6 10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10302 arg2 = (int) SWIG_AsInt(obj1);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 arg3 = (int) SWIG_AsInt(obj2);
10305 if (PyErr_Occurred()) SWIG_fail;
994141e6 10306 {
15afbcd0
RD
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 (arg1)->SetRange(arg2,arg3);
10309
10310 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 Py_INCREF(Py_None); resultobj = Py_None;
10314 return resultobj;
10315 fail:
10316 return NULL;
10317}
10318
10319
10320static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj;
10322 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10323 bool result;
10324 PyObject * obj0 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
10330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
4f89f6a3
RD
10339 {
10340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10341 }
d14a1e28
RD
10342 return resultobj;
10343 fail:
10344 return NULL;
10345}
10346
10347
10348static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10349 PyObject *obj;
10350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10351 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10352 Py_INCREF(obj);
10353 return Py_BuildValue((char *)"");
10354}
10355static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10356 PyObject *resultobj;
10357 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10358 int arg2 = (int) -1 ;
d14a1e28
RD
10359 wxString const &arg3_defvalue = wxPyEmptyString ;
10360 wxString *arg3 = (wxString *) &arg3_defvalue ;
10361 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10362 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10363 wxSize const &arg5_defvalue = wxDefaultSize ;
10364 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10365 long arg6 = (long) wxSP_ARROW_KEYS ;
10366 int arg7 = (int) 0 ;
10367 int arg8 = (int) 100 ;
10368 int arg9 = (int) 0 ;
10369 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10370 wxString *arg10 = (wxString *) &arg10_defvalue ;
10371 wxSpinCtrl *result;
e811c8ce 10372 bool temp3 = False ;
d14a1e28
RD
10373 wxPoint temp4 ;
10374 wxSize temp5 ;
e811c8ce 10375 bool temp10 = False ;
d14a1e28 10376 PyObject * obj0 = 0 ;
994141e6 10377 PyObject * obj1 = 0 ;
d14a1e28
RD
10378 PyObject * obj2 = 0 ;
10379 PyObject * obj3 = 0 ;
10380 PyObject * obj4 = 0 ;
994141e6
RD
10381 PyObject * obj5 = 0 ;
10382 PyObject * obj6 = 0 ;
10383 PyObject * obj7 = 0 ;
10384 PyObject * obj8 = 0 ;
d14a1e28
RD
10385 PyObject * obj9 = 0 ;
10386 char *kwnames[] = {
10387 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10388 };
10389
994141e6 10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
10391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10393 if (obj1) {
15afbcd0
RD
10394 arg2 = (int) SWIG_AsInt(obj1);
10395 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10396 }
10397 if (obj2) {
d14a1e28
RD
10398 {
10399 arg3 = wxString_in_helper(obj2);
10400 if (arg3 == NULL) SWIG_fail;
e811c8ce 10401 temp3 = True;
d14a1e28
RD
10402 }
10403 }
10404 if (obj3) {
10405 {
10406 arg4 = &temp4;
10407 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10408 }
10409 }
10410 if (obj4) {
10411 {
10412 arg5 = &temp5;
10413 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10414 }
10415 }
994141e6 10416 if (obj5) {
15afbcd0
RD
10417 arg6 = (long) SWIG_AsLong(obj5);
10418 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10419 }
10420 if (obj6) {
15afbcd0
RD
10421 arg7 = (int) SWIG_AsInt(obj6);
10422 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10423 }
10424 if (obj7) {
15afbcd0
RD
10425 arg8 = (int) SWIG_AsInt(obj7);
10426 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10427 }
10428 if (obj8) {
15afbcd0
RD
10429 arg9 = (int) SWIG_AsInt(obj8);
10430 if (PyErr_Occurred()) SWIG_fail;
994141e6 10431 }
d14a1e28
RD
10432 if (obj9) {
10433 {
10434 arg10 = wxString_in_helper(obj9);
10435 if (arg10 == NULL) SWIG_fail;
e811c8ce 10436 temp10 = True;
d14a1e28
RD
10437 }
10438 }
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
15afbcd0 10446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
10447 {
10448 if (temp3)
10449 delete arg3;
10450 }
10451 {
10452 if (temp10)
10453 delete arg10;
10454 }
10455 return resultobj;
10456 fail:
10457 {
10458 if (temp3)
10459 delete arg3;
10460 }
10461 {
10462 if (temp10)
10463 delete arg10;
10464 }
10465 return NULL;
10466}
10467
10468
10469static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj;
10471 wxSpinCtrl *result;
10472 char *kwnames[] = {
10473 NULL
10474 };
10475
10476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10477 {
10478 PyThreadState* __tstate = wxPyBeginAllowThreads();
10479 result = (wxSpinCtrl *)new wxSpinCtrl();
10480
10481 wxPyEndAllowThreads(__tstate);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
15afbcd0 10484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
10485 return resultobj;
10486 fail:
10487 return NULL;
10488}
10489
10490
10491static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10492 PyObject *resultobj;
10493 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10494 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10495 int arg3 = (int) -1 ;
d14a1e28
RD
10496 wxString const &arg4_defvalue = wxPyEmptyString ;
10497 wxString *arg4 = (wxString *) &arg4_defvalue ;
10498 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10499 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10500 wxSize const &arg6_defvalue = wxDefaultSize ;
10501 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10502 long arg7 = (long) wxSP_ARROW_KEYS ;
10503 int arg8 = (int) 0 ;
10504 int arg9 = (int) 100 ;
10505 int arg10 = (int) 0 ;
10506 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10507 wxString *arg11 = (wxString *) &arg11_defvalue ;
10508 bool result;
e811c8ce 10509 bool temp4 = False ;
d14a1e28
RD
10510 wxPoint temp5 ;
10511 wxSize temp6 ;
e811c8ce 10512 bool temp11 = False ;
d14a1e28
RD
10513 PyObject * obj0 = 0 ;
10514 PyObject * obj1 = 0 ;
994141e6 10515 PyObject * obj2 = 0 ;
d14a1e28
RD
10516 PyObject * obj3 = 0 ;
10517 PyObject * obj4 = 0 ;
10518 PyObject * obj5 = 0 ;
994141e6
RD
10519 PyObject * obj6 = 0 ;
10520 PyObject * obj7 = 0 ;
10521 PyObject * obj8 = 0 ;
10522 PyObject * obj9 = 0 ;
d14a1e28
RD
10523 PyObject * obj10 = 0 ;
10524 char *kwnames[] = {
10525 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10526 };
10527
994141e6 10528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
10529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10533 if (obj2) {
15afbcd0
RD
10534 arg3 = (int) SWIG_AsInt(obj2);
10535 if (PyErr_Occurred()) SWIG_fail;
994141e6 10536 }
d14a1e28
RD
10537 if (obj3) {
10538 {
10539 arg4 = wxString_in_helper(obj3);
10540 if (arg4 == NULL) SWIG_fail;
e811c8ce 10541 temp4 = True;
d14a1e28
RD
10542 }
10543 }
10544 if (obj4) {
10545 {
10546 arg5 = &temp5;
10547 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10548 }
10549 }
10550 if (obj5) {
10551 {
10552 arg6 = &temp6;
10553 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10554 }
10555 }
994141e6 10556 if (obj6) {
15afbcd0
RD
10557 arg7 = (long) SWIG_AsLong(obj6);
10558 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10559 }
10560 if (obj7) {
15afbcd0
RD
10561 arg8 = (int) SWIG_AsInt(obj7);
10562 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10563 }
10564 if (obj8) {
15afbcd0
RD
10565 arg9 = (int) SWIG_AsInt(obj8);
10566 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10567 }
10568 if (obj9) {
15afbcd0
RD
10569 arg10 = (int) SWIG_AsInt(obj9);
10570 if (PyErr_Occurred()) SWIG_fail;
994141e6 10571 }
d14a1e28
RD
10572 if (obj10) {
10573 {
10574 arg11 = wxString_in_helper(obj10);
10575 if (arg11 == NULL) SWIG_fail;
e811c8ce 10576 temp11 = True;
d14a1e28
RD
10577 }
10578 }
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
4f89f6a3
RD
10586 {
10587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10588 }
d14a1e28
RD
10589 {
10590 if (temp4)
10591 delete arg4;
10592 }
10593 {
10594 if (temp11)
10595 delete arg11;
10596 }
10597 return resultobj;
10598 fail:
10599 {
10600 if (temp4)
10601 delete arg4;
10602 }
10603 {
10604 if (temp11)
10605 delete arg11;
10606 }
10607 return NULL;
10608}
10609
10610
10611static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj;
10613 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10614 int result;
10615 PyObject * obj0 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
15afbcd0 10630 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10631 return resultobj;
10632 fail:
10633 return NULL;
10634}
10635
10636
10637static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10640 int arg2 ;
10641 PyObject * obj0 = 0 ;
994141e6 10642 PyObject * obj1 = 0 ;
d14a1e28
RD
10643 char *kwnames[] = {
10644 (char *) "self",(char *) "value", NULL
10645 };
10646
994141e6 10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10650 arg2 = (int) SWIG_AsInt(obj1);
10651 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 (arg1)->SetValue(arg2);
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 Py_INCREF(Py_None); resultobj = Py_None;
10660 return resultobj;
10661 fail:
10662 return NULL;
10663}
10664
10665
10666static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj;
10668 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10669 wxString *arg2 = 0 ;
e811c8ce 10670 bool temp2 = False ;
d14a1e28
RD
10671 PyObject * obj0 = 0 ;
10672 PyObject * obj1 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self",(char *) "text", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10680 {
10681 arg2 = wxString_in_helper(obj1);
10682 if (arg2 == NULL) SWIG_fail;
e811c8ce 10683 temp2 = True;
d14a1e28
RD
10684 }
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 (arg1)->SetValue((wxString const &)*arg2);
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 Py_INCREF(Py_None); resultobj = Py_None;
10693 {
10694 if (temp2)
10695 delete arg2;
10696 }
10697 return resultobj;
10698 fail:
10699 {
10700 if (temp2)
10701 delete arg2;
10702 }
10703 return NULL;
10704}
10705
10706
10707static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10708 PyObject *resultobj;
10709 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10710 int arg2 ;
10711 int arg3 ;
10712 PyObject * obj0 = 0 ;
994141e6
RD
10713 PyObject * obj1 = 0 ;
10714 PyObject * obj2 = 0 ;
d14a1e28
RD
10715 char *kwnames[] = {
10716 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10717 };
10718
994141e6 10719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10722 arg2 = (int) SWIG_AsInt(obj1);
10723 if (PyErr_Occurred()) SWIG_fail;
10724 arg3 = (int) SWIG_AsInt(obj2);
10725 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 (arg1)->SetRange(arg2,arg3);
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 Py_INCREF(Py_None); resultobj = Py_None;
10734 return resultobj;
10735 fail:
10736 return NULL;
10737}
10738
10739
10740static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj;
10742 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10743 int result;
10744 PyObject * obj0 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "self", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10752 {
10753 PyThreadState* __tstate = wxPyBeginAllowThreads();
10754 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10755
10756 wxPyEndAllowThreads(__tstate);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
15afbcd0 10759 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10760 return resultobj;
10761 fail:
10762 return NULL;
10763}
10764
10765
10766static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10767 PyObject *resultobj;
10768 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10769 int result;
10770 PyObject * obj0 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "self", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10781
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
15afbcd0 10785 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10786 return resultobj;
10787 fail:
10788 return NULL;
10789}
10790
10791
10792static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10793 PyObject *resultobj;
10794 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10795 long arg2 ;
10796 long arg3 ;
10797 PyObject * obj0 = 0 ;
994141e6
RD
10798 PyObject * obj1 = 0 ;
10799 PyObject * obj2 = 0 ;
d14a1e28
RD
10800 char *kwnames[] = {
10801 (char *) "self",(char *) "from",(char *) "to", NULL
10802 };
10803
994141e6 10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10807 arg2 = (long) SWIG_AsLong(obj1);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 arg3 = (long) SWIG_AsLong(obj2);
10810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 10813 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 Py_INCREF(Py_None); resultobj = Py_None;
10819 return resultobj;
10820 fail:
10821 return NULL;
10822}
10823
10824
10825static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10826 PyObject *obj;
10827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10828 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10829 Py_INCREF(obj);
10830 return Py_BuildValue((char *)"");
10831}
d1e20054
RD
10832static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10833 PyObject *resultobj;
10834 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10835 int arg2 = (int) 0 ;
10836 wxSpinEvent *result;
994141e6
RD
10837 PyObject * obj0 = 0 ;
10838 PyObject * obj1 = 0 ;
d1e20054
RD
10839 char *kwnames[] = {
10840 (char *) "commandType",(char *) "winid", NULL
10841 };
10842
994141e6
RD
10843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10844 if (obj0) {
15afbcd0
RD
10845 arg1 = (wxEventType) SWIG_AsInt(obj0);
10846 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10847 }
10848 if (obj1) {
15afbcd0
RD
10849 arg2 = (int) SWIG_AsInt(obj1);
10850 if (PyErr_Occurred()) SWIG_fail;
994141e6 10851 }
d1e20054
RD
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
15afbcd0 10859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
d1e20054
RD
10860 return resultobj;
10861 fail:
10862 return NULL;
10863}
10864
10865
10866static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj;
10868 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10869 int result;
10870 PyObject * obj0 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "self", NULL
10873 };
10874
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d1e20054
RD
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
15afbcd0 10885 resultobj = SWIG_FromInt((int)result);
d1e20054
RD
10886 return resultobj;
10887 fail:
10888 return NULL;
10889}
10890
10891
10892static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10893 PyObject *resultobj;
10894 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10895 int arg2 ;
10896 PyObject * obj0 = 0 ;
994141e6 10897 PyObject * obj1 = 0 ;
d1e20054
RD
10898 char *kwnames[] = {
10899 (char *) "self",(char *) "pos", NULL
10900 };
10901
994141e6 10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10905 arg2 = (int) SWIG_AsInt(obj1);
10906 if (PyErr_Occurred()) SWIG_fail;
d1e20054
RD
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 (arg1)->SetPosition(arg2);
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 Py_INCREF(Py_None); resultobj = Py_None;
10915 return resultobj;
10916 fail:
10917 return NULL;
10918}
10919
10920
10921static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10922 PyObject *obj;
10923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10924 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10925 Py_INCREF(obj);
10926 return Py_BuildValue((char *)"");
10927}
b2dc1044
RD
10928static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10929 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10930 return 1;
10931}
10932
10933
10934static PyObject *_wrap_RadioBoxNameStr_get() {
10935 PyObject *pyobj;
10936
10937 {
10938#if wxUSE_UNICODE
10939 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10940#else
10941 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10942#endif
10943 }
10944 return pyobj;
10945}
10946
10947
10948static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
10949 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10950 return 1;
10951}
10952
10953
10954static PyObject *_wrap_RadioButtonNameStr_get() {
10955 PyObject *pyobj;
10956
10957 {
10958#if wxUSE_UNICODE
10959 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10960#else
10961 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10962#endif
10963 }
10964 return pyobj;
10965}
10966
10967
d14a1e28
RD
10968static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10969 PyObject *resultobj;
10970 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10971 int arg2 ;
d14a1e28
RD
10972 wxString *arg3 = 0 ;
10973 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10974 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10975 wxSize const &arg5_defvalue = wxDefaultSize ;
10976 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
10977 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10978 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10979 int arg7 = (int) 0 ;
10980 long arg8 = (long) wxRA_HORIZONTAL ;
10981 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10982 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10983 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10984 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 10985 wxRadioBox *result;
e811c8ce 10986 bool temp3 = False ;
d14a1e28
RD
10987 wxPoint temp4 ;
10988 wxSize temp5 ;
3adfb63b 10989 bool temp6 = False ;
e811c8ce 10990 bool temp10 = False ;
d14a1e28 10991 PyObject * obj0 = 0 ;
994141e6 10992 PyObject * obj1 = 0 ;
d14a1e28
RD
10993 PyObject * obj2 = 0 ;
10994 PyObject * obj3 = 0 ;
10995 PyObject * obj4 = 0 ;
10996 PyObject * obj5 = 0 ;
994141e6
RD
10997 PyObject * obj6 = 0 ;
10998 PyObject * obj7 = 0 ;
d14a1e28
RD
10999 PyObject * obj8 = 0 ;
11000 PyObject * obj9 = 0 ;
11001 char *kwnames[] = {
994141e6 11002 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
11003 };
11004
994141e6 11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
11006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11008 arg2 = (int) SWIG_AsInt(obj1);
11009 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11010 {
11011 arg3 = wxString_in_helper(obj2);
11012 if (arg3 == NULL) SWIG_fail;
e811c8ce 11013 temp3 = True;
d14a1e28
RD
11014 }
11015 if (obj3) {
11016 {
11017 arg4 = &temp4;
11018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11019 }
11020 }
11021 if (obj4) {
11022 {
11023 arg5 = &temp5;
11024 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11025 }
11026 }
11027 if (obj5) {
11028 {
4d5c3d91
RD
11029 if (! PySequence_Check(obj5)) {
11030 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11031 SWIG_fail;
11032 }
11033 arg6 = new wxArrayString;
3adfb63b 11034 temp6 = True;
4d5c3d91
RD
11035 int i, len=PySequence_Length(obj5);
11036 for (i=0; i<len; i++) {
11037 PyObject* item = PySequence_GetItem(obj5, i);
11038#if wxUSE_UNICODE
11039 PyObject* str = PyObject_Unicode(item);
11040#else
11041 PyObject* str = PyObject_Str(item);
11042#endif
11043 arg6->Add(Py2wxString(str));
11044 Py_DECREF(item);
11045 Py_DECREF(str);
11046 }
d14a1e28
RD
11047 }
11048 }
994141e6 11049 if (obj6) {
15afbcd0
RD
11050 arg7 = (int) SWIG_AsInt(obj6);
11051 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11052 }
11053 if (obj7) {
15afbcd0
RD
11054 arg8 = (long) SWIG_AsLong(obj7);
11055 if (PyErr_Occurred()) SWIG_fail;
994141e6 11056 }
d14a1e28 11057 if (obj8) {
15afbcd0
RD
11058 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11059 SWIG_POINTER_EXCEPTION | 0)) == -1)
11060 SWIG_fail;
4d5c3d91 11061 if (arg9 == NULL) {
15afbcd0
RD
11062 PyErr_SetString(PyExc_TypeError,"null reference");
11063 SWIG_fail;
d14a1e28
RD
11064 }
11065 }
11066 if (obj9) {
11067 {
4d5c3d91
RD
11068 arg10 = wxString_in_helper(obj9);
11069 if (arg10 == NULL) SWIG_fail;
e811c8ce 11070 temp10 = True;
d14a1e28
RD
11071 }
11072 }
11073 {
11074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11075 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
d14a1e28
RD
11076
11077 wxPyEndAllowThreads(__tstate);
11078 if (PyErr_Occurred()) SWIG_fail;
11079 }
15afbcd0 11080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11081 {
11082 if (temp3)
11083 delete arg3;
11084 }
11085 {
3adfb63b 11086 if (temp6) delete arg6;
d14a1e28
RD
11087 }
11088 {
11089 if (temp10)
4d5c3d91 11090 delete arg10;
d14a1e28
RD
11091 }
11092 return resultobj;
11093 fail:
11094 {
11095 if (temp3)
11096 delete arg3;
11097 }
11098 {
3adfb63b 11099 if (temp6) delete arg6;
d14a1e28
RD
11100 }
11101 {
11102 if (temp10)
4d5c3d91 11103 delete arg10;
d14a1e28
RD
11104 }
11105 return NULL;
11106}
11107
11108
11109static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11110 PyObject *resultobj;
11111 wxRadioBox *result;
11112 char *kwnames[] = {
11113 NULL
11114 };
11115
11116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 result = (wxRadioBox *)new wxRadioBox();
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
15afbcd0 11124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11125 return resultobj;
11126 fail:
11127 return NULL;
11128}
11129
11130
11131static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11134 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11135 int arg3 ;
d14a1e28
RD
11136 wxString *arg4 = 0 ;
11137 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11138 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11139 wxSize const &arg6_defvalue = wxDefaultSize ;
11140 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
11141 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11142 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11143 int arg8 = (int) 0 ;
11144 long arg9 = (long) wxRA_HORIZONTAL ;
11145 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11146 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11147 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11148 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 11149 bool result;
e811c8ce 11150 bool temp4 = False ;
d14a1e28
RD
11151 wxPoint temp5 ;
11152 wxSize temp6 ;
3adfb63b 11153 bool temp7 = False ;
e811c8ce 11154 bool temp11 = False ;
d14a1e28
RD
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
994141e6 11157 PyObject * obj2 = 0 ;
d14a1e28
RD
11158 PyObject * obj3 = 0 ;
11159 PyObject * obj4 = 0 ;
11160 PyObject * obj5 = 0 ;
11161 PyObject * obj6 = 0 ;
994141e6
RD
11162 PyObject * obj7 = 0 ;
11163 PyObject * obj8 = 0 ;
d14a1e28
RD
11164 PyObject * obj9 = 0 ;
11165 PyObject * obj10 = 0 ;
11166 char *kwnames[] = {
994141e6 11167 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
11168 };
11169
994141e6 11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
11171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11175 arg3 = (int) SWIG_AsInt(obj2);
11176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11177 {
11178 arg4 = wxString_in_helper(obj3);
11179 if (arg4 == NULL) SWIG_fail;
e811c8ce 11180 temp4 = True;
d14a1e28
RD
11181 }
11182 if (obj4) {
11183 {
11184 arg5 = &temp5;
11185 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11186 }
11187 }
11188 if (obj5) {
11189 {
11190 arg6 = &temp6;
11191 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11192 }
11193 }
11194 if (obj6) {
11195 {
4d5c3d91
RD
11196 if (! PySequence_Check(obj6)) {
11197 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11198 SWIG_fail;
11199 }
11200 arg7 = new wxArrayString;
3adfb63b 11201 temp7 = True;
4d5c3d91
RD
11202 int i, len=PySequence_Length(obj6);
11203 for (i=0; i<len; i++) {
11204 PyObject* item = PySequence_GetItem(obj6, i);
11205#if wxUSE_UNICODE
11206 PyObject* str = PyObject_Unicode(item);
11207#else
11208 PyObject* str = PyObject_Str(item);
11209#endif
11210 arg7->Add(Py2wxString(str));
11211 Py_DECREF(item);
11212 Py_DECREF(str);
11213 }
d14a1e28
RD
11214 }
11215 }
994141e6 11216 if (obj7) {
15afbcd0
RD
11217 arg8 = (int) SWIG_AsInt(obj7);
11218 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11219 }
11220 if (obj8) {
15afbcd0
RD
11221 arg9 = (long) SWIG_AsLong(obj8);
11222 if (PyErr_Occurred()) SWIG_fail;
994141e6 11223 }
d14a1e28 11224 if (obj9) {
15afbcd0
RD
11225 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11226 SWIG_POINTER_EXCEPTION | 0)) == -1)
11227 SWIG_fail;
4d5c3d91 11228 if (arg10 == NULL) {
15afbcd0
RD
11229 PyErr_SetString(PyExc_TypeError,"null reference");
11230 SWIG_fail;
d14a1e28
RD
11231 }
11232 }
11233 if (obj10) {
11234 {
4d5c3d91
RD
11235 arg11 = wxString_in_helper(obj10);
11236 if (arg11 == NULL) SWIG_fail;
e811c8ce 11237 temp11 = True;
d14a1e28
RD
11238 }
11239 }
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11242 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
d14a1e28
RD
11243
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
4f89f6a3
RD
11247 {
11248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11249 }
d14a1e28
RD
11250 {
11251 if (temp4)
11252 delete arg4;
11253 }
11254 {
3adfb63b 11255 if (temp7) delete arg7;
d14a1e28
RD
11256 }
11257 {
11258 if (temp11)
4d5c3d91 11259 delete arg11;
d14a1e28
RD
11260 }
11261 return resultobj;
11262 fail:
11263 {
11264 if (temp4)
11265 delete arg4;
11266 }
11267 {
3adfb63b 11268 if (temp7) delete arg7;
d14a1e28
RD
11269 }
11270 {
11271 if (temp11)
4d5c3d91 11272 delete arg11;
d14a1e28
RD
11273 }
11274 return NULL;
11275}
11276
11277
11278static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11279 PyObject *resultobj;
11280 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11281 int arg2 ;
11282 PyObject * obj0 = 0 ;
994141e6 11283 PyObject * obj1 = 0 ;
d14a1e28
RD
11284 char *kwnames[] = {
11285 (char *) "self",(char *) "n", NULL
11286 };
11287
994141e6 11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11291 arg2 = (int) SWIG_AsInt(obj1);
11292 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 (arg1)->SetSelection(arg2);
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 Py_INCREF(Py_None); resultobj = Py_None;
11301 return resultobj;
11302 fail:
11303 return NULL;
11304}
11305
11306
11307static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11308 PyObject *resultobj;
11309 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11310 int result;
11311 PyObject * obj0 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "self", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
11317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11319 {
11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
11321 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11322
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
15afbcd0 11326 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11327 return resultobj;
11328 fail:
11329 return NULL;
11330}
11331
11332
11333static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11336 wxString result;
11337 PyObject * obj0 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
11343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 {
11353#if wxUSE_UNICODE
11354 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11355#else
11356 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11357#endif
11358 }
11359 return resultobj;
11360 fail:
11361 return NULL;
11362}
11363
11364
11365static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11368 wxString *arg2 = 0 ;
11369 bool result;
e811c8ce 11370 bool temp2 = False ;
d14a1e28
RD
11371 PyObject * obj0 = 0 ;
11372 PyObject * obj1 = 0 ;
11373 char *kwnames[] = {
11374 (char *) "self",(char *) "s", NULL
11375 };
11376
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11380 {
11381 arg2 = wxString_in_helper(obj1);
11382 if (arg2 == NULL) SWIG_fail;
e811c8ce 11383 temp2 = True;
d14a1e28
RD
11384 }
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
4f89f6a3
RD
11392 {
11393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11394 }
d14a1e28
RD
11395 {
11396 if (temp2)
11397 delete arg2;
11398 }
11399 return resultobj;
11400 fail:
11401 {
11402 if (temp2)
11403 delete arg2;
11404 }
11405 return NULL;
11406}
11407
11408
11409static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject *resultobj;
11411 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11412 int result;
11413 PyObject * obj0 = 0 ;
11414 char *kwnames[] = {
11415 (char *) "self", NULL
11416 };
11417
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
11419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 result = (int)((wxRadioBox const *)arg1)->GetCount();
11424
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
15afbcd0 11428 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11429 return resultobj;
11430 fail:
11431 return NULL;
11432}
11433
11434
11435static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11436 PyObject *resultobj;
11437 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11438 wxString *arg2 = 0 ;
11439 int result;
e811c8ce 11440 bool temp2 = False ;
d14a1e28
RD
11441 PyObject * obj0 = 0 ;
11442 PyObject * obj1 = 0 ;
11443 char *kwnames[] = {
11444 (char *) "self",(char *) "s", NULL
11445 };
11446
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11450 {
11451 arg2 = wxString_in_helper(obj1);
11452 if (arg2 == NULL) SWIG_fail;
e811c8ce 11453 temp2 = True;
d14a1e28
RD
11454 }
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
15afbcd0 11462 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11463 {
11464 if (temp2)
11465 delete arg2;
11466 }
11467 return resultobj;
11468 fail:
11469 {
11470 if (temp2)
11471 delete arg2;
11472 }
11473 return NULL;
11474}
11475
11476
11477static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11480 int arg2 ;
11481 wxString result;
11482 PyObject * obj0 = 0 ;
994141e6 11483 PyObject * obj1 = 0 ;
d14a1e28
RD
11484 char *kwnames[] = {
11485 (char *) "self",(char *) "n", NULL
11486 };
11487
994141e6 11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11491 arg2 = (int) SWIG_AsInt(obj1);
11492 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11496
11497 wxPyEndAllowThreads(__tstate);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 {
11501#if wxUSE_UNICODE
11502 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11503#else
11504 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11505#endif
11506 }
11507 return resultobj;
11508 fail:
11509 return NULL;
11510}
11511
11512
11513static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj;
11515 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11516 int arg2 ;
11517 wxString *arg3 = 0 ;
e811c8ce 11518 bool temp3 = False ;
d14a1e28 11519 PyObject * obj0 = 0 ;
994141e6 11520 PyObject * obj1 = 0 ;
d14a1e28
RD
11521 PyObject * obj2 = 0 ;
11522 char *kwnames[] = {
11523 (char *) "self",(char *) "n",(char *) "label", NULL
11524 };
11525
994141e6 11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11529 arg2 = (int) SWIG_AsInt(obj1);
11530 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11531 {
11532 arg3 = wxString_in_helper(obj2);
11533 if (arg3 == NULL) SWIG_fail;
e811c8ce 11534 temp3 = True;
d14a1e28
RD
11535 }
11536 {
11537 PyThreadState* __tstate = wxPyBeginAllowThreads();
11538 (arg1)->SetString(arg2,(wxString const &)*arg3);
11539
11540 wxPyEndAllowThreads(__tstate);
11541 if (PyErr_Occurred()) SWIG_fail;
11542 }
11543 Py_INCREF(Py_None); resultobj = Py_None;
11544 {
11545 if (temp3)
11546 delete arg3;
11547 }
11548 return resultobj;
11549 fail:
11550 {
11551 if (temp3)
11552 delete arg3;
11553 }
11554 return NULL;
11555}
11556
11557
11558static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11559 PyObject *resultobj;
11560 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11561 int arg2 ;
e811c8ce 11562 bool arg3 = (bool) True ;
d14a1e28 11563 PyObject * obj0 = 0 ;
994141e6 11564 PyObject * obj1 = 0 ;
d14a1e28
RD
11565 PyObject * obj2 = 0 ;
11566 char *kwnames[] = {
11567 (char *) "self",(char *) "n",(char *) "enable", NULL
11568 };
11569
994141e6 11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11573 arg2 = (int) SWIG_AsInt(obj1);
11574 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11575 if (obj2) {
15afbcd0
RD
11576 arg3 = (bool) SWIG_AsBool(obj2);
11577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11578 }
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 (arg1)->Enable(arg2,arg3);
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 Py_INCREF(Py_None); resultobj = Py_None;
11587 return resultobj;
11588 fail:
11589 return NULL;
11590}
11591
11592
11593static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj;
11595 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11596 int arg2 ;
e811c8ce 11597 bool arg3 = (bool) True ;
d14a1e28 11598 PyObject * obj0 = 0 ;
994141e6 11599 PyObject * obj1 = 0 ;
d14a1e28
RD
11600 PyObject * obj2 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "self",(char *) "n",(char *) "show", NULL
11603 };
11604
994141e6 11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11608 arg2 = (int) SWIG_AsInt(obj1);
11609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11610 if (obj2) {
15afbcd0
RD
11611 arg3 = (bool) SWIG_AsBool(obj2);
11612 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11613 }
11614 {
11615 PyThreadState* __tstate = wxPyBeginAllowThreads();
11616 (arg1)->Show(arg2,arg3);
11617
11618 wxPyEndAllowThreads(__tstate);
11619 if (PyErr_Occurred()) SWIG_fail;
11620 }
11621 Py_INCREF(Py_None); resultobj = Py_None;
11622 return resultobj;
11623 fail:
11624 return NULL;
11625}
11626
11627
11628static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11629 PyObject *resultobj;
11630 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11631 int result;
11632 PyObject * obj0 = 0 ;
11633 char *kwnames[] = {
11634 (char *) "self", NULL
11635 };
11636
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
11638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
15afbcd0 11647 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11648 return resultobj;
11649 fail:
11650 return NULL;
11651}
11652
11653
11654static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11657 int result;
11658 PyObject * obj0 = 0 ;
11659 char *kwnames[] = {
11660 (char *) "self", NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
11664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11666 {
11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
11668 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
11669
11670 wxPyEndAllowThreads(__tstate);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
15afbcd0 11673 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11674 return resultobj;
11675 fail:
11676 return NULL;
11677}
11678
11679
11680static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11681 PyObject *resultobj;
11682 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11683 int arg2 ;
11684 int arg3 ;
11685 long arg4 ;
11686 int result;
11687 PyObject * obj0 = 0 ;
994141e6
RD
11688 PyObject * obj1 = 0 ;
11689 PyObject * obj2 = 0 ;
11690 PyObject * obj3 = 0 ;
d14a1e28
RD
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11693 };
11694
994141e6 11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11698 arg2 = (int) SWIG_AsInt(obj1);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 arg3 = (wxDirection) SWIG_AsInt(obj2);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 arg4 = (long) SWIG_AsLong(obj3);
11703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11704 {
11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
11706 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
11707
11708 wxPyEndAllowThreads(__tstate);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
15afbcd0 11711 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11712 return resultobj;
11713 fail:
11714 return NULL;
11715}
11716
11717
11718static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11719 PyObject *obj;
11720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11721 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11722 Py_INCREF(obj);
11723 return Py_BuildValue((char *)"");
11724}
11725static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11726 PyObject *resultobj;
11727 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11728 int arg2 ;
d14a1e28
RD
11729 wxString *arg3 = 0 ;
11730 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11731 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11732 wxSize const &arg5_defvalue = wxDefaultSize ;
11733 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11734 long arg6 = (long) 0 ;
11735 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11736 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11737 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11738 wxString *arg8 = (wxString *) &arg8_defvalue ;
11739 wxRadioButton *result;
e811c8ce 11740 bool temp3 = False ;
d14a1e28
RD
11741 wxPoint temp4 ;
11742 wxSize temp5 ;
e811c8ce 11743 bool temp8 = False ;
d14a1e28 11744 PyObject * obj0 = 0 ;
994141e6 11745 PyObject * obj1 = 0 ;
d14a1e28
RD
11746 PyObject * obj2 = 0 ;
11747 PyObject * obj3 = 0 ;
11748 PyObject * obj4 = 0 ;
994141e6 11749 PyObject * obj5 = 0 ;
d14a1e28
RD
11750 PyObject * obj6 = 0 ;
11751 PyObject * obj7 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11754 };
11755
994141e6 11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
11757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11759 arg2 = (int) SWIG_AsInt(obj1);
11760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11761 {
11762 arg3 = wxString_in_helper(obj2);
11763 if (arg3 == NULL) SWIG_fail;
e811c8ce 11764 temp3 = True;
d14a1e28
RD
11765 }
11766 if (obj3) {
11767 {
11768 arg4 = &temp4;
11769 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11770 }
11771 }
11772 if (obj4) {
11773 {
11774 arg5 = &temp5;
11775 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11776 }
11777 }
994141e6 11778 if (obj5) {
15afbcd0
RD
11779 arg6 = (long) SWIG_AsLong(obj5);
11780 if (PyErr_Occurred()) SWIG_fail;
994141e6 11781 }
d14a1e28 11782 if (obj6) {
15afbcd0
RD
11783 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11784 SWIG_POINTER_EXCEPTION | 0)) == -1)
11785 SWIG_fail;
d14a1e28 11786 if (arg7 == NULL) {
15afbcd0
RD
11787 PyErr_SetString(PyExc_TypeError,"null reference");
11788 SWIG_fail;
d14a1e28
RD
11789 }
11790 }
11791 if (obj7) {
11792 {
11793 arg8 = wxString_in_helper(obj7);
11794 if (arg8 == NULL) SWIG_fail;
e811c8ce 11795 temp8 = True;
d14a1e28
RD
11796 }
11797 }
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
15afbcd0 11805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
11806 {
11807 if (temp3)
11808 delete arg3;
11809 }
11810 {
11811 if (temp8)
11812 delete arg8;
11813 }
11814 return resultobj;
11815 fail:
11816 {
11817 if (temp3)
11818 delete arg3;
11819 }
11820 {
11821 if (temp8)
11822 delete arg8;
11823 }
11824 return NULL;
11825}
11826
11827
11828static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj;
11830 wxRadioButton *result;
11831 char *kwnames[] = {
11832 NULL
11833 };
11834
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11836 {
11837 PyThreadState* __tstate = wxPyBeginAllowThreads();
11838 result = (wxRadioButton *)new wxRadioButton();
11839
11840 wxPyEndAllowThreads(__tstate);
11841 if (PyErr_Occurred()) SWIG_fail;
11842 }
15afbcd0 11843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
11844 return resultobj;
11845 fail:
11846 return NULL;
11847}
11848
11849
11850static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11851 PyObject *resultobj;
11852 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11853 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11854 int arg3 ;
d14a1e28
RD
11855 wxString *arg4 = 0 ;
11856 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11857 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11858 wxSize const &arg6_defvalue = wxDefaultSize ;
11859 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11860 long arg7 = (long) 0 ;
11861 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11862 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11863 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11864 wxString *arg9 = (wxString *) &arg9_defvalue ;
11865 bool result;
e811c8ce 11866 bool temp4 = False ;
d14a1e28
RD
11867 wxPoint temp5 ;
11868 wxSize temp6 ;
e811c8ce 11869 bool temp9 = False ;
d14a1e28
RD
11870 PyObject * obj0 = 0 ;
11871 PyObject * obj1 = 0 ;
994141e6 11872 PyObject * obj2 = 0 ;
d14a1e28
RD
11873 PyObject * obj3 = 0 ;
11874 PyObject * obj4 = 0 ;
11875 PyObject * obj5 = 0 ;
994141e6 11876 PyObject * obj6 = 0 ;
d14a1e28
RD
11877 PyObject * obj7 = 0 ;
11878 PyObject * obj8 = 0 ;
11879 char *kwnames[] = {
11880 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11881 };
11882
994141e6 11883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
11884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11888 arg3 = (int) SWIG_AsInt(obj2);
11889 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11890 {
11891 arg4 = wxString_in_helper(obj3);
11892 if (arg4 == NULL) SWIG_fail;
e811c8ce 11893 temp4 = True;
d14a1e28
RD
11894 }
11895 if (obj4) {
11896 {
11897 arg5 = &temp5;
11898 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11899 }
11900 }
11901 if (obj5) {
11902 {
11903 arg6 = &temp6;
11904 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11905 }
11906 }
994141e6 11907 if (obj6) {
15afbcd0
RD
11908 arg7 = (long) SWIG_AsLong(obj6);
11909 if (PyErr_Occurred()) SWIG_fail;
994141e6 11910 }
d14a1e28 11911 if (obj7) {
15afbcd0
RD
11912 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11913 SWIG_POINTER_EXCEPTION | 0)) == -1)
11914 SWIG_fail;
d14a1e28 11915 if (arg8 == NULL) {
15afbcd0
RD
11916 PyErr_SetString(PyExc_TypeError,"null reference");
11917 SWIG_fail;
d14a1e28
RD
11918 }
11919 }
11920 if (obj8) {
11921 {
11922 arg9 = wxString_in_helper(obj8);
11923 if (arg9 == NULL) SWIG_fail;
e811c8ce 11924 temp9 = True;
d14a1e28
RD
11925 }
11926 }
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
4f89f6a3
RD
11934 {
11935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11936 }
d14a1e28
RD
11937 {
11938 if (temp4)
11939 delete arg4;
11940 }
11941 {
11942 if (temp9)
11943 delete arg9;
11944 }
11945 return resultobj;
11946 fail:
11947 {
11948 if (temp4)
11949 delete arg4;
11950 }
11951 {
11952 if (temp9)
11953 delete arg9;
11954 }
11955 return NULL;
11956}
11957
11958
11959static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11960 PyObject *resultobj;
11961 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11962 bool result;
11963 PyObject * obj0 = 0 ;
11964 char *kwnames[] = {
11965 (char *) "self", NULL
11966 };
11967
11968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
11969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 result = (bool)(arg1)->GetValue();
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
4f89f6a3
RD
11978 {
11979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11980 }
d14a1e28
RD
11981 return resultobj;
11982 fail:
11983 return NULL;
11984}
11985
11986
11987static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj;
11989 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11990 bool arg2 ;
11991 PyObject * obj0 = 0 ;
11992 PyObject * obj1 = 0 ;
11993 char *kwnames[] = {
11994 (char *) "self",(char *) "value", NULL
11995 };
11996
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12000 arg2 = (bool) SWIG_AsBool(obj1);
12001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 (arg1)->SetValue(arg2);
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 Py_INCREF(Py_None); resultobj = Py_None;
12010 return resultobj;
12011 fail:
12012 return NULL;
12013}
12014
12015
12016static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12017 PyObject *obj;
12018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12019 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12020 Py_INCREF(obj);
12021 return Py_BuildValue((char *)"");
12022}
b2dc1044
RD
12023static int _wrap_SliderNameStr_set(PyObject *_val) {
12024 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12025 return 1;
12026}
12027
12028
12029static PyObject *_wrap_SliderNameStr_get() {
12030 PyObject *pyobj;
12031
12032 {
12033#if wxUSE_UNICODE
12034 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12035#else
12036 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12037#endif
12038 }
12039 return pyobj;
12040}
12041
12042
d14a1e28
RD
12043static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj;
12045 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12046 int arg2 ;
d14a1e28
RD
12047 int arg3 ;
12048 int arg4 ;
12049 int arg5 ;
12050 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12051 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12052 wxSize const &arg7_defvalue = wxDefaultSize ;
12053 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12054 long arg8 = (long) wxSL_HORIZONTAL ;
12055 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12056 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12057 wxString const &arg10_defvalue = wxPySliderNameStr ;
12058 wxString *arg10 = (wxString *) &arg10_defvalue ;
12059 wxSlider *result;
12060 wxPoint temp6 ;
12061 wxSize temp7 ;
e811c8ce 12062 bool temp10 = False ;
d14a1e28 12063 PyObject * obj0 = 0 ;
994141e6
RD
12064 PyObject * obj1 = 0 ;
12065 PyObject * obj2 = 0 ;
12066 PyObject * obj3 = 0 ;
12067 PyObject * obj4 = 0 ;
d14a1e28
RD
12068 PyObject * obj5 = 0 ;
12069 PyObject * obj6 = 0 ;
994141e6 12070 PyObject * obj7 = 0 ;
d14a1e28
RD
12071 PyObject * obj8 = 0 ;
12072 PyObject * obj9 = 0 ;
12073 char *kwnames[] = {
994141e6 12074 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
12075 };
12076
994141e6 12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
12078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12080 arg2 = (int) SWIG_AsInt(obj1);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 arg3 = (int) SWIG_AsInt(obj2);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 arg4 = (int) SWIG_AsInt(obj3);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 arg5 = (int) SWIG_AsInt(obj4);
12087 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12088 if (obj5) {
12089 {
12090 arg6 = &temp6;
12091 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12092 }
12093 }
12094 if (obj6) {
12095 {
12096 arg7 = &temp7;
12097 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12098 }
12099 }
994141e6 12100 if (obj7) {
15afbcd0
RD
12101 arg8 = (long) SWIG_AsLong(obj7);
12102 if (PyErr_Occurred()) SWIG_fail;
994141e6 12103 }
d14a1e28 12104 if (obj8) {
15afbcd0
RD
12105 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12106 SWIG_POINTER_EXCEPTION | 0)) == -1)
12107 SWIG_fail;
d14a1e28 12108 if (arg9 == NULL) {
15afbcd0
RD
12109 PyErr_SetString(PyExc_TypeError,"null reference");
12110 SWIG_fail;
d14a1e28
RD
12111 }
12112 }
12113 if (obj9) {
12114 {
12115 arg10 = wxString_in_helper(obj9);
12116 if (arg10 == NULL) SWIG_fail;
e811c8ce 12117 temp10 = True;
d14a1e28
RD
12118 }
12119 }
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
15afbcd0 12127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12128 {
12129 if (temp10)
12130 delete arg10;
12131 }
12132 return resultobj;
12133 fail:
12134 {
12135 if (temp10)
12136 delete arg10;
12137 }
12138 return NULL;
12139}
12140
12141
12142static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12143 PyObject *resultobj;
12144 wxSlider *result;
12145 char *kwnames[] = {
12146 NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 result = (wxSlider *)new wxSlider();
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
15afbcd0 12157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12158 return resultobj;
12159 fail:
12160 return NULL;
12161}
12162
12163
12164static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12165 PyObject *resultobj;
12166 wxSlider *arg1 = (wxSlider *) 0 ;
12167 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12168 int arg3 ;
d14a1e28
RD
12169 int arg4 ;
12170 int arg5 ;
12171 int arg6 ;
12172 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12173 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12174 wxSize const &arg8_defvalue = wxDefaultSize ;
12175 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12176 long arg9 = (long) wxSL_HORIZONTAL ;
12177 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12178 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12179 wxString const &arg11_defvalue = wxPySliderNameStr ;
12180 wxString *arg11 = (wxString *) &arg11_defvalue ;
12181 bool result;
12182 wxPoint temp7 ;
12183 wxSize temp8 ;
e811c8ce 12184 bool temp11 = False ;
d14a1e28
RD
12185 PyObject * obj0 = 0 ;
12186 PyObject * obj1 = 0 ;
994141e6
RD
12187 PyObject * obj2 = 0 ;
12188 PyObject * obj3 = 0 ;
12189 PyObject * obj4 = 0 ;
12190 PyObject * obj5 = 0 ;
d14a1e28
RD
12191 PyObject * obj6 = 0 ;
12192 PyObject * obj7 = 0 ;
994141e6 12193 PyObject * obj8 = 0 ;
d14a1e28
RD
12194 PyObject * obj9 = 0 ;
12195 PyObject * obj10 = 0 ;
12196 char *kwnames[] = {
994141e6 12197 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
12198 };
12199
994141e6 12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
12201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12205 arg3 = (int) SWIG_AsInt(obj2);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 arg4 = (int) SWIG_AsInt(obj3);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 arg5 = (int) SWIG_AsInt(obj4);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 arg6 = (int) SWIG_AsInt(obj5);
12212 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12213 if (obj6) {
12214 {
12215 arg7 = &temp7;
12216 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12217 }
12218 }
12219 if (obj7) {
12220 {
12221 arg8 = &temp8;
12222 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12223 }
12224 }
994141e6 12225 if (obj8) {
15afbcd0
RD
12226 arg9 = (long) SWIG_AsLong(obj8);
12227 if (PyErr_Occurred()) SWIG_fail;
994141e6 12228 }
d14a1e28 12229 if (obj9) {
15afbcd0
RD
12230 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12231 SWIG_POINTER_EXCEPTION | 0)) == -1)
12232 SWIG_fail;
d14a1e28 12233 if (arg10 == NULL) {
15afbcd0
RD
12234 PyErr_SetString(PyExc_TypeError,"null reference");
12235 SWIG_fail;
d14a1e28
RD
12236 }
12237 }
12238 if (obj10) {
12239 {
12240 arg11 = wxString_in_helper(obj10);
12241 if (arg11 == NULL) SWIG_fail;
e811c8ce 12242 temp11 = True;
d14a1e28
RD
12243 }
12244 }
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12248
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
4f89f6a3
RD
12252 {
12253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12254 }
d14a1e28
RD
12255 {
12256 if (temp11)
12257 delete arg11;
12258 }
12259 return resultobj;
12260 fail:
12261 {
12262 if (temp11)
12263 delete arg11;
12264 }
12265 return NULL;
12266}
12267
12268
12269static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12270 PyObject *resultobj;
12271 wxSlider *arg1 = (wxSlider *) 0 ;
12272 int result;
12273 PyObject * obj0 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
12279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12281 {
12282 PyThreadState* __tstate = wxPyBeginAllowThreads();
12283 result = (int)((wxSlider const *)arg1)->GetValue();
12284
12285 wxPyEndAllowThreads(__tstate);
12286 if (PyErr_Occurred()) SWIG_fail;
12287 }
15afbcd0 12288 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12289 return resultobj;
12290 fail:
12291 return NULL;
12292}
12293
12294
12295static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12296 PyObject *resultobj;
12297 wxSlider *arg1 = (wxSlider *) 0 ;
12298 int arg2 ;
12299 PyObject * obj0 = 0 ;
994141e6 12300 PyObject * obj1 = 0 ;
d14a1e28
RD
12301 char *kwnames[] = {
12302 (char *) "self",(char *) "value", NULL
12303 };
12304
994141e6 12305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12308 arg2 = (int) SWIG_AsInt(obj1);
12309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 (arg1)->SetValue(arg2);
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 Py_INCREF(Py_None); resultobj = Py_None;
12318 return resultobj;
12319 fail:
12320 return NULL;
12321}
12322
12323
12324static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj;
12326 wxSlider *arg1 = (wxSlider *) 0 ;
12327 int arg2 ;
12328 int arg3 ;
12329 PyObject * obj0 = 0 ;
994141e6
RD
12330 PyObject * obj1 = 0 ;
12331 PyObject * obj2 = 0 ;
d14a1e28
RD
12332 char *kwnames[] = {
12333 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12334 };
12335
994141e6 12336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12339 arg2 = (int) SWIG_AsInt(obj1);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 arg3 = (int) SWIG_AsInt(obj2);
12342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 (arg1)->SetRange(arg2,arg3);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 Py_INCREF(Py_None); resultobj = Py_None;
12351 return resultobj;
12352 fail:
12353 return NULL;
12354}
12355
12356
12357static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj;
12359 wxSlider *arg1 = (wxSlider *) 0 ;
12360 int result;
12361 PyObject * obj0 = 0 ;
12362 char *kwnames[] = {
12363 (char *) "self", NULL
12364 };
12365
12366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
12367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 result = (int)((wxSlider const *)arg1)->GetMin();
12372
12373 wxPyEndAllowThreads(__tstate);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 }
15afbcd0 12376 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12377 return resultobj;
12378 fail:
12379 return NULL;
12380}
12381
12382
12383static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12384 PyObject *resultobj;
12385 wxSlider *arg1 = (wxSlider *) 0 ;
12386 int result;
12387 PyObject * obj0 = 0 ;
12388 char *kwnames[] = {
12389 (char *) "self", NULL
12390 };
12391
12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
12393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 result = (int)((wxSlider const *)arg1)->GetMax();
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
15afbcd0 12402 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12403 return resultobj;
12404 fail:
12405 return NULL;
12406}
12407
12408
12409static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj;
12411 wxSlider *arg1 = (wxSlider *) 0 ;
12412 int arg2 ;
12413 PyObject * obj0 = 0 ;
994141e6 12414 PyObject * obj1 = 0 ;
d14a1e28
RD
12415 char *kwnames[] = {
12416 (char *) "self",(char *) "minValue", NULL
12417 };
12418
994141e6 12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12422 arg2 = (int) SWIG_AsInt(obj1);
12423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 (arg1)->SetMin(arg2);
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 Py_INCREF(Py_None); resultobj = Py_None;
12432 return resultobj;
12433 fail:
12434 return NULL;
12435}
12436
12437
12438static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxSlider *arg1 = (wxSlider *) 0 ;
12441 int arg2 ;
12442 PyObject * obj0 = 0 ;
994141e6 12443 PyObject * obj1 = 0 ;
d14a1e28
RD
12444 char *kwnames[] = {
12445 (char *) "self",(char *) "maxValue", NULL
12446 };
12447
994141e6 12448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12451 arg2 = (int) SWIG_AsInt(obj1);
12452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12453 {
12454 PyThreadState* __tstate = wxPyBeginAllowThreads();
12455 (arg1)->SetMax(arg2);
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 Py_INCREF(Py_None); resultobj = Py_None;
12461 return resultobj;
12462 fail:
12463 return NULL;
12464}
12465
12466
12467static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12468 PyObject *resultobj;
12469 wxSlider *arg1 = (wxSlider *) 0 ;
12470 int arg2 ;
12471 PyObject * obj0 = 0 ;
994141e6 12472 PyObject * obj1 = 0 ;
d14a1e28
RD
12473 char *kwnames[] = {
12474 (char *) "self",(char *) "lineSize", NULL
12475 };
12476
994141e6 12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12480 arg2 = (int) SWIG_AsInt(obj1);
12481 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 (arg1)->SetLineSize(arg2);
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 Py_INCREF(Py_None); resultobj = Py_None;
12490 return resultobj;
12491 fail:
12492 return NULL;
12493}
12494
12495
12496static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxSlider *arg1 = (wxSlider *) 0 ;
12499 int arg2 ;
12500 PyObject * obj0 = 0 ;
994141e6 12501 PyObject * obj1 = 0 ;
d14a1e28
RD
12502 char *kwnames[] = {
12503 (char *) "self",(char *) "pageSize", NULL
12504 };
12505
994141e6 12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12509 arg2 = (int) SWIG_AsInt(obj1);
12510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
12513 (arg1)->SetPageSize(arg2);
12514
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 Py_INCREF(Py_None); resultobj = Py_None;
12519 return resultobj;
12520 fail:
12521 return NULL;
12522}
12523
12524
12525static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12526 PyObject *resultobj;
12527 wxSlider *arg1 = (wxSlider *) 0 ;
12528 int result;
12529 PyObject * obj0 = 0 ;
12530 char *kwnames[] = {
12531 (char *) "self", NULL
12532 };
12533
12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
12535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 result = (int)((wxSlider const *)arg1)->GetLineSize();
12540
12541 wxPyEndAllowThreads(__tstate);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 }
15afbcd0 12544 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12545 return resultobj;
12546 fail:
12547 return NULL;
12548}
12549
12550
12551static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12552 PyObject *resultobj;
12553 wxSlider *arg1 = (wxSlider *) 0 ;
12554 int result;
12555 PyObject * obj0 = 0 ;
12556 char *kwnames[] = {
12557 (char *) "self", NULL
12558 };
12559
12560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
12561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 result = (int)((wxSlider const *)arg1)->GetPageSize();
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
15afbcd0 12570 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12571 return resultobj;
12572 fail:
12573 return NULL;
12574}
12575
12576
12577static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12578 PyObject *resultobj;
12579 wxSlider *arg1 = (wxSlider *) 0 ;
12580 int arg2 ;
12581 PyObject * obj0 = 0 ;
994141e6 12582 PyObject * obj1 = 0 ;
d14a1e28
RD
12583 char *kwnames[] = {
12584 (char *) "self",(char *) "lenPixels", NULL
12585 };
12586
994141e6 12587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12590 arg2 = (int) SWIG_AsInt(obj1);
12591 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12592 {
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
12594 (arg1)->SetThumbLength(arg2);
12595
12596 wxPyEndAllowThreads(__tstate);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 Py_INCREF(Py_None); resultobj = Py_None;
12600 return resultobj;
12601 fail:
12602 return NULL;
12603}
12604
12605
12606static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12607 PyObject *resultobj;
12608 wxSlider *arg1 = (wxSlider *) 0 ;
12609 int result;
12610 PyObject * obj0 = 0 ;
12611 char *kwnames[] = {
12612 (char *) "self", NULL
12613 };
12614
12615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
12616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12621
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
15afbcd0 12625 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12626 return resultobj;
12627 fail:
12628 return NULL;
12629}
12630
12631
12632static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12633 PyObject *resultobj;
12634 wxSlider *arg1 = (wxSlider *) 0 ;
12635 int arg2 ;
994141e6 12636 int arg3 = (int) 1 ;
d14a1e28 12637 PyObject * obj0 = 0 ;
994141e6
RD
12638 PyObject * obj1 = 0 ;
12639 PyObject * obj2 = 0 ;
d14a1e28
RD
12640 char *kwnames[] = {
12641 (char *) "self",(char *) "n",(char *) "pos", NULL
12642 };
12643
994141e6 12644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12647 arg2 = (int) SWIG_AsInt(obj1);
12648 if (PyErr_Occurred()) SWIG_fail;
994141e6 12649 if (obj2) {
15afbcd0
RD
12650 arg3 = (int) SWIG_AsInt(obj2);
12651 if (PyErr_Occurred()) SWIG_fail;
994141e6 12652 }
d14a1e28
RD
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 (arg1)->SetTickFreq(arg2,arg3);
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 Py_INCREF(Py_None); resultobj = Py_None;
12661 return resultobj;
12662 fail:
12663 return NULL;
12664}
12665
12666
12667static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxSlider *arg1 = (wxSlider *) 0 ;
12670 int result;
12671 PyObject * obj0 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15afbcd0
RD
12677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
15afbcd0 12686 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12687 return resultobj;
12688 fail:
12689 return NULL;
12690}
12691
12692
12693static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxSlider *arg1 = (wxSlider *) 0 ;
12696 PyObject * obj0 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15afbcd0
RD
12702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 (arg1)->ClearTicks();
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 Py_INCREF(Py_None); resultobj = Py_None;
12712 return resultobj;
12713 fail:
12714 return NULL;
12715}
12716
12717
12718static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj;
12720 wxSlider *arg1 = (wxSlider *) 0 ;
12721 int arg2 ;
12722 PyObject * obj0 = 0 ;
994141e6 12723 PyObject * obj1 = 0 ;
d14a1e28
RD
12724 char *kwnames[] = {
12725 (char *) "self",(char *) "tickPos", NULL
12726 };
12727
994141e6 12728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12731 arg2 = (int) SWIG_AsInt(obj1);
12732 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 (arg1)->SetTick(arg2);
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 Py_INCREF(Py_None); resultobj = Py_None;
12741 return resultobj;
12742 fail:
12743 return NULL;
12744}
12745
12746
12747static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12748 PyObject *resultobj;
12749 wxSlider *arg1 = (wxSlider *) 0 ;
12750 PyObject * obj0 = 0 ;
12751 char *kwnames[] = {
12752 (char *) "self", NULL
12753 };
12754
12755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15afbcd0
RD
12756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12758 {
12759 PyThreadState* __tstate = wxPyBeginAllowThreads();
12760 (arg1)->ClearSel();
12761
12762 wxPyEndAllowThreads(__tstate);
12763 if (PyErr_Occurred()) SWIG_fail;
12764 }
12765 Py_INCREF(Py_None); resultobj = Py_None;
12766 return resultobj;
12767 fail:
12768 return NULL;
12769}
12770
12771
12772static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12773 PyObject *resultobj;
12774 wxSlider *arg1 = (wxSlider *) 0 ;
12775 int result;
12776 PyObject * obj0 = 0 ;
12777 char *kwnames[] = {
12778 (char *) "self", NULL
12779 };
12780
12781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
12782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12784 {
12785 PyThreadState* __tstate = wxPyBeginAllowThreads();
12786 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12787
12788 wxPyEndAllowThreads(__tstate);
12789 if (PyErr_Occurred()) SWIG_fail;
12790 }
15afbcd0 12791 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12792 return resultobj;
12793 fail:
12794 return NULL;
12795}
12796
12797
12798static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12799 PyObject *resultobj;
12800 wxSlider *arg1 = (wxSlider *) 0 ;
12801 int result;
12802 PyObject * obj0 = 0 ;
12803 char *kwnames[] = {
12804 (char *) "self", NULL
12805 };
12806
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
12808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 result = (int)((wxSlider const *)arg1)->GetSelStart();
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
15afbcd0 12817 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12818 return resultobj;
12819 fail:
12820 return NULL;
12821}
12822
12823
12824static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12825 PyObject *resultobj;
12826 wxSlider *arg1 = (wxSlider *) 0 ;
12827 int arg2 ;
12828 int arg3 ;
12829 PyObject * obj0 = 0 ;
994141e6
RD
12830 PyObject * obj1 = 0 ;
12831 PyObject * obj2 = 0 ;
d14a1e28
RD
12832 char *kwnames[] = {
12833 (char *) "self",(char *) "min",(char *) "max", NULL
12834 };
12835
994141e6 12836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12839 arg2 = (int) SWIG_AsInt(obj1);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 arg3 = (int) SWIG_AsInt(obj2);
12842 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12843 {
12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
12845 (arg1)->SetSelection(arg2,arg3);
12846
12847 wxPyEndAllowThreads(__tstate);
12848 if (PyErr_Occurred()) SWIG_fail;
12849 }
12850 Py_INCREF(Py_None); resultobj = Py_None;
12851 return resultobj;
12852 fail:
12853 return NULL;
12854}
12855
12856
12857static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12858 PyObject *obj;
12859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12860 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12861 Py_INCREF(obj);
12862 return Py_BuildValue((char *)"");
12863}
b2dc1044
RD
12864static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12865 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12866 return 1;
12867}
12868
12869
12870static PyObject *_wrap_ToggleButtonNameStr_get() {
12871 PyObject *pyobj;
12872
12873 {
12874#if wxUSE_UNICODE
12875 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12876#else
12877 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12878#endif
12879 }
12880 return pyobj;
12881}
12882
12883
d14a1e28
RD
12884static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12885 PyObject *resultobj;
12886 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12887 int arg2 ;
d14a1e28
RD
12888 wxString *arg3 = 0 ;
12889 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12890 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12891 wxSize const &arg5_defvalue = wxDefaultSize ;
12892 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12893 long arg6 = (long) 0 ;
12894 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12895 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12896 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12897 wxString *arg8 = (wxString *) &arg8_defvalue ;
12898 wxToggleButton *result;
e811c8ce 12899 bool temp3 = False ;
d14a1e28
RD
12900 wxPoint temp4 ;
12901 wxSize temp5 ;
e811c8ce 12902 bool temp8 = False ;
d14a1e28 12903 PyObject * obj0 = 0 ;
994141e6 12904 PyObject * obj1 = 0 ;
d14a1e28
RD
12905 PyObject * obj2 = 0 ;
12906 PyObject * obj3 = 0 ;
12907 PyObject * obj4 = 0 ;
994141e6 12908 PyObject * obj5 = 0 ;
d14a1e28
RD
12909 PyObject * obj6 = 0 ;
12910 PyObject * obj7 = 0 ;
12911 char *kwnames[] = {
12912 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12913 };
12914
994141e6 12915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
12916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12918 arg2 = (int) SWIG_AsInt(obj1);
12919 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12920 {
12921 arg3 = wxString_in_helper(obj2);
12922 if (arg3 == NULL) SWIG_fail;
e811c8ce 12923 temp3 = True;
d14a1e28
RD
12924 }
12925 if (obj3) {
12926 {
12927 arg4 = &temp4;
12928 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12929 }
12930 }
12931 if (obj4) {
12932 {
12933 arg5 = &temp5;
12934 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12935 }
12936 }
994141e6 12937 if (obj5) {
15afbcd0
RD
12938 arg6 = (long) SWIG_AsLong(obj5);
12939 if (PyErr_Occurred()) SWIG_fail;
994141e6 12940 }
d14a1e28 12941 if (obj6) {
15afbcd0
RD
12942 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12943 SWIG_POINTER_EXCEPTION | 0)) == -1)
12944 SWIG_fail;
d14a1e28 12945 if (arg7 == NULL) {
15afbcd0
RD
12946 PyErr_SetString(PyExc_TypeError,"null reference");
12947 SWIG_fail;
d14a1e28
RD
12948 }
12949 }
12950 if (obj7) {
12951 {
12952 arg8 = wxString_in_helper(obj7);
12953 if (arg8 == NULL) SWIG_fail;
e811c8ce 12954 temp8 = True;
d14a1e28
RD
12955 }
12956 }
12957 {
12958 PyThreadState* __tstate = wxPyBeginAllowThreads();
12959 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12960
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
15afbcd0 12964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
12965 {
12966 if (temp3)
12967 delete arg3;
12968 }
12969 {
12970 if (temp8)
12971 delete arg8;
12972 }
12973 return resultobj;
12974 fail:
12975 {
12976 if (temp3)
12977 delete arg3;
12978 }
12979 {
12980 if (temp8)
12981 delete arg8;
12982 }
12983 return NULL;
12984}
12985
12986
12987static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12988 PyObject *resultobj;
12989 wxToggleButton *result;
12990 char *kwnames[] = {
12991 NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 result = (wxToggleButton *)new wxToggleButton();
12998
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
15afbcd0 13002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
13003 return resultobj;
13004 fail:
13005 return NULL;
13006}
13007
13008
13009static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13010 PyObject *resultobj;
13011 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13012 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 13013 int arg3 ;
d14a1e28
RD
13014 wxString *arg4 = 0 ;
13015 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13016 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13017 wxSize const &arg6_defvalue = wxDefaultSize ;
13018 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13019 long arg7 = (long) 0 ;
13020 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13021 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13022 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13023 wxString *arg9 = (wxString *) &arg9_defvalue ;
13024 bool result;
e811c8ce 13025 bool temp4 = False ;
d14a1e28
RD
13026 wxPoint temp5 ;
13027 wxSize temp6 ;
e811c8ce 13028 bool temp9 = False ;
d14a1e28
RD
13029 PyObject * obj0 = 0 ;
13030 PyObject * obj1 = 0 ;
994141e6 13031 PyObject * obj2 = 0 ;
d14a1e28
RD
13032 PyObject * obj3 = 0 ;
13033 PyObject * obj4 = 0 ;
13034 PyObject * obj5 = 0 ;
994141e6 13035 PyObject * obj6 = 0 ;
d14a1e28
RD
13036 PyObject * obj7 = 0 ;
13037 PyObject * obj8 = 0 ;
13038 char *kwnames[] = {
13039 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13040 };
13041
994141e6 13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
13043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13047 arg3 = (int) SWIG_AsInt(obj2);
13048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13049 {
13050 arg4 = wxString_in_helper(obj3);
13051 if (arg4 == NULL) SWIG_fail;
e811c8ce 13052 temp4 = True;
d14a1e28
RD
13053 }
13054 if (obj4) {
13055 {
13056 arg5 = &temp5;
13057 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13058 }
13059 }
13060 if (obj5) {
13061 {
13062 arg6 = &temp6;
13063 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13064 }
13065 }
994141e6 13066 if (obj6) {
15afbcd0
RD
13067 arg7 = (long) SWIG_AsLong(obj6);
13068 if (PyErr_Occurred()) SWIG_fail;
994141e6 13069 }
d14a1e28 13070 if (obj7) {
15afbcd0
RD
13071 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13072 SWIG_POINTER_EXCEPTION | 0)) == -1)
13073 SWIG_fail;
d14a1e28 13074 if (arg8 == NULL) {
15afbcd0
RD
13075 PyErr_SetString(PyExc_TypeError,"null reference");
13076 SWIG_fail;
d14a1e28
RD
13077 }
13078 }
13079 if (obj8) {
13080 {
13081 arg9 = wxString_in_helper(obj8);
13082 if (arg9 == NULL) SWIG_fail;
e811c8ce 13083 temp9 = True;
d14a1e28
RD
13084 }
13085 }
13086 {
13087 PyThreadState* __tstate = wxPyBeginAllowThreads();
13088 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13089
13090 wxPyEndAllowThreads(__tstate);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 }
4f89f6a3
RD
13093 {
13094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13095 }
d14a1e28
RD
13096 {
13097 if (temp4)
13098 delete arg4;
13099 }
13100 {
13101 if (temp9)
13102 delete arg9;
13103 }
13104 return resultobj;
13105 fail:
13106 {
13107 if (temp4)
13108 delete arg4;
13109 }
13110 {
13111 if (temp9)
13112 delete arg9;
13113 }
13114 return NULL;
13115}
13116
13117
13118static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj;
13120 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13121 bool arg2 ;
13122 PyObject * obj0 = 0 ;
13123 PyObject * obj1 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self",(char *) "value", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13131 arg2 = (bool) SWIG_AsBool(obj1);
13132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13133 {
13134 PyThreadState* __tstate = wxPyBeginAllowThreads();
13135 (arg1)->SetValue(arg2);
13136
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
13140 Py_INCREF(Py_None); resultobj = Py_None;
13141 return resultobj;
13142 fail:
13143 return NULL;
13144}
13145
13146
13147static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13148 PyObject *resultobj;
13149 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13150 bool result;
13151 PyObject * obj0 = 0 ;
13152 char *kwnames[] = {
13153 (char *) "self", NULL
13154 };
13155
13156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
13157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13159 {
13160 PyThreadState* __tstate = wxPyBeginAllowThreads();
13161 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13162
13163 wxPyEndAllowThreads(__tstate);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
4f89f6a3
RD
13166 {
13167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13168 }
d14a1e28
RD
13169 return resultobj;
13170 fail:
13171 return NULL;
13172}
13173
13174
13175static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj;
13177 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13178 wxString *arg2 = 0 ;
e811c8ce 13179 bool temp2 = False ;
d14a1e28
RD
13180 PyObject * obj0 = 0 ;
13181 PyObject * obj1 = 0 ;
13182 char *kwnames[] = {
13183 (char *) "self",(char *) "label", NULL
13184 };
13185
13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13189 {
13190 arg2 = wxString_in_helper(obj1);
13191 if (arg2 == NULL) SWIG_fail;
e811c8ce 13192 temp2 = True;
d14a1e28
RD
13193 }
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 (arg1)->SetLabel((wxString const &)*arg2);
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 Py_INCREF(Py_None); resultobj = Py_None;
13202 {
13203 if (temp2)
13204 delete arg2;
13205 }
13206 return resultobj;
13207 fail:
13208 {
13209 if (temp2)
13210 delete arg2;
13211 }
13212 return NULL;
13213}
13214
13215
13216static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13217 PyObject *obj;
13218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13219 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13220 Py_INCREF(obj);
13221 return Py_BuildValue((char *)"");
13222}
b2dc1044
RD
13223static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13224 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13225 return 1;
13226}
13227
13228
13229static PyObject *_wrap_NOTEBOOK_NAME_get() {
13230 PyObject *pyobj;
13231
13232 {
13233#if wxUSE_UNICODE
13234 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13235#else
13236 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13237#endif
13238 }
13239 return pyobj;
13240}
13241
13242
d14a1e28
RD
13243static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj;
13245 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13246 size_t result;
13247 PyObject * obj0 = 0 ;
13248 char *kwnames[] = {
13249 (char *) "self", NULL
13250 };
13251
13252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
13253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13255 {
13256 PyThreadState* __tstate = wxPyBeginAllowThreads();
13257 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13258
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
15afbcd0 13262 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
13263 return resultobj;
13264 fail:
13265 return NULL;
13266}
13267
13268
13269static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13270 PyObject *resultobj;
13271 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13272 size_t arg2 ;
13273 wxWindow *result;
13274 PyObject * obj0 = 0 ;
13275 PyObject * obj1 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "self",(char *) "n", NULL
13278 };
13279
13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13283 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 result = (wxWindow *)(arg1)->GetPage(arg2);
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 {
13293 resultobj = wxPyMake_wxObject(result);
13294 }
13295 return resultobj;
13296 fail:
13297 return NULL;
13298}
13299
13300
13301static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj;
13303 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13304 int result;
13305 PyObject * obj0 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13316
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
15afbcd0 13320 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13321 return resultobj;
13322 fail:
13323 return NULL;
13324}
13325
13326
13327static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13328 PyObject *resultobj;
13329 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13330 size_t arg2 ;
13331 wxString *arg3 = 0 ;
13332 bool result;
e811c8ce 13333 bool temp3 = False ;
d14a1e28
RD
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 PyObject * obj2 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self",(char *) "n",(char *) "strText", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13344 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13345 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13346 {
13347 arg3 = wxString_in_helper(obj2);
13348 if (arg3 == NULL) SWIG_fail;
e811c8ce 13349 temp3 = True;
d14a1e28
RD
13350 }
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13354
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
4f89f6a3
RD
13358 {
13359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13360 }
d14a1e28
RD
13361 {
13362 if (temp3)
13363 delete arg3;
13364 }
13365 return resultobj;
13366 fail:
13367 {
13368 if (temp3)
13369 delete arg3;
13370 }
13371 return NULL;
13372}
13373
13374
13375static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13378 size_t arg2 ;
13379 wxString result;
13380 PyObject * obj0 = 0 ;
13381 PyObject * obj1 = 0 ;
13382 char *kwnames[] = {
13383 (char *) "self",(char *) "n", NULL
13384 };
13385
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13389 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13394
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
13398 {
13399#if wxUSE_UNICODE
13400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13401#else
13402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13403#endif
13404 }
13405 return resultobj;
13406 fail:
13407 return NULL;
13408}
13409
13410
13411static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13412 PyObject *resultobj;
13413 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13414 wxImageList *arg2 = (wxImageList *) 0 ;
13415 PyObject * obj0 = 0 ;
13416 PyObject * obj1 = 0 ;
13417 char *kwnames[] = {
13418 (char *) "self",(char *) "imageList", NULL
13419 };
13420
13421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 (arg1)->SetImageList(arg2);
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 Py_INCREF(Py_None); resultobj = Py_None;
13434 return resultobj;
13435 fail:
13436 return NULL;
13437}
13438
13439
13440static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13441 PyObject *resultobj;
13442 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13443 wxImageList *arg2 = (wxImageList *) 0 ;
13444 PyObject * obj0 = 0 ;
13445 PyObject * obj1 = 0 ;
13446 char *kwnames[] = {
13447 (char *) "self",(char *) "imageList", NULL
13448 };
13449
13450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13454 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
13455 {
13456 PyThreadState* __tstate = wxPyBeginAllowThreads();
13457 (arg1)->AssignImageList(arg2);
13458
13459 wxPyEndAllowThreads(__tstate);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
13462 Py_INCREF(Py_None); resultobj = Py_None;
13463 return resultobj;
13464 fail:
13465 return NULL;
13466}
13467
13468
13469static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13470 PyObject *resultobj;
13471 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13472 wxImageList *result;
13473 PyObject * obj0 = 0 ;
13474 char *kwnames[] = {
13475 (char *) "self", NULL
13476 };
13477
13478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
13479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13484
13485 wxPyEndAllowThreads(__tstate);
13486 if (PyErr_Occurred()) SWIG_fail;
13487 }
13488 {
13489 resultobj = wxPyMake_wxObject(result);
13490 }
13491 return resultobj;
13492 fail:
13493 return NULL;
13494}
13495
13496
13497static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13498 PyObject *resultobj;
13499 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13500 size_t arg2 ;
13501 int result;
13502 PyObject * obj0 = 0 ;
13503 PyObject * obj1 = 0 ;
13504 char *kwnames[] = {
13505 (char *) "self",(char *) "n", NULL
13506 };
13507
13508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13511 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
15afbcd0 13520 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13521 return resultobj;
13522 fail:
13523 return NULL;
13524}
13525
13526
13527static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13530 size_t arg2 ;
13531 int arg3 ;
13532 bool result;
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
994141e6 13535 PyObject * obj2 = 0 ;
d14a1e28
RD
13536 char *kwnames[] = {
13537 (char *) "self",(char *) "n",(char *) "imageId", NULL
13538 };
13539
994141e6 13540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13543 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 arg3 = (int) SWIG_AsInt(obj2);
13546 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13550
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
4f89f6a3
RD
13554 {
13555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13556 }
d14a1e28
RD
13557 return resultobj;
13558 fail:
13559 return NULL;
13560}
13561
13562
13563static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj;
13565 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13566 wxSize *arg2 = 0 ;
13567 wxSize temp2 ;
13568 PyObject * obj0 = 0 ;
13569 PyObject * obj1 = 0 ;
13570 char *kwnames[] = {
13571 (char *) "self",(char *) "size", NULL
13572 };
13573
13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13577 {
13578 arg2 = &temp2;
13579 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13580 }
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
13583 (arg1)->SetPageSize((wxSize const &)*arg2);
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 Py_INCREF(Py_None); resultobj = Py_None;
13589 return resultobj;
13590 fail:
13591 return NULL;
13592}
13593
13594
13595static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj;
13597 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13598 wxSize *arg2 = 0 ;
13599 wxSize result;
13600 wxSize temp2 ;
13601 PyObject * obj0 = 0 ;
13602 PyObject * obj1 = 0 ;
13603 char *kwnames[] = {
13604 (char *) "self",(char *) "sizePage", NULL
13605 };
13606
13607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13610 {
13611 arg2 = &temp2;
13612 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13613 }
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13617
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 {
13622 wxSize * resultptr;
13623 resultptr = new wxSize((wxSize &) result);
15afbcd0 13624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13625 }
13626 return resultobj;
13627 fail:
13628 return NULL;
13629}
13630
13631
13632static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13635 size_t arg2 ;
13636 bool result;
13637 PyObject * obj0 = 0 ;
13638 PyObject * obj1 = 0 ;
13639 char *kwnames[] = {
13640 (char *) "self",(char *) "n", NULL
13641 };
13642
13643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13646 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 result = (bool)(arg1)->DeletePage(arg2);
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
4f89f6a3
RD
13655 {
13656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13657 }
d14a1e28
RD
13658 return resultobj;
13659 fail:
13660 return NULL;
13661}
13662
13663
13664static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13665 PyObject *resultobj;
13666 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13667 size_t arg2 ;
13668 bool result;
13669 PyObject * obj0 = 0 ;
13670 PyObject * obj1 = 0 ;
13671 char *kwnames[] = {
13672 (char *) "self",(char *) "n", NULL
13673 };
13674
13675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13678 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13679 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13680 {
13681 PyThreadState* __tstate = wxPyBeginAllowThreads();
13682 result = (bool)(arg1)->RemovePage(arg2);
13683
13684 wxPyEndAllowThreads(__tstate);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 }
4f89f6a3
RD
13687 {
13688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13689 }
d14a1e28
RD
13690 return resultobj;
13691 fail:
13692 return NULL;
13693}
13694
13695
13696static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13697 PyObject *resultobj;
13698 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13699 bool result;
13700 PyObject * obj0 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
15afbcd0
RD
13706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13708 {
13709 PyThreadState* __tstate = wxPyBeginAllowThreads();
13710 result = (bool)(arg1)->DeleteAllPages();
13711
13712 wxPyEndAllowThreads(__tstate);
13713 if (PyErr_Occurred()) SWIG_fail;
13714 }
4f89f6a3
RD
13715 {
13716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13717 }
d14a1e28
RD
13718 return resultobj;
13719 fail:
13720 return NULL;
13721}
13722
13723
13724static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13725 PyObject *resultobj;
13726 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13727 wxWindow *arg2 = (wxWindow *) 0 ;
13728 wxString *arg3 = 0 ;
e811c8ce 13729 bool arg4 = (bool) False ;
d14a1e28
RD
13730 int arg5 = (int) -1 ;
13731 bool result;
e811c8ce 13732 bool temp3 = False ;
d14a1e28
RD
13733 PyObject * obj0 = 0 ;
13734 PyObject * obj1 = 0 ;
13735 PyObject * obj2 = 0 ;
13736 PyObject * obj3 = 0 ;
994141e6 13737 PyObject * obj4 = 0 ;
d14a1e28
RD
13738 char *kwnames[] = {
13739 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13740 };
13741
994141e6 13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
13743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13747 {
13748 arg3 = wxString_in_helper(obj2);
13749 if (arg3 == NULL) SWIG_fail;
e811c8ce 13750 temp3 = True;
d14a1e28
RD
13751 }
13752 if (obj3) {
15afbcd0
RD
13753 arg4 = (bool) SWIG_AsBool(obj3);
13754 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13755 }
13756 if (obj4) {
15afbcd0
RD
13757 arg5 = (int) SWIG_AsInt(obj4);
13758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13759 }
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13763
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
4f89f6a3
RD
13767 {
13768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13769 }
d14a1e28
RD
13770 {
13771 if (temp3)
13772 delete arg3;
13773 }
13774 return resultobj;
13775 fail:
13776 {
13777 if (temp3)
13778 delete arg3;
13779 }
13780 return NULL;
13781}
13782
13783
13784static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj;
13786 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13787 size_t arg2 ;
13788 wxWindow *arg3 = (wxWindow *) 0 ;
13789 wxString *arg4 = 0 ;
e811c8ce 13790 bool arg5 = (bool) False ;
d14a1e28
RD
13791 int arg6 = (int) -1 ;
13792 bool result;
e811c8ce 13793 bool temp4 = False ;
d14a1e28
RD
13794 PyObject * obj0 = 0 ;
13795 PyObject * obj1 = 0 ;
13796 PyObject * obj2 = 0 ;
13797 PyObject * obj3 = 0 ;
13798 PyObject * obj4 = 0 ;
994141e6 13799 PyObject * obj5 = 0 ;
d14a1e28
RD
13800 char *kwnames[] = {
13801 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13802 };
13803
994141e6 13804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
13805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13807 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13811 {
13812 arg4 = wxString_in_helper(obj3);
13813 if (arg4 == NULL) SWIG_fail;
e811c8ce 13814 temp4 = True;
d14a1e28
RD
13815 }
13816 if (obj4) {
15afbcd0
RD
13817 arg5 = (bool) SWIG_AsBool(obj4);
13818 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13819 }
13820 if (obj5) {
15afbcd0
RD
13821 arg6 = (int) SWIG_AsInt(obj5);
13822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13823 }
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13827
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
4f89f6a3
RD
13831 {
13832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13833 }
d14a1e28
RD
13834 {
13835 if (temp4)
13836 delete arg4;
13837 }
13838 return resultobj;
13839 fail:
13840 {
13841 if (temp4)
13842 delete arg4;
13843 }
13844 return NULL;
13845}
13846
13847
13848static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13851 size_t arg2 ;
13852 int result;
13853 PyObject * obj0 = 0 ;
13854 PyObject * obj1 = 0 ;
13855 char *kwnames[] = {
13856 (char *) "self",(char *) "n", NULL
13857 };
13858
13859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13862 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13863 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 result = (int)(arg1)->SetSelection(arg2);
13867
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
15afbcd0 13871 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13872 return resultobj;
13873 fail:
13874 return NULL;
13875}
13876
13877
13878static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13879 PyObject *resultobj;
13880 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
e811c8ce 13881 bool arg2 = (bool) True ;
d14a1e28
RD
13882 PyObject * obj0 = 0 ;
13883 PyObject * obj1 = 0 ;
13884 char *kwnames[] = {
13885 (char *) "self",(char *) "forward", NULL
13886 };
13887
13888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 13891 if (obj1) {
15afbcd0
RD
13892 arg2 = (bool) SWIG_AsBool(obj1);
13893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13894 }
13895 {
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 (arg1)->AdvanceSelection(arg2);
13898
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 Py_INCREF(Py_None); resultobj = Py_None;
13903 return resultobj;
13904 fail:
13905 return NULL;
13906}
13907
13908
13909static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13910 PyObject *obj;
13911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13912 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13913 Py_INCREF(obj);
13914 return Py_BuildValue((char *)"");
13915}
13916static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13917 PyObject *resultobj;
13918 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13919 int arg2 = (int) 0 ;
13920 int arg3 = (int) -1 ;
13921 int arg4 = (int) -1 ;
13922 wxBookCtrlEvent *result;
994141e6
RD
13923 PyObject * obj0 = 0 ;
13924 PyObject * obj1 = 0 ;
13925 PyObject * obj2 = 0 ;
13926 PyObject * obj3 = 0 ;
d14a1e28
RD
13927 char *kwnames[] = {
13928 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13929 };
13930
994141e6
RD
13931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13932 if (obj0) {
15afbcd0
RD
13933 arg1 = (wxEventType) SWIG_AsInt(obj0);
13934 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13935 }
13936 if (obj1) {
15afbcd0
RD
13937 arg2 = (int) SWIG_AsInt(obj1);
13938 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13939 }
13940 if (obj2) {
15afbcd0
RD
13941 arg3 = (int) SWIG_AsInt(obj2);
13942 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13943 }
13944 if (obj3) {
15afbcd0
RD
13945 arg4 = (int) SWIG_AsInt(obj3);
13946 if (PyErr_Occurred()) SWIG_fail;
994141e6 13947 }
d14a1e28
RD
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13951
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
15afbcd0 13955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
d14a1e28
RD
13956 return resultobj;
13957 fail:
13958 return NULL;
13959}
13960
13961
13962static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13963 PyObject *resultobj;
13964 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13965 int result;
13966 PyObject * obj0 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self", NULL
13969 };
13970
13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13974 {
13975 PyThreadState* __tstate = wxPyBeginAllowThreads();
13976 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13977
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
15afbcd0 13981 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13982 return resultobj;
13983 fail:
13984 return NULL;
13985}
13986
13987
13988static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13991 int arg2 ;
13992 PyObject * obj0 = 0 ;
994141e6 13993 PyObject * obj1 = 0 ;
d14a1e28
RD
13994 char *kwnames[] = {
13995 (char *) "self",(char *) "nSel", NULL
13996 };
13997
994141e6 13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14001 arg2 = (int) SWIG_AsInt(obj1);
14002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 (arg1)->SetSelection(arg2);
14006
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 Py_INCREF(Py_None); resultobj = Py_None;
14011 return resultobj;
14012 fail:
14013 return NULL;
14014}
14015
14016
14017static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14018 PyObject *resultobj;
14019 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14020 int result;
14021 PyObject * obj0 = 0 ;
14022 char *kwnames[] = {
14023 (char *) "self", NULL
14024 };
14025
14026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
15afbcd0 14036 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14037 return resultobj;
14038 fail:
14039 return NULL;
14040}
14041
14042
14043static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14044 PyObject *resultobj;
14045 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14046 int arg2 ;
14047 PyObject * obj0 = 0 ;
994141e6 14048 PyObject * obj1 = 0 ;
d14a1e28
RD
14049 char *kwnames[] = {
14050 (char *) "self",(char *) "nOldSel", NULL
14051 };
14052
994141e6 14053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14056 arg2 = (int) SWIG_AsInt(obj1);
14057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14058 {
14059 PyThreadState* __tstate = wxPyBeginAllowThreads();
14060 (arg1)->SetOldSelection(arg2);
14061
14062 wxPyEndAllowThreads(__tstate);
14063 if (PyErr_Occurred()) SWIG_fail;
14064 }
14065 Py_INCREF(Py_None); resultobj = Py_None;
14066 return resultobj;
14067 fail:
14068 return NULL;
14069}
14070
14071
14072static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14073 PyObject *obj;
14074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14075 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14076 Py_INCREF(obj);
14077 return Py_BuildValue((char *)"");
14078}
14079static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14080 PyObject *resultobj;
14081 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 14082 int arg2 = (int) -1 ;
d14a1e28
RD
14083 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14084 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14085 wxSize const &arg4_defvalue = wxDefaultSize ;
14086 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14087 long arg5 = (long) 0 ;
14088 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14089 wxString *arg6 = (wxString *) &arg6_defvalue ;
14090 wxNotebook *result;
14091 wxPoint temp3 ;
14092 wxSize temp4 ;
e811c8ce 14093 bool temp6 = False ;
d14a1e28 14094 PyObject * obj0 = 0 ;
994141e6 14095 PyObject * obj1 = 0 ;
d14a1e28
RD
14096 PyObject * obj2 = 0 ;
14097 PyObject * obj3 = 0 ;
994141e6 14098 PyObject * obj4 = 0 ;
d14a1e28
RD
14099 PyObject * obj5 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14102 };
14103
4f89f6a3 14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
14105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
14107 if (obj1) {
14108 arg2 = (int) SWIG_AsInt(obj1);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 }
d14a1e28
RD
14111 if (obj2) {
14112 {
14113 arg3 = &temp3;
14114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14115 }
14116 }
14117 if (obj3) {
14118 {
14119 arg4 = &temp4;
14120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14121 }
14122 }
994141e6 14123 if (obj4) {
15afbcd0
RD
14124 arg5 = (long) SWIG_AsLong(obj4);
14125 if (PyErr_Occurred()) SWIG_fail;
994141e6 14126 }
d14a1e28
RD
14127 if (obj5) {
14128 {
14129 arg6 = wxString_in_helper(obj5);
14130 if (arg6 == NULL) SWIG_fail;
e811c8ce 14131 temp6 = True;
d14a1e28
RD
14132 }
14133 }
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14137
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 {
14142 resultobj = wxPyMake_wxObject(result);
14143 }
14144 {
14145 if (temp6)
14146 delete arg6;
14147 }
14148 return resultobj;
14149 fail:
14150 {
14151 if (temp6)
14152 delete arg6;
14153 }
14154 return NULL;
14155}
14156
14157
14158static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14159 PyObject *resultobj;
14160 wxNotebook *result;
14161 char *kwnames[] = {
14162 NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14166 {
14167 PyThreadState* __tstate = wxPyBeginAllowThreads();
14168 result = (wxNotebook *)new wxNotebook();
14169
14170 wxPyEndAllowThreads(__tstate);
14171 if (PyErr_Occurred()) SWIG_fail;
14172 }
14173 {
14174 resultobj = wxPyMake_wxObject(result);
14175 }
14176 return resultobj;
14177 fail:
14178 return NULL;
14179}
14180
14181
14182static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj;
14184 wxNotebook *arg1 = (wxNotebook *) 0 ;
14185 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 14186 int arg3 ;
d14a1e28
RD
14187 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14188 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14189 wxSize const &arg5_defvalue = wxDefaultSize ;
14190 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14191 long arg6 = (long) 0 ;
14192 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14193 wxString *arg7 = (wxString *) &arg7_defvalue ;
14194 bool result;
14195 wxPoint temp4 ;
14196 wxSize temp5 ;
e811c8ce 14197 bool temp7 = False ;
d14a1e28
RD
14198 PyObject * obj0 = 0 ;
14199 PyObject * obj1 = 0 ;
994141e6 14200 PyObject * obj2 = 0 ;
d14a1e28
RD
14201 PyObject * obj3 = 0 ;
14202 PyObject * obj4 = 0 ;
994141e6 14203 PyObject * obj5 = 0 ;
d14a1e28
RD
14204 PyObject * obj6 = 0 ;
14205 char *kwnames[] = {
14206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14207 };
14208
994141e6 14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14214 arg3 = (int) SWIG_AsInt(obj2);
14215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14216 if (obj3) {
14217 {
14218 arg4 = &temp4;
14219 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14220 }
14221 }
14222 if (obj4) {
14223 {
14224 arg5 = &temp5;
14225 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14226 }
14227 }
994141e6 14228 if (obj5) {
15afbcd0
RD
14229 arg6 = (long) SWIG_AsLong(obj5);
14230 if (PyErr_Occurred()) SWIG_fail;
994141e6 14231 }
d14a1e28
RD
14232 if (obj6) {
14233 {
14234 arg7 = wxString_in_helper(obj6);
14235 if (arg7 == NULL) SWIG_fail;
e811c8ce 14236 temp7 = True;
d14a1e28
RD
14237 }
14238 }
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14242
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
4f89f6a3
RD
14246 {
14247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14248 }
d14a1e28
RD
14249 {
14250 if (temp7)
14251 delete arg7;
14252 }
14253 return resultobj;
14254 fail:
14255 {
14256 if (temp7)
14257 delete arg7;
14258 }
14259 return NULL;
14260}
14261
14262
14263static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14264 PyObject *resultobj;
14265 wxNotebook *arg1 = (wxNotebook *) 0 ;
14266 int result;
14267 PyObject * obj0 = 0 ;
14268 char *kwnames[] = {
14269 (char *) "self", NULL
14270 };
14271
14272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
14273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14275 {
14276 PyThreadState* __tstate = wxPyBeginAllowThreads();
14277 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14278
14279 wxPyEndAllowThreads(__tstate);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
15afbcd0 14282 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14283 return resultobj;
14284 fail:
14285 return NULL;
14286}
14287
14288
14289static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj;
14291 wxNotebook *arg1 = (wxNotebook *) 0 ;
14292 wxSize *arg2 = 0 ;
14293 wxSize temp2 ;
14294 PyObject * obj0 = 0 ;
14295 PyObject * obj1 = 0 ;
14296 char *kwnames[] = {
14297 (char *) "self",(char *) "padding", NULL
14298 };
14299
14300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14303 {
14304 arg2 = &temp2;
14305 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14306 }
14307 {
14308 PyThreadState* __tstate = wxPyBeginAllowThreads();
14309 (arg1)->SetPadding((wxSize const &)*arg2);
14310
14311 wxPyEndAllowThreads(__tstate);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 Py_INCREF(Py_None); resultobj = Py_None;
14315 return resultobj;
14316 fail:
14317 return NULL;
14318}
14319
14320
14321static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14322 PyObject *resultobj;
14323 wxNotebook *arg1 = (wxNotebook *) 0 ;
14324 wxSize *arg2 = 0 ;
14325 wxSize temp2 ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "self",(char *) "sz", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14335 {
14336 arg2 = &temp2;
14337 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14338 }
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 (arg1)->SetTabSize((wxSize const &)*arg2);
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 Py_INCREF(Py_None); resultobj = Py_None;
14347 return resultobj;
14348 fail:
14349 return NULL;
14350}
14351
14352
14353static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxNotebook *arg1 = (wxNotebook *) 0 ;
14356 wxPoint *arg2 = 0 ;
14357 long *arg3 = (long *) 0 ;
14358 int result;
14359 wxPoint temp2 ;
14360 long temp3 ;
14361 PyObject * obj0 = 0 ;
14362 PyObject * obj1 = 0 ;
14363 char *kwnames[] = {
14364 (char *) "self",(char *) "pt", NULL
14365 };
14366
14367 arg3 = &temp3;
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14371 {
14372 arg2 = &temp2;
14373 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14374 }
14375 {
14376 PyThreadState* __tstate = wxPyBeginAllowThreads();
14377 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14378
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
15afbcd0 14382 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14383 {
14384 PyObject *o = PyInt_FromLong((long) (*arg3));
14385 resultobj = t_output_helper(resultobj,o);
14386 }
14387 return resultobj;
14388 fail:
14389 return NULL;
14390}
14391
14392
14393static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14394 PyObject *resultobj;
14395 wxNotebook *arg1 = (wxNotebook *) 0 ;
14396 wxSize *arg2 = 0 ;
14397 wxSize result;
14398 wxSize temp2 ;
14399 PyObject * obj0 = 0 ;
14400 PyObject * obj1 = 0 ;
14401 char *kwnames[] = {
14402 (char *) "self",(char *) "sizePage", NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14408 {
14409 arg2 = &temp2;
14410 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14411 }
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14415
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 {
14420 wxSize * resultptr;
14421 resultptr = new wxSize((wxSize &) result);
15afbcd0 14422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14423 }
14424 return resultobj;
14425 fail:
14426 return NULL;
14427}
14428
14429
14430static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14431 PyObject *obj;
14432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14433 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14434 Py_INCREF(obj);
14435 return Py_BuildValue((char *)"");
14436}
14437static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14438 PyObject *resultobj;
14439 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14440 int arg2 = (int) 0 ;
14441 int arg3 = (int) -1 ;
14442 int arg4 = (int) -1 ;
14443 wxNotebookEvent *result;
994141e6
RD
14444 PyObject * obj0 = 0 ;
14445 PyObject * obj1 = 0 ;
14446 PyObject * obj2 = 0 ;
14447 PyObject * obj3 = 0 ;
d14a1e28
RD
14448 char *kwnames[] = {
14449 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14450 };
14451
994141e6
RD
14452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14453 if (obj0) {
15afbcd0
RD
14454 arg1 = (wxEventType) SWIG_AsInt(obj0);
14455 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14456 }
14457 if (obj1) {
15afbcd0
RD
14458 arg2 = (int) SWIG_AsInt(obj1);
14459 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14460 }
14461 if (obj2) {
15afbcd0
RD
14462 arg3 = (int) SWIG_AsInt(obj2);
14463 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14464 }
14465 if (obj3) {
15afbcd0
RD
14466 arg4 = (int) SWIG_AsInt(obj3);
14467 if (PyErr_Occurred()) SWIG_fail;
994141e6 14468 }
d14a1e28
RD
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
15afbcd0 14476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
14477 return resultobj;
14478 fail:
14479 return NULL;
14480}
14481
14482
14483static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14484 PyObject *obj;
14485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14486 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14487 Py_INCREF(obj);
14488 return Py_BuildValue((char *)"");
14489}
14490static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 14493 int arg2 = (int) -1 ;
d14a1e28
RD
14494 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14495 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14496 wxSize const &arg4_defvalue = wxDefaultSize ;
14497 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14498 long arg5 = (long) 0 ;
14499 wxString const &arg6_defvalue = wxPyEmptyString ;
14500 wxString *arg6 = (wxString *) &arg6_defvalue ;
14501 wxListbook *result;
14502 wxPoint temp3 ;
14503 wxSize temp4 ;
e811c8ce 14504 bool temp6 = False ;
d14a1e28 14505 PyObject * obj0 = 0 ;
994141e6 14506 PyObject * obj1 = 0 ;
d14a1e28
RD
14507 PyObject * obj2 = 0 ;
14508 PyObject * obj3 = 0 ;
994141e6 14509 PyObject * obj4 = 0 ;
d14a1e28
RD
14510 PyObject * obj5 = 0 ;
14511 char *kwnames[] = {
14512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14513 };
14514
4f89f6a3 14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
14516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
14518 if (obj1) {
14519 arg2 = (int) SWIG_AsInt(obj1);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
d14a1e28
RD
14522 if (obj2) {
14523 {
14524 arg3 = &temp3;
14525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14526 }
14527 }
14528 if (obj3) {
14529 {
14530 arg4 = &temp4;
14531 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14532 }
14533 }
994141e6 14534 if (obj4) {
15afbcd0
RD
14535 arg5 = (long) SWIG_AsLong(obj4);
14536 if (PyErr_Occurred()) SWIG_fail;
994141e6 14537 }
d14a1e28
RD
14538 if (obj5) {
14539 {
14540 arg6 = wxString_in_helper(obj5);
14541 if (arg6 == NULL) SWIG_fail;
e811c8ce 14542 temp6 = True;
d14a1e28
RD
14543 }
14544 }
14545 {
14546 PyThreadState* __tstate = wxPyBeginAllowThreads();
14547 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14548
14549 wxPyEndAllowThreads(__tstate);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
15afbcd0 14552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
14553 {
14554 if (temp6)
14555 delete arg6;
14556 }
14557 return resultobj;
14558 fail:
14559 {
14560 if (temp6)
14561 delete arg6;
14562 }
14563 return NULL;
14564}
14565
14566
14567static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14568 PyObject *resultobj;
14569 wxListbook *result;
14570 char *kwnames[] = {
14571 NULL
14572 };
14573
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (wxListbook *)new wxListbook();
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
15afbcd0 14582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
14583 return resultobj;
14584 fail:
14585 return NULL;
14586}
14587
14588
14589static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj;
14591 wxListbook *arg1 = (wxListbook *) 0 ;
14592 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 14593 int arg3 ;
d14a1e28
RD
14594 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14595 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14596 wxSize const &arg5_defvalue = wxDefaultSize ;
14597 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14598 long arg6 = (long) 0 ;
14599 wxString const &arg7_defvalue = wxPyEmptyString ;
14600 wxString *arg7 = (wxString *) &arg7_defvalue ;
14601 bool result;
14602 wxPoint temp4 ;
14603 wxSize temp5 ;
e811c8ce 14604 bool temp7 = False ;
d14a1e28
RD
14605 PyObject * obj0 = 0 ;
14606 PyObject * obj1 = 0 ;
994141e6 14607 PyObject * obj2 = 0 ;
d14a1e28
RD
14608 PyObject * obj3 = 0 ;
14609 PyObject * obj4 = 0 ;
994141e6 14610 PyObject * obj5 = 0 ;
d14a1e28
RD
14611 PyObject * obj6 = 0 ;
14612 char *kwnames[] = {
14613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14614 };
14615
994141e6 14616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14621 arg3 = (int) SWIG_AsInt(obj2);
14622 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14623 if (obj3) {
14624 {
14625 arg4 = &temp4;
14626 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14627 }
14628 }
14629 if (obj4) {
14630 {
14631 arg5 = &temp5;
14632 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14633 }
14634 }
994141e6 14635 if (obj5) {
15afbcd0
RD
14636 arg6 = (long) SWIG_AsLong(obj5);
14637 if (PyErr_Occurred()) SWIG_fail;
994141e6 14638 }
d14a1e28
RD
14639 if (obj6) {
14640 {
14641 arg7 = wxString_in_helper(obj6);
14642 if (arg7 == NULL) SWIG_fail;
e811c8ce 14643 temp7 = True;
d14a1e28
RD
14644 }
14645 }
14646 {
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14649
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
4f89f6a3
RD
14653 {
14654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14655 }
d14a1e28
RD
14656 {
14657 if (temp7)
14658 delete arg7;
14659 }
14660 return resultobj;
14661 fail:
14662 {
14663 if (temp7)
14664 delete arg7;
14665 }
14666 return NULL;
14667}
14668
14669
14670static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14671 PyObject *resultobj;
14672 wxListbook *arg1 = (wxListbook *) 0 ;
14673 bool result;
14674 PyObject * obj0 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
14680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (bool)((wxListbook const *)arg1)->IsVertical();
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
4f89f6a3
RD
14689 {
14690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14691 }
d14a1e28
RD
14692 return resultobj;
14693 fail:
14694 return NULL;
14695}
14696
14697
14698static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14699 PyObject *obj;
14700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14701 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14702 Py_INCREF(obj);
14703 return Py_BuildValue((char *)"");
14704}
14705static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14708 int arg2 = (int) 0 ;
14709 int arg3 = (int) -1 ;
14710 int arg4 = (int) -1 ;
14711 wxListbookEvent *result;
994141e6
RD
14712 PyObject * obj0 = 0 ;
14713 PyObject * obj1 = 0 ;
14714 PyObject * obj2 = 0 ;
14715 PyObject * obj3 = 0 ;
d14a1e28
RD
14716 char *kwnames[] = {
14717 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14718 };
14719
994141e6
RD
14720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14721 if (obj0) {
15afbcd0
RD
14722 arg1 = (wxEventType) SWIG_AsInt(obj0);
14723 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14724 }
14725 if (obj1) {
15afbcd0
RD
14726 arg2 = (int) SWIG_AsInt(obj1);
14727 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14728 }
14729 if (obj2) {
15afbcd0
RD
14730 arg3 = (int) SWIG_AsInt(obj2);
14731 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14732 }
14733 if (obj3) {
15afbcd0
RD
14734 arg4 = (int) SWIG_AsInt(obj3);
14735 if (PyErr_Occurred()) SWIG_fail;
994141e6 14736 }
d14a1e28
RD
14737 {
14738 PyThreadState* __tstate = wxPyBeginAllowThreads();
14739 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14740
14741 wxPyEndAllowThreads(__tstate);
14742 if (PyErr_Occurred()) SWIG_fail;
14743 }
15afbcd0 14744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
d14a1e28
RD
14745 return resultobj;
14746 fail:
14747 return NULL;
14748}
14749
14750
14751static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14752 PyObject *obj;
14753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14754 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14755 Py_INCREF(obj);
14756 return Py_BuildValue((char *)"");
14757}
14758static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14759 PyObject *resultobj;
14760 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14761 wxBookCtrlSizer *result;
14762 PyObject * obj0 = 0 ;
14763 char *kwnames[] = {
14764 (char *) "nb", NULL
14765 };
14766
14767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
14768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
15afbcd0 14777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
d14a1e28
RD
14778 return resultobj;
14779 fail:
14780 return NULL;
14781}
14782
14783
14784static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14785 PyObject *resultobj;
14786 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14787 PyObject * obj0 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "self", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
14793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 (arg1)->RecalcSizes();
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 Py_INCREF(Py_None); resultobj = Py_None;
14803 return resultobj;
14804 fail:
14805 return NULL;
14806}
14807
14808
14809static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14812 wxSize result;
14813 PyObject * obj0 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 result = (arg1)->CalcMin();
14824
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 {
14829 wxSize * resultptr;
14830 resultptr = new wxSize((wxSize &) result);
15afbcd0 14831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14832 }
14833 return resultobj;
14834 fail:
14835 return NULL;
14836}
14837
14838
14839static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14840 PyObject *resultobj;
14841 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14842 wxBookCtrl *result;
14843 PyObject * obj0 = 0 ;
14844 char *kwnames[] = {
14845 (char *) "self", NULL
14846 };
14847
14848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
14849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14851 {
14852 PyThreadState* __tstate = wxPyBeginAllowThreads();
14853 result = (wxBookCtrl *)(arg1)->GetControl();
14854
14855 wxPyEndAllowThreads(__tstate);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
15afbcd0 14858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
d14a1e28
RD
14859 return resultobj;
14860 fail:
14861 return NULL;
14862}
14863
14864
14865static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14866 PyObject *obj;
14867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14868 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14869 Py_INCREF(obj);
14870 return Py_BuildValue((char *)"");
14871}
14872static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxNotebook *arg1 = (wxNotebook *) 0 ;
14875 wxNotebookSizer *result;
14876 PyObject * obj0 = 0 ;
14877 char *kwnames[] = {
14878 (char *) "nb", NULL
14879 };
14880
14881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
14882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
15afbcd0 14891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
d14a1e28
RD
14892 return resultobj;
14893 fail:
14894 return NULL;
14895}
14896
14897
14898static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14901 PyObject * obj0 = 0 ;
14902 char *kwnames[] = {
14903 (char *) "self", NULL
14904 };
14905
14906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
14907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14909 {
14910 PyThreadState* __tstate = wxPyBeginAllowThreads();
14911 (arg1)->RecalcSizes();
14912
14913 wxPyEndAllowThreads(__tstate);
14914 if (PyErr_Occurred()) SWIG_fail;
14915 }
14916 Py_INCREF(Py_None); resultobj = Py_None;
14917 return resultobj;
14918 fail:
14919 return NULL;
14920}
14921
14922
14923static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14924 PyObject *resultobj;
14925 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14926 wxSize result;
14927 PyObject * obj0 = 0 ;
14928 char *kwnames[] = {
14929 (char *) "self", NULL
14930 };
14931
14932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = (arg1)->CalcMin();
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 {
14943 wxSize * resultptr;
14944 resultptr = new wxSize((wxSize &) result);
15afbcd0 14945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14946 }
14947 return resultobj;
14948 fail:
14949 return NULL;
14950}
14951
14952
14953static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14954 PyObject *resultobj;
14955 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14956 wxNotebook *result;
14957 PyObject * obj0 = 0 ;
14958 char *kwnames[] = {
14959 (char *) "self", NULL
14960 };
14961
14962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15afbcd0
RD
14963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14965 {
14966 PyThreadState* __tstate = wxPyBeginAllowThreads();
14967 result = (wxNotebook *)(arg1)->GetNotebook();
14968
14969 wxPyEndAllowThreads(__tstate);
14970 if (PyErr_Occurred()) SWIG_fail;
14971 }
14972 {
14973 resultobj = wxPyMake_wxObject(result);
14974 }
14975 return resultobj;
14976 fail:
14977 return NULL;
14978}
14979
14980
14981static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14982 PyObject *obj;
14983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14984 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14985 Py_INCREF(obj);
14986 return Py_BuildValue((char *)"");
14987}
14988static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14989 PyObject *resultobj;
14990 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14991 int result;
14992 PyObject * obj0 = 0 ;
14993 char *kwnames[] = {
14994 (char *) "self", NULL
14995 };
14996
14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
14998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 result = (int)(arg1)->GetId();
15003
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15afbcd0 15007 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15008 return resultobj;
15009 fail:
15010 return NULL;
15011}
15012
15013
15014static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15015 PyObject *resultobj;
15016 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15017 wxControl *result;
15018 PyObject * obj0 = 0 ;
15019 char *kwnames[] = {
15020 (char *) "self", NULL
15021 };
15022
15023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 result = (wxControl *)(arg1)->GetControl();
15029
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 {
15034 resultobj = wxPyMake_wxObject(result);
15035 }
15036 return resultobj;
15037 fail:
15038 return NULL;
15039}
15040
15041
15042static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj;
15044 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15045 wxToolBarBase *result;
15046 PyObject * obj0 = 0 ;
15047 char *kwnames[] = {
15048 (char *) "self", NULL
15049 };
15050
15051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
15052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15054 {
15055 PyThreadState* __tstate = wxPyBeginAllowThreads();
15056 result = (wxToolBarBase *)(arg1)->GetToolBar();
15057
15058 wxPyEndAllowThreads(__tstate);
15059 if (PyErr_Occurred()) SWIG_fail;
15060 }
15061 {
15062 resultobj = wxPyMake_wxObject(result);
15063 }
15064 return resultobj;
15065 fail:
15066 return NULL;
15067}
15068
15069
15070static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj;
15072 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15073 int result;
15074 PyObject * obj0 = 0 ;
15075 char *kwnames[] = {
15076 (char *) "self", NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
15080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 result = (int)(arg1)->IsButton();
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15afbcd0 15089 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15090 return resultobj;
15091 fail:
15092 return NULL;
15093}
15094
15095
15096static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj;
15098 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15099 int result;
15100 PyObject * obj0 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (int)(arg1)->IsControl();
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15afbcd0 15115 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15116 return resultobj;
15117 fail:
15118 return NULL;
15119}
15120
15121
15122static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15125 int result;
15126 PyObject * obj0 = 0 ;
15127 char *kwnames[] = {
15128 (char *) "self", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
15132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15134 {
15135 PyThreadState* __tstate = wxPyBeginAllowThreads();
15136 result = (int)(arg1)->IsSeparator();
15137
15138 wxPyEndAllowThreads(__tstate);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15afbcd0 15141 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15142 return resultobj;
15143 fail:
15144 return NULL;
15145}
15146
15147
15148static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj;
15150 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15151 int result;
15152 PyObject * obj0 = 0 ;
15153 char *kwnames[] = {
15154 (char *) "self", NULL
15155 };
15156
15157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
15158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15160 {
15161 PyThreadState* __tstate = wxPyBeginAllowThreads();
15162 result = (int)(arg1)->GetStyle();
15163
15164 wxPyEndAllowThreads(__tstate);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
15afbcd0 15167 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15168 return resultobj;
15169 fail:
15170 return NULL;
15171}
15172
15173
15174static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15175 PyObject *resultobj;
15176 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15177 int result;
15178 PyObject * obj0 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (int)(arg1)->GetKind();
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15afbcd0 15193 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15194 return resultobj;
15195 fail:
15196 return NULL;
15197}
15198
15199
15200static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15201 PyObject *resultobj;
15202 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15203 bool result;
15204 PyObject * obj0 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self", NULL
15207 };
15208
15209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
15210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 result = (bool)(arg1)->IsEnabled();
15215
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
4f89f6a3
RD
15219 {
15220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15221 }
d14a1e28
RD
15222 return resultobj;
15223 fail:
15224 return NULL;
15225}
15226
15227
15228static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj;
15230 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15231 bool result;
15232 PyObject * obj0 = 0 ;
15233 char *kwnames[] = {
15234 (char *) "self", NULL
15235 };
15236
15237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
15238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 result = (bool)(arg1)->IsToggled();
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
4f89f6a3
RD
15247 {
15248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15249 }
d14a1e28
RD
15250 return resultobj;
15251 fail:
15252 return NULL;
15253}
15254
15255
15256static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15257 PyObject *resultobj;
15258 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15259 bool result;
15260 PyObject * obj0 = 0 ;
15261 char *kwnames[] = {
15262 (char *) "self", NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
15266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (bool)(arg1)->CanBeToggled();
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
4f89f6a3
RD
15275 {
15276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15277 }
d14a1e28
RD
15278 return resultobj;
15279 fail:
15280 return NULL;
15281}
15282
15283
15284static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15287 wxBitmap *result;
15288 PyObject * obj0 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
15294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 {
15299 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15300 result = (wxBitmap *) &_result_ref;
15301 }
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
4276dc52
RD
15306 {
15307 wxBitmap* resultptr = new wxBitmap(*result);
15308 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15309 }
d14a1e28
RD
15310 return resultobj;
15311 fail:
15312 return NULL;
15313}
15314
15315
15316static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15317 PyObject *resultobj;
15318 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15319 wxBitmap *result;
15320 PyObject * obj0 = 0 ;
15321 char *kwnames[] = {
15322 (char *) "self", NULL
15323 };
15324
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
15326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 {
15331 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15332 result = (wxBitmap *) &_result_ref;
15333 }
15334
15335 wxPyEndAllowThreads(__tstate);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
4276dc52
RD
15338 {
15339 wxBitmap* resultptr = new wxBitmap(*result);
15340 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15341 }
d14a1e28
RD
15342 return resultobj;
15343 fail:
15344 return NULL;
15345}
15346
15347
15348static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj;
15350 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15351 wxBitmap result;
15352 PyObject * obj0 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
15358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15360 {
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
15362 result = (arg1)->GetBitmap();
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 {
15368 wxBitmap * resultptr;
15369 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 15370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
15371 }
15372 return resultobj;
15373 fail:
15374 return NULL;
15375}
15376
15377
15378static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj;
15380 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15381 wxString result;
15382 PyObject * obj0 = 0 ;
15383 char *kwnames[] = {
15384 (char *) "self", NULL
15385 };
15386
15387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
15388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 result = (arg1)->GetLabel();
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 {
15398#if wxUSE_UNICODE
15399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15400#else
15401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15402#endif
15403 }
15404 return resultobj;
15405 fail:
15406 return NULL;
15407}
15408
15409
15410static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15411 PyObject *resultobj;
15412 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15413 wxString result;
15414 PyObject * obj0 = 0 ;
15415 char *kwnames[] = {
15416 (char *) "self", NULL
15417 };
15418
15419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
15420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15422 {
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 result = (arg1)->GetShortHelp();
15425
15426 wxPyEndAllowThreads(__tstate);
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
15429 {
15430#if wxUSE_UNICODE
15431 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15432#else
15433 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15434#endif
15435 }
15436 return resultobj;
15437 fail:
15438 return NULL;
15439}
15440
15441
15442static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj;
15444 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15445 wxString result;
15446 PyObject * obj0 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
15452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15454 {
15455 PyThreadState* __tstate = wxPyBeginAllowThreads();
15456 result = (arg1)->GetLongHelp();
15457
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
15461 {
15462#if wxUSE_UNICODE
15463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15464#else
15465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15466#endif
15467 }
15468 return resultobj;
15469 fail:
15470 return NULL;
15471}
15472
15473
15474static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15477 bool arg2 ;
15478 bool result;
15479 PyObject * obj0 = 0 ;
15480 PyObject * obj1 = 0 ;
15481 char *kwnames[] = {
15482 (char *) "self",(char *) "enable", NULL
15483 };
15484
15485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15488 arg2 = (bool) SWIG_AsBool(obj1);
15489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15490 {
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 result = (bool)(arg1)->Enable(arg2);
15493
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
4f89f6a3
RD
15497 {
15498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15499 }
d14a1e28
RD
15500 return resultobj;
15501 fail:
15502 return NULL;
15503}
15504
15505
15506static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15507 PyObject *resultobj;
15508 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15509 PyObject * obj0 = 0 ;
15510 char *kwnames[] = {
15511 (char *) "self", NULL
15512 };
15513
15514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
15515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15517 {
15518 PyThreadState* __tstate = wxPyBeginAllowThreads();
15519 (arg1)->Toggle();
15520
15521 wxPyEndAllowThreads(__tstate);
15522 if (PyErr_Occurred()) SWIG_fail;
15523 }
15524 Py_INCREF(Py_None); resultobj = Py_None;
15525 return resultobj;
15526 fail:
15527 return NULL;
15528}
15529
15530
15531static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15534 bool arg2 ;
15535 bool result;
15536 PyObject * obj0 = 0 ;
15537 PyObject * obj1 = 0 ;
15538 char *kwnames[] = {
15539 (char *) "self",(char *) "toggle", NULL
15540 };
15541
15542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15545 arg2 = (bool) SWIG_AsBool(obj1);
15546 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (bool)(arg1)->SetToggle(arg2);
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
4f89f6a3
RD
15554 {
15555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15556 }
d14a1e28
RD
15557 return resultobj;
15558 fail:
15559 return NULL;
15560}
15561
15562
15563static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj;
15565 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15566 wxString *arg2 = 0 ;
15567 bool result;
e811c8ce 15568 bool temp2 = False ;
d14a1e28
RD
15569 PyObject * obj0 = 0 ;
15570 PyObject * obj1 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "self",(char *) "help", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15578 {
15579 arg2 = wxString_in_helper(obj1);
15580 if (arg2 == NULL) SWIG_fail;
e811c8ce 15581 temp2 = True;
d14a1e28
RD
15582 }
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
4f89f6a3
RD
15590 {
15591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15592 }
d14a1e28
RD
15593 {
15594 if (temp2)
15595 delete arg2;
15596 }
15597 return resultobj;
15598 fail:
15599 {
15600 if (temp2)
15601 delete arg2;
15602 }
15603 return NULL;
15604}
15605
15606
15607static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15608 PyObject *resultobj;
15609 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15610 wxString *arg2 = 0 ;
15611 bool result;
e811c8ce 15612 bool temp2 = False ;
d14a1e28
RD
15613 PyObject * obj0 = 0 ;
15614 PyObject * obj1 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "self",(char *) "help", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15622 {
15623 arg2 = wxString_in_helper(obj1);
15624 if (arg2 == NULL) SWIG_fail;
e811c8ce 15625 temp2 = True;
d14a1e28
RD
15626 }
15627 {
15628 PyThreadState* __tstate = wxPyBeginAllowThreads();
15629 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15630
15631 wxPyEndAllowThreads(__tstate);
15632 if (PyErr_Occurred()) SWIG_fail;
15633 }
4f89f6a3
RD
15634 {
15635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15636 }
d14a1e28
RD
15637 {
15638 if (temp2)
15639 delete arg2;
15640 }
15641 return resultobj;
15642 fail:
15643 {
15644 if (temp2)
15645 delete arg2;
15646 }
15647 return NULL;
15648}
15649
15650
15651static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15654 wxBitmap *arg2 = 0 ;
15655 PyObject * obj0 = 0 ;
15656 PyObject * obj1 = 0 ;
15657 char *kwnames[] = {
15658 (char *) "self",(char *) "bmp", NULL
15659 };
15660
15661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15665 SWIG_POINTER_EXCEPTION | 0)) == -1)
15666 SWIG_fail;
d14a1e28 15667 if (arg2 == NULL) {
15afbcd0
RD
15668 PyErr_SetString(PyExc_TypeError,"null reference");
15669 SWIG_fail;
d14a1e28
RD
15670 }
15671 {
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15674
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 Py_INCREF(Py_None); resultobj = Py_None;
15679 return resultobj;
15680 fail:
15681 return NULL;
15682}
15683
15684
15685static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15686 PyObject *resultobj;
15687 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15688 wxBitmap *arg2 = 0 ;
15689 PyObject * obj0 = 0 ;
15690 PyObject * obj1 = 0 ;
15691 char *kwnames[] = {
15692 (char *) "self",(char *) "bmp", NULL
15693 };
15694
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15699 SWIG_POINTER_EXCEPTION | 0)) == -1)
15700 SWIG_fail;
d14a1e28 15701 if (arg2 == NULL) {
15afbcd0
RD
15702 PyErr_SetString(PyExc_TypeError,"null reference");
15703 SWIG_fail;
d14a1e28
RD
15704 }
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15708
15709 wxPyEndAllowThreads(__tstate);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 Py_INCREF(Py_None); resultobj = Py_None;
15713 return resultobj;
15714 fail:
15715 return NULL;
15716}
15717
15718
15719static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15722 wxString *arg2 = 0 ;
e811c8ce 15723 bool temp2 = False ;
d14a1e28
RD
15724 PyObject * obj0 = 0 ;
15725 PyObject * obj1 = 0 ;
15726 char *kwnames[] = {
15727 (char *) "self",(char *) "label", NULL
15728 };
15729
15730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15733 {
15734 arg2 = wxString_in_helper(obj1);
15735 if (arg2 == NULL) SWIG_fail;
e811c8ce 15736 temp2 = True;
d14a1e28
RD
15737 }
15738 {
15739 PyThreadState* __tstate = wxPyBeginAllowThreads();
15740 (arg1)->SetLabel((wxString const &)*arg2);
15741
15742 wxPyEndAllowThreads(__tstate);
15743 if (PyErr_Occurred()) SWIG_fail;
15744 }
15745 Py_INCREF(Py_None); resultobj = Py_None;
15746 {
15747 if (temp2)
15748 delete arg2;
15749 }
15750 return resultobj;
15751 fail:
15752 {
15753 if (temp2)
15754 delete arg2;
15755 }
15756 return NULL;
15757}
15758
15759
15760static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj;
15762 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15763 PyObject * obj0 = 0 ;
15764 char *kwnames[] = {
15765 (char *) "self", NULL
15766 };
15767
15768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
15769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 (arg1)->Detach();
15774
15775 wxPyEndAllowThreads(__tstate);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 Py_INCREF(Py_None); resultobj = Py_None;
15779 return resultobj;
15780 fail:
15781 return NULL;
15782}
15783
15784
15785static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15786 PyObject *resultobj;
15787 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15788 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15789 PyObject * obj0 = 0 ;
15790 PyObject * obj1 = 0 ;
15791 char *kwnames[] = {
15792 (char *) "self",(char *) "tbar", NULL
15793 };
15794
15795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 (arg1)->Attach(arg2);
15803
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 Py_INCREF(Py_None); resultobj = Py_None;
15808 return resultobj;
15809 fail:
15810 return NULL;
15811}
15812
15813
15814static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj;
15816 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15817 PyObject *result;
15818 PyObject * obj0 = 0 ;
15819 char *kwnames[] = {
15820 (char *) "self", NULL
15821 };
15822
15823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15afbcd0
RD
15824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15829
15830 wxPyEndAllowThreads(__tstate);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 resultobj = result;
15834 return resultobj;
15835 fail:
15836 return NULL;
15837}
15838
15839
15840static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15841 PyObject *resultobj;
15842 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15843 PyObject *arg2 = (PyObject *) 0 ;
15844 PyObject * obj0 = 0 ;
15845 PyObject * obj1 = 0 ;
15846 char *kwnames[] = {
15847 (char *) "self",(char *) "clientData", NULL
15848 };
15849
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15853 arg2 = obj1;
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 wxToolBarToolBase_SetClientData(arg1,arg2);
15857
15858 wxPyEndAllowThreads(__tstate);
15859 if (PyErr_Occurred()) SWIG_fail;
15860 }
15861 Py_INCREF(Py_None); resultobj = Py_None;
15862 return resultobj;
15863 fail:
15864 return NULL;
15865}
15866
15867
15868static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15869 PyObject *obj;
15870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15871 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15872 Py_INCREF(obj);
15873 return Py_BuildValue((char *)"");
15874}
15875static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15876 PyObject *resultobj;
15877 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15878 int arg2 ;
15879 wxString *arg3 = 0 ;
15880 wxBitmap *arg4 = 0 ;
15881 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15882 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15883 int arg6 = (int) wxITEM_NORMAL ;
15884 wxString const &arg7_defvalue = wxPyEmptyString ;
15885 wxString *arg7 = (wxString *) &arg7_defvalue ;
15886 wxString const &arg8_defvalue = wxPyEmptyString ;
15887 wxString *arg8 = (wxString *) &arg8_defvalue ;
15888 PyObject *arg9 = (PyObject *) NULL ;
15889 wxToolBarToolBase *result;
e811c8ce
RD
15890 bool temp3 = False ;
15891 bool temp7 = False ;
15892 bool temp8 = False ;
d14a1e28 15893 PyObject * obj0 = 0 ;
994141e6 15894 PyObject * obj1 = 0 ;
d14a1e28
RD
15895 PyObject * obj2 = 0 ;
15896 PyObject * obj3 = 0 ;
15897 PyObject * obj4 = 0 ;
994141e6 15898 PyObject * obj5 = 0 ;
d14a1e28
RD
15899 PyObject * obj6 = 0 ;
15900 PyObject * obj7 = 0 ;
15901 PyObject * obj8 = 0 ;
15902 char *kwnames[] = {
15903 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15904 };
15905
994141e6 15906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
15907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15909 arg2 = (int) SWIG_AsInt(obj1);
15910 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15911 {
15912 arg3 = wxString_in_helper(obj2);
15913 if (arg3 == NULL) SWIG_fail;
e811c8ce 15914 temp3 = True;
d14a1e28 15915 }
15afbcd0
RD
15916 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15917 SWIG_POINTER_EXCEPTION | 0)) == -1)
15918 SWIG_fail;
d14a1e28 15919 if (arg4 == NULL) {
15afbcd0
RD
15920 PyErr_SetString(PyExc_TypeError,"null reference");
15921 SWIG_fail;
d14a1e28
RD
15922 }
15923 if (obj4) {
15afbcd0
RD
15924 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15925 SWIG_POINTER_EXCEPTION | 0)) == -1)
15926 SWIG_fail;
d14a1e28 15927 if (arg5 == NULL) {
15afbcd0
RD
15928 PyErr_SetString(PyExc_TypeError,"null reference");
15929 SWIG_fail;
d14a1e28
RD
15930 }
15931 }
994141e6 15932 if (obj5) {
15afbcd0
RD
15933 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15934 if (PyErr_Occurred()) SWIG_fail;
994141e6 15935 }
d14a1e28
RD
15936 if (obj6) {
15937 {
15938 arg7 = wxString_in_helper(obj6);
15939 if (arg7 == NULL) SWIG_fail;
e811c8ce 15940 temp7 = True;
d14a1e28
RD
15941 }
15942 }
15943 if (obj7) {
15944 {
15945 arg8 = wxString_in_helper(obj7);
15946 if (arg8 == NULL) SWIG_fail;
e811c8ce 15947 temp8 = True;
d14a1e28
RD
15948 }
15949 }
15950 if (obj8) {
15951 arg9 = obj8;
15952 }
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 {
15961 resultobj = wxPyMake_wxObject(result);
15962 }
15963 {
15964 if (temp3)
15965 delete arg3;
15966 }
15967 {
15968 if (temp7)
15969 delete arg7;
15970 }
15971 {
15972 if (temp8)
15973 delete arg8;
15974 }
15975 return resultobj;
15976 fail:
15977 {
15978 if (temp3)
15979 delete arg3;
15980 }
15981 {
15982 if (temp7)
15983 delete arg7;
15984 }
15985 {
15986 if (temp8)
15987 delete arg8;
15988 }
15989 return NULL;
15990}
15991
15992
15993static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15994 PyObject *resultobj;
15995 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15996 size_t arg2 ;
15997 int arg3 ;
15998 wxString *arg4 = 0 ;
15999 wxBitmap *arg5 = 0 ;
16000 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16001 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16002 int arg7 = (int) wxITEM_NORMAL ;
16003 wxString const &arg8_defvalue = wxPyEmptyString ;
16004 wxString *arg8 = (wxString *) &arg8_defvalue ;
16005 wxString const &arg9_defvalue = wxPyEmptyString ;
16006 wxString *arg9 = (wxString *) &arg9_defvalue ;
16007 PyObject *arg10 = (PyObject *) NULL ;
16008 wxToolBarToolBase *result;
e811c8ce
RD
16009 bool temp4 = False ;
16010 bool temp8 = False ;
16011 bool temp9 = False ;
d14a1e28
RD
16012 PyObject * obj0 = 0 ;
16013 PyObject * obj1 = 0 ;
994141e6 16014 PyObject * obj2 = 0 ;
d14a1e28
RD
16015 PyObject * obj3 = 0 ;
16016 PyObject * obj4 = 0 ;
16017 PyObject * obj5 = 0 ;
994141e6 16018 PyObject * obj6 = 0 ;
d14a1e28
RD
16019 PyObject * obj7 = 0 ;
16020 PyObject * obj8 = 0 ;
16021 PyObject * obj9 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16024 };
16025
994141e6 16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
16027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16029 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 arg3 = (int) SWIG_AsInt(obj2);
16032 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16033 {
16034 arg4 = wxString_in_helper(obj3);
16035 if (arg4 == NULL) SWIG_fail;
e811c8ce 16036 temp4 = True;
d14a1e28 16037 }
15afbcd0
RD
16038 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16039 SWIG_POINTER_EXCEPTION | 0)) == -1)
16040 SWIG_fail;
d14a1e28 16041 if (arg5 == NULL) {
15afbcd0
RD
16042 PyErr_SetString(PyExc_TypeError,"null reference");
16043 SWIG_fail;
d14a1e28
RD
16044 }
16045 if (obj5) {
15afbcd0
RD
16046 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16047 SWIG_POINTER_EXCEPTION | 0)) == -1)
16048 SWIG_fail;
d14a1e28 16049 if (arg6 == NULL) {
15afbcd0
RD
16050 PyErr_SetString(PyExc_TypeError,"null reference");
16051 SWIG_fail;
d14a1e28
RD
16052 }
16053 }
994141e6 16054 if (obj6) {
15afbcd0
RD
16055 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16056 if (PyErr_Occurred()) SWIG_fail;
994141e6 16057 }
d14a1e28
RD
16058 if (obj7) {
16059 {
16060 arg8 = wxString_in_helper(obj7);
16061 if (arg8 == NULL) SWIG_fail;
e811c8ce 16062 temp8 = True;
d14a1e28
RD
16063 }
16064 }
16065 if (obj8) {
16066 {
16067 arg9 = wxString_in_helper(obj8);
16068 if (arg9 == NULL) SWIG_fail;
e811c8ce 16069 temp9 = True;
d14a1e28
RD
16070 }
16071 }
16072 if (obj9) {
16073 arg10 = obj9;
16074 }
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,(wxItemKind )arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
16078
16079 wxPyEndAllowThreads(__tstate);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 {
16083 resultobj = wxPyMake_wxObject(result);
16084 }
16085 {
16086 if (temp4)
16087 delete arg4;
16088 }
16089 {
16090 if (temp8)
16091 delete arg8;
16092 }
16093 {
16094 if (temp9)
16095 delete arg9;
16096 }
16097 return resultobj;
16098 fail:
16099 {
16100 if (temp4)
16101 delete arg4;
16102 }
16103 {
16104 if (temp8)
16105 delete arg8;
16106 }
16107 {
16108 if (temp9)
16109 delete arg9;
16110 }
16111 return NULL;
16112}
16113
16114
3a04f143
RD
16115static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16118 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16119 wxToolBarToolBase *result;
16120 PyObject * obj0 = 0 ;
16121 PyObject * obj1 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self",(char *) "tool", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 {
16139 resultobj = wxPyMake_wxObject(result);
16140 }
16141 return resultobj;
16142 fail:
16143 return NULL;
16144}
16145
16146
16147static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj;
16149 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16150 size_t arg2 ;
16151 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16152 wxToolBarToolBase *result;
16153 PyObject * obj0 = 0 ;
16154 PyObject * obj1 = 0 ;
16155 PyObject * obj2 = 0 ;
16156 char *kwnames[] = {
16157 (char *) "self",(char *) "pos",(char *) "tool", NULL
16158 };
16159
16160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16163 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 {
16175 resultobj = wxPyMake_wxObject(result);
16176 }
16177 return resultobj;
16178 fail:
16179 return NULL;
16180}
16181
16182
d14a1e28
RD
16183static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16184 PyObject *resultobj;
16185 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16186 wxControl *arg2 = (wxControl *) 0 ;
16187 wxToolBarToolBase *result;
16188 PyObject * obj0 = 0 ;
16189 PyObject * obj1 = 0 ;
16190 char *kwnames[] = {
16191 (char *) "self",(char *) "control", NULL
16192 };
16193
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 {
16207 resultobj = wxPyMake_wxObject(result);
16208 }
16209 return resultobj;
16210 fail:
16211 return NULL;
16212}
16213
16214
16215static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16216 PyObject *resultobj;
16217 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16218 size_t arg2 ;
16219 wxControl *arg3 = (wxControl *) 0 ;
16220 wxToolBarToolBase *result;
16221 PyObject * obj0 = 0 ;
16222 PyObject * obj1 = 0 ;
16223 PyObject * obj2 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "self",(char *) "pos",(char *) "control", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16231 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16235 {
16236 PyThreadState* __tstate = wxPyBeginAllowThreads();
16237 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16238
16239 wxPyEndAllowThreads(__tstate);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 {
16243 resultobj = wxPyMake_wxObject(result);
16244 }
16245 return resultobj;
16246 fail:
16247 return NULL;
16248}
16249
16250
16251static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj;
16253 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16254 int arg2 ;
16255 wxControl *result;
16256 PyObject * obj0 = 0 ;
994141e6 16257 PyObject * obj1 = 0 ;
d14a1e28
RD
16258 char *kwnames[] = {
16259 (char *) "self",(char *) "id", NULL
16260 };
16261
994141e6 16262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16265 arg2 = (int) SWIG_AsInt(obj1);
16266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 result = (wxControl *)(arg1)->FindControl(arg2);
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 {
16275 resultobj = wxPyMake_wxObject(result);
16276 }
16277 return resultobj;
16278 fail:
16279 return NULL;
16280}
16281
16282
16283static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16284 PyObject *resultobj;
16285 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16286 wxToolBarToolBase *result;
16287 PyObject * obj0 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "self", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
16293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16295 {
16296 PyThreadState* __tstate = wxPyBeginAllowThreads();
16297 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16298
16299 wxPyEndAllowThreads(__tstate);
16300 if (PyErr_Occurred()) SWIG_fail;
16301 }
16302 {
16303 resultobj = wxPyMake_wxObject(result);
16304 }
16305 return resultobj;
16306 fail:
16307 return NULL;
16308}
16309
16310
16311static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16314 size_t arg2 ;
16315 wxToolBarToolBase *result;
16316 PyObject * obj0 = 0 ;
16317 PyObject * obj1 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self",(char *) "pos", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16325 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16330
16331 wxPyEndAllowThreads(__tstate);
16332 if (PyErr_Occurred()) SWIG_fail;
16333 }
16334 {
16335 resultobj = wxPyMake_wxObject(result);
16336 }
16337 return resultobj;
16338 fail:
16339 return NULL;
16340}
16341
16342
16343static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj;
16345 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16346 int arg2 ;
16347 wxToolBarToolBase *result;
16348 PyObject * obj0 = 0 ;
994141e6 16349 PyObject * obj1 = 0 ;
d14a1e28
RD
16350 char *kwnames[] = {
16351 (char *) "self",(char *) "id", NULL
16352 };
16353
994141e6 16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16357 arg2 = (int) SWIG_AsInt(obj1);
16358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 {
16367 resultobj = wxPyMake_wxObject(result);
16368 }
16369 return resultobj;
16370 fail:
16371 return NULL;
16372}
16373
16374
16375static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj;
16377 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16378 size_t arg2 ;
16379 bool result;
16380 PyObject * obj0 = 0 ;
16381 PyObject * obj1 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self",(char *) "pos", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16389 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 result = (bool)(arg1)->DeleteToolByPos(arg2);
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
4f89f6a3
RD
16398 {
16399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16400 }
d14a1e28
RD
16401 return resultobj;
16402 fail:
16403 return NULL;
16404}
16405
16406
16407static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16410 int arg2 ;
16411 bool result;
16412 PyObject * obj0 = 0 ;
994141e6 16413 PyObject * obj1 = 0 ;
d14a1e28
RD
16414 char *kwnames[] = {
16415 (char *) "self",(char *) "id", NULL
16416 };
16417
994141e6 16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16421 arg2 = (int) SWIG_AsInt(obj1);
16422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 result = (bool)(arg1)->DeleteTool(arg2);
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
4f89f6a3
RD
16430 {
16431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16432 }
d14a1e28
RD
16433 return resultobj;
16434 fail:
16435 return NULL;
16436}
16437
16438
16439static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16440 PyObject *resultobj;
16441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16442 PyObject * obj0 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
15afbcd0
RD
16448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
16452 (arg1)->ClearTools();
16453
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 Py_INCREF(Py_None); resultobj = Py_None;
16458 return resultobj;
16459 fail:
16460 return NULL;
16461}
16462
16463
16464static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16467 bool result;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 result = (bool)(arg1)->Realize();
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
4f89f6a3
RD
16483 {
16484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16485 }
d14a1e28
RD
16486 return resultobj;
16487 fail:
16488 return NULL;
16489}
16490
16491
16492static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16495 int arg2 ;
16496 bool arg3 ;
16497 PyObject * obj0 = 0 ;
994141e6 16498 PyObject * obj1 = 0 ;
d14a1e28
RD
16499 PyObject * obj2 = 0 ;
16500 char *kwnames[] = {
16501 (char *) "self",(char *) "id",(char *) "enable", NULL
16502 };
16503
994141e6 16504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16507 arg2 = (int) SWIG_AsInt(obj1);
16508 if (PyErr_Occurred()) SWIG_fail;
16509 arg3 = (bool) SWIG_AsBool(obj2);
16510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 (arg1)->EnableTool(arg2,arg3);
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 return resultobj;
16520 fail:
16521 return NULL;
16522}
16523
16524
16525static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16528 int arg2 ;
16529 bool arg3 ;
16530 PyObject * obj0 = 0 ;
994141e6 16531 PyObject * obj1 = 0 ;
d14a1e28
RD
16532 PyObject * obj2 = 0 ;
16533 char *kwnames[] = {
16534 (char *) "self",(char *) "id",(char *) "toggle", NULL
16535 };
16536
994141e6 16537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16540 arg2 = (int) SWIG_AsInt(obj1);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 arg3 = (bool) SWIG_AsBool(obj2);
16543 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
16546 (arg1)->ToggleTool(arg2,arg3);
16547
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 Py_INCREF(Py_None); resultobj = Py_None;
16552 return resultobj;
16553 fail:
16554 return NULL;
16555}
16556
16557
16558static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16561 int arg2 ;
16562 bool arg3 ;
16563 PyObject * obj0 = 0 ;
994141e6 16564 PyObject * obj1 = 0 ;
d14a1e28
RD
16565 PyObject * obj2 = 0 ;
16566 char *kwnames[] = {
16567 (char *) "self",(char *) "id",(char *) "toggle", NULL
16568 };
16569
994141e6 16570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16573 arg2 = (int) SWIG_AsInt(obj1);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 arg3 = (bool) SWIG_AsBool(obj2);
16576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 (arg1)->SetToggle(arg2,arg3);
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 Py_INCREF(Py_None); resultobj = Py_None;
16585 return resultobj;
16586 fail:
16587 return NULL;
16588}
16589
16590
16591static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj;
16593 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16594 int arg2 ;
16595 PyObject *result;
16596 PyObject * obj0 = 0 ;
994141e6 16597 PyObject * obj1 = 0 ;
d14a1e28
RD
16598 char *kwnames[] = {
16599 (char *) "self",(char *) "id", NULL
16600 };
16601
994141e6 16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16605 arg2 = (int) SWIG_AsInt(obj1);
16606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 resultobj = result;
16615 return resultobj;
16616 fail:
16617 return NULL;
16618}
16619
16620
16621static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj;
16623 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16624 int arg2 ;
16625 PyObject *arg3 = (PyObject *) 0 ;
16626 PyObject * obj0 = 0 ;
994141e6 16627 PyObject * obj1 = 0 ;
d14a1e28
RD
16628 PyObject * obj2 = 0 ;
16629 char *kwnames[] = {
16630 (char *) "self",(char *) "id",(char *) "clientData", NULL
16631 };
16632
994141e6 16633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16636 arg2 = (int) SWIG_AsInt(obj1);
16637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16638 arg3 = obj2;
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 Py_INCREF(Py_None); resultobj = Py_None;
16647 return resultobj;
16648 fail:
16649 return NULL;
16650}
16651
16652
16653static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16656 int arg2 ;
16657 int result;
16658 PyObject * obj0 = 0 ;
994141e6 16659 PyObject * obj1 = 0 ;
d14a1e28
RD
16660 char *kwnames[] = {
16661 (char *) "self",(char *) "id", NULL
16662 };
16663
994141e6 16664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16667 arg2 = (int) SWIG_AsInt(obj1);
16668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16672
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
15afbcd0 16676 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16677 return resultobj;
16678 fail:
16679 return NULL;
16680}
16681
16682
16683static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16684 PyObject *resultobj;
16685 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16686 int arg2 ;
16687 bool result;
16688 PyObject * obj0 = 0 ;
994141e6 16689 PyObject * obj1 = 0 ;
d14a1e28
RD
16690 char *kwnames[] = {
16691 (char *) "self",(char *) "id", NULL
16692 };
16693
994141e6 16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16697 arg2 = (int) SWIG_AsInt(obj1);
16698 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 result = (bool)(arg1)->GetToolState(arg2);
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
4f89f6a3
RD
16706 {
16707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16708 }
d14a1e28
RD
16709 return resultobj;
16710 fail:
16711 return NULL;
16712}
16713
16714
16715static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16718 int arg2 ;
16719 bool result;
16720 PyObject * obj0 = 0 ;
994141e6 16721 PyObject * obj1 = 0 ;
d14a1e28
RD
16722 char *kwnames[] = {
16723 (char *) "self",(char *) "id", NULL
16724 };
16725
994141e6 16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16729 arg2 = (int) SWIG_AsInt(obj1);
16730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 result = (bool)(arg1)->GetToolEnabled(arg2);
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
4f89f6a3
RD
16738 {
16739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16740 }
d14a1e28
RD
16741 return resultobj;
16742 fail:
16743 return NULL;
16744}
16745
16746
16747static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16748 PyObject *resultobj;
16749 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16750 int arg2 ;
16751 wxString *arg3 = 0 ;
e811c8ce 16752 bool temp3 = False ;
d14a1e28 16753 PyObject * obj0 = 0 ;
994141e6 16754 PyObject * obj1 = 0 ;
d14a1e28
RD
16755 PyObject * obj2 = 0 ;
16756 char *kwnames[] = {
16757 (char *) "self",(char *) "id",(char *) "helpString", NULL
16758 };
16759
994141e6 16760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16763 arg2 = (int) SWIG_AsInt(obj1);
16764 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16765 {
16766 arg3 = wxString_in_helper(obj2);
16767 if (arg3 == NULL) SWIG_fail;
e811c8ce 16768 temp3 = True;
d14a1e28
RD
16769 }
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 Py_INCREF(Py_None); resultobj = Py_None;
16778 {
16779 if (temp3)
16780 delete arg3;
16781 }
16782 return resultobj;
16783 fail:
16784 {
16785 if (temp3)
16786 delete arg3;
16787 }
16788 return NULL;
16789}
16790
16791
16792static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj;
16794 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16795 int arg2 ;
16796 wxString result;
16797 PyObject * obj0 = 0 ;
994141e6 16798 PyObject * obj1 = 0 ;
d14a1e28
RD
16799 char *kwnames[] = {
16800 (char *) "self",(char *) "id", NULL
16801 };
16802
994141e6 16803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16806 arg2 = (int) SWIG_AsInt(obj1);
16807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16808 {
16809 PyThreadState* __tstate = wxPyBeginAllowThreads();
16810 result = (arg1)->GetToolShortHelp(arg2);
16811
16812 wxPyEndAllowThreads(__tstate);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
16815 {
16816#if wxUSE_UNICODE
16817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16818#else
16819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16820#endif
16821 }
16822 return resultobj;
16823 fail:
16824 return NULL;
16825}
16826
16827
16828static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16829 PyObject *resultobj;
16830 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16831 int arg2 ;
16832 wxString *arg3 = 0 ;
e811c8ce 16833 bool temp3 = False ;
d14a1e28 16834 PyObject * obj0 = 0 ;
994141e6 16835 PyObject * obj1 = 0 ;
d14a1e28
RD
16836 PyObject * obj2 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self",(char *) "id",(char *) "helpString", NULL
16839 };
16840
994141e6 16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16844 arg2 = (int) SWIG_AsInt(obj1);
16845 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16846 {
16847 arg3 = wxString_in_helper(obj2);
16848 if (arg3 == NULL) SWIG_fail;
e811c8ce 16849 temp3 = True;
d14a1e28
RD
16850 }
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 Py_INCREF(Py_None); resultobj = Py_None;
16859 {
16860 if (temp3)
16861 delete arg3;
16862 }
16863 return resultobj;
16864 fail:
16865 {
16866 if (temp3)
16867 delete arg3;
16868 }
16869 return NULL;
16870}
16871
16872
16873static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16874 PyObject *resultobj;
16875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16876 int arg2 ;
16877 wxString result;
16878 PyObject * obj0 = 0 ;
994141e6 16879 PyObject * obj1 = 0 ;
d14a1e28
RD
16880 char *kwnames[] = {
16881 (char *) "self",(char *) "id", NULL
16882 };
16883
994141e6 16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16887 arg2 = (int) SWIG_AsInt(obj1);
16888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16889 {
16890 PyThreadState* __tstate = wxPyBeginAllowThreads();
16891 result = (arg1)->GetToolLongHelp(arg2);
16892
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 {
16897#if wxUSE_UNICODE
16898 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16899#else
16900 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16901#endif
16902 }
16903 return resultobj;
16904 fail:
16905 return NULL;
16906}
16907
16908
16909static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16912 int arg2 ;
16913 int arg3 ;
16914 PyObject * obj0 = 0 ;
994141e6
RD
16915 PyObject * obj1 = 0 ;
16916 PyObject * obj2 = 0 ;
d14a1e28
RD
16917 char *kwnames[] = {
16918 (char *) "self",(char *) "x",(char *) "y", NULL
16919 };
16920
994141e6 16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16924 arg2 = (int) SWIG_AsInt(obj1);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 arg3 = (int) SWIG_AsInt(obj2);
16927 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 (arg1)->SetMargins(arg2,arg3);
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 Py_INCREF(Py_None); resultobj = Py_None;
16936 return resultobj;
16937 fail:
16938 return NULL;
16939}
16940
16941
16942static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16945 wxSize *arg2 = 0 ;
16946 wxSize temp2 ;
16947 PyObject * obj0 = 0 ;
16948 PyObject * obj1 = 0 ;
16949 char *kwnames[] = {
16950 (char *) "self",(char *) "size", NULL
16951 };
16952
16953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16956 {
16957 arg2 = &temp2;
16958 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16959 }
16960 {
16961 PyThreadState* __tstate = wxPyBeginAllowThreads();
16962 (arg1)->SetMargins((wxSize const &)*arg2);
16963
16964 wxPyEndAllowThreads(__tstate);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 Py_INCREF(Py_None); resultobj = Py_None;
16968 return resultobj;
16969 fail:
16970 return NULL;
16971}
16972
16973
16974static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16975 PyObject *resultobj;
16976 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16977 int arg2 ;
16978 PyObject * obj0 = 0 ;
994141e6 16979 PyObject * obj1 = 0 ;
d14a1e28
RD
16980 char *kwnames[] = {
16981 (char *) "self",(char *) "packing", NULL
16982 };
16983
994141e6 16984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16987 arg2 = (int) SWIG_AsInt(obj1);
16988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 (arg1)->SetToolPacking(arg2);
16992
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 Py_INCREF(Py_None); resultobj = Py_None;
16997 return resultobj;
16998 fail:
16999 return NULL;
17000}
17001
17002
17003static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17004 PyObject *resultobj;
17005 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17006 int arg2 ;
17007 PyObject * obj0 = 0 ;
994141e6 17008 PyObject * obj1 = 0 ;
d14a1e28
RD
17009 char *kwnames[] = {
17010 (char *) "self",(char *) "separation", NULL
17011 };
17012
994141e6 17013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17016 arg2 = (int) SWIG_AsInt(obj1);
17017 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 (arg1)->SetToolSeparation(arg2);
17021
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 Py_INCREF(Py_None); resultobj = Py_None;
17026 return resultobj;
17027 fail:
17028 return NULL;
17029}
17030
17031
17032static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17035 wxSize result;
17036 PyObject * obj0 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "self", NULL
17039 };
17040
17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
17042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17044 {
17045 PyThreadState* __tstate = wxPyBeginAllowThreads();
17046 result = (arg1)->GetToolMargins();
17047
17048 wxPyEndAllowThreads(__tstate);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 }
17051 {
17052 wxSize * resultptr;
17053 resultptr = new wxSize((wxSize &) result);
15afbcd0 17054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17055 }
17056 return resultobj;
17057 fail:
17058 return NULL;
17059}
17060
17061
17062static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17065 wxSize result;
17066 PyObject * obj0 = 0 ;
17067 char *kwnames[] = {
17068 (char *) "self", NULL
17069 };
17070
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
17072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17074 {
17075 PyThreadState* __tstate = wxPyBeginAllowThreads();
17076 result = (arg1)->GetMargins();
17077
17078 wxPyEndAllowThreads(__tstate);
17079 if (PyErr_Occurred()) SWIG_fail;
17080 }
17081 {
17082 wxSize * resultptr;
17083 resultptr = new wxSize((wxSize &) result);
15afbcd0 17084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17085 }
17086 return resultobj;
17087 fail:
17088 return NULL;
17089}
17090
17091
17092static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17095 int result;
17096 PyObject * obj0 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15afbcd0
RD
17102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
17106 result = (int)(arg1)->GetToolPacking();
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
15afbcd0 17111 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17112 return resultobj;
17113 fail:
17114 return NULL;
17115}
17116
17117
17118static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17119 PyObject *resultobj;
17120 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17121 int result;
17122 PyObject * obj0 = 0 ;
17123 char *kwnames[] = {
17124 (char *) "self", NULL
17125 };
17126
17127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15afbcd0
RD
17128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17130 {
17131 PyThreadState* __tstate = wxPyBeginAllowThreads();
17132 result = (int)(arg1)->GetToolSeparation();
17133
17134 wxPyEndAllowThreads(__tstate);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
15afbcd0 17137 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17138 return resultobj;
17139 fail:
17140 return NULL;
17141}
17142
17143
17144static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj;
17146 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17147 int arg2 ;
17148 PyObject * obj0 = 0 ;
994141e6 17149 PyObject * obj1 = 0 ;
d14a1e28
RD
17150 char *kwnames[] = {
17151 (char *) "self",(char *) "nRows", NULL
17152 };
17153
994141e6 17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17157 arg2 = (int) SWIG_AsInt(obj1);
17158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 (arg1)->SetRows(arg2);
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 Py_INCREF(Py_None); resultobj = Py_None;
17167 return resultobj;
17168 fail:
17169 return NULL;
17170}
17171
17172
17173static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17174 PyObject *resultobj;
17175 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17176 int arg2 ;
17177 int arg3 ;
17178 PyObject * obj0 = 0 ;
994141e6
RD
17179 PyObject * obj1 = 0 ;
17180 PyObject * obj2 = 0 ;
d14a1e28
RD
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "rows",(char *) "cols", NULL
17183 };
17184
994141e6 17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17188 arg2 = (int) SWIG_AsInt(obj1);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 arg3 = (int) SWIG_AsInt(obj2);
17191 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 (arg1)->SetMaxRowsCols(arg2,arg3);
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 Py_INCREF(Py_None); resultobj = Py_None;
17200 return resultobj;
17201 fail:
17202 return NULL;
17203}
17204
17205
17206static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17209 int result;
17210 PyObject * obj0 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 result = (int)(arg1)->GetMaxRows();
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
15afbcd0 17225 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17226 return resultobj;
17227 fail:
17228 return NULL;
17229}
17230
17231
17232static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj;
17234 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17235 int result;
17236 PyObject * obj0 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
17242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17244 {
17245 PyThreadState* __tstate = wxPyBeginAllowThreads();
17246 result = (int)(arg1)->GetMaxCols();
17247
17248 wxPyEndAllowThreads(__tstate);
17249 if (PyErr_Occurred()) SWIG_fail;
17250 }
15afbcd0 17251 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17252 return resultobj;
17253 fail:
17254 return NULL;
17255}
17256
17257
17258static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17259 PyObject *resultobj;
17260 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17261 wxSize *arg2 = 0 ;
17262 wxSize temp2 ;
17263 PyObject * obj0 = 0 ;
17264 PyObject * obj1 = 0 ;
17265 char *kwnames[] = {
17266 (char *) "self",(char *) "size", NULL
17267 };
17268
17269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17272 {
17273 arg2 = &temp2;
17274 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17275 }
17276 {
17277 PyThreadState* __tstate = wxPyBeginAllowThreads();
17278 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17279
17280 wxPyEndAllowThreads(__tstate);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 }
17283 Py_INCREF(Py_None); resultobj = Py_None;
17284 return resultobj;
17285 fail:
17286 return NULL;
17287}
17288
17289
17290static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17291 PyObject *resultobj;
17292 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17293 wxSize result;
17294 PyObject * obj0 = 0 ;
17295 char *kwnames[] = {
17296 (char *) "self", NULL
17297 };
17298
17299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 result = (arg1)->GetToolBitmapSize();
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 {
17310 wxSize * resultptr;
17311 resultptr = new wxSize((wxSize &) result);
15afbcd0 17312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17313 }
17314 return resultobj;
17315 fail:
17316 return NULL;
17317}
17318
17319
17320static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17321 PyObject *resultobj;
17322 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17323 wxSize result;
17324 PyObject * obj0 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17332 {
17333 PyThreadState* __tstate = wxPyBeginAllowThreads();
17334 result = (arg1)->GetToolSize();
17335
17336 wxPyEndAllowThreads(__tstate);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
17339 {
17340 wxSize * resultptr;
17341 resultptr = new wxSize((wxSize &) result);
15afbcd0 17342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17343 }
17344 return resultobj;
17345 fail:
17346 return NULL;
17347}
17348
17349
17350static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17351 PyObject *resultobj;
17352 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
17353 int arg2 ;
17354 int arg3 ;
d14a1e28
RD
17355 wxToolBarToolBase *result;
17356 PyObject * obj0 = 0 ;
994141e6
RD
17357 PyObject * obj1 = 0 ;
17358 PyObject * obj2 = 0 ;
d14a1e28
RD
17359 char *kwnames[] = {
17360 (char *) "self",(char *) "x",(char *) "y", NULL
17361 };
17362
994141e6 17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17366 arg2 = (int) SWIG_AsInt(obj1);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 arg3 = (int) SWIG_AsInt(obj2);
17369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 {
17378 resultobj = wxPyMake_wxObject(result);
17379 }
17380 return resultobj;
17381 fail:
17382 return NULL;
17383}
17384
17385
3a04f143
RD
17386static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj;
17388 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17389 int arg2 ;
17390 wxToolBarToolBase *result;
17391 PyObject * obj0 = 0 ;
994141e6 17392 PyObject * obj1 = 0 ;
3a04f143
RD
17393 char *kwnames[] = {
17394 (char *) "self",(char *) "toolid", NULL
17395 };
17396
994141e6 17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17400 arg2 = (int) SWIG_AsInt(obj1);
17401 if (PyErr_Occurred()) SWIG_fail;
3a04f143
RD
17402 {
17403 PyThreadState* __tstate = wxPyBeginAllowThreads();
17404 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17405
17406 wxPyEndAllowThreads(__tstate);
17407 if (PyErr_Occurred()) SWIG_fail;
17408 }
17409 {
17410 resultobj = wxPyMake_wxObject(result);
17411 }
17412 return resultobj;
17413 fail:
17414 return NULL;
17415}
17416
17417
d14a1e28
RD
17418static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17419 PyObject *resultobj;
17420 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17421 bool result;
17422 PyObject * obj0 = 0 ;
17423 char *kwnames[] = {
17424 (char *) "self", NULL
17425 };
17426
17427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
17428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17430 {
17431 PyThreadState* __tstate = wxPyBeginAllowThreads();
17432 result = (bool)(arg1)->IsVertical();
17433
17434 wxPyEndAllowThreads(__tstate);
17435 if (PyErr_Occurred()) SWIG_fail;
17436 }
4f89f6a3
RD
17437 {
17438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17439 }
d14a1e28
RD
17440 return resultobj;
17441 fail:
17442 return NULL;
17443}
17444
17445
17446static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17447 PyObject *obj;
17448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17449 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17450 Py_INCREF(obj);
17451 return Py_BuildValue((char *)"");
17452}
17453static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 17456 int arg2 ;
d14a1e28
RD
17457 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17458 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17459 wxSize const &arg4_defvalue = wxDefaultSize ;
17460 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17461 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17462 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17463 wxString *arg6 = (wxString *) &arg6_defvalue ;
17464 wxToolBar *result;
17465 wxPoint temp3 ;
17466 wxSize temp4 ;
e811c8ce 17467 bool temp6 = False ;
d14a1e28 17468 PyObject * obj0 = 0 ;
994141e6 17469 PyObject * obj1 = 0 ;
d14a1e28
RD
17470 PyObject * obj2 = 0 ;
17471 PyObject * obj3 = 0 ;
994141e6 17472 PyObject * obj4 = 0 ;
d14a1e28
RD
17473 PyObject * obj5 = 0 ;
17474 char *kwnames[] = {
17475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17476 };
17477
994141e6 17478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
17479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17481 arg2 = (int) SWIG_AsInt(obj1);
17482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17483 if (obj2) {
17484 {
17485 arg3 = &temp3;
17486 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17487 }
17488 }
17489 if (obj3) {
17490 {
17491 arg4 = &temp4;
17492 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17493 }
17494 }
994141e6 17495 if (obj4) {
15afbcd0
RD
17496 arg5 = (long) SWIG_AsLong(obj4);
17497 if (PyErr_Occurred()) SWIG_fail;
994141e6 17498 }
d14a1e28
RD
17499 if (obj5) {
17500 {
17501 arg6 = wxString_in_helper(obj5);
17502 if (arg6 == NULL) SWIG_fail;
e811c8ce 17503 temp6 = True;
d14a1e28
RD
17504 }
17505 }
17506 {
17507 PyThreadState* __tstate = wxPyBeginAllowThreads();
17508 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17509
17510 wxPyEndAllowThreads(__tstate);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 }
17513 {
17514 resultobj = wxPyMake_wxObject(result);
17515 }
17516 {
17517 if (temp6)
17518 delete arg6;
17519 }
17520 return resultobj;
17521 fail:
17522 {
17523 if (temp6)
17524 delete arg6;
17525 }
17526 return NULL;
17527}
17528
17529
17530static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17531 PyObject *resultobj;
17532 wxToolBar *result;
17533 char *kwnames[] = {
17534 NULL
17535 };
17536
17537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = (wxToolBar *)new wxToolBar();
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 {
17546 resultobj = wxPyMake_wxObject(result);
17547 }
17548 return resultobj;
17549 fail:
17550 return NULL;
17551}
17552
17553
17554static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17555 PyObject *resultobj;
17556 wxToolBar *arg1 = (wxToolBar *) 0 ;
17557 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 17558 int arg3 ;
d14a1e28
RD
17559 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17560 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17561 wxSize const &arg5_defvalue = wxDefaultSize ;
17562 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17563 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17564 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17565 wxString *arg7 = (wxString *) &arg7_defvalue ;
17566 bool result;
17567 wxPoint temp4 ;
17568 wxSize temp5 ;
e811c8ce 17569 bool temp7 = False ;
d14a1e28
RD
17570 PyObject * obj0 = 0 ;
17571 PyObject * obj1 = 0 ;
994141e6 17572 PyObject * obj2 = 0 ;
d14a1e28
RD
17573 PyObject * obj3 = 0 ;
17574 PyObject * obj4 = 0 ;
994141e6 17575 PyObject * obj5 = 0 ;
d14a1e28
RD
17576 PyObject * obj6 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17579 };
17580
994141e6 17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
17582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17586 arg3 = (int) SWIG_AsInt(obj2);
17587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17588 if (obj3) {
17589 {
17590 arg4 = &temp4;
17591 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17592 }
17593 }
17594 if (obj4) {
17595 {
17596 arg5 = &temp5;
17597 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17598 }
17599 }
994141e6 17600 if (obj5) {
15afbcd0
RD
17601 arg6 = (long) SWIG_AsLong(obj5);
17602 if (PyErr_Occurred()) SWIG_fail;
994141e6 17603 }
d14a1e28
RD
17604 if (obj6) {
17605 {
17606 arg7 = wxString_in_helper(obj6);
17607 if (arg7 == NULL) SWIG_fail;
e811c8ce 17608 temp7 = True;
d14a1e28
RD
17609 }
17610 }
17611 {
17612 PyThreadState* __tstate = wxPyBeginAllowThreads();
17613 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17614
17615 wxPyEndAllowThreads(__tstate);
17616 if (PyErr_Occurred()) SWIG_fail;
17617 }
4f89f6a3
RD
17618 {
17619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17620 }
d14a1e28
RD
17621 {
17622 if (temp7)
17623 delete arg7;
17624 }
17625 return resultobj;
17626 fail:
17627 {
17628 if (temp7)
17629 delete arg7;
17630 }
17631 return NULL;
17632}
17633
17634
17635static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17636 PyObject *resultobj;
17637 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
17638 int arg2 ;
17639 int arg3 ;
d14a1e28
RD
17640 wxToolBarToolBase *result;
17641 PyObject * obj0 = 0 ;
994141e6
RD
17642 PyObject * obj1 = 0 ;
17643 PyObject * obj2 = 0 ;
d14a1e28
RD
17644 char *kwnames[] = {
17645 (char *) "self",(char *) "x",(char *) "y", NULL
17646 };
17647
994141e6 17648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17651 arg2 = (int) SWIG_AsInt(obj1);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 arg3 = (int) SWIG_AsInt(obj2);
17654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17655 {
17656 PyThreadState* __tstate = wxPyBeginAllowThreads();
17657 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17658
17659 wxPyEndAllowThreads(__tstate);
17660 if (PyErr_Occurred()) SWIG_fail;
17661 }
17662 {
17663 resultobj = wxPyMake_wxObject(result);
17664 }
17665 return resultobj;
17666 fail:
17667 return NULL;
17668}
17669
17670
17671static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17672 PyObject *obj;
17673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17674 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17675 Py_INCREF(obj);
17676 return Py_BuildValue((char *)"");
17677}
b2dc1044
RD
17678static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17679 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17680 return 1;
17681}
17682
17683
17684static PyObject *_wrap_ListCtrlNameStr_get() {
17685 PyObject *pyobj;
17686
17687 {
17688#if wxUSE_UNICODE
17689 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17690#else
17691 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17692#endif
17693 }
17694 return pyobj;
17695}
17696
17697
d14a1e28
RD
17698static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17699 PyObject *resultobj;
17700 wxColour const &arg1_defvalue = wxNullColour ;
17701 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17702 wxColour const &arg2_defvalue = wxNullColour ;
17703 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17704 wxFont const &arg3_defvalue = wxNullFont ;
17705 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17706 wxListItemAttr *result;
17707 wxColour temp1 ;
17708 wxColour temp2 ;
17709 PyObject * obj0 = 0 ;
17710 PyObject * obj1 = 0 ;
17711 PyObject * obj2 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17717 if (obj0) {
17718 {
17719 arg1 = &temp1;
17720 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17721 }
17722 }
17723 if (obj1) {
17724 {
17725 arg2 = &temp2;
17726 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17727 }
17728 }
17729 if (obj2) {
15afbcd0
RD
17730 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17731 SWIG_POINTER_EXCEPTION | 0)) == -1)
17732 SWIG_fail;
d14a1e28 17733 if (arg3 == NULL) {
15afbcd0
RD
17734 PyErr_SetString(PyExc_TypeError,"null reference");
17735 SWIG_fail;
d14a1e28
RD
17736 }
17737 }
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17741
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
15afbcd0 17745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
17746 return resultobj;
17747 fail:
17748 return NULL;
17749}
17750
17751
17752static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17753 PyObject *resultobj;
17754 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17755 wxColour *arg2 = 0 ;
17756 wxColour temp2 ;
17757 PyObject * obj0 = 0 ;
17758 PyObject * obj1 = 0 ;
17759 char *kwnames[] = {
17760 (char *) "self",(char *) "colText", NULL
17761 };
17762
17763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17766 {
17767 arg2 = &temp2;
17768 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17769 }
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 (arg1)->SetTextColour((wxColour const &)*arg2);
17773
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 Py_INCREF(Py_None); resultobj = Py_None;
17778 return resultobj;
17779 fail:
17780 return NULL;
17781}
17782
17783
17784static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17785 PyObject *resultobj;
17786 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17787 wxColour *arg2 = 0 ;
17788 wxColour temp2 ;
17789 PyObject * obj0 = 0 ;
17790 PyObject * obj1 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self",(char *) "colBack", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17798 {
17799 arg2 = &temp2;
17800 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17801 }
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 Py_INCREF(Py_None); resultobj = Py_None;
17810 return resultobj;
17811 fail:
17812 return NULL;
17813}
17814
17815
17816static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj;
17818 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17819 wxFont *arg2 = 0 ;
17820 PyObject * obj0 = 0 ;
17821 PyObject * obj1 = 0 ;
17822 char *kwnames[] = {
17823 (char *) "self",(char *) "font", NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17830 SWIG_POINTER_EXCEPTION | 0)) == -1)
17831 SWIG_fail;
d14a1e28 17832 if (arg2 == NULL) {
15afbcd0
RD
17833 PyErr_SetString(PyExc_TypeError,"null reference");
17834 SWIG_fail;
d14a1e28
RD
17835 }
17836 {
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 (arg1)->SetFont((wxFont const &)*arg2);
17839
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 Py_INCREF(Py_None); resultobj = Py_None;
17844 return resultobj;
17845 fail:
17846 return NULL;
17847}
17848
17849
17850static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17853 bool result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = (bool)(arg1)->HasTextColour();
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
4f89f6a3
RD
17869 {
17870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17871 }
d14a1e28
RD
17872 return resultobj;
17873 fail:
17874 return NULL;
17875}
17876
17877
17878static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17881 bool result;
17882 PyObject * obj0 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17890 {
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = (bool)(arg1)->HasBackgroundColour();
17893
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
4f89f6a3
RD
17897 {
17898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17899 }
d14a1e28
RD
17900 return resultobj;
17901 fail:
17902 return NULL;
17903}
17904
17905
17906static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17907 PyObject *resultobj;
17908 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17909 bool result;
17910 PyObject * obj0 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self", NULL
17913 };
17914
17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
17916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (bool)(arg1)->HasFont();
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
4f89f6a3
RD
17925 {
17926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17927 }
d14a1e28
RD
17928 return resultobj;
17929 fail:
17930 return NULL;
17931}
17932
17933
17934static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17935 PyObject *resultobj;
17936 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17937 wxColour result;
17938 PyObject * obj0 = 0 ;
17939 char *kwnames[] = {
17940 (char *) "self", NULL
17941 };
17942
17943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 result = (arg1)->GetTextColour();
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 {
17954 wxColour * resultptr;
17955 resultptr = new wxColour((wxColour &) result);
15afbcd0 17956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17957 }
17958 return resultobj;
17959 fail:
17960 return NULL;
17961}
17962
17963
17964static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17967 wxColour result;
17968 PyObject * obj0 = 0 ;
17969 char *kwnames[] = {
17970 (char *) "self", NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17976 {
17977 PyThreadState* __tstate = wxPyBeginAllowThreads();
17978 result = (arg1)->GetBackgroundColour();
17979
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 {
17984 wxColour * resultptr;
17985 resultptr = new wxColour((wxColour &) result);
15afbcd0 17986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17987 }
17988 return resultobj;
17989 fail:
17990 return NULL;
17991}
17992
17993
17994static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17995 PyObject *resultobj;
17996 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17997 wxFont result;
17998 PyObject * obj0 = 0 ;
17999 char *kwnames[] = {
18000 (char *) "self", NULL
18001 };
18002
18003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
18004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 result = (arg1)->GetFont();
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 {
18014 wxFont * resultptr;
18015 resultptr = new wxFont((wxFont &) result);
15afbcd0 18016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
18017 }
18018 return resultobj;
18019 fail:
18020 return NULL;
18021}
18022
18023
18024static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18027 PyObject * obj0 = 0 ;
18028 char *kwnames[] = {
18029 (char *) "self", NULL
18030 };
18031
18032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
18033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18035 {
18036 PyThreadState* __tstate = wxPyBeginAllowThreads();
18037 wxListItemAttr_Destroy(arg1);
18038
18039 wxPyEndAllowThreads(__tstate);
18040 if (PyErr_Occurred()) SWIG_fail;
18041 }
18042 Py_INCREF(Py_None); resultobj = Py_None;
18043 return resultobj;
18044 fail:
18045 return NULL;
18046}
18047
18048
18049static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18050 PyObject *obj;
18051 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18052 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18053 Py_INCREF(obj);
18054 return Py_BuildValue((char *)"");
18055}
18056static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 wxListItem *result;
18059 char *kwnames[] = {
18060 NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 result = (wxListItem *)new wxListItem();
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 {
18072 resultobj = wxPyMake_wxObject(result);
18073 }
18074 return resultobj;
18075 fail:
18076 return NULL;
18077}
18078
18079
18080static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj;
18082 wxListItem *arg1 = (wxListItem *) 0 ;
18083 PyObject * obj0 = 0 ;
18084 char *kwnames[] = {
18085 (char *) "self", NULL
18086 };
18087
18088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
18089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18091 {
18092 PyThreadState* __tstate = wxPyBeginAllowThreads();
18093 delete arg1;
18094
18095 wxPyEndAllowThreads(__tstate);
18096 if (PyErr_Occurred()) SWIG_fail;
18097 }
18098 Py_INCREF(Py_None); resultobj = Py_None;
18099 return resultobj;
18100 fail:
18101 return NULL;
18102}
18103
18104
18105static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18106 PyObject *resultobj;
18107 wxListItem *arg1 = (wxListItem *) 0 ;
18108 PyObject * obj0 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "self", NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
18114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 (arg1)->Clear();
18119
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 Py_INCREF(Py_None); resultobj = Py_None;
18124 return resultobj;
18125 fail:
18126 return NULL;
18127}
18128
18129
18130static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18131 PyObject *resultobj;
18132 wxListItem *arg1 = (wxListItem *) 0 ;
18133 PyObject * obj0 = 0 ;
18134 char *kwnames[] = {
18135 (char *) "self", NULL
18136 };
18137
18138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
18139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18141 {
18142 PyThreadState* __tstate = wxPyBeginAllowThreads();
18143 (arg1)->ClearAttributes();
18144
18145 wxPyEndAllowThreads(__tstate);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 }
18148 Py_INCREF(Py_None); resultobj = Py_None;
18149 return resultobj;
18150 fail:
18151 return NULL;
18152}
18153
18154
18155static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18156 PyObject *resultobj;
18157 wxListItem *arg1 = (wxListItem *) 0 ;
18158 long arg2 ;
18159 PyObject * obj0 = 0 ;
994141e6 18160 PyObject * obj1 = 0 ;
d14a1e28
RD
18161 char *kwnames[] = {
18162 (char *) "self",(char *) "mask", NULL
18163 };
18164
994141e6 18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18168 arg2 = (long) SWIG_AsLong(obj1);
18169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18170 {
18171 PyThreadState* __tstate = wxPyBeginAllowThreads();
18172 (arg1)->SetMask(arg2);
18173
18174 wxPyEndAllowThreads(__tstate);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 }
18177 Py_INCREF(Py_None); resultobj = Py_None;
18178 return resultobj;
18179 fail:
18180 return NULL;
18181}
18182
18183
18184static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18185 PyObject *resultobj;
18186 wxListItem *arg1 = (wxListItem *) 0 ;
18187 long arg2 ;
18188 PyObject * obj0 = 0 ;
994141e6 18189 PyObject * obj1 = 0 ;
d14a1e28
RD
18190 char *kwnames[] = {
18191 (char *) "self",(char *) "id", NULL
18192 };
18193
994141e6 18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18197 arg2 = (long) SWIG_AsLong(obj1);
18198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 (arg1)->SetId(arg2);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 Py_INCREF(Py_None); resultobj = Py_None;
18207 return resultobj;
18208 fail:
18209 return NULL;
18210}
18211
18212
18213static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxListItem *arg1 = (wxListItem *) 0 ;
18216 int arg2 ;
18217 PyObject * obj0 = 0 ;
994141e6 18218 PyObject * obj1 = 0 ;
d14a1e28
RD
18219 char *kwnames[] = {
18220 (char *) "self",(char *) "col", NULL
18221 };
18222
994141e6 18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18226 arg2 = (int) SWIG_AsInt(obj1);
18227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18228 {
18229 PyThreadState* __tstate = wxPyBeginAllowThreads();
18230 (arg1)->SetColumn(arg2);
18231
18232 wxPyEndAllowThreads(__tstate);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 Py_INCREF(Py_None); resultobj = Py_None;
18236 return resultobj;
18237 fail:
18238 return NULL;
18239}
18240
18241
18242static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18243 PyObject *resultobj;
18244 wxListItem *arg1 = (wxListItem *) 0 ;
18245 long arg2 ;
18246 PyObject * obj0 = 0 ;
994141e6 18247 PyObject * obj1 = 0 ;
d14a1e28
RD
18248 char *kwnames[] = {
18249 (char *) "self",(char *) "state", NULL
18250 };
18251
994141e6 18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18255 arg2 = (long) SWIG_AsLong(obj1);
18256 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 (arg1)->SetState(arg2);
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 Py_INCREF(Py_None); resultobj = Py_None;
18265 return resultobj;
18266 fail:
18267 return NULL;
18268}
18269
18270
18271static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18272 PyObject *resultobj;
18273 wxListItem *arg1 = (wxListItem *) 0 ;
18274 long arg2 ;
18275 PyObject * obj0 = 0 ;
994141e6 18276 PyObject * obj1 = 0 ;
d14a1e28
RD
18277 char *kwnames[] = {
18278 (char *) "self",(char *) "stateMask", NULL
18279 };
18280
994141e6 18281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18284 arg2 = (long) SWIG_AsLong(obj1);
18285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 (arg1)->SetStateMask(arg2);
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 Py_INCREF(Py_None); resultobj = Py_None;
18294 return resultobj;
18295 fail:
18296 return NULL;
18297}
18298
18299
18300static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj;
18302 wxListItem *arg1 = (wxListItem *) 0 ;
18303 wxString *arg2 = 0 ;
e811c8ce 18304 bool temp2 = False ;
d14a1e28
RD
18305 PyObject * obj0 = 0 ;
18306 PyObject * obj1 = 0 ;
18307 char *kwnames[] = {
18308 (char *) "self",(char *) "text", NULL
18309 };
18310
18311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18314 {
18315 arg2 = wxString_in_helper(obj1);
18316 if (arg2 == NULL) SWIG_fail;
e811c8ce 18317 temp2 = True;
d14a1e28
RD
18318 }
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 (arg1)->SetText((wxString const &)*arg2);
18322
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 Py_INCREF(Py_None); resultobj = Py_None;
18327 {
18328 if (temp2)
18329 delete arg2;
18330 }
18331 return resultobj;
18332 fail:
18333 {
18334 if (temp2)
18335 delete arg2;
18336 }
18337 return NULL;
18338}
18339
18340
18341static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj;
18343 wxListItem *arg1 = (wxListItem *) 0 ;
18344 int arg2 ;
18345 PyObject * obj0 = 0 ;
994141e6 18346 PyObject * obj1 = 0 ;
d14a1e28
RD
18347 char *kwnames[] = {
18348 (char *) "self",(char *) "image", NULL
18349 };
18350
994141e6 18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18354 arg2 = (int) SWIG_AsInt(obj1);
18355 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 (arg1)->SetImage(arg2);
18359
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
18363 Py_INCREF(Py_None); resultobj = Py_None;
18364 return resultobj;
18365 fail:
18366 return NULL;
18367}
18368
18369
18370static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj;
18372 wxListItem *arg1 = (wxListItem *) 0 ;
18373 long arg2 ;
18374 PyObject * obj0 = 0 ;
994141e6 18375 PyObject * obj1 = 0 ;
d14a1e28
RD
18376 char *kwnames[] = {
18377 (char *) "self",(char *) "data", NULL
18378 };
18379
994141e6 18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18383 arg2 = (long) SWIG_AsLong(obj1);
18384 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 (arg1)->SetData(arg2);
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 Py_INCREF(Py_None); resultobj = Py_None;
18393 return resultobj;
18394 fail:
18395 return NULL;
18396}
18397
18398
18399static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18400 PyObject *resultobj;
18401 wxListItem *arg1 = (wxListItem *) 0 ;
18402 int arg2 ;
18403 PyObject * obj0 = 0 ;
994141e6 18404 PyObject * obj1 = 0 ;
d14a1e28
RD
18405 char *kwnames[] = {
18406 (char *) "self",(char *) "width", NULL
18407 };
18408
994141e6 18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18412 arg2 = (int) SWIG_AsInt(obj1);
18413 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 (arg1)->SetWidth(arg2);
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 Py_INCREF(Py_None); resultobj = Py_None;
18422 return resultobj;
18423 fail:
18424 return NULL;
18425}
18426
18427
18428static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18429 PyObject *resultobj;
18430 wxListItem *arg1 = (wxListItem *) 0 ;
18431 int arg2 ;
18432 PyObject * obj0 = 0 ;
994141e6 18433 PyObject * obj1 = 0 ;
d14a1e28
RD
18434 char *kwnames[] = {
18435 (char *) "self",(char *) "align", NULL
18436 };
18437
994141e6 18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18441 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 (arg1)->SetAlign((wxListColumnFormat )arg2);
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 Py_INCREF(Py_None); resultobj = Py_None;
18451 return resultobj;
18452 fail:
18453 return NULL;
18454}
18455
18456
18457static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18458 PyObject *resultobj;
18459 wxListItem *arg1 = (wxListItem *) 0 ;
18460 wxColour *arg2 = 0 ;
18461 wxColour temp2 ;
18462 PyObject * obj0 = 0 ;
18463 PyObject * obj1 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self",(char *) "colText", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18471 {
18472 arg2 = &temp2;
18473 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18474 }
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 (arg1)->SetTextColour((wxColour const &)*arg2);
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 Py_INCREF(Py_None); resultobj = Py_None;
18483 return resultobj;
18484 fail:
18485 return NULL;
18486}
18487
18488
18489static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18490 PyObject *resultobj;
18491 wxListItem *arg1 = (wxListItem *) 0 ;
18492 wxColour *arg2 = 0 ;
18493 wxColour temp2 ;
18494 PyObject * obj0 = 0 ;
18495 PyObject * obj1 = 0 ;
18496 char *kwnames[] = {
18497 (char *) "self",(char *) "colBack", NULL
18498 };
18499
18500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18503 {
18504 arg2 = &temp2;
18505 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18506 }
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
18514 Py_INCREF(Py_None); resultobj = Py_None;
18515 return resultobj;
18516 fail:
18517 return NULL;
18518}
18519
18520
18521static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18522 PyObject *resultobj;
18523 wxListItem *arg1 = (wxListItem *) 0 ;
18524 wxFont *arg2 = 0 ;
18525 PyObject * obj0 = 0 ;
18526 PyObject * obj1 = 0 ;
18527 char *kwnames[] = {
18528 (char *) "self",(char *) "font", NULL
18529 };
18530
18531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18535 SWIG_POINTER_EXCEPTION | 0)) == -1)
18536 SWIG_fail;
d14a1e28 18537 if (arg2 == NULL) {
15afbcd0
RD
18538 PyErr_SetString(PyExc_TypeError,"null reference");
18539 SWIG_fail;
d14a1e28
RD
18540 }
18541 {
18542 PyThreadState* __tstate = wxPyBeginAllowThreads();
18543 (arg1)->SetFont((wxFont const &)*arg2);
18544
18545 wxPyEndAllowThreads(__tstate);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 }
18548 Py_INCREF(Py_None); resultobj = Py_None;
18549 return resultobj;
18550 fail:
18551 return NULL;
18552}
18553
18554
18555static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18556 PyObject *resultobj;
18557 wxListItem *arg1 = (wxListItem *) 0 ;
18558 long result;
18559 PyObject * obj0 = 0 ;
18560 char *kwnames[] = {
18561 (char *) "self", NULL
18562 };
18563
18564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
18565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 result = (long)(arg1)->GetMask();
18570
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
15afbcd0 18574 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18575 return resultobj;
18576 fail:
18577 return NULL;
18578}
18579
18580
18581static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18582 PyObject *resultobj;
18583 wxListItem *arg1 = (wxListItem *) 0 ;
18584 long result;
18585 PyObject * obj0 = 0 ;
18586 char *kwnames[] = {
18587 (char *) "self", NULL
18588 };
18589
18590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
18591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 result = (long)(arg1)->GetId();
18596
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
15afbcd0 18600 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18601 return resultobj;
18602 fail:
18603 return NULL;
18604}
18605
18606
18607static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18608 PyObject *resultobj;
18609 wxListItem *arg1 = (wxListItem *) 0 ;
18610 int result;
18611 PyObject * obj0 = 0 ;
18612 char *kwnames[] = {
18613 (char *) "self", NULL
18614 };
18615
18616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
18617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 result = (int)(arg1)->GetColumn();
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
15afbcd0 18626 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18627 return resultobj;
18628 fail:
18629 return NULL;
18630}
18631
18632
18633static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18634 PyObject *resultobj;
18635 wxListItem *arg1 = (wxListItem *) 0 ;
18636 long result;
18637 PyObject * obj0 = 0 ;
18638 char *kwnames[] = {
18639 (char *) "self", NULL
18640 };
18641
18642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15afbcd0
RD
18643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 result = (long)(arg1)->GetState();
18648
18649 wxPyEndAllowThreads(__tstate);
18650 if (PyErr_Occurred()) SWIG_fail;
18651 }
15afbcd0 18652 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18653 return resultobj;
18654 fail:
18655 return NULL;
18656}
18657
18658
18659static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj;
18661 wxListItem *arg1 = (wxListItem *) 0 ;
18662 wxString *result;
18663 PyObject * obj0 = 0 ;
18664 char *kwnames[] = {
18665 (char *) "self", NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
18669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 {
18674 wxString const &_result_ref = (arg1)->GetText();
18675 result = (wxString *) &_result_ref;
18676 }
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
cc6dd355
RD
18681 {
18682#if wxUSE_UNICODE
18683 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18684#else
18685 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18686#endif
18687 }
d14a1e28
RD
18688 return resultobj;
18689 fail:
18690 return NULL;
18691}
18692
18693
18694static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxListItem *arg1 = (wxListItem *) 0 ;
18697 int result;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
18704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (int)(arg1)->GetImage();
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
15afbcd0 18713 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18714 return resultobj;
18715 fail:
18716 return NULL;
18717}
18718
18719
18720static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj;
18722 wxListItem *arg1 = (wxListItem *) 0 ;
18723 long result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
18730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (long)(arg1)->GetData();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
15afbcd0 18739 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18740 return resultobj;
18741 fail:
18742 return NULL;
18743}
18744
18745
18746static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18747 PyObject *resultobj;
18748 wxListItem *arg1 = (wxListItem *) 0 ;
18749 int result;
18750 PyObject * obj0 = 0 ;
18751 char *kwnames[] = {
18752 (char *) "self", NULL
18753 };
18754
18755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
18756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18758 {
18759 PyThreadState* __tstate = wxPyBeginAllowThreads();
18760 result = (int)(arg1)->GetWidth();
18761
18762 wxPyEndAllowThreads(__tstate);
18763 if (PyErr_Occurred()) SWIG_fail;
18764 }
15afbcd0 18765 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18766 return resultobj;
18767 fail:
18768 return NULL;
18769}
18770
18771
18772static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18773 PyObject *resultobj;
18774 wxListItem *arg1 = (wxListItem *) 0 ;
18775 int result;
18776 PyObject * obj0 = 0 ;
18777 char *kwnames[] = {
18778 (char *) "self", NULL
18779 };
18780
18781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15afbcd0
RD
18782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 result = (int)(arg1)->GetAlign();
18787
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
15afbcd0 18791 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18792 return resultobj;
18793 fail:
18794 return NULL;
18795}
18796
18797
18798static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18799 PyObject *resultobj;
18800 wxListItem *arg1 = (wxListItem *) 0 ;
18801 wxListItemAttr *result;
18802 PyObject * obj0 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "self", NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
18808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18810 {
18811 PyThreadState* __tstate = wxPyBeginAllowThreads();
18812 result = (wxListItemAttr *)(arg1)->GetAttributes();
18813
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
15afbcd0 18817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
18818 return resultobj;
18819 fail:
18820 return NULL;
18821}
18822
18823
18824static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18825 PyObject *resultobj;
18826 wxListItem *arg1 = (wxListItem *) 0 ;
18827 bool result;
18828 PyObject * obj0 = 0 ;
18829 char *kwnames[] = {
18830 (char *) "self", NULL
18831 };
18832
18833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
18834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18836 {
18837 PyThreadState* __tstate = wxPyBeginAllowThreads();
18838 result = (bool)(arg1)->HasAttributes();
18839
18840 wxPyEndAllowThreads(__tstate);
18841 if (PyErr_Occurred()) SWIG_fail;
18842 }
4f89f6a3
RD
18843 {
18844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18845 }
d14a1e28
RD
18846 return resultobj;
18847 fail:
18848 return NULL;
18849}
18850
18851
18852static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18853 PyObject *resultobj;
18854 wxListItem *arg1 = (wxListItem *) 0 ;
18855 wxColour result;
18856 PyObject * obj0 = 0 ;
18857 char *kwnames[] = {
18858 (char *) "self", NULL
18859 };
18860
18861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 result = ((wxListItem const *)arg1)->GetTextColour();
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 {
18872 wxColour * resultptr;
18873 resultptr = new wxColour((wxColour &) result);
15afbcd0 18874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18875 }
18876 return resultobj;
18877 fail:
18878 return NULL;
18879}
18880
18881
18882static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxListItem *arg1 = (wxListItem *) 0 ;
18885 wxColour result;
18886 PyObject * obj0 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 {
18902 wxColour * resultptr;
18903 resultptr = new wxColour((wxColour &) result);
15afbcd0 18904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18905 }
18906 return resultobj;
18907 fail:
18908 return NULL;
18909}
18910
18911
18912static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj;
18914 wxListItem *arg1 = (wxListItem *) 0 ;
18915 wxFont result;
18916 PyObject * obj0 = 0 ;
18917 char *kwnames[] = {
18918 (char *) "self", NULL
18919 };
18920
18921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
18922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 result = ((wxListItem const *)arg1)->GetFont();
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 {
18932 wxFont * resultptr;
18933 resultptr = new wxFont((wxFont &) result);
15afbcd0 18934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
18935 }
18936 return resultobj;
18937 fail:
18938 return NULL;
18939}
18940
18941
18942static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18943 PyObject *resultobj;
18944 wxListItem *arg1 = (wxListItem *) 0 ;
18945 long arg2 ;
18946 PyObject * obj0 = 0 ;
994141e6 18947 PyObject * obj1 = 0 ;
d14a1e28
RD
18948 char *kwnames[] = {
18949 (char *) "self",(char *) "m_mask", NULL
18950 };
18951
994141e6 18952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18955 arg2 = (long) SWIG_AsLong(obj1);
18956 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18957 if (arg1) (arg1)->m_mask = arg2;
18958
18959 Py_INCREF(Py_None); resultobj = Py_None;
18960 return resultobj;
18961 fail:
18962 return NULL;
18963}
18964
18965
18966static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18967 PyObject *resultobj;
18968 wxListItem *arg1 = (wxListItem *) 0 ;
18969 long result;
18970 PyObject * obj0 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "self", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
18976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18978 result = (long) ((arg1)->m_mask);
18979
15afbcd0 18980 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18981 return resultobj;
18982 fail:
18983 return NULL;
18984}
18985
18986
18987static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18988 PyObject *resultobj;
18989 wxListItem *arg1 = (wxListItem *) 0 ;
18990 long arg2 ;
18991 PyObject * obj0 = 0 ;
994141e6 18992 PyObject * obj1 = 0 ;
d14a1e28
RD
18993 char *kwnames[] = {
18994 (char *) "self",(char *) "m_itemId", NULL
18995 };
18996
994141e6 18997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19000 arg2 = (long) SWIG_AsLong(obj1);
19001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19002 if (arg1) (arg1)->m_itemId = arg2;
19003
19004 Py_INCREF(Py_None); resultobj = Py_None;
19005 return resultobj;
19006 fail:
19007 return NULL;
19008}
19009
19010
19011static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19012 PyObject *resultobj;
19013 wxListItem *arg1 = (wxListItem *) 0 ;
19014 long result;
19015 PyObject * obj0 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19023 result = (long) ((arg1)->m_itemId);
19024
15afbcd0 19025 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19026 return resultobj;
19027 fail:
19028 return NULL;
19029}
19030
19031
19032static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj;
19034 wxListItem *arg1 = (wxListItem *) 0 ;
19035 int arg2 ;
19036 PyObject * obj0 = 0 ;
994141e6 19037 PyObject * obj1 = 0 ;
d14a1e28
RD
19038 char *kwnames[] = {
19039 (char *) "self",(char *) "m_col", NULL
19040 };
19041
994141e6 19042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19045 arg2 = (int) SWIG_AsInt(obj1);
19046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19047 if (arg1) (arg1)->m_col = arg2;
19048
19049 Py_INCREF(Py_None); resultobj = Py_None;
19050 return resultobj;
19051 fail:
19052 return NULL;
19053}
19054
19055
19056static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19057 PyObject *resultobj;
19058 wxListItem *arg1 = (wxListItem *) 0 ;
19059 int result;
19060 PyObject * obj0 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19068 result = (int) ((arg1)->m_col);
19069
15afbcd0 19070 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19071 return resultobj;
19072 fail:
19073 return NULL;
19074}
19075
19076
19077static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj;
19079 wxListItem *arg1 = (wxListItem *) 0 ;
19080 long arg2 ;
19081 PyObject * obj0 = 0 ;
994141e6 19082 PyObject * obj1 = 0 ;
d14a1e28
RD
19083 char *kwnames[] = {
19084 (char *) "self",(char *) "m_state", NULL
19085 };
19086
994141e6 19087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19090 arg2 = (long) SWIG_AsLong(obj1);
19091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19092 if (arg1) (arg1)->m_state = arg2;
19093
19094 Py_INCREF(Py_None); resultobj = Py_None;
19095 return resultobj;
19096 fail:
19097 return NULL;
19098}
19099
19100
19101static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj;
19103 wxListItem *arg1 = (wxListItem *) 0 ;
19104 long result;
19105 PyObject * obj0 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19113 result = (long) ((arg1)->m_state);
19114
15afbcd0 19115 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19116 return resultobj;
19117 fail:
19118 return NULL;
19119}
19120
19121
19122static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxListItem *arg1 = (wxListItem *) 0 ;
19125 long arg2 ;
19126 PyObject * obj0 = 0 ;
994141e6 19127 PyObject * obj1 = 0 ;
d14a1e28
RD
19128 char *kwnames[] = {
19129 (char *) "self",(char *) "m_stateMask", NULL
19130 };
19131
994141e6 19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19135 arg2 = (long) SWIG_AsLong(obj1);
19136 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19137 if (arg1) (arg1)->m_stateMask = arg2;
19138
19139 Py_INCREF(Py_None); resultobj = Py_None;
19140 return resultobj;
19141 fail:
19142 return NULL;
19143}
19144
19145
19146static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19147 PyObject *resultobj;
19148 wxListItem *arg1 = (wxListItem *) 0 ;
19149 long result;
19150 PyObject * obj0 = 0 ;
19151 char *kwnames[] = {
19152 (char *) "self", NULL
19153 };
19154
19155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19158 result = (long) ((arg1)->m_stateMask);
19159
15afbcd0 19160 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19161 return resultobj;
19162 fail:
19163 return NULL;
19164}
19165
19166
19167static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19168 PyObject *resultobj;
19169 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 19170 wxString *arg2 = (wxString *) 0 ;
7eae615b 19171 bool temp2 = False ;
d14a1e28
RD
19172 PyObject * obj0 = 0 ;
19173 PyObject * obj1 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self",(char *) "m_text", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
19181 {
19182 arg2 = wxString_in_helper(obj1);
19183 if (arg2 == NULL) SWIG_fail;
19184 temp2 = True;
19185 }
196addbf 19186 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
19187
19188 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
19189 {
19190 if (temp2)
19191 delete arg2;
19192 }
d14a1e28
RD
19193 return resultobj;
19194 fail:
7eae615b
RD
19195 {
19196 if (temp2)
19197 delete arg2;
19198 }
d14a1e28
RD
19199 return NULL;
19200}
19201
19202
19203static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 19206 wxString *result;
d14a1e28
RD
19207 PyObject * obj0 = 0 ;
19208 char *kwnames[] = {
19209 (char *) "self", NULL
19210 };
19211
19212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 19215 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
19216
19217 {
19218#if wxUSE_UNICODE
196addbf 19219 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 19220#else
196addbf 19221 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
19222#endif
19223 }
19224 return resultobj;
19225 fail:
19226 return NULL;
19227}
19228
19229
19230static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19231 PyObject *resultobj;
19232 wxListItem *arg1 = (wxListItem *) 0 ;
19233 int arg2 ;
19234 PyObject * obj0 = 0 ;
994141e6 19235 PyObject * obj1 = 0 ;
d14a1e28
RD
19236 char *kwnames[] = {
19237 (char *) "self",(char *) "m_image", NULL
19238 };
19239
994141e6 19240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19243 arg2 = (int) SWIG_AsInt(obj1);
19244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19245 if (arg1) (arg1)->m_image = arg2;
19246
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251}
19252
19253
19254static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxListItem *arg1 = (wxListItem *) 0 ;
19257 int result;
19258 PyObject * obj0 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19266 result = (int) ((arg1)->m_image);
19267
15afbcd0 19268 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19269 return resultobj;
19270 fail:
19271 return NULL;
19272}
19273
19274
19275static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxListItem *arg1 = (wxListItem *) 0 ;
19278 long arg2 ;
19279 PyObject * obj0 = 0 ;
994141e6 19280 PyObject * obj1 = 0 ;
d14a1e28
RD
19281 char *kwnames[] = {
19282 (char *) "self",(char *) "m_data", NULL
19283 };
19284
994141e6 19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19288 arg2 = (long) SWIG_AsLong(obj1);
19289 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19290 if (arg1) (arg1)->m_data = arg2;
19291
19292 Py_INCREF(Py_None); resultobj = Py_None;
19293 return resultobj;
19294 fail:
19295 return NULL;
19296}
19297
19298
19299static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxListItem *arg1 = (wxListItem *) 0 ;
19302 long result;
19303 PyObject * obj0 = 0 ;
19304 char *kwnames[] = {
19305 (char *) "self", NULL
19306 };
19307
19308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19311 result = (long) ((arg1)->m_data);
19312
15afbcd0 19313 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19314 return resultobj;
19315 fail:
19316 return NULL;
19317}
19318
19319
19320static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19321 PyObject *resultobj;
19322 wxListItem *arg1 = (wxListItem *) 0 ;
19323 int arg2 ;
19324 PyObject * obj0 = 0 ;
994141e6 19325 PyObject * obj1 = 0 ;
d14a1e28
RD
19326 char *kwnames[] = {
19327 (char *) "self",(char *) "m_format", NULL
19328 };
19329
994141e6 19330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19333 arg2 = (int) SWIG_AsInt(obj1);
19334 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19335 if (arg1) (arg1)->m_format = arg2;
19336
19337 Py_INCREF(Py_None); resultobj = Py_None;
19338 return resultobj;
19339 fail:
19340 return NULL;
19341}
19342
19343
19344static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19345 PyObject *resultobj;
19346 wxListItem *arg1 = (wxListItem *) 0 ;
19347 int result;
19348 PyObject * obj0 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19356 result = (int) ((arg1)->m_format);
19357
15afbcd0 19358 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19359 return resultobj;
19360 fail:
19361 return NULL;
19362}
19363
19364
19365static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj;
19367 wxListItem *arg1 = (wxListItem *) 0 ;
19368 int arg2 ;
19369 PyObject * obj0 = 0 ;
994141e6 19370 PyObject * obj1 = 0 ;
d14a1e28
RD
19371 char *kwnames[] = {
19372 (char *) "self",(char *) "m_width", NULL
19373 };
19374
994141e6 19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19378 arg2 = (int) SWIG_AsInt(obj1);
19379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19380 if (arg1) (arg1)->m_width = arg2;
19381
19382 Py_INCREF(Py_None); resultobj = Py_None;
19383 return resultobj;
19384 fail:
19385 return NULL;
19386}
19387
19388
19389static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj;
19391 wxListItem *arg1 = (wxListItem *) 0 ;
19392 int result;
19393 PyObject * obj0 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self", NULL
19396 };
19397
19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19401 result = (int) ((arg1)->m_width);
19402
15afbcd0 19403 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19404 return resultobj;
19405 fail:
19406 return NULL;
19407}
19408
19409
19410static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19411 PyObject *obj;
19412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19413 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19414 Py_INCREF(obj);
19415 return Py_BuildValue((char *)"");
19416}
19417static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19420 int arg2 = (int) 0 ;
19421 wxListEvent *result;
994141e6
RD
19422 PyObject * obj0 = 0 ;
19423 PyObject * obj1 = 0 ;
d14a1e28
RD
19424 char *kwnames[] = {
19425 (char *) "commandType",(char *) "id", NULL
19426 };
19427
994141e6
RD
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19429 if (obj0) {
15afbcd0
RD
19430 arg1 = (wxEventType) SWIG_AsInt(obj0);
19431 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19432 }
19433 if (obj1) {
15afbcd0
RD
19434 arg2 = (int) SWIG_AsInt(obj1);
19435 if (PyErr_Occurred()) SWIG_fail;
994141e6 19436 }
d14a1e28
RD
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
15afbcd0 19444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
19445 return resultobj;
19446 fail:
19447 return NULL;
19448}
19449
19450
19451static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj;
19453 wxListEvent *arg1 = (wxListEvent *) 0 ;
19454 int arg2 ;
19455 PyObject * obj0 = 0 ;
994141e6 19456 PyObject * obj1 = 0 ;
d14a1e28
RD
19457 char *kwnames[] = {
19458 (char *) "self",(char *) "m_code", NULL
19459 };
19460
994141e6 19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19464 arg2 = (int) SWIG_AsInt(obj1);
19465 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19466 if (arg1) (arg1)->m_code = arg2;
19467
19468 Py_INCREF(Py_None); resultobj = Py_None;
19469 return resultobj;
19470 fail:
19471 return NULL;
19472}
19473
19474
19475static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxListEvent *arg1 = (wxListEvent *) 0 ;
19478 int result;
19479 PyObject * obj0 = 0 ;
19480 char *kwnames[] = {
19481 (char *) "self", NULL
19482 };
19483
19484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19487 result = (int) ((arg1)->m_code);
19488
15afbcd0 19489 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19490 return resultobj;
19491 fail:
19492 return NULL;
19493}
19494
19495
19496static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19497 PyObject *resultobj;
19498 wxListEvent *arg1 = (wxListEvent *) 0 ;
19499 long arg2 ;
19500 PyObject * obj0 = 0 ;
994141e6 19501 PyObject * obj1 = 0 ;
d14a1e28
RD
19502 char *kwnames[] = {
19503 (char *) "self",(char *) "m_oldItemIndex", NULL
19504 };
19505
994141e6 19506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19509 arg2 = (long) SWIG_AsLong(obj1);
19510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19511 if (arg1) (arg1)->m_oldItemIndex = arg2;
19512
19513 Py_INCREF(Py_None); resultobj = Py_None;
19514 return resultobj;
19515 fail:
19516 return NULL;
19517}
19518
19519
19520static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj;
19522 wxListEvent *arg1 = (wxListEvent *) 0 ;
19523 long result;
19524 PyObject * obj0 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19532 result = (long) ((arg1)->m_oldItemIndex);
19533
15afbcd0 19534 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19535 return resultobj;
19536 fail:
19537 return NULL;
19538}
19539
19540
19541static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxListEvent *arg1 = (wxListEvent *) 0 ;
19544 long arg2 ;
19545 PyObject * obj0 = 0 ;
994141e6 19546 PyObject * obj1 = 0 ;
d14a1e28
RD
19547 char *kwnames[] = {
19548 (char *) "self",(char *) "m_itemIndex", NULL
19549 };
19550
994141e6 19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19554 arg2 = (long) SWIG_AsLong(obj1);
19555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19556 if (arg1) (arg1)->m_itemIndex = arg2;
19557
19558 Py_INCREF(Py_None); resultobj = Py_None;
19559 return resultobj;
19560 fail:
19561 return NULL;
19562}
19563
19564
19565static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxListEvent *arg1 = (wxListEvent *) 0 ;
19568 long result;
19569 PyObject * obj0 = 0 ;
19570 char *kwnames[] = {
19571 (char *) "self", NULL
19572 };
19573
19574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19577 result = (long) ((arg1)->m_itemIndex);
19578
15afbcd0 19579 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19580 return resultobj;
19581 fail:
19582 return NULL;
19583}
19584
19585
19586static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19587 PyObject *resultobj;
19588 wxListEvent *arg1 = (wxListEvent *) 0 ;
19589 int arg2 ;
19590 PyObject * obj0 = 0 ;
994141e6 19591 PyObject * obj1 = 0 ;
d14a1e28
RD
19592 char *kwnames[] = {
19593 (char *) "self",(char *) "m_col", NULL
19594 };
19595
994141e6 19596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19599 arg2 = (int) SWIG_AsInt(obj1);
19600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19601 if (arg1) (arg1)->m_col = arg2;
19602
19603 Py_INCREF(Py_None); resultobj = Py_None;
19604 return resultobj;
19605 fail:
19606 return NULL;
19607}
19608
19609
19610static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19611 PyObject *resultobj;
19612 wxListEvent *arg1 = (wxListEvent *) 0 ;
19613 int result;
19614 PyObject * obj0 = 0 ;
19615 char *kwnames[] = {
19616 (char *) "self", NULL
19617 };
19618
19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19622 result = (int) ((arg1)->m_col);
19623
15afbcd0 19624 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19625 return resultobj;
19626 fail:
19627 return NULL;
19628}
19629
19630
19631static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19632 PyObject *resultobj;
19633 wxListEvent *arg1 = (wxListEvent *) 0 ;
19634 wxPoint *arg2 = (wxPoint *) 0 ;
19635 PyObject * obj0 = 0 ;
19636 PyObject * obj1 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self",(char *) "m_pointDrag", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19646 if (arg1) (arg1)->m_pointDrag = *arg2;
19647
19648 Py_INCREF(Py_None); resultobj = Py_None;
19649 return resultobj;
19650 fail:
19651 return NULL;
19652}
19653
19654
19655static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19656 PyObject *resultobj;
19657 wxListEvent *arg1 = (wxListEvent *) 0 ;
19658 wxPoint *result;
19659 PyObject * obj0 = 0 ;
19660 char *kwnames[] = {
19661 (char *) "self", NULL
19662 };
19663
19664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19667 result = (wxPoint *)& ((arg1)->m_pointDrag);
19668
15afbcd0 19669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
19670 return resultobj;
19671 fail:
19672 return NULL;
19673}
19674
19675
19676static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj;
19678 wxListEvent *arg1 = (wxListEvent *) 0 ;
19679 wxListItem *result;
19680 PyObject * obj0 = 0 ;
19681 char *kwnames[] = {
19682 (char *) "self", NULL
19683 };
19684
19685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19688 result = (wxListItem *)& ((arg1)->m_item);
19689
19690 {
19691 resultobj = wxPyMake_wxObject(result);
19692 }
19693 return resultobj;
19694 fail:
19695 return NULL;
19696}
19697
19698
19699static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19700 PyObject *resultobj;
19701 wxListEvent *arg1 = (wxListEvent *) 0 ;
19702 int result;
19703 PyObject * obj0 = 0 ;
19704 char *kwnames[] = {
19705 (char *) "self", NULL
19706 };
19707
19708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
19709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 result = (int)(arg1)->GetKeyCode();
19714
19715 wxPyEndAllowThreads(__tstate);
19716 if (PyErr_Occurred()) SWIG_fail;
19717 }
15afbcd0 19718 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19719 return resultobj;
19720 fail:
19721 return NULL;
19722}
19723
19724
19725static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19726 PyObject *resultobj;
19727 wxListEvent *arg1 = (wxListEvent *) 0 ;
19728 long result;
19729 PyObject * obj0 = 0 ;
19730 char *kwnames[] = {
19731 (char *) "self", NULL
19732 };
19733
19734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
19735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 result = (long)(arg1)->GetIndex();
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
15afbcd0 19744 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19745 return resultobj;
19746 fail:
19747 return NULL;
19748}
19749
19750
19751static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj;
19753 wxListEvent *arg1 = (wxListEvent *) 0 ;
19754 int result;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
19761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (int)(arg1)->GetColumn();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
15afbcd0 19770 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19771 return resultobj;
19772 fail:
19773 return NULL;
19774}
19775
19776
19777static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxListEvent *arg1 = (wxListEvent *) 0 ;
19780 wxPoint result;
19781 PyObject * obj0 = 0 ;
19782 char *kwnames[] = {
19783 (char *) "self", NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
19787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 result = (arg1)->GetPoint();
19792
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 {
19797 wxPoint * resultptr;
19798 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19800 }
19801 return resultobj;
19802 fail:
19803 return NULL;
19804}
19805
19806
19807static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj;
19809 wxListEvent *arg1 = (wxListEvent *) 0 ;
19810 wxString *result;
19811 PyObject * obj0 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 {
19822 wxString const &_result_ref = (arg1)->GetLabel();
19823 result = (wxString *) &_result_ref;
19824 }
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
cc6dd355
RD
19829 {
19830#if wxUSE_UNICODE
19831 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19832#else
19833 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19834#endif
19835 }
d14a1e28
RD
19836 return resultobj;
19837 fail:
19838 return NULL;
19839}
19840
19841
19842static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19843 PyObject *resultobj;
19844 wxListEvent *arg1 = (wxListEvent *) 0 ;
19845 wxString *result;
19846 PyObject * obj0 = 0 ;
19847 char *kwnames[] = {
19848 (char *) "self", NULL
19849 };
19850
19851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
19852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19854 {
19855 PyThreadState* __tstate = wxPyBeginAllowThreads();
19856 {
19857 wxString const &_result_ref = (arg1)->GetText();
19858 result = (wxString *) &_result_ref;
19859 }
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
cc6dd355
RD
19864 {
19865#if wxUSE_UNICODE
19866 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19867#else
19868 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19869#endif
19870 }
d14a1e28
RD
19871 return resultobj;
19872 fail:
19873 return NULL;
19874}
19875
19876
19877static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxListEvent *arg1 = (wxListEvent *) 0 ;
19880 int result;
19881 PyObject * obj0 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
19887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 result = (int)(arg1)->GetImage();
19892
19893 wxPyEndAllowThreads(__tstate);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
15afbcd0 19896 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19897 return resultobj;
19898 fail:
19899 return NULL;
19900}
19901
19902
19903static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19904 PyObject *resultobj;
19905 wxListEvent *arg1 = (wxListEvent *) 0 ;
19906 long result;
19907 PyObject * obj0 = 0 ;
19908 char *kwnames[] = {
19909 (char *) "self", NULL
19910 };
19911
19912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 result = (long)(arg1)->GetData();
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
15afbcd0 19922 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19923 return resultobj;
19924 fail:
19925 return NULL;
19926}
19927
19928
19929static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxListEvent *arg1 = (wxListEvent *) 0 ;
19932 long result;
19933 PyObject * obj0 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
19939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19941 {
19942 PyThreadState* __tstate = wxPyBeginAllowThreads();
19943 result = (long)(arg1)->GetMask();
19944
19945 wxPyEndAllowThreads(__tstate);
19946 if (PyErr_Occurred()) SWIG_fail;
19947 }
15afbcd0 19948 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19949 return resultobj;
19950 fail:
19951 return NULL;
19952}
19953
19954
19955static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 wxListEvent *arg1 = (wxListEvent *) 0 ;
19958 wxListItem *result;
19959 PyObject * obj0 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
19965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19967 {
19968 PyThreadState* __tstate = wxPyBeginAllowThreads();
19969 {
19970 wxListItem const &_result_ref = (arg1)->GetItem();
19971 result = (wxListItem *) &_result_ref;
19972 }
19973
19974 wxPyEndAllowThreads(__tstate);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
15afbcd0 19977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
19978 return resultobj;
19979 fail:
19980 return NULL;
19981}
19982
19983
19984static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19985 PyObject *resultobj;
19986 wxListEvent *arg1 = (wxListEvent *) 0 ;
19987 long result;
19988 PyObject * obj0 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
15afbcd0
RD
19994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (long)(arg1)->GetCacheFrom();
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
15afbcd0 20003 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20004 return resultobj;
20005 fail:
20006 return NULL;
20007}
20008
20009
20010static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20011 PyObject *resultobj;
20012 wxListEvent *arg1 = (wxListEvent *) 0 ;
20013 long result;
20014 PyObject * obj0 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "self", NULL
20017 };
20018
20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
15afbcd0
RD
20020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20022 {
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
20024 result = (long)(arg1)->GetCacheTo();
20025
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
15afbcd0 20029 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20030 return resultobj;
20031 fail:
20032 return NULL;
20033}
20034
20035
20036static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj;
20038 wxListEvent *arg1 = (wxListEvent *) 0 ;
20039 bool result;
20040 PyObject * obj0 = 0 ;
20041 char *kwnames[] = {
20042 (char *) "self", NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
20046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20048 {
20049 PyThreadState* __tstate = wxPyBeginAllowThreads();
20050 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20051
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
4f89f6a3
RD
20055 {
20056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20057 }
d14a1e28
RD
20058 return resultobj;
20059 fail:
20060 return NULL;
20061}
20062
20063
20064static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxListEvent *arg1 = (wxListEvent *) 0 ;
20067 bool arg2 ;
20068 PyObject * obj0 = 0 ;
20069 PyObject * obj1 = 0 ;
20070 char *kwnames[] = {
20071 (char *) "self",(char *) "editCancelled", NULL
20072 };
20073
20074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20077 arg2 = (bool) SWIG_AsBool(obj1);
20078 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20079 {
20080 PyThreadState* __tstate = wxPyBeginAllowThreads();
20081 (arg1)->SetEditCanceled(arg2);
20082
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 Py_INCREF(Py_None); resultobj = Py_None;
20087 return resultobj;
20088 fail:
20089 return NULL;
20090}
20091
20092
20093static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20094 PyObject *obj;
20095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20096 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20097 Py_INCREF(obj);
20098 return Py_BuildValue((char *)"");
20099}
20100static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20101 PyObject *resultobj;
20102 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20103 int arg2 = (int) -1 ;
d14a1e28
RD
20104 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20105 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20106 wxSize const &arg4_defvalue = wxDefaultSize ;
20107 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20108 long arg5 = (long) wxLC_ICON ;
20109 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20110 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20111 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20112 wxString *arg7 = (wxString *) &arg7_defvalue ;
20113 wxPyListCtrl *result;
20114 wxPoint temp3 ;
20115 wxSize temp4 ;
e811c8ce 20116 bool temp7 = False ;
d14a1e28 20117 PyObject * obj0 = 0 ;
994141e6 20118 PyObject * obj1 = 0 ;
d14a1e28
RD
20119 PyObject * obj2 = 0 ;
20120 PyObject * obj3 = 0 ;
994141e6 20121 PyObject * obj4 = 0 ;
d14a1e28
RD
20122 PyObject * obj5 = 0 ;
20123 PyObject * obj6 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20126 };
20127
994141e6 20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
20129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 20131 if (obj1) {
15afbcd0
RD
20132 arg2 = (int) SWIG_AsInt(obj1);
20133 if (PyErr_Occurred()) SWIG_fail;
994141e6 20134 }
d14a1e28
RD
20135 if (obj2) {
20136 {
20137 arg3 = &temp3;
20138 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20139 }
20140 }
20141 if (obj3) {
20142 {
20143 arg4 = &temp4;
20144 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20145 }
20146 }
994141e6 20147 if (obj4) {
15afbcd0
RD
20148 arg5 = (long) SWIG_AsLong(obj4);
20149 if (PyErr_Occurred()) SWIG_fail;
994141e6 20150 }
d14a1e28 20151 if (obj5) {
15afbcd0
RD
20152 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
20153 SWIG_POINTER_EXCEPTION | 0)) == -1)
20154 SWIG_fail;
d14a1e28 20155 if (arg6 == NULL) {
15afbcd0
RD
20156 PyErr_SetString(PyExc_TypeError,"null reference");
20157 SWIG_fail;
d14a1e28
RD
20158 }
20159 }
20160 if (obj6) {
20161 {
20162 arg7 = wxString_in_helper(obj6);
20163 if (arg7 == NULL) SWIG_fail;
e811c8ce 20164 temp7 = True;
d14a1e28
RD
20165 }
20166 }
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20170
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
15afbcd0 20174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
20175 {
20176 if (temp7)
20177 delete arg7;
20178 }
20179 return resultobj;
20180 fail:
20181 {
20182 if (temp7)
20183 delete arg7;
20184 }
20185 return NULL;
20186}
20187
20188
20189static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20190 PyObject *resultobj;
20191 wxPyListCtrl *result;
20192 char *kwnames[] = {
20193 NULL
20194 };
20195
20196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 result = (wxPyListCtrl *)new wxPyListCtrl();
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
15afbcd0 20204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
20205 return resultobj;
20206 fail:
20207 return NULL;
20208}
20209
20210
20211static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj;
20213 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20214 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 20215 int arg3 = (int) -1 ;
d14a1e28
RD
20216 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20217 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20218 wxSize const &arg5_defvalue = wxDefaultSize ;
20219 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20220 long arg6 = (long) wxLC_ICON ;
20221 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20222 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20223 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20224 wxString *arg8 = (wxString *) &arg8_defvalue ;
20225 bool result;
20226 wxPoint temp4 ;
20227 wxSize temp5 ;
e811c8ce 20228 bool temp8 = False ;
d14a1e28
RD
20229 PyObject * obj0 = 0 ;
20230 PyObject * obj1 = 0 ;
994141e6 20231 PyObject * obj2 = 0 ;
d14a1e28
RD
20232 PyObject * obj3 = 0 ;
20233 PyObject * obj4 = 0 ;
994141e6 20234 PyObject * obj5 = 0 ;
d14a1e28
RD
20235 PyObject * obj6 = 0 ;
20236 PyObject * obj7 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20239 };
20240
994141e6 20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
20242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 20246 if (obj2) {
15afbcd0
RD
20247 arg3 = (int) SWIG_AsInt(obj2);
20248 if (PyErr_Occurred()) SWIG_fail;
994141e6 20249 }
d14a1e28
RD
20250 if (obj3) {
20251 {
20252 arg4 = &temp4;
20253 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20254 }
20255 }
20256 if (obj4) {
20257 {
20258 arg5 = &temp5;
20259 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20260 }
20261 }
994141e6 20262 if (obj5) {
15afbcd0
RD
20263 arg6 = (long) SWIG_AsLong(obj5);
20264 if (PyErr_Occurred()) SWIG_fail;
994141e6 20265 }
d14a1e28 20266 if (obj6) {
15afbcd0
RD
20267 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20268 SWIG_POINTER_EXCEPTION | 0)) == -1)
20269 SWIG_fail;
d14a1e28 20270 if (arg7 == NULL) {
15afbcd0
RD
20271 PyErr_SetString(PyExc_TypeError,"null reference");
20272 SWIG_fail;
d14a1e28
RD
20273 }
20274 }
20275 if (obj7) {
20276 {
20277 arg8 = wxString_in_helper(obj7);
20278 if (arg8 == NULL) SWIG_fail;
e811c8ce 20279 temp8 = True;
d14a1e28
RD
20280 }
20281 }
20282 {
20283 PyThreadState* __tstate = wxPyBeginAllowThreads();
20284 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20285
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
4f89f6a3
RD
20289 {
20290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20291 }
d14a1e28
RD
20292 {
20293 if (temp8)
20294 delete arg8;
20295 }
20296 return resultobj;
20297 fail:
20298 {
20299 if (temp8)
20300 delete arg8;
20301 }
20302 return NULL;
20303}
20304
20305
20306static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20307 PyObject *resultobj;
20308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20309 PyObject *arg2 = (PyObject *) 0 ;
20310 PyObject *arg3 = (PyObject *) 0 ;
20311 PyObject * obj0 = 0 ;
20312 PyObject * obj1 = 0 ;
20313 PyObject * obj2 = 0 ;
20314 char *kwnames[] = {
20315 (char *) "self",(char *) "self",(char *) "_class", NULL
20316 };
20317
20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20321 arg2 = obj1;
20322 arg3 = obj2;
20323 {
20324 PyThreadState* __tstate = wxPyBeginAllowThreads();
20325 (arg1)->_setCallbackInfo(arg2,arg3);
20326
20327 wxPyEndAllowThreads(__tstate);
20328 if (PyErr_Occurred()) SWIG_fail;
20329 }
20330 Py_INCREF(Py_None); resultobj = Py_None;
20331 return resultobj;
20332 fail:
20333 return NULL;
20334}
20335
20336
20337static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20338 PyObject *resultobj;
20339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20340 wxColour *arg2 = 0 ;
20341 bool result;
20342 wxColour temp2 ;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self",(char *) "col", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20352 {
20353 arg2 = &temp2;
20354 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20355 }
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
4f89f6a3
RD
20363 {
20364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20365 }
d14a1e28
RD
20366 return resultobj;
20367 fail:
20368 return NULL;
20369}
20370
20371
20372static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20375 wxColour *arg2 = 0 ;
20376 bool result;
20377 wxColour temp2 ;
20378 PyObject * obj0 = 0 ;
20379 PyObject * obj1 = 0 ;
20380 char *kwnames[] = {
20381 (char *) "self",(char *) "col", NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20387 {
20388 arg2 = &temp2;
20389 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20390 }
20391 {
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20394
20395 wxPyEndAllowThreads(__tstate);
20396 if (PyErr_Occurred()) SWIG_fail;
20397 }
4f89f6a3
RD
20398 {
20399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20400 }
d14a1e28
RD
20401 return resultobj;
20402 fail:
20403 return NULL;
20404}
20405
20406
20407static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20408 PyObject *resultobj;
20409 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20410 int arg2 ;
20411 wxListItem *result;
20412 PyObject * obj0 = 0 ;
994141e6 20413 PyObject * obj1 = 0 ;
d14a1e28
RD
20414 char *kwnames[] = {
20415 (char *) "self",(char *) "col", NULL
20416 };
20417
994141e6 20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20421 arg2 = (int) SWIG_AsInt(obj1);
20422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20426
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 {
20431 resultobj = wxPyMake_wxObject(result);
20432 }
20433 return resultobj;
20434 fail:
20435 return NULL;
20436}
20437
20438
20439static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20442 int arg2 ;
20443 wxListItem *arg3 = 0 ;
20444 bool result;
20445 PyObject * obj0 = 0 ;
994141e6 20446 PyObject * obj1 = 0 ;
d14a1e28
RD
20447 PyObject * obj2 = 0 ;
20448 char *kwnames[] = {
20449 (char *) "self",(char *) "col",(char *) "item", NULL
20450 };
20451
994141e6 20452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20455 arg2 = (int) SWIG_AsInt(obj1);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20458 SWIG_POINTER_EXCEPTION | 0)) == -1)
20459 SWIG_fail;
d14a1e28 20460 if (arg3 == NULL) {
15afbcd0
RD
20461 PyErr_SetString(PyExc_TypeError,"null reference");
20462 SWIG_fail;
d14a1e28
RD
20463 }
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
4f89f6a3
RD
20471 {
20472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20473 }
d14a1e28
RD
20474 return resultobj;
20475 fail:
20476 return NULL;
20477}
20478
20479
20480static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20481 PyObject *resultobj;
20482 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20483 int arg2 ;
20484 int result;
20485 PyObject * obj0 = 0 ;
994141e6 20486 PyObject * obj1 = 0 ;
d14a1e28
RD
20487 char *kwnames[] = {
20488 (char *) "self",(char *) "col", NULL
20489 };
20490
994141e6 20491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20494 arg2 = (int) SWIG_AsInt(obj1);
20495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20499
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
15afbcd0 20503 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20504 return resultobj;
20505 fail:
20506 return NULL;
20507}
20508
20509
20510static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj;
20512 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20513 int arg2 ;
20514 int arg3 ;
20515 bool result;
20516 PyObject * obj0 = 0 ;
994141e6
RD
20517 PyObject * obj1 = 0 ;
20518 PyObject * obj2 = 0 ;
d14a1e28
RD
20519 char *kwnames[] = {
20520 (char *) "self",(char *) "col",(char *) "width", NULL
20521 };
20522
994141e6 20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20526 arg2 = (int) SWIG_AsInt(obj1);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 arg3 = (int) SWIG_AsInt(obj2);
20529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20530 {
20531 PyThreadState* __tstate = wxPyBeginAllowThreads();
20532 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20533
20534 wxPyEndAllowThreads(__tstate);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 }
4f89f6a3
RD
20537 {
20538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20539 }
d14a1e28
RD
20540 return resultobj;
20541 fail:
20542 return NULL;
20543}
20544
20545
20546static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20549 int result;
20550 PyObject * obj0 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20558 {
20559 PyThreadState* __tstate = wxPyBeginAllowThreads();
20560 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20561
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
15afbcd0 20565 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20566 return resultobj;
20567 fail:
20568 return NULL;
20569}
20570
20571
20572static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20573 PyObject *resultobj;
20574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20575 wxRect result;
20576 PyObject * obj0 = 0 ;
20577 char *kwnames[] = {
20578 (char *) "self", NULL
20579 };
20580
20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
20582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20587
20588 wxPyEndAllowThreads(__tstate);
20589 if (PyErr_Occurred()) SWIG_fail;
20590 }
20591 {
20592 wxRect * resultptr;
20593 resultptr = new wxRect((wxRect &) result);
15afbcd0 20594 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
20595 }
20596 return resultobj;
20597 fail:
20598 return NULL;
20599}
20600
20601
20602static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20603 PyObject *resultobj;
20604 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20605 long arg2 ;
20606 int arg3 = (int) 0 ;
20607 wxListItem *result;
20608 PyObject * obj0 = 0 ;
994141e6
RD
20609 PyObject * obj1 = 0 ;
20610 PyObject * obj2 = 0 ;
d14a1e28
RD
20611 char *kwnames[] = {
20612 (char *) "self",(char *) "itemId",(char *) "col", NULL
20613 };
20614
994141e6 20615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20618 arg2 = (long) SWIG_AsLong(obj1);
20619 if (PyErr_Occurred()) SWIG_fail;
994141e6 20620 if (obj2) {
15afbcd0
RD
20621 arg3 = (int) SWIG_AsInt(obj2);
20622 if (PyErr_Occurred()) SWIG_fail;
994141e6 20623 }
d14a1e28
RD
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 {
20632 resultobj = wxPyMake_wxObject(result);
20633 }
20634 return resultobj;
20635 fail:
20636 return NULL;
20637}
20638
20639
20640static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj;
20642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20643 wxListItem *arg2 = 0 ;
20644 bool result;
20645 PyObject * obj0 = 0 ;
20646 PyObject * obj1 = 0 ;
20647 char *kwnames[] = {
20648 (char *) "self",(char *) "info", NULL
20649 };
20650
20651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20655 SWIG_POINTER_EXCEPTION | 0)) == -1)
20656 SWIG_fail;
d14a1e28 20657 if (arg2 == NULL) {
15afbcd0
RD
20658 PyErr_SetString(PyExc_TypeError,"null reference");
20659 SWIG_fail;
d14a1e28
RD
20660 }
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 result = (bool)(arg1)->SetItem(*arg2);
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
4f89f6a3
RD
20668 {
20669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20670 }
d14a1e28
RD
20671 return resultobj;
20672 fail:
20673 return NULL;
20674}
20675
20676
20677static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20678 PyObject *resultobj;
20679 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20680 long arg2 ;
20681 int arg3 ;
20682 wxString *arg4 = 0 ;
20683 int arg5 = (int) -1 ;
20684 long result;
e811c8ce 20685 bool temp4 = False ;
d14a1e28 20686 PyObject * obj0 = 0 ;
994141e6
RD
20687 PyObject * obj1 = 0 ;
20688 PyObject * obj2 = 0 ;
d14a1e28 20689 PyObject * obj3 = 0 ;
994141e6 20690 PyObject * obj4 = 0 ;
d14a1e28
RD
20691 char *kwnames[] = {
20692 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20693 };
20694
994141e6 20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
20696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20698 arg2 = (long) SWIG_AsLong(obj1);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 arg3 = (int) SWIG_AsInt(obj2);
20701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20702 {
20703 arg4 = wxString_in_helper(obj3);
20704 if (arg4 == NULL) SWIG_fail;
e811c8ce 20705 temp4 = True;
d14a1e28 20706 }
994141e6 20707 if (obj4) {
15afbcd0
RD
20708 arg5 = (int) SWIG_AsInt(obj4);
20709 if (PyErr_Occurred()) SWIG_fail;
994141e6 20710 }
d14a1e28
RD
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
15afbcd0 20718 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20719 {
20720 if (temp4)
20721 delete arg4;
20722 }
20723 return resultobj;
20724 fail:
20725 {
20726 if (temp4)
20727 delete arg4;
20728 }
20729 return NULL;
20730}
20731
20732
20733static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20734 PyObject *resultobj;
20735 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20736 long arg2 ;
20737 long arg3 ;
20738 int result;
20739 PyObject * obj0 = 0 ;
994141e6
RD
20740 PyObject * obj1 = 0 ;
20741 PyObject * obj2 = 0 ;
d14a1e28
RD
20742 char *kwnames[] = {
20743 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20744 };
20745
994141e6 20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20749 arg2 = (long) SWIG_AsLong(obj1);
20750 if (PyErr_Occurred()) SWIG_fail;
20751 arg3 = (long) SWIG_AsLong(obj2);
20752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20753 {
20754 PyThreadState* __tstate = wxPyBeginAllowThreads();
20755 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20756
20757 wxPyEndAllowThreads(__tstate);
20758 if (PyErr_Occurred()) SWIG_fail;
20759 }
15afbcd0 20760 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20761 return resultobj;
20762 fail:
20763 return NULL;
20764}
20765
20766
20767static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20768 PyObject *resultobj;
20769 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20770 long arg2 ;
20771 long arg3 ;
20772 long arg4 ;
20773 bool result;
20774 PyObject * obj0 = 0 ;
994141e6
RD
20775 PyObject * obj1 = 0 ;
20776 PyObject * obj2 = 0 ;
20777 PyObject * obj3 = 0 ;
d14a1e28
RD
20778 char *kwnames[] = {
20779 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20780 };
20781
994141e6 20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
20783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20785 arg2 = (long) SWIG_AsLong(obj1);
20786 if (PyErr_Occurred()) SWIG_fail;
20787 arg3 = (long) SWIG_AsLong(obj2);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 arg4 = (long) SWIG_AsLong(obj3);
20790 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20791 {
20792 PyThreadState* __tstate = wxPyBeginAllowThreads();
20793 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20794
20795 wxPyEndAllowThreads(__tstate);
20796 if (PyErr_Occurred()) SWIG_fail;
20797 }
4f89f6a3
RD
20798 {
20799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20800 }
d14a1e28
RD
20801 return resultobj;
20802 fail:
20803 return NULL;
20804}
20805
20806
20807static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20808 PyObject *resultobj;
20809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20810 long arg2 ;
20811 int arg3 ;
20812 int arg4 ;
20813 bool result;
20814 PyObject * obj0 = 0 ;
994141e6
RD
20815 PyObject * obj1 = 0 ;
20816 PyObject * obj2 = 0 ;
20817 PyObject * obj3 = 0 ;
d14a1e28
RD
20818 char *kwnames[] = {
20819 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20820 };
20821
994141e6 20822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
20823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20825 arg2 = (long) SWIG_AsLong(obj1);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 arg3 = (int) SWIG_AsInt(obj2);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 arg4 = (int) SWIG_AsInt(obj3);
20830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20831 {
20832 PyThreadState* __tstate = wxPyBeginAllowThreads();
20833 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20834
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
4f89f6a3
RD
20838 {
20839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20840 }
d14a1e28
RD
20841 return resultobj;
20842 fail:
20843 return NULL;
20844}
20845
20846
20847static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20850 long arg2 ;
20851 wxString result;
20852 PyObject * obj0 = 0 ;
994141e6 20853 PyObject * obj1 = 0 ;
d14a1e28
RD
20854 char *kwnames[] = {
20855 (char *) "self",(char *) "item", NULL
20856 };
20857
994141e6 20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20861 arg2 = (long) SWIG_AsLong(obj1);
20862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20863 {
20864 PyThreadState* __tstate = wxPyBeginAllowThreads();
20865 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20866
20867 wxPyEndAllowThreads(__tstate);
20868 if (PyErr_Occurred()) SWIG_fail;
20869 }
20870 {
20871#if wxUSE_UNICODE
20872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20873#else
20874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20875#endif
20876 }
20877 return resultobj;
20878 fail:
20879 return NULL;
20880}
20881
20882
20883static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20884 PyObject *resultobj;
20885 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20886 long arg2 ;
20887 wxString *arg3 = 0 ;
e811c8ce 20888 bool temp3 = False ;
d14a1e28 20889 PyObject * obj0 = 0 ;
994141e6 20890 PyObject * obj1 = 0 ;
d14a1e28
RD
20891 PyObject * obj2 = 0 ;
20892 char *kwnames[] = {
20893 (char *) "self",(char *) "item",(char *) "str", NULL
20894 };
20895
994141e6 20896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20899 arg2 = (long) SWIG_AsLong(obj1);
20900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20901 {
20902 arg3 = wxString_in_helper(obj2);
20903 if (arg3 == NULL) SWIG_fail;
e811c8ce 20904 temp3 = True;
d14a1e28
RD
20905 }
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 Py_INCREF(Py_None); resultobj = Py_None;
20914 {
20915 if (temp3)
20916 delete arg3;
20917 }
20918 return resultobj;
20919 fail:
20920 {
20921 if (temp3)
20922 delete arg3;
20923 }
20924 return NULL;
20925}
20926
20927
20928static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20929 PyObject *resultobj;
20930 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20931 long arg2 ;
20932 long result;
20933 PyObject * obj0 = 0 ;
994141e6 20934 PyObject * obj1 = 0 ;
d14a1e28
RD
20935 char *kwnames[] = {
20936 (char *) "self",(char *) "item", NULL
20937 };
20938
994141e6 20939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20942 arg2 = (long) SWIG_AsLong(obj1);
20943 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
15afbcd0 20951 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20952 return resultobj;
20953 fail:
20954 return NULL;
20955}
20956
20957
20958static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20961 long arg2 ;
20962 long arg3 ;
20963 bool result;
20964 PyObject * obj0 = 0 ;
994141e6
RD
20965 PyObject * obj1 = 0 ;
20966 PyObject * obj2 = 0 ;
d14a1e28
RD
20967 char *kwnames[] = {
20968 (char *) "self",(char *) "item",(char *) "data", NULL
20969 };
20970
994141e6 20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20974 arg2 = (long) SWIG_AsLong(obj1);
20975 if (PyErr_Occurred()) SWIG_fail;
20976 arg3 = (long) SWIG_AsLong(obj2);
20977 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20978 {
20979 PyThreadState* __tstate = wxPyBeginAllowThreads();
20980 result = (bool)(arg1)->SetItemData(arg2,arg3);
20981
20982 wxPyEndAllowThreads(__tstate);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
4f89f6a3
RD
20985 {
20986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20987 }
d14a1e28
RD
20988 return resultobj;
20989 fail:
20990 return NULL;
20991}
20992
20993
20994static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20995 PyObject *resultobj;
20996 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20997 long arg2 ;
20998 wxPoint result;
20999 PyObject * obj0 = 0 ;
994141e6 21000 PyObject * obj1 = 0 ;
d14a1e28
RD
21001 char *kwnames[] = {
21002 (char *) "self",(char *) "item", NULL
21003 };
21004
994141e6 21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21008 arg2 = (long) SWIG_AsLong(obj1);
21009 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 {
21018 wxPoint * resultptr;
21019 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 21020 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
21021 }
21022 return resultobj;
21023 fail:
21024 return NULL;
21025}
21026
21027
21028static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21029 PyObject *resultobj;
21030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21031 long arg2 ;
21032 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21033 wxRect result;
21034 PyObject * obj0 = 0 ;
994141e6
RD
21035 PyObject * obj1 = 0 ;
21036 PyObject * obj2 = 0 ;
d14a1e28
RD
21037 char *kwnames[] = {
21038 (char *) "self",(char *) "item",(char *) "code", NULL
21039 };
21040
994141e6 21041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21044 arg2 = (long) SWIG_AsLong(obj1);
21045 if (PyErr_Occurred()) SWIG_fail;
994141e6 21046 if (obj2) {
15afbcd0
RD
21047 arg3 = (int) SWIG_AsInt(obj2);
21048 if (PyErr_Occurred()) SWIG_fail;
994141e6 21049 }
d14a1e28
RD
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21053
21054 wxPyEndAllowThreads(__tstate);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
21057 {
21058 wxRect * resultptr;
21059 resultptr = new wxRect((wxRect &) result);
15afbcd0 21060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
21061 }
21062 return resultobj;
21063 fail:
21064 return NULL;
21065}
21066
21067
21068static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21069 PyObject *resultobj;
21070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21071 long arg2 ;
21072 wxPoint *arg3 = 0 ;
21073 bool result;
21074 wxPoint temp3 ;
21075 PyObject * obj0 = 0 ;
994141e6 21076 PyObject * obj1 = 0 ;
d14a1e28
RD
21077 PyObject * obj2 = 0 ;
21078 char *kwnames[] = {
21079 (char *) "self",(char *) "item",(char *) "pos", NULL
21080 };
21081
994141e6 21082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21085 arg2 = (long) SWIG_AsLong(obj1);
21086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21087 {
21088 arg3 = &temp3;
21089 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21090 }
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21094
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
4f89f6a3
RD
21098 {
21099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21100 }
d14a1e28
RD
21101 return resultobj;
21102 fail:
21103 return NULL;
21104}
21105
21106
21107static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj;
21109 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21110 int result;
21111 PyObject * obj0 = 0 ;
21112 char *kwnames[] = {
21113 (char *) "self", NULL
21114 };
21115
21116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
21117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21122
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
15afbcd0 21126 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21127 return resultobj;
21128 fail:
21129 return NULL;
21130}
21131
21132
21133static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21134 PyObject *resultobj;
21135 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21136 int result;
21137 PyObject * obj0 = 0 ;
21138 char *kwnames[] = {
21139 (char *) "self", NULL
21140 };
21141
21142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
21143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21145 {
21146 PyThreadState* __tstate = wxPyBeginAllowThreads();
21147 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
21148
21149 wxPyEndAllowThreads(__tstate);
21150 if (PyErr_Occurred()) SWIG_fail;
21151 }
15afbcd0 21152 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21153 return resultobj;
21154 fail:
21155 return NULL;
21156}
21157
21158
21159static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21160 PyObject *resultobj;
21161 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21162 wxSize result;
21163 PyObject * obj0 = 0 ;
21164 char *kwnames[] = {
21165 (char *) "self", NULL
21166 };
21167
21168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
21169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21171 {
21172 PyThreadState* __tstate = wxPyBeginAllowThreads();
21173 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
21174
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 {
21179 wxSize * resultptr;
21180 resultptr = new wxSize((wxSize &) result);
15afbcd0 21181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
21182 }
21183 return resultobj;
21184 fail:
21185 return NULL;
21186}
21187
21188
21189static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21190 PyObject *resultobj;
21191 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21192 int arg2 ;
e811c8ce 21193 bool arg3 = (bool) False ;
d14a1e28 21194 PyObject * obj0 = 0 ;
994141e6 21195 PyObject * obj1 = 0 ;
d14a1e28
RD
21196 PyObject * obj2 = 0 ;
21197 char *kwnames[] = {
21198 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21199 };
21200
994141e6 21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21204 arg2 = (int) SWIG_AsInt(obj1);
21205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21206 if (obj2) {
15afbcd0
RD
21207 arg3 = (bool) SWIG_AsBool(obj2);
21208 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21209 }
21210 {
21211 PyThreadState* __tstate = wxPyBeginAllowThreads();
21212 (arg1)->SetItemSpacing(arg2,arg3);
21213
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 Py_INCREF(Py_None); resultobj = Py_None;
21218 return resultobj;
21219 fail:
21220 return NULL;
21221}
21222
21223
21224static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21227 int result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
21234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21239
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
15afbcd0 21243 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21244 return resultobj;
21245 fail:
21246 return NULL;
21247}
21248
21249
21250static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21251 PyObject *resultobj;
21252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21253 wxColour result;
21254 PyObject * obj0 = 0 ;
21255 char *kwnames[] = {
21256 (char *) "self", NULL
21257 };
21258
21259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
21260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21262 {
21263 PyThreadState* __tstate = wxPyBeginAllowThreads();
21264 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21265
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 {
21270 wxColour * resultptr;
21271 resultptr = new wxColour((wxColour &) result);
15afbcd0 21272 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
21273 }
21274 return resultobj;
21275 fail:
21276 return NULL;
21277}
21278
21279
21280static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21281 PyObject *resultobj;
21282 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21283 wxColour *arg2 = 0 ;
21284 wxColour temp2 ;
21285 PyObject * obj0 = 0 ;
21286 PyObject * obj1 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self",(char *) "col", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21294 {
21295 arg2 = &temp2;
21296 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21297 }
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 (arg1)->SetTextColour((wxColour const &)*arg2);
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 Py_INCREF(Py_None); resultobj = Py_None;
21306 return resultobj;
21307 fail:
21308 return NULL;
21309}
21310
21311
21312static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21315 long result;
21316 PyObject * obj0 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
21322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
15afbcd0 21331 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21332 return resultobj;
21333 fail:
21334 return NULL;
21335}
21336
21337
21338static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21341 long arg2 ;
e811c8ce 21342 bool arg3 = (bool) True ;
d14a1e28 21343 PyObject * obj0 = 0 ;
994141e6 21344 PyObject * obj1 = 0 ;
d14a1e28
RD
21345 PyObject * obj2 = 0 ;
21346 char *kwnames[] = {
21347 (char *) "self",(char *) "style",(char *) "add", NULL
21348 };
21349
994141e6 21350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21353 arg2 = (long) SWIG_AsLong(obj1);
21354 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21355 if (obj2) {
15afbcd0
RD
21356 arg3 = (bool) SWIG_AsBool(obj2);
21357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21358 }
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 (arg1)->SetSingleStyle(arg2,arg3);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 Py_INCREF(Py_None); resultobj = Py_None;
21367 return resultobj;
21368 fail:
21369 return NULL;
21370}
21371
21372
21373static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21376 long arg2 ;
21377 PyObject * obj0 = 0 ;
994141e6 21378 PyObject * obj1 = 0 ;
d14a1e28
RD
21379 char *kwnames[] = {
21380 (char *) "self",(char *) "style", NULL
21381 };
21382
994141e6 21383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21386 arg2 = (long) SWIG_AsLong(obj1);
21387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 (arg1)->SetWindowStyleFlag(arg2);
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 Py_INCREF(Py_None); resultobj = Py_None;
21396 return resultobj;
21397 fail:
21398 return NULL;
21399}
21400
21401
21402static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21403 PyObject *resultobj;
21404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21405 long arg2 ;
21406 int arg3 = (int) wxLIST_NEXT_ALL ;
21407 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21408 long result;
21409 PyObject * obj0 = 0 ;
994141e6
RD
21410 PyObject * obj1 = 0 ;
21411 PyObject * obj2 = 0 ;
21412 PyObject * obj3 = 0 ;
d14a1e28
RD
21413 char *kwnames[] = {
21414 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21415 };
21416
994141e6 21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21420 arg2 = (long) SWIG_AsLong(obj1);
21421 if (PyErr_Occurred()) SWIG_fail;
994141e6 21422 if (obj2) {
15afbcd0
RD
21423 arg3 = (int) SWIG_AsInt(obj2);
21424 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21425 }
21426 if (obj3) {
15afbcd0
RD
21427 arg4 = (int) SWIG_AsInt(obj3);
21428 if (PyErr_Occurred()) SWIG_fail;
994141e6 21429 }
d14a1e28
RD
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
15afbcd0 21437 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21438 return resultobj;
21439 fail:
21440 return NULL;
21441}
21442
21443
21444static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21447 int arg2 ;
21448 wxImageList *result;
21449 PyObject * obj0 = 0 ;
994141e6 21450 PyObject * obj1 = 0 ;
d14a1e28
RD
21451 char *kwnames[] = {
21452 (char *) "self",(char *) "which", NULL
21453 };
21454
994141e6 21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21458 arg2 = (int) SWIG_AsInt(obj1);
21459 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21460 {
21461 PyThreadState* __tstate = wxPyBeginAllowThreads();
21462 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21463
21464 wxPyEndAllowThreads(__tstate);
21465 if (PyErr_Occurred()) SWIG_fail;
21466 }
21467 {
21468 resultobj = wxPyMake_wxObject(result);
21469 }
21470 return resultobj;
21471 fail:
21472 return NULL;
21473}
21474
21475
21476static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21477 PyObject *resultobj;
21478 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21479 wxImageList *arg2 = (wxImageList *) 0 ;
21480 int arg3 ;
21481 PyObject * obj0 = 0 ;
21482 PyObject * obj1 = 0 ;
994141e6 21483 PyObject * obj2 = 0 ;
d14a1e28
RD
21484 char *kwnames[] = {
21485 (char *) "self",(char *) "imageList",(char *) "which", NULL
21486 };
21487
994141e6 21488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21493 arg3 = (int) SWIG_AsInt(obj2);
21494 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21495 {
21496 PyThreadState* __tstate = wxPyBeginAllowThreads();
21497 (arg1)->SetImageList(arg2,arg3);
21498
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 Py_INCREF(Py_None); resultobj = Py_None;
21503 return resultobj;
21504 fail:
21505 return NULL;
21506}
21507
21508
21509static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj;
21511 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21512 wxImageList *arg2 = (wxImageList *) 0 ;
21513 int arg3 ;
21514 PyObject * obj0 = 0 ;
21515 PyObject * obj1 = 0 ;
994141e6 21516 PyObject * obj2 = 0 ;
d14a1e28
RD
21517 char *kwnames[] = {
21518 (char *) "self",(char *) "imageList",(char *) "which", NULL
21519 };
21520
994141e6 21521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21525 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21526 arg3 = (int) SWIG_AsInt(obj2);
21527 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 (arg1)->AssignImageList(arg2,arg3);
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 Py_INCREF(Py_None); resultobj = Py_None;
21536 return resultobj;
21537 fail:
21538 return NULL;
21539}
21540
21541
4276dc52
RD
21542static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
21543 PyObject *resultobj;
21544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21545 bool result;
21546 PyObject * obj0 = 0 ;
21547 char *kwnames[] = {
21548 (char *) "self", NULL
21549 };
21550
21551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21554 {
21555 PyThreadState* __tstate = wxPyBeginAllowThreads();
21556 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21557
21558 wxPyEndAllowThreads(__tstate);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
4f89f6a3
RD
21561 {
21562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21563 }
4276dc52
RD
21564 return resultobj;
21565 fail:
21566 return NULL;
21567}
21568
21569
d14a1e28
RD
21570static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21571 PyObject *resultobj;
21572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21573 bool result;
21574 PyObject * obj0 = 0 ;
21575 char *kwnames[] = {
21576 (char *) "self", NULL
21577 };
21578
21579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
15afbcd0
RD
21580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
4f89f6a3
RD
21589 {
21590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21591 }
d14a1e28
RD
21592 return resultobj;
21593 fail:
21594 return NULL;
21595}
21596
21597
21598static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21599 PyObject *resultobj;
21600 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21601 long arg2 ;
21602 PyObject * obj0 = 0 ;
994141e6 21603 PyObject * obj1 = 0 ;
d14a1e28
RD
21604 char *kwnames[] = {
21605 (char *) "self",(char *) "item", NULL
21606 };
21607
994141e6 21608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21611 arg2 = (long) SWIG_AsLong(obj1);
21612 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21613 {
21614 PyThreadState* __tstate = wxPyBeginAllowThreads();
21615 (arg1)->RefreshItem(arg2);
21616
21617 wxPyEndAllowThreads(__tstate);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 }
21620 Py_INCREF(Py_None); resultobj = Py_None;
21621 return resultobj;
21622 fail:
21623 return NULL;
21624}
21625
21626
21627static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21628 PyObject *resultobj;
21629 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21630 long arg2 ;
21631 long arg3 ;
21632 PyObject * obj0 = 0 ;
994141e6
RD
21633 PyObject * obj1 = 0 ;
21634 PyObject * obj2 = 0 ;
d14a1e28
RD
21635 char *kwnames[] = {
21636 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21637 };
21638
994141e6 21639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21642 arg2 = (long) SWIG_AsLong(obj1);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 arg3 = (long) SWIG_AsLong(obj2);
21645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 (arg1)->RefreshItems(arg2,arg3);
21649
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
21653 Py_INCREF(Py_None); resultobj = Py_None;
21654 return resultobj;
21655 fail:
21656 return NULL;
21657}
21658
21659
21660static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21661 PyObject *resultobj;
21662 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21663 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21664 bool result;
21665 PyObject * obj0 = 0 ;
994141e6 21666 PyObject * obj1 = 0 ;
d14a1e28
RD
21667 char *kwnames[] = {
21668 (char *) "self",(char *) "flag", NULL
21669 };
21670
994141e6 21671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21674 if (obj1) {
15afbcd0
RD
21675 arg2 = (int) SWIG_AsInt(obj1);
21676 if (PyErr_Occurred()) SWIG_fail;
994141e6 21677 }
d14a1e28
RD
21678 {
21679 PyThreadState* __tstate = wxPyBeginAllowThreads();
21680 result = (bool)(arg1)->Arrange(arg2);
21681
21682 wxPyEndAllowThreads(__tstate);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
4f89f6a3
RD
21685 {
21686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21687 }
d14a1e28
RD
21688 return resultobj;
21689 fail:
21690 return NULL;
21691}
21692
21693
21694static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21695 PyObject *resultobj;
21696 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21697 long arg2 ;
21698 bool result;
21699 PyObject * obj0 = 0 ;
994141e6 21700 PyObject * obj1 = 0 ;
d14a1e28
RD
21701 char *kwnames[] = {
21702 (char *) "self",(char *) "item", NULL
21703 };
21704
994141e6 21705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21708 arg2 = (long) SWIG_AsLong(obj1);
21709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = (bool)(arg1)->DeleteItem(arg2);
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
4f89f6a3
RD
21717 {
21718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21719 }
d14a1e28
RD
21720 return resultobj;
21721 fail:
21722 return NULL;
21723}
21724
21725
21726static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21727 PyObject *resultobj;
21728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21729 bool result;
21730 PyObject * obj0 = 0 ;
21731 char *kwnames[] = {
21732 (char *) "self", NULL
21733 };
21734
21735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
21736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 result = (bool)(arg1)->DeleteAllItems();
21741
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
4f89f6a3
RD
21745 {
21746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21747 }
d14a1e28
RD
21748 return resultobj;
21749 fail:
21750 return NULL;
21751}
21752
21753
21754static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21755 PyObject *resultobj;
21756 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21757 int arg2 ;
21758 bool result;
21759 PyObject * obj0 = 0 ;
994141e6 21760 PyObject * obj1 = 0 ;
d14a1e28
RD
21761 char *kwnames[] = {
21762 (char *) "self",(char *) "col", NULL
21763 };
21764
994141e6 21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21768 arg2 = (int) SWIG_AsInt(obj1);
21769 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 result = (bool)(arg1)->DeleteColumn(arg2);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
4f89f6a3
RD
21777 {
21778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21779 }
d14a1e28
RD
21780 return resultobj;
21781 fail:
21782 return NULL;
21783}
21784
21785
21786static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj;
21788 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21789 bool result;
21790 PyObject * obj0 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "self", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
15afbcd0
RD
21796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 result = (bool)(arg1)->DeleteAllColumns();
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
4f89f6a3
RD
21805 {
21806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21807 }
d14a1e28
RD
21808 return resultobj;
21809 fail:
21810 return NULL;
21811}
21812
21813
21814static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21815 PyObject *resultobj;
21816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21817 PyObject * obj0 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
21823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21825 {
21826 PyThreadState* __tstate = wxPyBeginAllowThreads();
21827 (arg1)->ClearAll();
21828
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 Py_INCREF(Py_None); resultobj = Py_None;
21833 return resultobj;
21834 fail:
21835 return NULL;
21836}
21837
21838
21839static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21840 PyObject *resultobj;
21841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21842 long arg2 ;
21843 PyObject * obj0 = 0 ;
994141e6 21844 PyObject * obj1 = 0 ;
d14a1e28
RD
21845 char *kwnames[] = {
21846 (char *) "self",(char *) "item", NULL
21847 };
21848
994141e6 21849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21852 arg2 = (long) SWIG_AsLong(obj1);
21853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21854 {
21855 PyThreadState* __tstate = wxPyBeginAllowThreads();
21856 (arg1)->EditLabel(arg2);
21857
21858 wxPyEndAllowThreads(__tstate);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 }
21861 Py_INCREF(Py_None); resultobj = Py_None;
21862 return resultobj;
21863 fail:
21864 return NULL;
21865}
21866
21867
21868static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21869 PyObject *resultobj;
21870 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21871 long arg2 ;
21872 bool result;
21873 PyObject * obj0 = 0 ;
994141e6 21874 PyObject * obj1 = 0 ;
d14a1e28
RD
21875 char *kwnames[] = {
21876 (char *) "self",(char *) "item", NULL
21877 };
21878
994141e6 21879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21882 arg2 = (long) SWIG_AsLong(obj1);
21883 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 result = (bool)(arg1)->EnsureVisible(arg2);
21887
21888 wxPyEndAllowThreads(__tstate);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 }
4f89f6a3
RD
21891 {
21892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21893 }
d14a1e28
RD
21894 return resultobj;
21895 fail:
21896 return NULL;
21897}
21898
21899
21900static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj;
21902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21903 long arg2 ;
21904 wxString *arg3 = 0 ;
e811c8ce 21905 bool arg4 = (bool) False ;
d14a1e28 21906 long result;
e811c8ce 21907 bool temp3 = False ;
d14a1e28 21908 PyObject * obj0 = 0 ;
994141e6 21909 PyObject * obj1 = 0 ;
d14a1e28
RD
21910 PyObject * obj2 = 0 ;
21911 PyObject * obj3 = 0 ;
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21914 };
21915
994141e6 21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21919 arg2 = (long) SWIG_AsLong(obj1);
21920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21921 {
21922 arg3 = wxString_in_helper(obj2);
21923 if (arg3 == NULL) SWIG_fail;
e811c8ce 21924 temp3 = True;
d14a1e28
RD
21925 }
21926 if (obj3) {
15afbcd0
RD
21927 arg4 = (bool) SWIG_AsBool(obj3);
21928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21929 }
21930 {
21931 PyThreadState* __tstate = wxPyBeginAllowThreads();
21932 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21933
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
15afbcd0 21937 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21938 {
21939 if (temp3)
21940 delete arg3;
21941 }
21942 return resultobj;
21943 fail:
21944 {
21945 if (temp3)
21946 delete arg3;
21947 }
21948 return NULL;
21949}
21950
21951
21952static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21953 PyObject *resultobj;
21954 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21955 long arg2 ;
21956 long arg3 ;
21957 long result;
21958 PyObject * obj0 = 0 ;
994141e6
RD
21959 PyObject * obj1 = 0 ;
21960 PyObject * obj2 = 0 ;
d14a1e28
RD
21961 char *kwnames[] = {
21962 (char *) "self",(char *) "start",(char *) "data", NULL
21963 };
21964
994141e6 21965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21968 arg2 = (long) SWIG_AsLong(obj1);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 arg3 = (long) SWIG_AsLong(obj2);
21971 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 result = (long)(arg1)->FindItem(arg2,arg3);
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
15afbcd0 21979 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21980 return resultobj;
21981 fail:
21982 return NULL;
21983}
21984
21985
21986static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21987 PyObject *resultobj;
21988 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21989 long arg2 ;
21990 wxPoint *arg3 = 0 ;
21991 int arg4 ;
21992 long result;
21993 wxPoint temp3 ;
21994 PyObject * obj0 = 0 ;
994141e6 21995 PyObject * obj1 = 0 ;
d14a1e28 21996 PyObject * obj2 = 0 ;
994141e6 21997 PyObject * obj3 = 0 ;
d14a1e28
RD
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22000 };
22001
994141e6 22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 arg2 = (long) SWIG_AsLong(obj1);
22006 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22007 {
22008 arg3 = &temp3;
22009 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22010 }
15afbcd0
RD
22011 arg4 = (int) SWIG_AsInt(obj3);
22012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
15afbcd0 22020 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22021 return resultobj;
22022 fail:
22023 return NULL;
22024}
22025
22026
22027static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22028 PyObject *resultobj;
22029 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22030 wxPoint *arg2 = 0 ;
22031 int *arg3 = 0 ;
22032 long result;
22033 wxPoint temp2 ;
22034 int temp3 ;
22035 PyObject * obj0 = 0 ;
22036 PyObject * obj1 = 0 ;
22037 char *kwnames[] = {
22038 (char *) "self",(char *) "point", NULL
22039 };
22040
22041 arg3 = &temp3;
22042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22045 {
22046 arg2 = &temp2;
22047 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22048 }
22049 {
22050 PyThreadState* __tstate = wxPyBeginAllowThreads();
22051 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22052
22053 wxPyEndAllowThreads(__tstate);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
15afbcd0 22056 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22057 {
22058 PyObject *o = PyInt_FromLong((long) (*arg3));
22059 resultobj = t_output_helper(resultobj,o);
22060 }
22061 return resultobj;
22062 fail:
22063 return NULL;
22064}
22065
22066
22067static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22068 PyObject *resultobj;
22069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22070 wxListItem *arg2 = 0 ;
22071 long result;
22072 PyObject * obj0 = 0 ;
22073 PyObject * obj1 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self",(char *) "info", NULL
22076 };
22077
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1)
22083 SWIG_fail;
d14a1e28 22084 if (arg2 == NULL) {
15afbcd0
RD
22085 PyErr_SetString(PyExc_TypeError,"null reference");
22086 SWIG_fail;
d14a1e28
RD
22087 }
22088 {
22089 PyThreadState* __tstate = wxPyBeginAllowThreads();
22090 result = (long)(arg1)->InsertItem(*arg2);
22091
22092 wxPyEndAllowThreads(__tstate);
22093 if (PyErr_Occurred()) SWIG_fail;
22094 }
15afbcd0 22095 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22096 return resultobj;
22097 fail:
22098 return NULL;
22099}
22100
22101
22102static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22103 PyObject *resultobj;
22104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22105 long arg2 ;
22106 wxString *arg3 = 0 ;
22107 long result;
e811c8ce 22108 bool temp3 = False ;
d14a1e28 22109 PyObject * obj0 = 0 ;
994141e6 22110 PyObject * obj1 = 0 ;
d14a1e28
RD
22111 PyObject * obj2 = 0 ;
22112 char *kwnames[] = {
22113 (char *) "self",(char *) "index",(char *) "label", NULL
22114 };
22115
994141e6 22116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22119 arg2 = (long) SWIG_AsLong(obj1);
22120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22121 {
22122 arg3 = wxString_in_helper(obj2);
22123 if (arg3 == NULL) SWIG_fail;
e811c8ce 22124 temp3 = True;
d14a1e28
RD
22125 }
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
15afbcd0 22133 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22134 {
22135 if (temp3)
22136 delete arg3;
22137 }
22138 return resultobj;
22139 fail:
22140 {
22141 if (temp3)
22142 delete arg3;
22143 }
22144 return NULL;
22145}
22146
22147
22148static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22149 PyObject *resultobj;
22150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22151 long arg2 ;
22152 int arg3 ;
22153 long result;
22154 PyObject * obj0 = 0 ;
994141e6
RD
22155 PyObject * obj1 = 0 ;
22156 PyObject * obj2 = 0 ;
d14a1e28
RD
22157 char *kwnames[] = {
22158 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22159 };
22160
994141e6 22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22164 arg2 = (long) SWIG_AsLong(obj1);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 arg3 = (int) SWIG_AsInt(obj2);
22167 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = (long)(arg1)->InsertItem(arg2,arg3);
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
15afbcd0 22175 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22176 return resultobj;
22177 fail:
22178 return NULL;
22179}
22180
22181
22182static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22183 PyObject *resultobj;
22184 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22185 long arg2 ;
22186 wxString *arg3 = 0 ;
22187 int arg4 ;
22188 long result;
e811c8ce 22189 bool temp3 = False ;
d14a1e28 22190 PyObject * obj0 = 0 ;
994141e6 22191 PyObject * obj1 = 0 ;
d14a1e28 22192 PyObject * obj2 = 0 ;
994141e6 22193 PyObject * obj3 = 0 ;
d14a1e28
RD
22194 char *kwnames[] = {
22195 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22196 };
22197
994141e6 22198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22201 arg2 = (long) SWIG_AsLong(obj1);
22202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22203 {
22204 arg3 = wxString_in_helper(obj2);
22205 if (arg3 == NULL) SWIG_fail;
e811c8ce 22206 temp3 = True;
d14a1e28 22207 }
15afbcd0
RD
22208 arg4 = (int) SWIG_AsInt(obj3);
22209 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
15afbcd0 22217 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22218 {
22219 if (temp3)
22220 delete arg3;
22221 }
22222 return resultobj;
22223 fail:
22224 {
22225 if (temp3)
22226 delete arg3;
22227 }
22228 return NULL;
22229}
22230
22231
22232static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22235 long arg2 ;
22236 wxListItem *arg3 = 0 ;
22237 long result;
22238 PyObject * obj0 = 0 ;
994141e6 22239 PyObject * obj1 = 0 ;
d14a1e28
RD
22240 PyObject * obj2 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self",(char *) "col",(char *) "info", NULL
22243 };
22244
994141e6 22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22248 arg2 = (long) SWIG_AsLong(obj1);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22251 SWIG_POINTER_EXCEPTION | 0)) == -1)
22252 SWIG_fail;
d14a1e28 22253 if (arg3 == NULL) {
15afbcd0
RD
22254 PyErr_SetString(PyExc_TypeError,"null reference");
22255 SWIG_fail;
d14a1e28
RD
22256 }
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22260
22261 wxPyEndAllowThreads(__tstate);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
15afbcd0 22264 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22265 return resultobj;
22266 fail:
22267 return NULL;
22268}
22269
22270
22271static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22272 PyObject *resultobj;
22273 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22274 long arg2 ;
22275 wxString *arg3 = 0 ;
22276 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22277 int arg5 = (int) -1 ;
22278 long result;
e811c8ce 22279 bool temp3 = False ;
d14a1e28 22280 PyObject * obj0 = 0 ;
994141e6 22281 PyObject * obj1 = 0 ;
d14a1e28 22282 PyObject * obj2 = 0 ;
994141e6
RD
22283 PyObject * obj3 = 0 ;
22284 PyObject * obj4 = 0 ;
d14a1e28
RD
22285 char *kwnames[] = {
22286 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22287 };
22288
994141e6 22289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
22290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22292 arg2 = (long) SWIG_AsLong(obj1);
22293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22294 {
22295 arg3 = wxString_in_helper(obj2);
22296 if (arg3 == NULL) SWIG_fail;
e811c8ce 22297 temp3 = True;
d14a1e28 22298 }
994141e6 22299 if (obj3) {
15afbcd0
RD
22300 arg4 = (int) SWIG_AsInt(obj3);
22301 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22302 }
22303 if (obj4) {
15afbcd0
RD
22304 arg5 = (int) SWIG_AsInt(obj4);
22305 if (PyErr_Occurred()) SWIG_fail;
994141e6 22306 }
d14a1e28
RD
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
15afbcd0 22314 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22315 {
22316 if (temp3)
22317 delete arg3;
22318 }
22319 return resultobj;
22320 fail:
22321 {
22322 if (temp3)
22323 delete arg3;
22324 }
22325 return NULL;
22326}
22327
22328
22329static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22330 PyObject *resultobj;
22331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22332 long arg2 ;
22333 PyObject * obj0 = 0 ;
994141e6 22334 PyObject * obj1 = 0 ;
d14a1e28
RD
22335 char *kwnames[] = {
22336 (char *) "self",(char *) "count", NULL
22337 };
22338
994141e6 22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22342 arg2 = (long) SWIG_AsLong(obj1);
22343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 (arg1)->SetItemCount(arg2);
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 Py_INCREF(Py_None); resultobj = Py_None;
22352 return resultobj;
22353 fail:
22354 return NULL;
22355}
22356
22357
22358static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22359 PyObject *resultobj;
22360 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22361 int arg2 ;
22362 int arg3 ;
22363 bool result;
22364 PyObject * obj0 = 0 ;
994141e6
RD
22365 PyObject * obj1 = 0 ;
22366 PyObject * obj2 = 0 ;
d14a1e28
RD
22367 char *kwnames[] = {
22368 (char *) "self",(char *) "dx",(char *) "dy", NULL
22369 };
22370
994141e6 22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22374 arg2 = (int) SWIG_AsInt(obj1);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 arg3 = (int) SWIG_AsInt(obj2);
22377 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (bool)(arg1)->ScrollList(arg2,arg3);
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
4f89f6a3
RD
22385 {
22386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22387 }
d14a1e28
RD
22388 return resultobj;
22389 fail:
22390 return NULL;
22391}
22392
22393
22394static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22397 long arg2 ;
22398 wxColour *arg3 = 0 ;
22399 wxColour temp3 ;
22400 PyObject * obj0 = 0 ;
994141e6 22401 PyObject * obj1 = 0 ;
d14a1e28
RD
22402 PyObject * obj2 = 0 ;
22403 char *kwnames[] = {
22404 (char *) "self",(char *) "item",(char *) "col", NULL
22405 };
22406
994141e6 22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22410 arg2 = (long) SWIG_AsLong(obj1);
22411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22412 {
22413 arg3 = &temp3;
22414 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22415 }
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 Py_INCREF(Py_None); resultobj = Py_None;
22424 return resultobj;
22425 fail:
22426 return NULL;
22427}
22428
22429
22430static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22431 PyObject *resultobj;
22432 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22433 long arg2 ;
22434 wxColour result;
22435 PyObject * obj0 = 0 ;
994141e6 22436 PyObject * obj1 = 0 ;
d14a1e28
RD
22437 char *kwnames[] = {
22438 (char *) "self",(char *) "item", NULL
22439 };
22440
994141e6 22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22444 arg2 = (long) SWIG_AsLong(obj1);
22445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22446 {
22447 PyThreadState* __tstate = wxPyBeginAllowThreads();
22448 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 {
22454 wxColour * resultptr;
22455 resultptr = new wxColour((wxColour &) result);
15afbcd0 22456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22457 }
22458 return resultobj;
22459 fail:
22460 return NULL;
22461}
22462
22463
22464static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22465 PyObject *resultobj;
22466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22467 long arg2 ;
22468 wxColour *arg3 = 0 ;
22469 wxColour temp3 ;
22470 PyObject * obj0 = 0 ;
994141e6 22471 PyObject * obj1 = 0 ;
d14a1e28
RD
22472 PyObject * obj2 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self",(char *) "item",(char *) "col", NULL
22475 };
22476
994141e6 22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22480 arg2 = (long) SWIG_AsLong(obj1);
22481 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22482 {
22483 arg3 = &temp3;
22484 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22485 }
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 Py_INCREF(Py_None); resultobj = Py_None;
22494 return resultobj;
22495 fail:
22496 return NULL;
22497}
22498
22499
22500static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj;
22502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22503 long arg2 ;
22504 wxColour result;
22505 PyObject * obj0 = 0 ;
994141e6 22506 PyObject * obj1 = 0 ;
d14a1e28
RD
22507 char *kwnames[] = {
22508 (char *) "self",(char *) "item", NULL
22509 };
22510
994141e6 22511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22514 arg2 = (long) SWIG_AsLong(obj1);
22515 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22516 {
22517 PyThreadState* __tstate = wxPyBeginAllowThreads();
22518 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22519
22520 wxPyEndAllowThreads(__tstate);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 {
22524 wxColour * resultptr;
22525 resultptr = new wxColour((wxColour &) result);
15afbcd0 22526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22527 }
22528 return resultobj;
22529 fail:
22530 return NULL;
22531}
22532
22533
22534static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22535 PyObject *resultobj;
22536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22537 PyObject *arg2 = (PyObject *) 0 ;
22538 bool result;
22539 PyObject * obj0 = 0 ;
22540 PyObject * obj1 = 0 ;
22541 char *kwnames[] = {
22542 (char *) "self",(char *) "func", NULL
22543 };
22544
22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22548 arg2 = obj1;
22549 {
22550 PyThreadState* __tstate = wxPyBeginAllowThreads();
22551 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22552
22553 wxPyEndAllowThreads(__tstate);
22554 if (PyErr_Occurred()) SWIG_fail;
22555 }
4f89f6a3
RD
22556 {
22557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22558 }
d14a1e28
RD
22559 return resultobj;
22560 fail:
22561 return NULL;
22562}
22563
22564
22565static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22568 wxWindow *result;
22569 PyObject * obj0 = 0 ;
22570 char *kwnames[] = {
22571 (char *) "self", NULL
22572 };
22573
22574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
22575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22577 {
22578 PyThreadState* __tstate = wxPyBeginAllowThreads();
22579 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22580
22581 wxPyEndAllowThreads(__tstate);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 }
22584 {
22585 resultobj = wxPyMake_wxObject(result);
22586 }
22587 return resultobj;
22588 fail:
22589 return NULL;
22590}
22591
22592
22593static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22594 PyObject *obj;
22595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22596 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22597 Py_INCREF(obj);
22598 return Py_BuildValue((char *)"");
22599}
22600static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22601 PyObject *resultobj;
22602 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22603 int arg2 = (int) -1 ;
d14a1e28
RD
22604 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22605 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22606 wxSize const &arg4_defvalue = wxDefaultSize ;
22607 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22608 long arg5 = (long) wxLC_REPORT ;
22609 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22610 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22611 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22612 wxString *arg7 = (wxString *) &arg7_defvalue ;
22613 wxListView *result;
22614 wxPoint temp3 ;
22615 wxSize temp4 ;
e811c8ce 22616 bool temp7 = False ;
d14a1e28 22617 PyObject * obj0 = 0 ;
994141e6 22618 PyObject * obj1 = 0 ;
d14a1e28
RD
22619 PyObject * obj2 = 0 ;
22620 PyObject * obj3 = 0 ;
994141e6 22621 PyObject * obj4 = 0 ;
d14a1e28
RD
22622 PyObject * obj5 = 0 ;
22623 PyObject * obj6 = 0 ;
22624 char *kwnames[] = {
22625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22626 };
22627
994141e6 22628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22631 if (obj1) {
15afbcd0
RD
22632 arg2 = (int) SWIG_AsInt(obj1);
22633 if (PyErr_Occurred()) SWIG_fail;
994141e6 22634 }
d14a1e28
RD
22635 if (obj2) {
22636 {
22637 arg3 = &temp3;
22638 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22639 }
22640 }
22641 if (obj3) {
22642 {
22643 arg4 = &temp4;
22644 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22645 }
22646 }
994141e6 22647 if (obj4) {
15afbcd0
RD
22648 arg5 = (long) SWIG_AsLong(obj4);
22649 if (PyErr_Occurred()) SWIG_fail;
994141e6 22650 }
d14a1e28 22651 if (obj5) {
15afbcd0
RD
22652 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22653 SWIG_POINTER_EXCEPTION | 0)) == -1)
22654 SWIG_fail;
d14a1e28 22655 if (arg6 == NULL) {
15afbcd0
RD
22656 PyErr_SetString(PyExc_TypeError,"null reference");
22657 SWIG_fail;
d14a1e28
RD
22658 }
22659 }
22660 if (obj6) {
22661 {
22662 arg7 = wxString_in_helper(obj6);
22663 if (arg7 == NULL) SWIG_fail;
e811c8ce 22664 temp7 = True;
d14a1e28
RD
22665 }
22666 }
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
15afbcd0 22674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
22675 {
22676 if (temp7)
22677 delete arg7;
22678 }
22679 return resultobj;
22680 fail:
22681 {
22682 if (temp7)
22683 delete arg7;
22684 }
22685 return NULL;
22686}
22687
22688
22689static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxListView *result;
22692 char *kwnames[] = {
22693 NULL
22694 };
22695
22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22697 {
22698 PyThreadState* __tstate = wxPyBeginAllowThreads();
22699 result = (wxListView *)new wxListView();
22700
22701 wxPyEndAllowThreads(__tstate);
22702 if (PyErr_Occurred()) SWIG_fail;
22703 }
15afbcd0 22704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
22705 return resultobj;
22706 fail:
22707 return NULL;
22708}
22709
22710
22711static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22712 PyObject *resultobj;
22713 wxListView *arg1 = (wxListView *) 0 ;
22714 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 22715 int arg3 = (int) -1 ;
d14a1e28
RD
22716 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22717 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22718 wxSize const &arg5_defvalue = wxDefaultSize ;
22719 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22720 long arg6 = (long) wxLC_REPORT ;
22721 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22722 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22723 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22724 wxString *arg8 = (wxString *) &arg8_defvalue ;
22725 bool result;
22726 wxPoint temp4 ;
22727 wxSize temp5 ;
e811c8ce 22728 bool temp8 = False ;
d14a1e28
RD
22729 PyObject * obj0 = 0 ;
22730 PyObject * obj1 = 0 ;
994141e6 22731 PyObject * obj2 = 0 ;
d14a1e28
RD
22732 PyObject * obj3 = 0 ;
22733 PyObject * obj4 = 0 ;
994141e6 22734 PyObject * obj5 = 0 ;
d14a1e28
RD
22735 PyObject * obj6 = 0 ;
22736 PyObject * obj7 = 0 ;
22737 char *kwnames[] = {
22738 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22739 };
22740
994141e6 22741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
22742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22746 if (obj2) {
15afbcd0
RD
22747 arg3 = (int) SWIG_AsInt(obj2);
22748 if (PyErr_Occurred()) SWIG_fail;
994141e6 22749 }
d14a1e28
RD
22750 if (obj3) {
22751 {
22752 arg4 = &temp4;
22753 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22754 }
22755 }
22756 if (obj4) {
22757 {
22758 arg5 = &temp5;
22759 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22760 }
22761 }
994141e6 22762 if (obj5) {
15afbcd0
RD
22763 arg6 = (long) SWIG_AsLong(obj5);
22764 if (PyErr_Occurred()) SWIG_fail;
994141e6 22765 }
d14a1e28 22766 if (obj6) {
15afbcd0
RD
22767 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22768 SWIG_POINTER_EXCEPTION | 0)) == -1)
22769 SWIG_fail;
d14a1e28 22770 if (arg7 == NULL) {
15afbcd0
RD
22771 PyErr_SetString(PyExc_TypeError,"null reference");
22772 SWIG_fail;
d14a1e28
RD
22773 }
22774 }
22775 if (obj7) {
22776 {
22777 arg8 = wxString_in_helper(obj7);
22778 if (arg8 == NULL) SWIG_fail;
e811c8ce 22779 temp8 = True;
d14a1e28
RD
22780 }
22781 }
22782 {
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22784 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
4f89f6a3
RD
22789 {
22790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22791 }
d14a1e28
RD
22792 {
22793 if (temp8)
22794 delete arg8;
22795 }
22796 return resultobj;
22797 fail:
22798 {
22799 if (temp8)
22800 delete arg8;
22801 }
22802 return NULL;
22803}
22804
22805
22806static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22807 PyObject *resultobj;
22808 wxListView *arg1 = (wxListView *) 0 ;
22809 long arg2 ;
e811c8ce 22810 bool arg3 = (bool) True ;
d14a1e28 22811 PyObject * obj0 = 0 ;
994141e6 22812 PyObject * obj1 = 0 ;
d14a1e28
RD
22813 PyObject * obj2 = 0 ;
22814 char *kwnames[] = {
22815 (char *) "self",(char *) "n",(char *) "on", NULL
22816 };
22817
15afbcd0
RD
22818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22821 arg2 = (long) SWIG_AsLong(obj1);
22822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22823 if (obj2) {
15afbcd0
RD
22824 arg3 = (bool) SWIG_AsBool(obj2);
22825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22826 }
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 (arg1)->Select(arg2,arg3);
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 Py_INCREF(Py_None); resultobj = Py_None;
22835 return resultobj;
22836 fail:
22837 return NULL;
22838}
22839
22840
22841static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj;
22843 wxListView *arg1 = (wxListView *) 0 ;
22844 long arg2 ;
22845 PyObject * obj0 = 0 ;
994141e6 22846 PyObject * obj1 = 0 ;
d14a1e28
RD
22847 char *kwnames[] = {
22848 (char *) "self",(char *) "index", NULL
22849 };
22850
994141e6 22851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22854 arg2 = (long) SWIG_AsLong(obj1);
22855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 (arg1)->Focus(arg2);
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 Py_INCREF(Py_None); resultobj = Py_None;
22864 return resultobj;
22865 fail:
22866 return NULL;
22867}
22868
22869
22870static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22871 PyObject *resultobj;
22872 wxListView *arg1 = (wxListView *) 0 ;
22873 long result;
22874 PyObject * obj0 = 0 ;
22875 char *kwnames[] = {
22876 (char *) "self", NULL
22877 };
22878
22879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
22880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22885
22886 wxPyEndAllowThreads(__tstate);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
15afbcd0 22889 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22890 return resultobj;
22891 fail:
22892 return NULL;
22893}
22894
22895
22896static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj;
22898 wxListView *arg1 = (wxListView *) 0 ;
22899 long arg2 ;
22900 long result;
22901 PyObject * obj0 = 0 ;
994141e6 22902 PyObject * obj1 = 0 ;
d14a1e28
RD
22903 char *kwnames[] = {
22904 (char *) "self",(char *) "item", NULL
22905 };
22906
994141e6 22907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22910 arg2 = (long) SWIG_AsLong(obj1);
22911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22915
22916 wxPyEndAllowThreads(__tstate);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 }
15afbcd0 22919 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22920 return resultobj;
22921 fail:
22922 return NULL;
22923}
22924
22925
22926static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj;
22928 wxListView *arg1 = (wxListView *) 0 ;
22929 long result;
22930 PyObject * obj0 = 0 ;
22931 char *kwnames[] = {
22932 (char *) "self", NULL
22933 };
22934
22935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
22936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22938 {
22939 PyThreadState* __tstate = wxPyBeginAllowThreads();
22940 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22941
22942 wxPyEndAllowThreads(__tstate);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
15afbcd0 22945 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22946 return resultobj;
22947 fail:
22948 return NULL;
22949}
22950
22951
22952static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj;
22954 wxListView *arg1 = (wxListView *) 0 ;
22955 long arg2 ;
22956 bool result;
22957 PyObject * obj0 = 0 ;
994141e6 22958 PyObject * obj1 = 0 ;
d14a1e28
RD
22959 char *kwnames[] = {
22960 (char *) "self",(char *) "index", NULL
22961 };
22962
994141e6 22963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22966 arg2 = (long) SWIG_AsLong(obj1);
22967 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 result = (bool)(arg1)->IsSelected(arg2);
22971
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
4f89f6a3
RD
22975 {
22976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22977 }
d14a1e28
RD
22978 return resultobj;
22979 fail:
22980 return NULL;
22981}
22982
22983
22984static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22985 PyObject *resultobj;
22986 wxListView *arg1 = (wxListView *) 0 ;
22987 int arg2 ;
22988 int arg3 ;
22989 PyObject * obj0 = 0 ;
994141e6
RD
22990 PyObject * obj1 = 0 ;
22991 PyObject * obj2 = 0 ;
d14a1e28
RD
22992 char *kwnames[] = {
22993 (char *) "self",(char *) "col",(char *) "image", NULL
22994 };
22995
994141e6 22996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22999 arg2 = (int) SWIG_AsInt(obj1);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 arg3 = (int) SWIG_AsInt(obj2);
23002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23003 {
23004 PyThreadState* __tstate = wxPyBeginAllowThreads();
23005 (arg1)->SetColumnImage(arg2,arg3);
23006
23007 wxPyEndAllowThreads(__tstate);
23008 if (PyErr_Occurred()) SWIG_fail;
23009 }
23010 Py_INCREF(Py_None); resultobj = Py_None;
23011 return resultobj;
23012 fail:
23013 return NULL;
23014}
23015
23016
23017static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23018 PyObject *resultobj;
23019 wxListView *arg1 = (wxListView *) 0 ;
23020 int arg2 ;
23021 PyObject * obj0 = 0 ;
994141e6 23022 PyObject * obj1 = 0 ;
d14a1e28
RD
23023 char *kwnames[] = {
23024 (char *) "self",(char *) "col", NULL
23025 };
23026
994141e6 23027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23030 arg2 = (int) SWIG_AsInt(obj1);
23031 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 (arg1)->ClearColumnImage(arg2);
23035
23036 wxPyEndAllowThreads(__tstate);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 Py_INCREF(Py_None); resultobj = Py_None;
23040 return resultobj;
23041 fail:
23042 return NULL;
23043}
23044
23045
23046static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
23047 PyObject *obj;
23048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23049 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23050 Py_INCREF(obj);
23051 return Py_BuildValue((char *)"");
23052}
b2dc1044
RD
23053static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
23054 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
23055 return 1;
23056}
23057
23058
23059static PyObject *_wrap_TreeCtrlNameStr_get() {
23060 PyObject *pyobj;
23061
23062 {
23063#if wxUSE_UNICODE
23064 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23065#else
23066 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23067#endif
23068 }
23069 return pyobj;
23070}
23071
23072
d14a1e28
RD
23073static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23074 PyObject *resultobj;
23075 wxTreeItemId *result;
23076 char *kwnames[] = {
23077 NULL
23078 };
23079
23080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
23081 {
23082 PyThreadState* __tstate = wxPyBeginAllowThreads();
23083 result = (wxTreeItemId *)new wxTreeItemId();
23084
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
15afbcd0 23088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
23089 return resultobj;
23090 fail:
23091 return NULL;
23092}
23093
23094
23095static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23098 PyObject * obj0 = 0 ;
23099 char *kwnames[] = {
23100 (char *) "self", NULL
23101 };
23102
23103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
23104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 delete arg1;
23109
23110 wxPyEndAllowThreads(__tstate);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 Py_INCREF(Py_None); resultobj = Py_None;
23114 return resultobj;
23115 fail:
23116 return NULL;
23117}
23118
23119
23120static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23121 PyObject *resultobj;
23122 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23123 bool result;
23124 PyObject * obj0 = 0 ;
23125 char *kwnames[] = {
23126 (char *) "self", NULL
23127 };
23128
23129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
23130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23132 {
23133 PyThreadState* __tstate = wxPyBeginAllowThreads();
23134 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
23135
23136 wxPyEndAllowThreads(__tstate);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 }
4f89f6a3
RD
23139 {
23140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23141 }
d14a1e28
RD
23142 return resultobj;
23143 fail:
23144 return NULL;
23145}
23146
23147
23148static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23149 PyObject *resultobj;
23150 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23151 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23152 bool result;
23153 PyObject * obj0 = 0 ;
23154 PyObject * obj1 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self",(char *) "other", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23164 {
23165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23166 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
23167
23168 wxPyEndAllowThreads(__tstate);
23169 if (PyErr_Occurred()) SWIG_fail;
23170 }
4f89f6a3
RD
23171 {
23172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23173 }
d14a1e28
RD
23174 return resultobj;
23175 fail:
23176 return NULL;
23177}
23178
23179
23180static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23181 PyObject *resultobj;
23182 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23183 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23184 bool result;
23185 PyObject * obj0 = 0 ;
23186 PyObject * obj1 = 0 ;
23187 char *kwnames[] = {
23188 (char *) "self",(char *) "other", NULL
23189 };
23190
23191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23196 {
23197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23198 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
23199
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
4f89f6a3
RD
23203 {
23204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23205 }
d14a1e28
RD
23206 return resultobj;
23207 fail:
23208 return NULL;
23209}
23210
23211
23212static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
23213 PyObject *resultobj;
23214 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 23215 void *arg2 = (void *) 0 ;
d14a1e28
RD
23216 PyObject * obj0 = 0 ;
23217 PyObject * obj1 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "m_pItem", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23225 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
23226 if (arg1) (arg1)->m_pItem = arg2;
23227
23228 Py_INCREF(Py_None); resultobj = Py_None;
23229 return resultobj;
23230 fail:
23231 return NULL;
23232}
23233
23234
23235static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23236 PyObject *resultobj;
23237 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 23238 void *result;
d14a1e28
RD
23239 PyObject * obj0 = 0 ;
23240 char *kwnames[] = {
23241 (char *) "self", NULL
23242 };
23243
23244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
23245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
58203fa6 23247 result = (void *) ((arg1)->m_pItem);
d14a1e28 23248
15afbcd0 23249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
23250 return resultobj;
23251 fail:
23252 return NULL;
23253}
23254
23255
23256static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23257 PyObject *obj;
23258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23259 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23260 Py_INCREF(obj);
23261 return Py_BuildValue((char *)"");
23262}
23263static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23264 PyObject *resultobj;
23265 PyObject *arg1 = (PyObject *) NULL ;
23266 wxPyTreeItemData *result;
23267 PyObject * obj0 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "obj", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23273 if (obj0) {
23274 arg1 = obj0;
23275 }
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23279
23280 wxPyEndAllowThreads(__tstate);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
15afbcd0 23283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
23284 return resultobj;
23285 fail:
23286 return NULL;
23287}
23288
23289
23290static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj;
23292 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23293 PyObject *result;
23294 PyObject * obj0 = 0 ;
23295 char *kwnames[] = {
23296 (char *) "self", NULL
23297 };
23298
23299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
23300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 result = (PyObject *)(arg1)->GetData();
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 resultobj = result;
23310 return resultobj;
23311 fail:
23312 return NULL;
23313}
23314
23315
23316static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23317 PyObject *resultobj;
23318 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23319 PyObject *arg2 = (PyObject *) 0 ;
23320 PyObject * obj0 = 0 ;
23321 PyObject * obj1 = 0 ;
23322 char *kwnames[] = {
23323 (char *) "self",(char *) "obj", NULL
23324 };
23325
23326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23329 arg2 = obj1;
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 (arg1)->SetData(arg2);
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 Py_INCREF(Py_None); resultobj = Py_None;
23338 return resultobj;
23339 fail:
23340 return NULL;
23341}
23342
23343
23344static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23345 PyObject *resultobj;
23346 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23347 wxTreeItemId *result;
23348 PyObject * obj0 = 0 ;
23349 char *kwnames[] = {
23350 (char *) "self", NULL
23351 };
23352
23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
23354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23356 {
23357 PyThreadState* __tstate = wxPyBeginAllowThreads();
23358 {
23359 wxTreeItemId const &_result_ref = (arg1)->GetId();
23360 result = (wxTreeItemId *) &_result_ref;
23361 }
23362
23363 wxPyEndAllowThreads(__tstate);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 }
15afbcd0 23366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
23367 return resultobj;
23368 fail:
23369 return NULL;
23370}
23371
23372
23373static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23374 PyObject *resultobj;
23375 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23376 wxTreeItemId *arg2 = 0 ;
23377 PyObject * obj0 = 0 ;
23378 PyObject * obj1 = 0 ;
23379 char *kwnames[] = {
23380 (char *) "self",(char *) "id", NULL
23381 };
23382
23383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23387 SWIG_POINTER_EXCEPTION | 0)) == -1)
23388 SWIG_fail;
d14a1e28 23389 if (arg2 == NULL) {
15afbcd0
RD
23390 PyErr_SetString(PyExc_TypeError,"null reference");
23391 SWIG_fail;
d14a1e28
RD
23392 }
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 (arg1)->SetId((wxTreeItemId const &)*arg2);
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 Py_INCREF(Py_None); resultobj = Py_None;
23401 return resultobj;
23402 fail:
23403 return NULL;
23404}
23405
23406
23407static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23408 PyObject *resultobj;
23409 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23410 PyObject * obj0 = 0 ;
23411 char *kwnames[] = {
23412 (char *) "self", NULL
23413 };
23414
23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
23416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23418 {
23419 PyThreadState* __tstate = wxPyBeginAllowThreads();
23420 wxPyTreeItemData_Destroy(arg1);
23421
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 Py_INCREF(Py_None); resultobj = Py_None;
23426 return resultobj;
23427 fail:
23428 return NULL;
23429}
23430
23431
23432static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23433 PyObject *obj;
23434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23435 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23436 Py_INCREF(obj);
23437 return Py_BuildValue((char *)"");
23438}
23439static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23440 PyObject *resultobj;
23441 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23442 int arg2 = (int) 0 ;
23443 wxTreeEvent *result;
994141e6
RD
23444 PyObject * obj0 = 0 ;
23445 PyObject * obj1 = 0 ;
d14a1e28
RD
23446 char *kwnames[] = {
23447 (char *) "commandType",(char *) "id", NULL
23448 };
23449
994141e6
RD
23450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23451 if (obj0) {
15afbcd0
RD
23452 arg1 = (wxEventType) SWIG_AsInt(obj0);
23453 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23454 }
23455 if (obj1) {
15afbcd0
RD
23456 arg2 = (int) SWIG_AsInt(obj1);
23457 if (PyErr_Occurred()) SWIG_fail;
994141e6 23458 }
d14a1e28
RD
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
15afbcd0 23466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
23467 return resultobj;
23468 fail:
23469 return NULL;
23470}
23471
23472
23473static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23474 PyObject *resultobj;
23475 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23476 wxTreeItemId result;
23477 PyObject * obj0 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
23483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23485 {
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 result = ((wxTreeEvent const *)arg1)->GetItem();
23488
23489 wxPyEndAllowThreads(__tstate);
23490 if (PyErr_Occurred()) SWIG_fail;
23491 }
23492 {
23493 wxTreeItemId * resultptr;
23494 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 23495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
23496 }
23497 return resultobj;
23498 fail:
23499 return NULL;
23500}
23501
23502
23503static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23504 PyObject *resultobj;
23505 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23506 wxTreeItemId *arg2 = 0 ;
23507 PyObject * obj0 = 0 ;
23508 PyObject * obj1 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self",(char *) "item", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23517 SWIG_POINTER_EXCEPTION | 0)) == -1)
23518 SWIG_fail;
d14a1e28 23519 if (arg2 == NULL) {
15afbcd0
RD
23520 PyErr_SetString(PyExc_TypeError,"null reference");
23521 SWIG_fail;
d14a1e28
RD
23522 }
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 Py_INCREF(Py_None); resultobj = Py_None;
23531 return resultobj;
23532 fail:
23533 return NULL;
23534}
23535
23536
23537static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23538 PyObject *resultobj;
23539 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23540 wxTreeItemId result;
23541 PyObject * obj0 = 0 ;
23542 char *kwnames[] = {
23543 (char *) "self", NULL
23544 };
23545
23546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
23547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
23556 {
23557 wxTreeItemId * resultptr;
23558 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 23559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
23560 }
23561 return resultobj;
23562 fail:
23563 return NULL;
23564}
23565
23566
23567static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23570 wxTreeItemId *arg2 = 0 ;
23571 PyObject * obj0 = 0 ;
23572 PyObject * obj1 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self",(char *) "item", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1)
23582 SWIG_fail;
d14a1e28 23583 if (arg2 == NULL) {
15afbcd0
RD
23584 PyErr_SetString(PyExc_TypeError,"null reference");
23585 SWIG_fail;
d14a1e28
RD
23586 }
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 Py_INCREF(Py_None); resultobj = Py_None;
23595 return resultobj;
23596 fail:
23597 return NULL;
23598}
23599
23600
23601static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj;
23603 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23604 wxPoint result;
23605 PyObject * obj0 = 0 ;
23606 char *kwnames[] = {
23607 (char *) "self", NULL
23608 };
23609
23610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
23611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 result = ((wxTreeEvent const *)arg1)->GetPoint();
23616
23617 wxPyEndAllowThreads(__tstate);
23618 if (PyErr_Occurred()) SWIG_fail;
23619 }
23620 {
23621 wxPoint * resultptr;
23622 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 23623 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23624 }
23625 return resultobj;
23626 fail:
23627 return NULL;
23628}
23629
23630
23631static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23632 PyObject *resultobj;
23633 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23634 wxPoint *arg2 = 0 ;
23635 wxPoint temp2 ;
23636 PyObject * obj0 = 0 ;
23637 PyObject * obj1 = 0 ;
23638 char *kwnames[] = {
23639 (char *) "self",(char *) "pt", NULL
23640 };
23641
23642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23645 {
23646 arg2 = &temp2;
23647 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23648 }
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 (arg1)->SetPoint((wxPoint const &)*arg2);
23652
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
23656 Py_INCREF(Py_None); resultobj = Py_None;
23657 return resultobj;
23658 fail:
23659 return NULL;
23660}
23661
23662
23663static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23664 PyObject *resultobj;
23665 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23666 wxKeyEvent *result;
23667 PyObject * obj0 = 0 ;
23668 char *kwnames[] = {
23669 (char *) "self", NULL
23670 };
23671
23672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
23673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23675 {
23676 PyThreadState* __tstate = wxPyBeginAllowThreads();
23677 {
23678 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23679 result = (wxKeyEvent *) &_result_ref;
23680 }
23681
23682 wxPyEndAllowThreads(__tstate);
23683 if (PyErr_Occurred()) SWIG_fail;
23684 }
15afbcd0 23685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
23686 return resultobj;
23687 fail:
23688 return NULL;
23689}
23690
23691
23692static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23693 PyObject *resultobj;
23694 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23695 int result;
23696 PyObject * obj0 = 0 ;
23697 char *kwnames[] = {
23698 (char *) "self", NULL
23699 };
23700
23701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
23702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23704 {
23705 PyThreadState* __tstate = wxPyBeginAllowThreads();
23706 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23707
23708 wxPyEndAllowThreads(__tstate);
23709 if (PyErr_Occurred()) SWIG_fail;
23710 }
15afbcd0 23711 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23712 return resultobj;
23713 fail:
23714 return NULL;
23715}
23716
23717
23718static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23719 PyObject *resultobj;
23720 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23721 wxKeyEvent *arg2 = 0 ;
23722 PyObject * obj0 = 0 ;
23723 PyObject * obj1 = 0 ;
23724 char *kwnames[] = {
23725 (char *) "self",(char *) "evt", NULL
23726 };
23727
23728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23732 SWIG_POINTER_EXCEPTION | 0)) == -1)
23733 SWIG_fail;
d14a1e28 23734 if (arg2 == NULL) {
15afbcd0
RD
23735 PyErr_SetString(PyExc_TypeError,"null reference");
23736 SWIG_fail;
d14a1e28
RD
23737 }
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23741
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 Py_INCREF(Py_None); resultobj = Py_None;
23746 return resultobj;
23747 fail:
23748 return NULL;
23749}
23750
23751
23752static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23753 PyObject *resultobj;
23754 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23755 wxString *result;
23756 PyObject * obj0 = 0 ;
23757 char *kwnames[] = {
23758 (char *) "self", NULL
23759 };
23760
23761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
23762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 {
23767 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23768 result = (wxString *) &_result_ref;
23769 }
23770
23771 wxPyEndAllowThreads(__tstate);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
cc6dd355
RD
23774 {
23775#if wxUSE_UNICODE
23776 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23777#else
23778 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23779#endif
23780 }
d14a1e28
RD
23781 return resultobj;
23782 fail:
23783 return NULL;
23784}
23785
23786
23787static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj;
23789 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23790 wxString *arg2 = 0 ;
e811c8ce 23791 bool temp2 = False ;
d14a1e28
RD
23792 PyObject * obj0 = 0 ;
23793 PyObject * obj1 = 0 ;
23794 char *kwnames[] = {
23795 (char *) "self",(char *) "label", NULL
23796 };
23797
23798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23801 {
23802 arg2 = wxString_in_helper(obj1);
23803 if (arg2 == NULL) SWIG_fail;
e811c8ce 23804 temp2 = True;
d14a1e28
RD
23805 }
23806 {
23807 PyThreadState* __tstate = wxPyBeginAllowThreads();
23808 (arg1)->SetLabel((wxString const &)*arg2);
23809
23810 wxPyEndAllowThreads(__tstate);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 }
23813 Py_INCREF(Py_None); resultobj = Py_None;
23814 {
23815 if (temp2)
23816 delete arg2;
23817 }
23818 return resultobj;
23819 fail:
23820 {
23821 if (temp2)
23822 delete arg2;
23823 }
23824 return NULL;
23825}
23826
23827
23828static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23831 bool result;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
23838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
4f89f6a3
RD
23847 {
23848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23849 }
d14a1e28
RD
23850 return resultobj;
23851 fail:
23852 return NULL;
23853}
23854
23855
23856static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23857 PyObject *resultobj;
23858 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23859 bool arg2 ;
23860 PyObject * obj0 = 0 ;
23861 PyObject * obj1 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self",(char *) "editCancelled", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23869 arg2 = (bool) SWIG_AsBool(obj1);
23870 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 (arg1)->SetEditCanceled(arg2);
23874
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 Py_INCREF(Py_None); resultobj = Py_None;
23879 return resultobj;
23880 fail:
23881 return NULL;
23882}
23883
23884
c9c7117a
RD
23885static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj;
23887 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23888 wxString *arg2 = 0 ;
23889 bool temp2 = False ;
23890 PyObject * obj0 = 0 ;
23891 PyObject * obj1 = 0 ;
23892 char *kwnames[] = {
23893 (char *) "self",(char *) "toolTip", NULL
23894 };
23895
23896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
23899 {
23900 arg2 = wxString_in_helper(obj1);
23901 if (arg2 == NULL) SWIG_fail;
23902 temp2 = True;
23903 }
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 (arg1)->SetToolTip((wxString const &)*arg2);
23907
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
23911 Py_INCREF(Py_None); resultobj = Py_None;
23912 {
23913 if (temp2)
23914 delete arg2;
23915 }
23916 return resultobj;
23917 fail:
23918 {
23919 if (temp2)
23920 delete arg2;
23921 }
23922 return NULL;
23923}
23924
23925
d14a1e28
RD
23926static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23927 PyObject *obj;
23928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23929 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23930 Py_INCREF(obj);
23931 return Py_BuildValue((char *)"");
23932}
23933static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23934 PyObject *resultobj;
23935 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23936 int arg2 = (int) -1 ;
d14a1e28
RD
23937 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23938 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23939 wxSize const &arg4_defvalue = wxDefaultSize ;
23940 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23941 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23942 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23943 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 23944 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
23945 wxString *arg7 = (wxString *) &arg7_defvalue ;
23946 wxPyTreeCtrl *result;
23947 wxPoint temp3 ;
23948 wxSize temp4 ;
e811c8ce 23949 bool temp7 = False ;
d14a1e28 23950 PyObject * obj0 = 0 ;
994141e6 23951 PyObject * obj1 = 0 ;
d14a1e28
RD
23952 PyObject * obj2 = 0 ;
23953 PyObject * obj3 = 0 ;
994141e6 23954 PyObject * obj4 = 0 ;
d14a1e28
RD
23955 PyObject * obj5 = 0 ;
23956 PyObject * obj6 = 0 ;
23957 char *kwnames[] = {
23958 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23959 };
23960
994141e6 23961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23964 if (obj1) {
15afbcd0
RD
23965 arg2 = (int) SWIG_AsInt(obj1);
23966 if (PyErr_Occurred()) SWIG_fail;
994141e6 23967 }
d14a1e28
RD
23968 if (obj2) {
23969 {
23970 arg3 = &temp3;
23971 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23972 }
23973 }
23974 if (obj3) {
23975 {
994141e6
RD
23976 arg4 = &temp4;
23977 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23978 }
23979 }
23980 if (obj4) {
15afbcd0
RD
23981 arg5 = (long) SWIG_AsLong(obj4);
23982 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23983 }
23984 if (obj5) {
15afbcd0
RD
23985 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23986 SWIG_POINTER_EXCEPTION | 0)) == -1)
23987 SWIG_fail;
d14a1e28 23988 if (arg6 == NULL) {
15afbcd0
RD
23989 PyErr_SetString(PyExc_TypeError,"null reference");
23990 SWIG_fail;
d14a1e28
RD
23991 }
23992 }
23993 if (obj6) {
23994 {
23995 arg7 = wxString_in_helper(obj6);
23996 if (arg7 == NULL) SWIG_fail;
e811c8ce 23997 temp7 = True;
d14a1e28
RD
23998 }
23999 }
24000 {
24001 PyThreadState* __tstate = wxPyBeginAllowThreads();
24002 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
b2dc1044
RD
24007 {
24008 resultobj = wxPyMake_wxObject(result);
24009 }
d14a1e28
RD
24010 {
24011 if (temp7)
24012 delete arg7;
24013 }
24014 return resultobj;
24015 fail:
24016 {
24017 if (temp7)
24018 delete arg7;
24019 }
24020 return NULL;
24021}
24022
24023
24024static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj;
24026 wxPyTreeCtrl *result;
24027 char *kwnames[] = {
24028 NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
b2dc1044
RD
24039 {
24040 resultobj = wxPyMake_wxObject(result);
24041 }
d14a1e28
RD
24042 return resultobj;
24043 fail:
24044 return NULL;
24045}
24046
24047
24048static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24049 PyObject *resultobj;
24050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24051 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 24052 int arg3 = (int) -1 ;
d14a1e28
RD
24053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24055 wxSize const &arg5_defvalue = wxDefaultSize ;
24056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24057 long arg6 = (long) wxTR_DEFAULT_STYLE ;
24058 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24059 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 24060 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
24061 wxString *arg8 = (wxString *) &arg8_defvalue ;
24062 bool result;
24063 wxPoint temp4 ;
24064 wxSize temp5 ;
e811c8ce 24065 bool temp8 = False ;
d14a1e28
RD
24066 PyObject * obj0 = 0 ;
24067 PyObject * obj1 = 0 ;
994141e6 24068 PyObject * obj2 = 0 ;
d14a1e28
RD
24069 PyObject * obj3 = 0 ;
24070 PyObject * obj4 = 0 ;
994141e6 24071 PyObject * obj5 = 0 ;
d14a1e28
RD
24072 PyObject * obj6 = 0 ;
24073 PyObject * obj7 = 0 ;
24074 char *kwnames[] = {
24075 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24076 };
24077
994141e6 24078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
24079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24083 if (obj2) {
15afbcd0
RD
24084 arg3 = (int) SWIG_AsInt(obj2);
24085 if (PyErr_Occurred()) SWIG_fail;
994141e6 24086 }
d14a1e28
RD
24087 if (obj3) {
24088 {
24089 arg4 = &temp4;
24090 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24091 }
24092 }
24093 if (obj4) {
24094 {
24095 arg5 = &temp5;
24096 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24097 }
24098 }
994141e6 24099 if (obj5) {
15afbcd0
RD
24100 arg6 = (long) SWIG_AsLong(obj5);
24101 if (PyErr_Occurred()) SWIG_fail;
994141e6 24102 }
d14a1e28 24103 if (obj6) {
15afbcd0
RD
24104 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24105 SWIG_POINTER_EXCEPTION | 0)) == -1)
24106 SWIG_fail;
d14a1e28 24107 if (arg7 == NULL) {
15afbcd0
RD
24108 PyErr_SetString(PyExc_TypeError,"null reference");
24109 SWIG_fail;
d14a1e28
RD
24110 }
24111 }
24112 if (obj7) {
24113 {
24114 arg8 = wxString_in_helper(obj7);
24115 if (arg8 == NULL) SWIG_fail;
e811c8ce 24116 temp8 = True;
d14a1e28
RD
24117 }
24118 }
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24122
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
4f89f6a3
RD
24126 {
24127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24128 }
d14a1e28
RD
24129 {
24130 if (temp8)
24131 delete arg8;
24132 }
24133 return resultobj;
24134 fail:
24135 {
24136 if (temp8)
24137 delete arg8;
24138 }
24139 return NULL;
24140}
24141
24142
24143static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24144 PyObject *resultobj;
24145 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24146 PyObject *arg2 = (PyObject *) 0 ;
24147 PyObject *arg3 = (PyObject *) 0 ;
24148 PyObject * obj0 = 0 ;
24149 PyObject * obj1 = 0 ;
24150 PyObject * obj2 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self",(char *) "self",(char *) "_class", NULL
24153 };
24154
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24158 arg2 = obj1;
24159 arg3 = obj2;
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
24162 (arg1)->_setCallbackInfo(arg2,arg3);
24163
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 Py_INCREF(Py_None); resultobj = Py_None;
24168 return resultobj;
24169 fail:
24170 return NULL;
24171}
24172
24173
24174static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24175 PyObject *resultobj;
24176 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24177 size_t result;
24178 PyObject * obj0 = 0 ;
24179 char *kwnames[] = {
24180 (char *) "self", NULL
24181 };
24182
24183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
24184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24189
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
15afbcd0 24193 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24194 return resultobj;
24195 fail:
24196 return NULL;
24197}
24198
24199
24200static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24201 PyObject *resultobj;
24202 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24203 unsigned int result;
24204 PyObject * obj0 = 0 ;
24205 char *kwnames[] = {
24206 (char *) "self", NULL
24207 };
24208
24209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
15afbcd0 24219 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
24220 return resultobj;
24221 fail:
24222 return NULL;
24223}
24224
24225
24226static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24227 PyObject *resultobj;
24228 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24229 unsigned int arg2 ;
24230 PyObject * obj0 = 0 ;
24231 PyObject * obj1 = 0 ;
24232 char *kwnames[] = {
24233 (char *) "self",(char *) "indent", NULL
24234 };
24235
24236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24239 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24241 {
24242 PyThreadState* __tstate = wxPyBeginAllowThreads();
24243 (arg1)->SetIndent(arg2);
24244
24245 wxPyEndAllowThreads(__tstate);
24246 if (PyErr_Occurred()) SWIG_fail;
24247 }
24248 Py_INCREF(Py_None); resultobj = Py_None;
24249 return resultobj;
24250 fail:
24251 return NULL;
24252}
24253
24254
24255static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24256 PyObject *resultobj;
24257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24258 unsigned int result;
24259 PyObject * obj0 = 0 ;
24260 char *kwnames[] = {
24261 (char *) "self", NULL
24262 };
24263
24264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
24265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
15afbcd0 24274 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
24275 return resultobj;
24276 fail:
24277 return NULL;
24278}
24279
24280
24281static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24284 unsigned int arg2 ;
24285 PyObject * obj0 = 0 ;
24286 PyObject * obj1 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "spacing", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24294 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 (arg1)->SetSpacing(arg2);
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 Py_INCREF(Py_None); resultobj = Py_None;
24304 return resultobj;
24305 fail:
24306 return NULL;
24307}
24308
24309
24310static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj;
24312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24313 wxImageList *result;
24314 PyObject * obj0 = 0 ;
24315 char *kwnames[] = {
24316 (char *) "self", NULL
24317 };
24318
24319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
24320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24322 {
24323 PyThreadState* __tstate = wxPyBeginAllowThreads();
24324 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24325
24326 wxPyEndAllowThreads(__tstate);
24327 if (PyErr_Occurred()) SWIG_fail;
24328 }
24329 {
24330 resultobj = wxPyMake_wxObject(result);
24331 }
24332 return resultobj;
24333 fail:
24334 return NULL;
24335}
24336
24337
24338static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24339 PyObject *resultobj;
24340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24341 wxImageList *result;
24342 PyObject * obj0 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
24348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24353
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 {
24358 resultobj = wxPyMake_wxObject(result);
24359 }
24360 return resultobj;
24361 fail:
24362 return NULL;
24363}
24364
24365
24366static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj;
24368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24369 wxImageList *arg2 = (wxImageList *) 0 ;
24370 PyObject * obj0 = 0 ;
24371 PyObject * obj1 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self",(char *) "imageList", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 (arg1)->SetImageList(arg2);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 Py_INCREF(Py_None); resultobj = Py_None;
24389 return resultobj;
24390 fail:
24391 return NULL;
24392}
24393
24394
24395static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24396 PyObject *resultobj;
24397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24398 wxImageList *arg2 = (wxImageList *) 0 ;
24399 PyObject * obj0 = 0 ;
24400 PyObject * obj1 = 0 ;
24401 char *kwnames[] = {
24402 (char *) "self",(char *) "imageList", NULL
24403 };
24404
24405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24410 {
24411 PyThreadState* __tstate = wxPyBeginAllowThreads();
24412 (arg1)->SetStateImageList(arg2);
24413
24414 wxPyEndAllowThreads(__tstate);
24415 if (PyErr_Occurred()) SWIG_fail;
24416 }
24417 Py_INCREF(Py_None); resultobj = Py_None;
24418 return resultobj;
24419 fail:
24420 return NULL;
24421}
24422
24423
24424static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj;
24426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24427 wxImageList *arg2 = (wxImageList *) 0 ;
24428 PyObject * obj0 = 0 ;
24429 PyObject * obj1 = 0 ;
24430 char *kwnames[] = {
24431 (char *) "self",(char *) "imageList", NULL
24432 };
24433
24434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24438 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 (arg1)->AssignImageList(arg2);
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 Py_INCREF(Py_None); resultobj = Py_None;
24447 return resultobj;
24448 fail:
24449 return NULL;
24450}
24451
24452
24453static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24454 PyObject *resultobj;
24455 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24456 wxImageList *arg2 = (wxImageList *) 0 ;
24457 PyObject * obj0 = 0 ;
24458 PyObject * obj1 = 0 ;
24459 char *kwnames[] = {
24460 (char *) "self",(char *) "imageList", NULL
24461 };
24462
24463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24467 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
24468 {
24469 PyThreadState* __tstate = wxPyBeginAllowThreads();
24470 (arg1)->AssignStateImageList(arg2);
24471
24472 wxPyEndAllowThreads(__tstate);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 Py_INCREF(Py_None); resultobj = Py_None;
24476 return resultobj;
24477 fail:
24478 return NULL;
24479}
24480
24481
24482static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24483 PyObject *resultobj;
24484 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24485 wxTreeItemId *arg2 = 0 ;
24486 wxString result;
24487 PyObject * obj0 = 0 ;
24488 PyObject * obj1 = 0 ;
24489 char *kwnames[] = {
24490 (char *) "self",(char *) "item", NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24497 SWIG_POINTER_EXCEPTION | 0)) == -1)
24498 SWIG_fail;
d14a1e28 24499 if (arg2 == NULL) {
15afbcd0
RD
24500 PyErr_SetString(PyExc_TypeError,"null reference");
24501 SWIG_fail;
d14a1e28
RD
24502 }
24503 {
24504 PyThreadState* __tstate = wxPyBeginAllowThreads();
24505 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24506
24507 wxPyEndAllowThreads(__tstate);
24508 if (PyErr_Occurred()) SWIG_fail;
24509 }
24510 {
24511#if wxUSE_UNICODE
24512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24513#else
24514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24515#endif
24516 }
24517 return resultobj;
24518 fail:
24519 return NULL;
24520}
24521
24522
24523static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj;
24525 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24526 wxTreeItemId *arg2 = 0 ;
24527 int arg3 = (int) wxTreeItemIcon_Normal ;
24528 int result;
24529 PyObject * obj0 = 0 ;
24530 PyObject * obj1 = 0 ;
994141e6 24531 PyObject * obj2 = 0 ;
d14a1e28
RD
24532 char *kwnames[] = {
24533 (char *) "self",(char *) "item",(char *) "which", NULL
24534 };
24535
994141e6 24536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24540 SWIG_POINTER_EXCEPTION | 0)) == -1)
24541 SWIG_fail;
d14a1e28 24542 if (arg2 == NULL) {
15afbcd0
RD
24543 PyErr_SetString(PyExc_TypeError,"null reference");
24544 SWIG_fail;
d14a1e28 24545 }
994141e6 24546 if (obj2) {
15afbcd0
RD
24547 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24548 if (PyErr_Occurred()) SWIG_fail;
994141e6 24549 }
d14a1e28
RD
24550 {
24551 PyThreadState* __tstate = wxPyBeginAllowThreads();
24552 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24553
24554 wxPyEndAllowThreads(__tstate);
24555 if (PyErr_Occurred()) SWIG_fail;
24556 }
15afbcd0 24557 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
24558 return resultobj;
24559 fail:
24560 return NULL;
24561}
24562
24563
24564static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24565 PyObject *resultobj;
24566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24567 wxTreeItemId *arg2 = 0 ;
24568 wxPyTreeItemData *result;
24569 PyObject * obj0 = 0 ;
24570 PyObject * obj1 = 0 ;
24571 char *kwnames[] = {
24572 (char *) "self",(char *) "item", NULL
24573 };
24574
24575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24579 SWIG_POINTER_EXCEPTION | 0)) == -1)
24580 SWIG_fail;
d14a1e28 24581 if (arg2 == NULL) {
15afbcd0
RD
24582 PyErr_SetString(PyExc_TypeError,"null reference");
24583 SWIG_fail;
d14a1e28
RD
24584 }
24585 {
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24588
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
15afbcd0 24592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
24593 return resultobj;
24594 fail:
24595 return NULL;
24596}
24597
24598
24599static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24602 wxTreeItemId *arg2 = 0 ;
24603 PyObject *result;
24604 PyObject * obj0 = 0 ;
24605 PyObject * obj1 = 0 ;
24606 char *kwnames[] = {
24607 (char *) "self",(char *) "item", NULL
24608 };
24609
24610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24614 SWIG_POINTER_EXCEPTION | 0)) == -1)
24615 SWIG_fail;
d14a1e28 24616 if (arg2 == NULL) {
15afbcd0
RD
24617 PyErr_SetString(PyExc_TypeError,"null reference");
24618 SWIG_fail;
d14a1e28
RD
24619 }
24620 {
24621 PyThreadState* __tstate = wxPyBeginAllowThreads();
24622 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24623
24624 wxPyEndAllowThreads(__tstate);
24625 if (PyErr_Occurred()) SWIG_fail;
24626 }
24627 resultobj = result;
24628 return resultobj;
24629 fail:
24630 return NULL;
24631}
24632
24633
24634static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24635 PyObject *resultobj;
24636 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24637 wxTreeItemId *arg2 = 0 ;
24638 wxColour result;
24639 PyObject * obj0 = 0 ;
24640 PyObject * obj1 = 0 ;
24641 char *kwnames[] = {
24642 (char *) "self",(char *) "item", NULL
24643 };
24644
24645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24649 SWIG_POINTER_EXCEPTION | 0)) == -1)
24650 SWIG_fail;
d14a1e28 24651 if (arg2 == NULL) {
15afbcd0
RD
24652 PyErr_SetString(PyExc_TypeError,"null reference");
24653 SWIG_fail;
d14a1e28
RD
24654 }
24655 {
24656 PyThreadState* __tstate = wxPyBeginAllowThreads();
24657 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24658
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 {
24663 wxColour * resultptr;
24664 resultptr = new wxColour((wxColour &) result);
15afbcd0 24665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24666 }
24667 return resultobj;
24668 fail:
24669 return NULL;
24670}
24671
24672
24673static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24674 PyObject *resultobj;
24675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24676 wxTreeItemId *arg2 = 0 ;
24677 wxColour result;
24678 PyObject * obj0 = 0 ;
24679 PyObject * obj1 = 0 ;
24680 char *kwnames[] = {
24681 (char *) "self",(char *) "item", NULL
24682 };
24683
24684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24688 SWIG_POINTER_EXCEPTION | 0)) == -1)
24689 SWIG_fail;
d14a1e28 24690 if (arg2 == NULL) {
15afbcd0
RD
24691 PyErr_SetString(PyExc_TypeError,"null reference");
24692 SWIG_fail;
d14a1e28
RD
24693 }
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 {
24702 wxColour * resultptr;
24703 resultptr = new wxColour((wxColour &) result);
15afbcd0 24704 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24705 }
24706 return resultobj;
24707 fail:
24708 return NULL;
24709}
24710
24711
24712static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24713 PyObject *resultobj;
24714 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24715 wxTreeItemId *arg2 = 0 ;
24716 wxFont result;
24717 PyObject * obj0 = 0 ;
24718 PyObject * obj1 = 0 ;
24719 char *kwnames[] = {
24720 (char *) "self",(char *) "item", NULL
24721 };
24722
24723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24727 SWIG_POINTER_EXCEPTION | 0)) == -1)
24728 SWIG_fail;
d14a1e28 24729 if (arg2 == NULL) {
15afbcd0
RD
24730 PyErr_SetString(PyExc_TypeError,"null reference");
24731 SWIG_fail;
d14a1e28
RD
24732 }
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24736
24737 wxPyEndAllowThreads(__tstate);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
24740 {
24741 wxFont * resultptr;
24742 resultptr = new wxFont((wxFont &) result);
15afbcd0 24743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
24744 }
24745 return resultobj;
24746 fail:
24747 return NULL;
24748}
24749
24750
24751static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24752 PyObject *resultobj;
24753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24754 wxTreeItemId *arg2 = 0 ;
24755 wxString *arg3 = 0 ;
e811c8ce 24756 bool temp3 = False ;
d14a1e28
RD
24757 PyObject * obj0 = 0 ;
24758 PyObject * obj1 = 0 ;
24759 PyObject * obj2 = 0 ;
24760 char *kwnames[] = {
24761 (char *) "self",(char *) "item",(char *) "text", NULL
24762 };
24763
24764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24768 SWIG_POINTER_EXCEPTION | 0)) == -1)
24769 SWIG_fail;
d14a1e28 24770 if (arg2 == NULL) {
15afbcd0
RD
24771 PyErr_SetString(PyExc_TypeError,"null reference");
24772 SWIG_fail;
d14a1e28
RD
24773 }
24774 {
24775 arg3 = wxString_in_helper(obj2);
24776 if (arg3 == NULL) SWIG_fail;
e811c8ce 24777 temp3 = True;
d14a1e28
RD
24778 }
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 Py_INCREF(Py_None); resultobj = Py_None;
24787 {
24788 if (temp3)
24789 delete arg3;
24790 }
24791 return resultobj;
24792 fail:
24793 {
24794 if (temp3)
24795 delete arg3;
24796 }
24797 return NULL;
24798}
24799
24800
24801static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24802 PyObject *resultobj;
24803 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24804 wxTreeItemId *arg2 = 0 ;
24805 int arg3 ;
24806 int arg4 = (int) wxTreeItemIcon_Normal ;
24807 PyObject * obj0 = 0 ;
24808 PyObject * obj1 = 0 ;
994141e6
RD
24809 PyObject * obj2 = 0 ;
24810 PyObject * obj3 = 0 ;
d14a1e28
RD
24811 char *kwnames[] = {
24812 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24813 };
24814
994141e6 24815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
24816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24819 SWIG_POINTER_EXCEPTION | 0)) == -1)
24820 SWIG_fail;
d14a1e28 24821 if (arg2 == NULL) {
15afbcd0
RD
24822 PyErr_SetString(PyExc_TypeError,"null reference");
24823 SWIG_fail;
994141e6 24824 }
15afbcd0
RD
24825 arg3 = (int) SWIG_AsInt(obj2);
24826 if (PyErr_Occurred()) SWIG_fail;
994141e6 24827 if (obj3) {
15afbcd0
RD
24828 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24829 if (PyErr_Occurred()) SWIG_fail;
994141e6 24830 }
d14a1e28
RD
24831 {
24832 PyThreadState* __tstate = wxPyBeginAllowThreads();
24833 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24834
24835 wxPyEndAllowThreads(__tstate);
24836 if (PyErr_Occurred()) SWIG_fail;
24837 }
24838 Py_INCREF(Py_None); resultobj = Py_None;
24839 return resultobj;
24840 fail:
24841 return NULL;
24842}
24843
24844
24845static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24846 PyObject *resultobj;
24847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24848 wxTreeItemId *arg2 = 0 ;
24849 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24850 PyObject * obj0 = 0 ;
24851 PyObject * obj1 = 0 ;
24852 PyObject * obj2 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self",(char *) "item",(char *) "data", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24860 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24861 SWIG_POINTER_EXCEPTION | 0)) == -1)
24862 SWIG_fail;
d14a1e28 24863 if (arg2 == NULL) {
15afbcd0
RD
24864 PyErr_SetString(PyExc_TypeError,"null reference");
24865 SWIG_fail;
d14a1e28 24866 }
15afbcd0
RD
24867 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24872
24873 wxPyEndAllowThreads(__tstate);
24874 if (PyErr_Occurred()) SWIG_fail;
24875 }
24876 Py_INCREF(Py_None); resultobj = Py_None;
24877 return resultobj;
24878 fail:
24879 return NULL;
24880}
24881
24882
24883static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24884 PyObject *resultobj;
24885 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24886 wxTreeItemId *arg2 = 0 ;
24887 PyObject *arg3 = (PyObject *) 0 ;
24888 PyObject * obj0 = 0 ;
24889 PyObject * obj1 = 0 ;
24890 PyObject * obj2 = 0 ;
24891 char *kwnames[] = {
24892 (char *) "self",(char *) "item",(char *) "obj", NULL
24893 };
24894
24895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24899 SWIG_POINTER_EXCEPTION | 0)) == -1)
24900 SWIG_fail;
d14a1e28 24901 if (arg2 == NULL) {
15afbcd0
RD
24902 PyErr_SetString(PyExc_TypeError,"null reference");
24903 SWIG_fail;
d14a1e28
RD
24904 }
24905 arg3 = obj2;
24906 {
24907 PyThreadState* __tstate = wxPyBeginAllowThreads();
24908 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24909
24910 wxPyEndAllowThreads(__tstate);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 }
24913 Py_INCREF(Py_None); resultobj = Py_None;
24914 return resultobj;
24915 fail:
24916 return NULL;
24917}
24918
24919
24920static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24921 PyObject *resultobj;
24922 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24923 wxTreeItemId *arg2 = 0 ;
e811c8ce 24924 bool arg3 = (bool) True ;
d14a1e28
RD
24925 PyObject * obj0 = 0 ;
24926 PyObject * obj1 = 0 ;
24927 PyObject * obj2 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self",(char *) "item",(char *) "has", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24936 SWIG_POINTER_EXCEPTION | 0)) == -1)
24937 SWIG_fail;
d14a1e28 24938 if (arg2 == NULL) {
15afbcd0
RD
24939 PyErr_SetString(PyExc_TypeError,"null reference");
24940 SWIG_fail;
d14a1e28
RD
24941 }
24942 if (obj2) {
15afbcd0
RD
24943 arg3 = (bool) SWIG_AsBool(obj2);
24944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24945 }
24946 {
24947 PyThreadState* __tstate = wxPyBeginAllowThreads();
24948 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24949
24950 wxPyEndAllowThreads(__tstate);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 }
24953 Py_INCREF(Py_None); resultobj = Py_None;
24954 return resultobj;
24955 fail:
24956 return NULL;
24957}
24958
24959
24960static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24961 PyObject *resultobj;
24962 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24963 wxTreeItemId *arg2 = 0 ;
e811c8ce 24964 bool arg3 = (bool) True ;
d14a1e28
RD
24965 PyObject * obj0 = 0 ;
24966 PyObject * obj1 = 0 ;
24967 PyObject * obj2 = 0 ;
24968 char *kwnames[] = {
24969 (char *) "self",(char *) "item",(char *) "bold", NULL
24970 };
24971
24972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24976 SWIG_POINTER_EXCEPTION | 0)) == -1)
24977 SWIG_fail;
d14a1e28 24978 if (arg2 == NULL) {
15afbcd0
RD
24979 PyErr_SetString(PyExc_TypeError,"null reference");
24980 SWIG_fail;
d14a1e28
RD
24981 }
24982 if (obj2) {
15afbcd0
RD
24983 arg3 = (bool) SWIG_AsBool(obj2);
24984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24985 }
24986 {
24987 PyThreadState* __tstate = wxPyBeginAllowThreads();
24988 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24989
24990 wxPyEndAllowThreads(__tstate);
24991 if (PyErr_Occurred()) SWIG_fail;
24992 }
24993 Py_INCREF(Py_None); resultobj = Py_None;
24994 return resultobj;
24995 fail:
24996 return NULL;
24997}
24998
24999
25000static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25001 PyObject *resultobj;
25002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25003 wxTreeItemId *arg2 = 0 ;
25004 wxColour *arg3 = 0 ;
25005 wxColour temp3 ;
25006 PyObject * obj0 = 0 ;
25007 PyObject * obj1 = 0 ;
25008 PyObject * obj2 = 0 ;
25009 char *kwnames[] = {
25010 (char *) "self",(char *) "item",(char *) "col", NULL
25011 };
25012
25013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25017 SWIG_POINTER_EXCEPTION | 0)) == -1)
25018 SWIG_fail;
d14a1e28 25019 if (arg2 == NULL) {
15afbcd0
RD
25020 PyErr_SetString(PyExc_TypeError,"null reference");
25021 SWIG_fail;
d14a1e28
RD
25022 }
25023 {
25024 arg3 = &temp3;
25025 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25026 }
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 Py_INCREF(Py_None); resultobj = Py_None;
25035 return resultobj;
25036 fail:
25037 return NULL;
25038}
25039
25040
25041static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25042 PyObject *resultobj;
25043 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25044 wxTreeItemId *arg2 = 0 ;
25045 wxColour *arg3 = 0 ;
25046 wxColour temp3 ;
25047 PyObject * obj0 = 0 ;
25048 PyObject * obj1 = 0 ;
25049 PyObject * obj2 = 0 ;
25050 char *kwnames[] = {
25051 (char *) "self",(char *) "item",(char *) "col", NULL
25052 };
25053
25054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25058 SWIG_POINTER_EXCEPTION | 0)) == -1)
25059 SWIG_fail;
d14a1e28 25060 if (arg2 == NULL) {
15afbcd0
RD
25061 PyErr_SetString(PyExc_TypeError,"null reference");
25062 SWIG_fail;
d14a1e28
RD
25063 }
25064 {
25065 arg3 = &temp3;
25066 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25067 }
25068 {
25069 PyThreadState* __tstate = wxPyBeginAllowThreads();
25070 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25071
25072 wxPyEndAllowThreads(__tstate);
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
25075 Py_INCREF(Py_None); resultobj = Py_None;
25076 return resultobj;
25077 fail:
25078 return NULL;
25079}
25080
25081
25082static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25083 PyObject *resultobj;
25084 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25085 wxTreeItemId *arg2 = 0 ;
25086 wxFont *arg3 = 0 ;
25087 PyObject * obj0 = 0 ;
25088 PyObject * obj1 = 0 ;
25089 PyObject * obj2 = 0 ;
25090 char *kwnames[] = {
25091 (char *) "self",(char *) "item",(char *) "font", NULL
25092 };
25093
25094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25098 SWIG_POINTER_EXCEPTION | 0)) == -1)
25099 SWIG_fail;
d14a1e28 25100 if (arg2 == NULL) {
15afbcd0
RD
25101 PyErr_SetString(PyExc_TypeError,"null reference");
25102 SWIG_fail;
d14a1e28 25103 }
15afbcd0
RD
25104 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
25105 SWIG_POINTER_EXCEPTION | 0)) == -1)
25106 SWIG_fail;
d14a1e28 25107 if (arg3 == NULL) {
15afbcd0
RD
25108 PyErr_SetString(PyExc_TypeError,"null reference");
25109 SWIG_fail;
d14a1e28
RD
25110 }
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 Py_INCREF(Py_None); resultobj = Py_None;
25119 return resultobj;
25120 fail:
25121 return NULL;
25122}
25123
25124
25125static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25126 PyObject *resultobj;
25127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25128 wxTreeItemId *arg2 = 0 ;
25129 bool result;
25130 PyObject * obj0 = 0 ;
25131 PyObject * obj1 = 0 ;
25132 char *kwnames[] = {
25133 (char *) "self",(char *) "item", NULL
25134 };
25135
25136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25140 SWIG_POINTER_EXCEPTION | 0)) == -1)
25141 SWIG_fail;
d14a1e28 25142 if (arg2 == NULL) {
15afbcd0
RD
25143 PyErr_SetString(PyExc_TypeError,"null reference");
25144 SWIG_fail;
d14a1e28
RD
25145 }
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
25149
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
4f89f6a3
RD
25153 {
25154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25155 }
d14a1e28
RD
25156 return resultobj;
25157 fail:
25158 return NULL;
25159}
25160
25161
25162static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25163 PyObject *resultobj;
25164 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25165 wxTreeItemId *arg2 = 0 ;
25166 bool result;
25167 PyObject * obj0 = 0 ;
25168 PyObject * obj1 = 0 ;
25169 char *kwnames[] = {
25170 (char *) "self",(char *) "item", NULL
25171 };
25172
25173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25177 SWIG_POINTER_EXCEPTION | 0)) == -1)
25178 SWIG_fail;
d14a1e28 25179 if (arg2 == NULL) {
15afbcd0
RD
25180 PyErr_SetString(PyExc_TypeError,"null reference");
25181 SWIG_fail;
d14a1e28
RD
25182 }
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
4f89f6a3
RD
25190 {
25191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25192 }
d14a1e28
RD
25193 return resultobj;
25194 fail:
25195 return NULL;
25196}
25197
25198
25199static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
25200 PyObject *resultobj;
25201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25202 wxTreeItemId *arg2 = 0 ;
25203 bool result;
25204 PyObject * obj0 = 0 ;
25205 PyObject * obj1 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "self",(char *) "item", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25214 SWIG_POINTER_EXCEPTION | 0)) == -1)
25215 SWIG_fail;
d14a1e28 25216 if (arg2 == NULL) {
15afbcd0
RD
25217 PyErr_SetString(PyExc_TypeError,"null reference");
25218 SWIG_fail;
d14a1e28
RD
25219 }
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
4f89f6a3
RD
25227 {
25228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25229 }
d14a1e28
RD
25230 return resultobj;
25231 fail:
25232 return NULL;
25233}
25234
25235
25236static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
25237 PyObject *resultobj;
25238 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25239 wxTreeItemId *arg2 = 0 ;
25240 bool result;
25241 PyObject * obj0 = 0 ;
25242 PyObject * obj1 = 0 ;
25243 char *kwnames[] = {
25244 (char *) "self",(char *) "item", NULL
25245 };
25246
25247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25251 SWIG_POINTER_EXCEPTION | 0)) == -1)
25252 SWIG_fail;
d14a1e28 25253 if (arg2 == NULL) {
15afbcd0
RD
25254 PyErr_SetString(PyExc_TypeError,"null reference");
25255 SWIG_fail;
d14a1e28
RD
25256 }
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25260
25261 wxPyEndAllowThreads(__tstate);
25262 if (PyErr_Occurred()) SWIG_fail;
25263 }
4f89f6a3
RD
25264 {
25265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25266 }
d14a1e28
RD
25267 return resultobj;
25268 fail:
25269 return NULL;
25270}
25271
25272
25273static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25274 PyObject *resultobj;
25275 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25276 wxTreeItemId *arg2 = 0 ;
25277 bool result;
25278 PyObject * obj0 = 0 ;
25279 PyObject * obj1 = 0 ;
25280 char *kwnames[] = {
25281 (char *) "self",(char *) "item", NULL
25282 };
25283
25284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25288 SWIG_POINTER_EXCEPTION | 0)) == -1)
25289 SWIG_fail;
d14a1e28 25290 if (arg2 == NULL) {
15afbcd0
RD
25291 PyErr_SetString(PyExc_TypeError,"null reference");
25292 SWIG_fail;
d14a1e28
RD
25293 }
25294 {
25295 PyThreadState* __tstate = wxPyBeginAllowThreads();
25296 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25297
25298 wxPyEndAllowThreads(__tstate);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
4f89f6a3
RD
25301 {
25302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25303 }
d14a1e28
RD
25304 return resultobj;
25305 fail:
25306 return NULL;
25307}
25308
25309
25310static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25311 PyObject *resultobj;
25312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25313 wxTreeItemId *arg2 = 0 ;
e811c8ce 25314 bool arg3 = (bool) True ;
d14a1e28
RD
25315 size_t result;
25316 PyObject * obj0 = 0 ;
25317 PyObject * obj1 = 0 ;
25318 PyObject * obj2 = 0 ;
25319 char *kwnames[] = {
25320 (char *) "self",(char *) "item",(char *) "recursively", NULL
25321 };
25322
25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25327 SWIG_POINTER_EXCEPTION | 0)) == -1)
25328 SWIG_fail;
d14a1e28 25329 if (arg2 == NULL) {
15afbcd0
RD
25330 PyErr_SetString(PyExc_TypeError,"null reference");
25331 SWIG_fail;
d14a1e28
RD
25332 }
25333 if (obj2) {
15afbcd0
RD
25334 arg3 = (bool) SWIG_AsBool(obj2);
25335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25336 }
25337 {
25338 PyThreadState* __tstate = wxPyBeginAllowThreads();
25339 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25340
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
15afbcd0 25344 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
25345 return resultobj;
25346 fail:
25347 return NULL;
25348}
25349
25350
25351static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25352 PyObject *resultobj;
25353 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25354 wxTreeItemId result;
25355 PyObject * obj0 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
25361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 {
25371 wxTreeItemId * resultptr;
25372 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25374 }
25375 return resultobj;
25376 fail:
25377 return NULL;
25378}
25379
25380
25381static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25382 PyObject *resultobj;
25383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25384 wxTreeItemId result;
25385 PyObject * obj0 = 0 ;
25386 char *kwnames[] = {
25387 (char *) "self", NULL
25388 };
25389
25390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
25391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25396
25397 wxPyEndAllowThreads(__tstate);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 }
25400 {
25401 wxTreeItemId * resultptr;
25402 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25403 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25404 }
25405 return resultobj;
25406 fail:
25407 return NULL;
25408}
25409
25410
25411static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25412 PyObject *resultobj;
25413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25414 PyObject *result;
25415 PyObject * obj0 = 0 ;
25416 char *kwnames[] = {
25417 (char *) "self", NULL
25418 };
25419
25420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
25421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25423 {
25424 PyThreadState* __tstate = wxPyBeginAllowThreads();
25425 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25426
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 resultobj = result;
25431 return resultobj;
25432 fail:
25433 return NULL;
25434}
25435
25436
25437static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25438 PyObject *resultobj;
25439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25440 wxTreeItemId *arg2 = 0 ;
25441 wxTreeItemId result;
25442 PyObject * obj0 = 0 ;
25443 PyObject * obj1 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "self",(char *) "item", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25452 SWIG_POINTER_EXCEPTION | 0)) == -1)
25453 SWIG_fail;
d14a1e28 25454 if (arg2 == NULL) {
15afbcd0
RD
25455 PyErr_SetString(PyExc_TypeError,"null reference");
25456 SWIG_fail;
d14a1e28
RD
25457 }
25458 {
25459 PyThreadState* __tstate = wxPyBeginAllowThreads();
25460 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25461
25462 wxPyEndAllowThreads(__tstate);
25463 if (PyErr_Occurred()) SWIG_fail;
25464 }
25465 {
25466 wxTreeItemId * resultptr;
25467 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25469 }
25470 return resultobj;
25471 fail:
25472 return NULL;
25473}
25474
25475
25476static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25477 PyObject *resultobj;
25478 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25479 wxTreeItemId *arg2 = 0 ;
25480 PyObject *result;
25481 PyObject * obj0 = 0 ;
25482 PyObject * obj1 = 0 ;
25483 char *kwnames[] = {
25484 (char *) "self",(char *) "item", NULL
25485 };
25486
25487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25491 SWIG_POINTER_EXCEPTION | 0)) == -1)
25492 SWIG_fail;
d14a1e28 25493 if (arg2 == NULL) {
15afbcd0
RD
25494 PyErr_SetString(PyExc_TypeError,"null reference");
25495 SWIG_fail;
d14a1e28
RD
25496 }
25497 {
25498 PyThreadState* __tstate = wxPyBeginAllowThreads();
25499 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25500
25501 wxPyEndAllowThreads(__tstate);
25502 if (PyErr_Occurred()) SWIG_fail;
25503 }
25504 resultobj = result;
25505 return resultobj;
25506 fail:
25507 return NULL;
25508}
25509
25510
25511static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25512 PyObject *resultobj;
25513 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25514 wxTreeItemId *arg2 = 0 ;
58203fa6 25515 void *arg3 = (void *) 0 ;
d14a1e28
RD
25516 PyObject *result;
25517 PyObject * obj0 = 0 ;
25518 PyObject * obj1 = 0 ;
25519 PyObject * obj2 = 0 ;
25520 char *kwnames[] = {
25521 (char *) "self",(char *) "item",(char *) "cookie", NULL
25522 };
25523
25524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25528 SWIG_POINTER_EXCEPTION | 0)) == -1)
25529 SWIG_fail;
d14a1e28 25530 if (arg2 == NULL) {
15afbcd0
RD
25531 PyErr_SetString(PyExc_TypeError,"null reference");
25532 SWIG_fail;
d14a1e28 25533 }
15afbcd0 25534 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25535 {
25536 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 25537 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
25538
25539 wxPyEndAllowThreads(__tstate);
25540 if (PyErr_Occurred()) SWIG_fail;
25541 }
25542 resultobj = result;
25543 return resultobj;
25544 fail:
25545 return NULL;
25546}
25547
25548
25549static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25550 PyObject *resultobj;
25551 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25552 wxTreeItemId *arg2 = 0 ;
25553 wxTreeItemId result;
25554 PyObject * obj0 = 0 ;
25555 PyObject * obj1 = 0 ;
25556 char *kwnames[] = {
25557 (char *) "self",(char *) "item", NULL
25558 };
25559
25560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25564 SWIG_POINTER_EXCEPTION | 0)) == -1)
25565 SWIG_fail;
d14a1e28 25566 if (arg2 == NULL) {
15afbcd0
RD
25567 PyErr_SetString(PyExc_TypeError,"null reference");
25568 SWIG_fail;
d14a1e28
RD
25569 }
25570 {
25571 PyThreadState* __tstate = wxPyBeginAllowThreads();
25572 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25573
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 {
25578 wxTreeItemId * resultptr;
25579 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25581 }
25582 return resultobj;
25583 fail:
25584 return NULL;
25585}
25586
25587
25588static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25589 PyObject *resultobj;
25590 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25591 wxTreeItemId *arg2 = 0 ;
25592 wxTreeItemId result;
25593 PyObject * obj0 = 0 ;
25594 PyObject * obj1 = 0 ;
25595 char *kwnames[] = {
25596 (char *) "self",(char *) "item", NULL
25597 };
25598
25599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25603 SWIG_POINTER_EXCEPTION | 0)) == -1)
25604 SWIG_fail;
d14a1e28 25605 if (arg2 == NULL) {
15afbcd0
RD
25606 PyErr_SetString(PyExc_TypeError,"null reference");
25607 SWIG_fail;
d14a1e28
RD
25608 }
25609 {
25610 PyThreadState* __tstate = wxPyBeginAllowThreads();
25611 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25612
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 {
25617 wxTreeItemId * resultptr;
25618 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25620 }
25621 return resultobj;
25622 fail:
25623 return NULL;
25624}
25625
25626
25627static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25628 PyObject *resultobj;
25629 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25630 wxTreeItemId *arg2 = 0 ;
25631 wxTreeItemId result;
25632 PyObject * obj0 = 0 ;
25633 PyObject * obj1 = 0 ;
25634 char *kwnames[] = {
25635 (char *) "self",(char *) "item", NULL
25636 };
25637
25638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25642 SWIG_POINTER_EXCEPTION | 0)) == -1)
25643 SWIG_fail;
d14a1e28 25644 if (arg2 == NULL) {
15afbcd0
RD
25645 PyErr_SetString(PyExc_TypeError,"null reference");
25646 SWIG_fail;
d14a1e28
RD
25647 }
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 {
25656 wxTreeItemId * resultptr;
25657 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25658 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25659 }
25660 return resultobj;
25661 fail:
25662 return NULL;
25663}
25664
25665
25666static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25667 PyObject *resultobj;
25668 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25669 wxTreeItemId result;
25670 PyObject * obj0 = 0 ;
25671 char *kwnames[] = {
25672 (char *) "self", NULL
25673 };
25674
25675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
25676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25678 {
25679 PyThreadState* __tstate = wxPyBeginAllowThreads();
25680 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25681
25682 wxPyEndAllowThreads(__tstate);
25683 if (PyErr_Occurred()) SWIG_fail;
25684 }
25685 {
25686 wxTreeItemId * resultptr;
25687 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25689 }
25690 return resultobj;
25691 fail:
25692 return NULL;
25693}
25694
25695
25696static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25697 PyObject *resultobj;
25698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25699 wxTreeItemId *arg2 = 0 ;
25700 wxTreeItemId result;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 char *kwnames[] = {
25704 (char *) "self",(char *) "item", NULL
25705 };
25706
25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25711 SWIG_POINTER_EXCEPTION | 0)) == -1)
25712 SWIG_fail;
d14a1e28 25713 if (arg2 == NULL) {
15afbcd0
RD
25714 PyErr_SetString(PyExc_TypeError,"null reference");
25715 SWIG_fail;
d14a1e28
RD
25716 }
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25720
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 {
25725 wxTreeItemId * resultptr;
25726 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25728 }
25729 return resultobj;
25730 fail:
25731 return NULL;
25732}
25733
25734
25735static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25736 PyObject *resultobj;
25737 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25738 wxTreeItemId *arg2 = 0 ;
25739 wxTreeItemId result;
25740 PyObject * obj0 = 0 ;
25741 PyObject * obj1 = 0 ;
25742 char *kwnames[] = {
25743 (char *) "self",(char *) "item", NULL
25744 };
25745
25746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25750 SWIG_POINTER_EXCEPTION | 0)) == -1)
25751 SWIG_fail;
d14a1e28 25752 if (arg2 == NULL) {
15afbcd0
RD
25753 PyErr_SetString(PyExc_TypeError,"null reference");
25754 SWIG_fail;
d14a1e28
RD
25755 }
25756 {
25757 PyThreadState* __tstate = wxPyBeginAllowThreads();
25758 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25759
25760 wxPyEndAllowThreads(__tstate);
25761 if (PyErr_Occurred()) SWIG_fail;
25762 }
25763 {
25764 wxTreeItemId * resultptr;
25765 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25767 }
25768 return resultobj;
25769 fail:
25770 return NULL;
25771}
25772
25773
25774static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25775 PyObject *resultobj;
25776 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25777 wxString *arg2 = 0 ;
25778 int arg3 = (int) -1 ;
25779 int arg4 = (int) -1 ;
25780 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25781 wxTreeItemId result;
e811c8ce 25782 bool temp2 = False ;
d14a1e28
RD
25783 PyObject * obj0 = 0 ;
25784 PyObject * obj1 = 0 ;
994141e6
RD
25785 PyObject * obj2 = 0 ;
25786 PyObject * obj3 = 0 ;
d14a1e28
RD
25787 PyObject * obj4 = 0 ;
25788 char *kwnames[] = {
25789 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25790 };
25791
994141e6 25792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
25793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25795 {
25796 arg2 = wxString_in_helper(obj1);
25797 if (arg2 == NULL) SWIG_fail;
e811c8ce 25798 temp2 = True;
d14a1e28 25799 }
994141e6 25800 if (obj2) {
15afbcd0
RD
25801 arg3 = (int) SWIG_AsInt(obj2);
25802 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25803 }
25804 if (obj3) {
15afbcd0
RD
25805 arg4 = (int) SWIG_AsInt(obj3);
25806 if (PyErr_Occurred()) SWIG_fail;
994141e6 25807 }
d14a1e28 25808 if (obj4) {
15afbcd0
RD
25809 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25811 }
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25815
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
25819 {
25820 wxTreeItemId * resultptr;
25821 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25823 }
25824 {
25825 if (temp2)
25826 delete arg2;
25827 }
25828 return resultobj;
25829 fail:
25830 {
25831 if (temp2)
25832 delete arg2;
25833 }
25834 return NULL;
25835}
25836
25837
25838static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25839 PyObject *resultobj;
25840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25841 wxTreeItemId *arg2 = 0 ;
25842 wxString *arg3 = 0 ;
25843 int arg4 = (int) -1 ;
25844 int arg5 = (int) -1 ;
25845 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25846 wxTreeItemId result;
e811c8ce 25847 bool temp3 = False ;
d14a1e28
RD
25848 PyObject * obj0 = 0 ;
25849 PyObject * obj1 = 0 ;
25850 PyObject * obj2 = 0 ;
994141e6
RD
25851 PyObject * obj3 = 0 ;
25852 PyObject * obj4 = 0 ;
d14a1e28
RD
25853 PyObject * obj5 = 0 ;
25854 char *kwnames[] = {
25855 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25856 };
25857
994141e6 25858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
25859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25862 SWIG_POINTER_EXCEPTION | 0)) == -1)
25863 SWIG_fail;
d14a1e28 25864 if (arg2 == NULL) {
15afbcd0
RD
25865 PyErr_SetString(PyExc_TypeError,"null reference");
25866 SWIG_fail;
d14a1e28
RD
25867 }
25868 {
25869 arg3 = wxString_in_helper(obj2);
25870 if (arg3 == NULL) SWIG_fail;
e811c8ce 25871 temp3 = True;
d14a1e28 25872 }
994141e6 25873 if (obj3) {
15afbcd0
RD
25874 arg4 = (int) SWIG_AsInt(obj3);
25875 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25876 }
25877 if (obj4) {
15afbcd0
RD
25878 arg5 = (int) SWIG_AsInt(obj4);
25879 if (PyErr_Occurred()) SWIG_fail;
994141e6 25880 }
d14a1e28 25881 if (obj5) {
15afbcd0
RD
25882 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25884 }
25885 {
25886 PyThreadState* __tstate = wxPyBeginAllowThreads();
25887 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25888
25889 wxPyEndAllowThreads(__tstate);
25890 if (PyErr_Occurred()) SWIG_fail;
25891 }
25892 {
25893 wxTreeItemId * resultptr;
25894 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25896 }
25897 {
25898 if (temp3)
25899 delete arg3;
25900 }
25901 return resultobj;
25902 fail:
25903 {
25904 if (temp3)
25905 delete arg3;
25906 }
25907 return NULL;
25908}
25909
25910
25911static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25912 PyObject *resultobj;
25913 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25914 wxTreeItemId *arg2 = 0 ;
25915 wxTreeItemId *arg3 = 0 ;
25916 wxString *arg4 = 0 ;
25917 int arg5 = (int) -1 ;
25918 int arg6 = (int) -1 ;
25919 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25920 wxTreeItemId result;
e811c8ce 25921 bool temp4 = False ;
d14a1e28
RD
25922 PyObject * obj0 = 0 ;
25923 PyObject * obj1 = 0 ;
25924 PyObject * obj2 = 0 ;
25925 PyObject * obj3 = 0 ;
994141e6
RD
25926 PyObject * obj4 = 0 ;
25927 PyObject * obj5 = 0 ;
d14a1e28
RD
25928 PyObject * obj6 = 0 ;
25929 char *kwnames[] = {
25930 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25931 };
25932
994141e6 25933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
25934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25936 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25937 SWIG_POINTER_EXCEPTION | 0)) == -1)
25938 SWIG_fail;
d14a1e28 25939 if (arg2 == NULL) {
15afbcd0
RD
25940 PyErr_SetString(PyExc_TypeError,"null reference");
25941 SWIG_fail;
d14a1e28 25942 }
15afbcd0
RD
25943 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25944 SWIG_POINTER_EXCEPTION | 0)) == -1)
25945 SWIG_fail;
d14a1e28 25946 if (arg3 == NULL) {
15afbcd0
RD
25947 PyErr_SetString(PyExc_TypeError,"null reference");
25948 SWIG_fail;
d14a1e28
RD
25949 }
25950 {
25951 arg4 = wxString_in_helper(obj3);
25952 if (arg4 == NULL) SWIG_fail;
e811c8ce 25953 temp4 = True;
d14a1e28 25954 }
994141e6 25955 if (obj4) {
15afbcd0
RD
25956 arg5 = (int) SWIG_AsInt(obj4);
25957 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25958 }
25959 if (obj5) {
15afbcd0
RD
25960 arg6 = (int) SWIG_AsInt(obj5);
25961 if (PyErr_Occurred()) SWIG_fail;
994141e6 25962 }
d14a1e28 25963 if (obj6) {
15afbcd0
RD
25964 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25966 }
25967 {
25968 PyThreadState* __tstate = wxPyBeginAllowThreads();
25969 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25970
25971 wxPyEndAllowThreads(__tstate);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
25974 {
25975 wxTreeItemId * resultptr;
25976 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25978 }
25979 {
25980 if (temp4)
25981 delete arg4;
25982 }
25983 return resultobj;
25984 fail:
25985 {
25986 if (temp4)
25987 delete arg4;
25988 }
25989 return NULL;
25990}
25991
25992
25993static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25994 PyObject *resultobj;
25995 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25996 wxTreeItemId *arg2 = 0 ;
25997 size_t arg3 ;
25998 wxString *arg4 = 0 ;
25999 int arg5 = (int) -1 ;
26000 int arg6 = (int) -1 ;
26001 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26002 wxTreeItemId result;
e811c8ce 26003 bool temp4 = False ;
d14a1e28
RD
26004 PyObject * obj0 = 0 ;
26005 PyObject * obj1 = 0 ;
26006 PyObject * obj2 = 0 ;
26007 PyObject * obj3 = 0 ;
994141e6
RD
26008 PyObject * obj4 = 0 ;
26009 PyObject * obj5 = 0 ;
d14a1e28
RD
26010 PyObject * obj6 = 0 ;
26011 char *kwnames[] = {
26012 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26013 };
26014
994141e6 26015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
26016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26019 SWIG_POINTER_EXCEPTION | 0)) == -1)
26020 SWIG_fail;
d14a1e28 26021 if (arg2 == NULL) {
15afbcd0
RD
26022 PyErr_SetString(PyExc_TypeError,"null reference");
26023 SWIG_fail;
a41e16b6 26024 }
15afbcd0
RD
26025 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26027 {
26028 arg4 = wxString_in_helper(obj3);
26029 if (arg4 == NULL) SWIG_fail;
e811c8ce 26030 temp4 = True;
d14a1e28 26031 }
994141e6 26032 if (obj4) {
15afbcd0
RD
26033 arg5 = (int) SWIG_AsInt(obj4);
26034 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26035 }
26036 if (obj5) {
15afbcd0
RD
26037 arg6 = (int) SWIG_AsInt(obj5);
26038 if (PyErr_Occurred()) SWIG_fail;
994141e6 26039 }
d14a1e28 26040 if (obj6) {
15afbcd0
RD
26041 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26043 }
26044 {
26045 PyThreadState* __tstate = wxPyBeginAllowThreads();
26046 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26047
26048 wxPyEndAllowThreads(__tstate);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 }
26051 {
26052 wxTreeItemId * resultptr;
26053 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26055 }
26056 {
26057 if (temp4)
26058 delete arg4;
26059 }
26060 return resultobj;
26061 fail:
26062 {
26063 if (temp4)
26064 delete arg4;
26065 }
26066 return NULL;
26067}
26068
26069
26070static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26071 PyObject *resultobj;
26072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26073 wxTreeItemId *arg2 = 0 ;
26074 wxString *arg3 = 0 ;
26075 int arg4 = (int) -1 ;
26076 int arg5 = (int) -1 ;
26077 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26078 wxTreeItemId result;
e811c8ce 26079 bool temp3 = False ;
d14a1e28
RD
26080 PyObject * obj0 = 0 ;
26081 PyObject * obj1 = 0 ;
26082 PyObject * obj2 = 0 ;
994141e6
RD
26083 PyObject * obj3 = 0 ;
26084 PyObject * obj4 = 0 ;
d14a1e28
RD
26085 PyObject * obj5 = 0 ;
26086 char *kwnames[] = {
26087 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26088 };
26089
994141e6 26090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
26091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26094 SWIG_POINTER_EXCEPTION | 0)) == -1)
26095 SWIG_fail;
d14a1e28 26096 if (arg2 == NULL) {
15afbcd0
RD
26097 PyErr_SetString(PyExc_TypeError,"null reference");
26098 SWIG_fail;
d14a1e28
RD
26099 }
26100 {
26101 arg3 = wxString_in_helper(obj2);
26102 if (arg3 == NULL) SWIG_fail;
e811c8ce 26103 temp3 = True;
d14a1e28 26104 }
994141e6 26105 if (obj3) {
15afbcd0
RD
26106 arg4 = (int) SWIG_AsInt(obj3);
26107 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26108 }
26109 if (obj4) {
15afbcd0
RD
26110 arg5 = (int) SWIG_AsInt(obj4);
26111 if (PyErr_Occurred()) SWIG_fail;
994141e6 26112 }
d14a1e28 26113 if (obj5) {
15afbcd0
RD
26114 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26116 }
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 {
26125 wxTreeItemId * resultptr;
26126 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26128 }
26129 {
26130 if (temp3)
26131 delete arg3;
26132 }
26133 return resultobj;
26134 fail:
26135 {
26136 if (temp3)
26137 delete arg3;
26138 }
26139 return NULL;
26140}
26141
26142
26143static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
26144 PyObject *resultobj;
26145 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26146 wxTreeItemId *arg2 = 0 ;
26147 PyObject * obj0 = 0 ;
26148 PyObject * obj1 = 0 ;
26149 char *kwnames[] = {
26150 (char *) "self",(char *) "item", NULL
26151 };
26152
26153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26157 SWIG_POINTER_EXCEPTION | 0)) == -1)
26158 SWIG_fail;
d14a1e28 26159 if (arg2 == NULL) {
15afbcd0
RD
26160 PyErr_SetString(PyExc_TypeError,"null reference");
26161 SWIG_fail;
d14a1e28
RD
26162 }
26163 {
26164 PyThreadState* __tstate = wxPyBeginAllowThreads();
26165 (arg1)->Delete((wxTreeItemId const &)*arg2);
26166
26167 wxPyEndAllowThreads(__tstate);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
26170 Py_INCREF(Py_None); resultobj = Py_None;
26171 return resultobj;
26172 fail:
26173 return NULL;
26174}
26175
26176
26177static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26178 PyObject *resultobj;
26179 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26180 wxTreeItemId *arg2 = 0 ;
26181 PyObject * obj0 = 0 ;
26182 PyObject * obj1 = 0 ;
26183 char *kwnames[] = {
26184 (char *) "self",(char *) "item", NULL
26185 };
26186
26187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26191 SWIG_POINTER_EXCEPTION | 0)) == -1)
26192 SWIG_fail;
d14a1e28 26193 if (arg2 == NULL) {
15afbcd0
RD
26194 PyErr_SetString(PyExc_TypeError,"null reference");
26195 SWIG_fail;
d14a1e28
RD
26196 }
26197 {
26198 PyThreadState* __tstate = wxPyBeginAllowThreads();
26199 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26200
26201 wxPyEndAllowThreads(__tstate);
26202 if (PyErr_Occurred()) SWIG_fail;
26203 }
26204 Py_INCREF(Py_None); resultobj = Py_None;
26205 return resultobj;
26206 fail:
26207 return NULL;
26208}
26209
26210
26211static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26212 PyObject *resultobj;
26213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26214 PyObject * obj0 = 0 ;
26215 char *kwnames[] = {
26216 (char *) "self", NULL
26217 };
26218
26219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
26220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26222 {
26223 PyThreadState* __tstate = wxPyBeginAllowThreads();
26224 (arg1)->DeleteAllItems();
26225
26226 wxPyEndAllowThreads(__tstate);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 }
26229 Py_INCREF(Py_None); resultobj = Py_None;
26230 return resultobj;
26231 fail:
26232 return NULL;
26233}
26234
26235
26236static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
26237 PyObject *resultobj;
26238 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26239 wxTreeItemId *arg2 = 0 ;
26240 PyObject * obj0 = 0 ;
26241 PyObject * obj1 = 0 ;
26242 char *kwnames[] = {
26243 (char *) "self",(char *) "item", NULL
26244 };
26245
26246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26250 SWIG_POINTER_EXCEPTION | 0)) == -1)
26251 SWIG_fail;
d14a1e28 26252 if (arg2 == NULL) {
15afbcd0
RD
26253 PyErr_SetString(PyExc_TypeError,"null reference");
26254 SWIG_fail;
d14a1e28
RD
26255 }
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 (arg1)->Expand((wxTreeItemId const &)*arg2);
26259
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 Py_INCREF(Py_None); resultobj = Py_None;
26264 return resultobj;
26265 fail:
26266 return NULL;
26267}
26268
26269
26270static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26271 PyObject *resultobj;
26272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26273 wxTreeItemId *arg2 = 0 ;
26274 PyObject * obj0 = 0 ;
26275 PyObject * obj1 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self",(char *) "item", NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26284 SWIG_POINTER_EXCEPTION | 0)) == -1)
26285 SWIG_fail;
d14a1e28 26286 if (arg2 == NULL) {
15afbcd0
RD
26287 PyErr_SetString(PyExc_TypeError,"null reference");
26288 SWIG_fail;
d14a1e28
RD
26289 }
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26293
26294 wxPyEndAllowThreads(__tstate);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 }
26297 Py_INCREF(Py_None); resultobj = Py_None;
26298 return resultobj;
26299 fail:
26300 return NULL;
26301}
26302
26303
26304static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26305 PyObject *resultobj;
26306 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26307 wxTreeItemId *arg2 = 0 ;
26308 PyObject * obj0 = 0 ;
26309 PyObject * obj1 = 0 ;
26310 char *kwnames[] = {
26311 (char *) "self",(char *) "item", NULL
26312 };
26313
26314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26318 SWIG_POINTER_EXCEPTION | 0)) == -1)
26319 SWIG_fail;
d14a1e28 26320 if (arg2 == NULL) {
15afbcd0
RD
26321 PyErr_SetString(PyExc_TypeError,"null reference");
26322 SWIG_fail;
d14a1e28
RD
26323 }
26324 {
26325 PyThreadState* __tstate = wxPyBeginAllowThreads();
26326 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26327
26328 wxPyEndAllowThreads(__tstate);
26329 if (PyErr_Occurred()) SWIG_fail;
26330 }
26331 Py_INCREF(Py_None); resultobj = Py_None;
26332 return resultobj;
26333 fail:
26334 return NULL;
26335}
26336
26337
26338static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26339 PyObject *resultobj;
26340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26341 wxTreeItemId *arg2 = 0 ;
26342 PyObject * obj0 = 0 ;
26343 PyObject * obj1 = 0 ;
26344 char *kwnames[] = {
26345 (char *) "self",(char *) "item", NULL
26346 };
26347
26348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26352 SWIG_POINTER_EXCEPTION | 0)) == -1)
26353 SWIG_fail;
d14a1e28 26354 if (arg2 == NULL) {
15afbcd0
RD
26355 PyErr_SetString(PyExc_TypeError,"null reference");
26356 SWIG_fail;
d14a1e28
RD
26357 }
26358 {
26359 PyThreadState* __tstate = wxPyBeginAllowThreads();
26360 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26361
26362 wxPyEndAllowThreads(__tstate);
26363 if (PyErr_Occurred()) SWIG_fail;
26364 }
26365 Py_INCREF(Py_None); resultobj = Py_None;
26366 return resultobj;
26367 fail:
26368 return NULL;
26369}
26370
26371
26372static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26373 PyObject *resultobj;
26374 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26375 PyObject * obj0 = 0 ;
26376 char *kwnames[] = {
26377 (char *) "self", NULL
26378 };
26379
26380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
15afbcd0
RD
26381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26383 {
26384 PyThreadState* __tstate = wxPyBeginAllowThreads();
26385 (arg1)->Unselect();
26386
26387 wxPyEndAllowThreads(__tstate);
26388 if (PyErr_Occurred()) SWIG_fail;
26389 }
26390 Py_INCREF(Py_None); resultobj = Py_None;
26391 return resultobj;
26392 fail:
26393 return NULL;
26394}
26395
26396
3adfb63b
RD
26397static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26398 PyObject *resultobj;
26399 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26400 wxTreeItemId *arg2 = 0 ;
26401 PyObject * obj0 = 0 ;
26402 PyObject * obj1 = 0 ;
26403 char *kwnames[] = {
26404 (char *) "self",(char *) "item", NULL
26405 };
26406
26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26411 SWIG_POINTER_EXCEPTION | 0)) == -1)
26412 SWIG_fail;
3adfb63b 26413 if (arg2 == NULL) {
15afbcd0
RD
26414 PyErr_SetString(PyExc_TypeError,"null reference");
26415 SWIG_fail;
3adfb63b
RD
26416 }
26417 {
26418 PyThreadState* __tstate = wxPyBeginAllowThreads();
26419 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26420
26421 wxPyEndAllowThreads(__tstate);
26422 if (PyErr_Occurred()) SWIG_fail;
26423 }
26424 Py_INCREF(Py_None); resultobj = Py_None;
26425 return resultobj;
26426 fail:
26427 return NULL;
26428}
26429
26430
d14a1e28
RD
26431static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26432 PyObject *resultobj;
26433 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26434 PyObject * obj0 = 0 ;
26435 char *kwnames[] = {
26436 (char *) "self", NULL
26437 };
26438
26439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
26440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26442 {
26443 PyThreadState* __tstate = wxPyBeginAllowThreads();
26444 (arg1)->UnselectAll();
26445
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 Py_INCREF(Py_None); resultobj = Py_None;
26450 return resultobj;
26451 fail:
26452 return NULL;
26453}
26454
26455
26456static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
26457 PyObject *resultobj;
26458 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26459 wxTreeItemId *arg2 = 0 ;
26460 bool arg3 = (bool) True ;
26461 PyObject * obj0 = 0 ;
26462 PyObject * obj1 = 0 ;
26463 PyObject * obj2 = 0 ;
26464 char *kwnames[] = {
26465 (char *) "self",(char *) "item",(char *) "select", NULL
26466 };
26467
26468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26472 SWIG_POINTER_EXCEPTION | 0)) == -1)
26473 SWIG_fail;
3adfb63b 26474 if (arg2 == NULL) {
15afbcd0
RD
26475 PyErr_SetString(PyExc_TypeError,"null reference");
26476 SWIG_fail;
3adfb63b
RD
26477 }
26478 if (obj2) {
15afbcd0
RD
26479 arg3 = (bool) SWIG_AsBool(obj2);
26480 if (PyErr_Occurred()) SWIG_fail;
3adfb63b
RD
26481 }
26482 {
26483 PyThreadState* __tstate = wxPyBeginAllowThreads();
26484 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26485
26486 wxPyEndAllowThreads(__tstate);
26487 if (PyErr_Occurred()) SWIG_fail;
26488 }
26489 Py_INCREF(Py_None); resultobj = Py_None;
26490 return resultobj;
26491 fail:
26492 return NULL;
26493}
26494
26495
26496static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26497 PyObject *resultobj;
26498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26499 wxTreeItemId *arg2 = 0 ;
26500 PyObject * obj0 = 0 ;
26501 PyObject * obj1 = 0 ;
26502 char *kwnames[] = {
26503 (char *) "self",(char *) "item", NULL
26504 };
26505
3adfb63b 26506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26510 SWIG_POINTER_EXCEPTION | 0)) == -1)
26511 SWIG_fail;
d14a1e28 26512 if (arg2 == NULL) {
15afbcd0
RD
26513 PyErr_SetString(PyExc_TypeError,"null reference");
26514 SWIG_fail;
d14a1e28
RD
26515 }
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3adfb63b 26518 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 Py_INCREF(Py_None); resultobj = Py_None;
26524 return resultobj;
26525 fail:
26526 return NULL;
26527}
26528
26529
26530static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj;
26532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26533 wxTreeItemId *arg2 = 0 ;
26534 PyObject * obj0 = 0 ;
26535 PyObject * obj1 = 0 ;
26536 char *kwnames[] = {
26537 (char *) "self",(char *) "item", NULL
26538 };
26539
26540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26544 SWIG_POINTER_EXCEPTION | 0)) == -1)
26545 SWIG_fail;
d14a1e28 26546 if (arg2 == NULL) {
15afbcd0
RD
26547 PyErr_SetString(PyExc_TypeError,"null reference");
26548 SWIG_fail;
d14a1e28
RD
26549 }
26550 {
26551 PyThreadState* __tstate = wxPyBeginAllowThreads();
26552 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26553
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
26557 Py_INCREF(Py_None); resultobj = Py_None;
26558 return resultobj;
26559 fail:
26560 return NULL;
26561}
26562
26563
26564static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26565 PyObject *resultobj;
26566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26567 wxTreeItemId *arg2 = 0 ;
26568 PyObject * obj0 = 0 ;
26569 PyObject * obj1 = 0 ;
26570 char *kwnames[] = {
26571 (char *) "self",(char *) "item", NULL
26572 };
26573
26574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26578 SWIG_POINTER_EXCEPTION | 0)) == -1)
26579 SWIG_fail;
d14a1e28 26580 if (arg2 == NULL) {
15afbcd0
RD
26581 PyErr_SetString(PyExc_TypeError,"null reference");
26582 SWIG_fail;
d14a1e28
RD
26583 }
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26587
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 Py_INCREF(Py_None); resultobj = Py_None;
26592 return resultobj;
26593 fail:
26594 return NULL;
26595}
26596
26597
26598static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26599 PyObject *resultobj;
26600 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26601 wxTreeItemId *arg2 = 0 ;
26602 PyObject * obj0 = 0 ;
26603 PyObject * obj1 = 0 ;
26604 char *kwnames[] = {
26605 (char *) "self",(char *) "item", NULL
26606 };
26607
26608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26612 SWIG_POINTER_EXCEPTION | 0)) == -1)
26613 SWIG_fail;
d14a1e28 26614 if (arg2 == NULL) {
15afbcd0
RD
26615 PyErr_SetString(PyExc_TypeError,"null reference");
26616 SWIG_fail;
d14a1e28
RD
26617 }
26618 {
26619 PyThreadState* __tstate = wxPyBeginAllowThreads();
26620 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26621
26622 wxPyEndAllowThreads(__tstate);
26623 if (PyErr_Occurred()) SWIG_fail;
26624 }
26625 Py_INCREF(Py_None); resultobj = Py_None;
26626 return resultobj;
26627 fail:
26628 return NULL;
26629}
26630
26631
26632static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26633 PyObject *resultobj;
26634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26635 wxTextCtrl *result;
26636 PyObject * obj0 = 0 ;
26637 char *kwnames[] = {
26638 (char *) "self", NULL
26639 };
26640
26641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
26642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26644 {
26645 PyThreadState* __tstate = wxPyBeginAllowThreads();
26646 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26647
26648 wxPyEndAllowThreads(__tstate);
26649 if (PyErr_Occurred()) SWIG_fail;
26650 }
26651 {
26652 resultobj = wxPyMake_wxObject(result);
26653 }
26654 return resultobj;
26655 fail:
26656 return NULL;
26657}
26658
26659
26660static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26661 PyObject *resultobj;
26662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26663 wxTreeItemId *arg2 = 0 ;
26664 PyObject * obj0 = 0 ;
26665 PyObject * obj1 = 0 ;
26666 char *kwnames[] = {
26667 (char *) "self",(char *) "item", NULL
26668 };
26669
26670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26674 SWIG_POINTER_EXCEPTION | 0)) == -1)
26675 SWIG_fail;
d14a1e28 26676 if (arg2 == NULL) {
15afbcd0
RD
26677 PyErr_SetString(PyExc_TypeError,"null reference");
26678 SWIG_fail;
d14a1e28
RD
26679 }
26680 {
26681 PyThreadState* __tstate = wxPyBeginAllowThreads();
26682 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26683
26684 wxPyEndAllowThreads(__tstate);
26685 if (PyErr_Occurred()) SWIG_fail;
26686 }
26687 Py_INCREF(Py_None); resultobj = Py_None;
26688 return resultobj;
26689 fail:
26690 return NULL;
26691}
26692
26693
26694static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26695 PyObject *resultobj;
26696 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26697 wxPoint *arg2 = 0 ;
26698 int *arg3 = 0 ;
26699 wxTreeItemId result;
26700 wxPoint temp2 ;
26701 int temp3 ;
26702 PyObject * obj0 = 0 ;
26703 PyObject * obj1 = 0 ;
26704 char *kwnames[] = {
26705 (char *) "self",(char *) "point", NULL
26706 };
26707
26708 arg3 = &temp3;
26709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26712 {
26713 arg2 = &temp2;
26714 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26715 }
26716 {
26717 PyThreadState* __tstate = wxPyBeginAllowThreads();
26718 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26719
26720 wxPyEndAllowThreads(__tstate);
26721 if (PyErr_Occurred()) SWIG_fail;
26722 }
26723 {
26724 wxTreeItemId * resultptr;
26725 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26727 }
26728 {
26729 PyObject *o = PyInt_FromLong((long) (*arg3));
26730 resultobj = t_output_helper(resultobj,o);
26731 }
26732 return resultobj;
26733 fail:
26734 return NULL;
26735}
26736
26737
26738static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26739 PyObject *resultobj;
26740 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26741 wxTreeItemId *arg2 = 0 ;
e811c8ce 26742 bool arg3 = (bool) False ;
d14a1e28
RD
26743 PyObject *result;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 PyObject * obj2 = 0 ;
26747 char *kwnames[] = {
26748 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26749 };
26750
26751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26755 SWIG_POINTER_EXCEPTION | 0)) == -1)
26756 SWIG_fail;
d14a1e28 26757 if (arg2 == NULL) {
15afbcd0
RD
26758 PyErr_SetString(PyExc_TypeError,"null reference");
26759 SWIG_fail;
d14a1e28
RD
26760 }
26761 if (obj2) {
15afbcd0
RD
26762 arg3 = (bool) SWIG_AsBool(obj2);
26763 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26764 }
26765 {
26766 PyThreadState* __tstate = wxPyBeginAllowThreads();
26767 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26768
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 resultobj = result;
26773 return resultobj;
26774 fail:
26775 return NULL;
26776}
26777
26778
26779static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26780 PyObject *obj;
26781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26782 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26783 Py_INCREF(obj);
26784 return Py_BuildValue((char *)"");
26785}
b2dc1044
RD
26786static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26787 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26788 return 1;
26789}
26790
26791
26792static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26793 PyObject *pyobj;
26794
26795 {
26796#if wxUSE_UNICODE
26797 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26798#else
26799 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26800#endif
26801 }
26802 return pyobj;
26803}
26804
26805
d14a1e28
RD
26806static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26807 PyObject *resultobj;
26808 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 26809 int arg2 = (int) (int)-1 ;
d14a1e28
RD
26810 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26811 wxString *arg3 = (wxString *) &arg3_defvalue ;
26812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26814 wxSize const &arg5_defvalue = wxDefaultSize ;
26815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26816 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26817 wxString const &arg7_defvalue = wxPyEmptyString ;
26818 wxString *arg7 = (wxString *) &arg7_defvalue ;
26819 int arg8 = (int) 0 ;
b2dc1044 26820 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
26821 wxString *arg9 = (wxString *) &arg9_defvalue ;
26822 wxGenericDirCtrl *result;
e811c8ce 26823 bool temp3 = False ;
d14a1e28
RD
26824 wxPoint temp4 ;
26825 wxSize temp5 ;
e811c8ce
RD
26826 bool temp7 = False ;
26827 bool temp9 = False ;
d14a1e28 26828 PyObject * obj0 = 0 ;
994141e6 26829 PyObject * obj1 = 0 ;
d14a1e28
RD
26830 PyObject * obj2 = 0 ;
26831 PyObject * obj3 = 0 ;
26832 PyObject * obj4 = 0 ;
994141e6 26833 PyObject * obj5 = 0 ;
d14a1e28 26834 PyObject * obj6 = 0 ;
994141e6 26835 PyObject * obj7 = 0 ;
d14a1e28
RD
26836 PyObject * obj8 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26839 };
26840
994141e6 26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
26842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 26844 if (obj1) {
15afbcd0
RD
26845 arg2 = (int const) SWIG_AsInt(obj1);
26846 if (PyErr_Occurred()) SWIG_fail;
994141e6 26847 }
d14a1e28
RD
26848 if (obj2) {
26849 {
26850 arg3 = wxString_in_helper(obj2);
26851 if (arg3 == NULL) SWIG_fail;
e811c8ce 26852 temp3 = True;
d14a1e28
RD
26853 }
26854 }
26855 if (obj3) {
26856 {
26857 arg4 = &temp4;
26858 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26859 }
26860 }
26861 if (obj4) {
26862 {
26863 arg5 = &temp5;
26864 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26865 }
26866 }
994141e6 26867 if (obj5) {
15afbcd0
RD
26868 arg6 = (long) SWIG_AsLong(obj5);
26869 if (PyErr_Occurred()) SWIG_fail;
994141e6 26870 }
d14a1e28
RD
26871 if (obj6) {
26872 {
26873 arg7 = wxString_in_helper(obj6);
26874 if (arg7 == NULL) SWIG_fail;
e811c8ce 26875 temp7 = True;
d14a1e28
RD
26876 }
26877 }
994141e6 26878 if (obj7) {
15afbcd0
RD
26879 arg8 = (int) SWIG_AsInt(obj7);
26880 if (PyErr_Occurred()) SWIG_fail;
994141e6 26881 }
d14a1e28
RD
26882 if (obj8) {
26883 {
26884 arg9 = wxString_in_helper(obj8);
26885 if (arg9 == NULL) SWIG_fail;
e811c8ce 26886 temp9 = True;
d14a1e28
RD
26887 }
26888 }
26889 {
26890 PyThreadState* __tstate = wxPyBeginAllowThreads();
26891 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26892
26893 wxPyEndAllowThreads(__tstate);
26894 if (PyErr_Occurred()) SWIG_fail;
26895 }
15afbcd0 26896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
26897 {
26898 if (temp3)
26899 delete arg3;
26900 }
26901 {
26902 if (temp7)
26903 delete arg7;
26904 }
26905 {
26906 if (temp9)
26907 delete arg9;
26908 }
26909 return resultobj;
26910 fail:
26911 {
26912 if (temp3)
26913 delete arg3;
26914 }
26915 {
26916 if (temp7)
26917 delete arg7;
26918 }
26919 {
26920 if (temp9)
26921 delete arg9;
26922 }
26923 return NULL;
26924}
26925
26926
26927static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26928 PyObject *resultobj;
26929 wxGenericDirCtrl *result;
26930 char *kwnames[] = {
26931 NULL
26932 };
26933
26934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26938
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
15afbcd0 26942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
26943 return resultobj;
26944 fail:
26945 return NULL;
26946}
26947
26948
26949static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26950 PyObject *resultobj;
26951 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26952 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 26953 int arg3 = (int) (int)-1 ;
d14a1e28
RD
26954 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26955 wxString *arg4 = (wxString *) &arg4_defvalue ;
26956 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26957 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26958 wxSize const &arg6_defvalue = wxDefaultSize ;
26959 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26960 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26961 wxString const &arg8_defvalue = wxPyEmptyString ;
26962 wxString *arg8 = (wxString *) &arg8_defvalue ;
26963 int arg9 = (int) 0 ;
b2dc1044 26964 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
26965 wxString *arg10 = (wxString *) &arg10_defvalue ;
26966 bool result;
e811c8ce 26967 bool temp4 = False ;
d14a1e28
RD
26968 wxPoint temp5 ;
26969 wxSize temp6 ;
e811c8ce
RD
26970 bool temp8 = False ;
26971 bool temp10 = False ;
d14a1e28
RD
26972 PyObject * obj0 = 0 ;
26973 PyObject * obj1 = 0 ;
994141e6 26974 PyObject * obj2 = 0 ;
d14a1e28
RD
26975 PyObject * obj3 = 0 ;
26976 PyObject * obj4 = 0 ;
26977 PyObject * obj5 = 0 ;
994141e6 26978 PyObject * obj6 = 0 ;
d14a1e28 26979 PyObject * obj7 = 0 ;
994141e6 26980 PyObject * obj8 = 0 ;
d14a1e28
RD
26981 PyObject * obj9 = 0 ;
26982 char *kwnames[] = {
26983 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26984 };
26985
994141e6 26986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
26987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 26991 if (obj2) {
15afbcd0
RD
26992 arg3 = (int const) SWIG_AsInt(obj2);
26993 if (PyErr_Occurred()) SWIG_fail;
994141e6 26994 }
d14a1e28
RD
26995 if (obj3) {
26996 {
26997 arg4 = wxString_in_helper(obj3);
26998 if (arg4 == NULL) SWIG_fail;
e811c8ce 26999 temp4 = True;
d14a1e28
RD
27000 }
27001 }
27002 if (obj4) {
27003 {
27004 arg5 = &temp5;
27005 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27006 }
27007 }
27008 if (obj5) {
27009 {
27010 arg6 = &temp6;
27011 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27012 }
27013 }
994141e6 27014 if (obj6) {
15afbcd0
RD
27015 arg7 = (long) SWIG_AsLong(obj6);
27016 if (PyErr_Occurred()) SWIG_fail;
994141e6 27017 }
d14a1e28
RD
27018 if (obj7) {
27019 {
27020 arg8 = wxString_in_helper(obj7);
27021 if (arg8 == NULL) SWIG_fail;
e811c8ce 27022 temp8 = True;
d14a1e28
RD
27023 }
27024 }
994141e6 27025 if (obj8) {
15afbcd0
RD
27026 arg9 = (int) SWIG_AsInt(obj8);
27027 if (PyErr_Occurred()) SWIG_fail;
994141e6 27028 }
d14a1e28
RD
27029 if (obj9) {
27030 {
27031 arg10 = wxString_in_helper(obj9);
27032 if (arg10 == NULL) SWIG_fail;
e811c8ce 27033 temp10 = True;
d14a1e28
RD
27034 }
27035 }
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
27039
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
4f89f6a3
RD
27043 {
27044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27045 }
d14a1e28
RD
27046 {
27047 if (temp4)
27048 delete arg4;
27049 }
27050 {
27051 if (temp8)
27052 delete arg8;
27053 }
27054 {
27055 if (temp10)
27056 delete arg10;
27057 }
27058 return resultobj;
27059 fail:
27060 {
27061 if (temp4)
27062 delete arg4;
27063 }
27064 {
27065 if (temp8)
27066 delete arg8;
27067 }
27068 {
27069 if (temp10)
27070 delete arg10;
27071 }
27072 return NULL;
27073}
27074
27075
27076static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27077 PyObject *resultobj;
27078 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27079 wxString *arg2 = 0 ;
27080 bool result;
e811c8ce 27081 bool temp2 = False ;
d14a1e28
RD
27082 PyObject * obj0 = 0 ;
27083 PyObject * obj1 = 0 ;
27084 char *kwnames[] = {
27085 (char *) "self",(char *) "path", NULL
27086 };
27087
27088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27091 {
27092 arg2 = wxString_in_helper(obj1);
27093 if (arg2 == NULL) SWIG_fail;
e811c8ce 27094 temp2 = True;
d14a1e28
RD
27095 }
27096 {
27097 PyThreadState* __tstate = wxPyBeginAllowThreads();
27098 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
27099
27100 wxPyEndAllowThreads(__tstate);
27101 if (PyErr_Occurred()) SWIG_fail;
27102 }
4f89f6a3
RD
27103 {
27104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27105 }
d14a1e28
RD
27106 {
27107 if (temp2)
27108 delete arg2;
27109 }
27110 return resultobj;
27111 fail:
27112 {
27113 if (temp2)
27114 delete arg2;
27115 }
27116 return NULL;
27117}
27118
27119
27120static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27121 PyObject *resultobj;
27122 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27123 wxString result;
27124 PyObject * obj0 = 0 ;
27125 char *kwnames[] = {
27126 (char *) "self", NULL
27127 };
27128
27129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
27130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27132 {
27133 PyThreadState* __tstate = wxPyBeginAllowThreads();
27134 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27135
27136 wxPyEndAllowThreads(__tstate);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
27139 {
27140#if wxUSE_UNICODE
27141 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27142#else
27143 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27144#endif
27145 }
27146 return resultobj;
27147 fail:
27148 return NULL;
27149}
27150
27151
27152static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27153 PyObject *resultobj;
27154 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27155 wxString *arg2 = 0 ;
e811c8ce 27156 bool temp2 = False ;
d14a1e28
RD
27157 PyObject * obj0 = 0 ;
27158 PyObject * obj1 = 0 ;
27159 char *kwnames[] = {
27160 (char *) "self",(char *) "path", NULL
27161 };
27162
27163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27166 {
27167 arg2 = wxString_in_helper(obj1);
27168 if (arg2 == NULL) SWIG_fail;
e811c8ce 27169 temp2 = True;
d14a1e28
RD
27170 }
27171 {
27172 PyThreadState* __tstate = wxPyBeginAllowThreads();
27173 (arg1)->SetDefaultPath((wxString const &)*arg2);
27174
27175 wxPyEndAllowThreads(__tstate);
27176 if (PyErr_Occurred()) SWIG_fail;
27177 }
27178 Py_INCREF(Py_None); resultobj = Py_None;
27179 {
27180 if (temp2)
27181 delete arg2;
27182 }
27183 return resultobj;
27184 fail:
27185 {
27186 if (temp2)
27187 delete arg2;
27188 }
27189 return NULL;
27190}
27191
27192
27193static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27194 PyObject *resultobj;
27195 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27196 wxString result;
27197 PyObject * obj0 = 0 ;
27198 char *kwnames[] = {
27199 (char *) "self", NULL
27200 };
27201
27202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
27203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27205 {
27206 PyThreadState* __tstate = wxPyBeginAllowThreads();
27207 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27208
27209 wxPyEndAllowThreads(__tstate);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
27212 {
27213#if wxUSE_UNICODE
27214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27215#else
27216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27217#endif
27218 }
27219 return resultobj;
27220 fail:
27221 return NULL;
27222}
27223
27224
27225static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
27226 PyObject *resultobj;
27227 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27228 wxString result;
27229 PyObject * obj0 = 0 ;
27230 char *kwnames[] = {
27231 (char *) "self", NULL
27232 };
27233
27234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
15afbcd0
RD
27235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27237 {
27238 PyThreadState* __tstate = wxPyBeginAllowThreads();
27239 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27240
27241 wxPyEndAllowThreads(__tstate);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 }
27244 {
27245#if wxUSE_UNICODE
27246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27247#else
27248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27249#endif
27250 }
27251 return resultobj;
27252 fail:
27253 return NULL;
27254}
27255
27256
27257static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27258 PyObject *resultobj;
27259 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27260 wxString *arg2 = 0 ;
e811c8ce 27261 bool temp2 = False ;
d14a1e28
RD
27262 PyObject * obj0 = 0 ;
27263 PyObject * obj1 = 0 ;
27264 char *kwnames[] = {
27265 (char *) "self",(char *) "path", NULL
27266 };
27267
27268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27271 {
27272 arg2 = wxString_in_helper(obj1);
27273 if (arg2 == NULL) SWIG_fail;
e811c8ce 27274 temp2 = True;
d14a1e28
RD
27275 }
27276 {
27277 PyThreadState* __tstate = wxPyBeginAllowThreads();
27278 (arg1)->SetPath((wxString const &)*arg2);
27279
27280 wxPyEndAllowThreads(__tstate);
27281 if (PyErr_Occurred()) SWIG_fail;
27282 }
27283 Py_INCREF(Py_None); resultobj = Py_None;
27284 {
27285 if (temp2)
27286 delete arg2;
27287 }
27288 return resultobj;
27289 fail:
27290 {
27291 if (temp2)
27292 delete arg2;
27293 }
27294 return NULL;
27295}
27296
27297
27298static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27299 PyObject *resultobj;
27300 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27301 bool arg2 ;
27302 PyObject * obj0 = 0 ;
27303 PyObject * obj1 = 0 ;
27304 char *kwnames[] = {
27305 (char *) "self",(char *) "show", NULL
27306 };
27307
27308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27311 arg2 = (bool) SWIG_AsBool(obj1);
27312 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 (arg1)->ShowHidden(arg2);
27316
27317 wxPyEndAllowThreads(__tstate);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 Py_INCREF(Py_None); resultobj = Py_None;
27321 return resultobj;
27322 fail:
27323 return NULL;
27324}
27325
27326
27327static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27328 PyObject *resultobj;
27329 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27330 bool result;
27331 PyObject * obj0 = 0 ;
27332 char *kwnames[] = {
27333 (char *) "self", NULL
27334 };
27335
27336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
15afbcd0
RD
27337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 result = (bool)(arg1)->GetShowHidden();
27342
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
4f89f6a3
RD
27346 {
27347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27348 }
d14a1e28
RD
27349 return resultobj;
27350 fail:
27351 return NULL;
27352}
27353
27354
27355static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27356 PyObject *resultobj;
27357 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27358 wxString result;
27359 PyObject * obj0 = 0 ;
27360 char *kwnames[] = {
27361 (char *) "self", NULL
27362 };
27363
27364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
15afbcd0
RD
27365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27367 {
27368 PyThreadState* __tstate = wxPyBeginAllowThreads();
27369 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27370
27371 wxPyEndAllowThreads(__tstate);
27372 if (PyErr_Occurred()) SWIG_fail;
27373 }
27374 {
27375#if wxUSE_UNICODE
27376 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27377#else
27378 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27379#endif
27380 }
27381 return resultobj;
27382 fail:
27383 return NULL;
27384}
27385
27386
27387static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27388 PyObject *resultobj;
27389 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27390 wxString *arg2 = 0 ;
e811c8ce 27391 bool temp2 = False ;
d14a1e28
RD
27392 PyObject * obj0 = 0 ;
27393 PyObject * obj1 = 0 ;
27394 char *kwnames[] = {
27395 (char *) "self",(char *) "filter", NULL
27396 };
27397
27398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27401 {
27402 arg2 = wxString_in_helper(obj1);
27403 if (arg2 == NULL) SWIG_fail;
e811c8ce 27404 temp2 = True;
d14a1e28
RD
27405 }
27406 {
27407 PyThreadState* __tstate = wxPyBeginAllowThreads();
27408 (arg1)->SetFilter((wxString const &)*arg2);
27409
27410 wxPyEndAllowThreads(__tstate);
27411 if (PyErr_Occurred()) SWIG_fail;
27412 }
27413 Py_INCREF(Py_None); resultobj = Py_None;
27414 {
27415 if (temp2)
27416 delete arg2;
27417 }
27418 return resultobj;
27419 fail:
27420 {
27421 if (temp2)
27422 delete arg2;
27423 }
27424 return NULL;
27425}
27426
27427
27428static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27429 PyObject *resultobj;
27430 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27431 int result;
27432 PyObject * obj0 = 0 ;
27433 char *kwnames[] = {
27434 (char *) "self", NULL
27435 };
27436
27437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
27438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27443
27444 wxPyEndAllowThreads(__tstate);
27445 if (PyErr_Occurred()) SWIG_fail;
27446 }
15afbcd0 27447 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27448 return resultobj;
27449 fail:
27450 return NULL;
27451}
27452
27453
27454static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27455 PyObject *resultobj;
27456 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27457 int arg2 ;
27458 PyObject * obj0 = 0 ;
994141e6 27459 PyObject * obj1 = 0 ;
d14a1e28
RD
27460 char *kwnames[] = {
27461 (char *) "self",(char *) "n", NULL
27462 };
27463
994141e6 27464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27467 arg2 = (int) SWIG_AsInt(obj1);
27468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 (arg1)->SetFilterIndex(arg2);
27472
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
27476 Py_INCREF(Py_None); resultobj = Py_None;
27477 return resultobj;
27478 fail:
27479 return NULL;
27480}
27481
27482
27483static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27484 PyObject *resultobj;
27485 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27486 wxTreeItemId result;
27487 PyObject * obj0 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
15afbcd0
RD
27493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27495 {
27496 PyThreadState* __tstate = wxPyBeginAllowThreads();
27497 result = (arg1)->GetRootId();
27498
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 {
27503 wxTreeItemId * resultptr;
27504 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27505 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27506 }
27507 return resultobj;
27508 fail:
27509 return NULL;
27510}
27511
27512
27513static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27514 PyObject *resultobj;
27515 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 27516 wxPyTreeCtrl *result;
d14a1e28
RD
27517 PyObject * obj0 = 0 ;
27518 char *kwnames[] = {
27519 (char *) "self", NULL
27520 };
27521
27522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
27523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27525 {
27526 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 27527 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
27528
27529 wxPyEndAllowThreads(__tstate);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 }
27532 {
27533 resultobj = wxPyMake_wxObject(result);
27534 }
27535 return resultobj;
27536 fail:
27537 return NULL;
27538}
27539
27540
27541static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27542 PyObject *resultobj;
27543 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27544 wxDirFilterListCtrl *result;
27545 PyObject * obj0 = 0 ;
27546 char *kwnames[] = {
27547 (char *) "self", NULL
27548 };
27549
27550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
27551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27553 {
27554 PyThreadState* __tstate = wxPyBeginAllowThreads();
27555 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27556
27557 wxPyEndAllowThreads(__tstate);
27558 if (PyErr_Occurred()) SWIG_fail;
27559 }
15afbcd0 27560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
27561 return resultobj;
27562 fail:
27563 return NULL;
27564}
27565
27566
27567static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27568 PyObject *resultobj;
27569 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27570 wxTreeItemId arg2 ;
27571 wxString *arg3 = 0 ;
27572 bool *arg4 = 0 ;
27573 wxTreeItemId result;
27574 wxTreeItemId *argp2 ;
e811c8ce 27575 bool temp3 = False ;
d14a1e28
RD
27576 bool temp4 ;
27577 PyObject * obj0 = 0 ;
27578 PyObject * obj1 = 0 ;
27579 PyObject * obj2 = 0 ;
27580 char *kwnames[] = {
27581 (char *) "self",(char *) "parentId",(char *) "path", NULL
27582 };
27583
27584 arg4 = &temp4;
27585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27588 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27589 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27590 arg2 = *argp2;
d14a1e28
RD
27591 {
27592 arg3 = wxString_in_helper(obj2);
27593 if (arg3 == NULL) SWIG_fail;
e811c8ce 27594 temp3 = True;
d14a1e28
RD
27595 }
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27599
27600 wxPyEndAllowThreads(__tstate);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 }
27603 {
27604 wxTreeItemId * resultptr;
27605 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27607 }
27608 {
27609 PyObject *o = PyInt_FromLong((long) (*arg4));
27610 resultobj = t_output_helper(resultobj,o);
27611 }
27612 {
27613 if (temp3)
27614 delete arg3;
27615 }
27616 return resultobj;
27617 fail:
27618 {
27619 if (temp3)
27620 delete arg3;
27621 }
27622 return NULL;
27623}
27624
27625
27626static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27627 PyObject *resultobj;
27628 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27629 PyObject * obj0 = 0 ;
27630 char *kwnames[] = {
27631 (char *) "self", NULL
27632 };
27633
27634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
15afbcd0
RD
27635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 (arg1)->DoResize();
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 Py_INCREF(Py_None); resultobj = Py_None;
27645 return resultobj;
27646 fail:
27647 return NULL;
27648}
27649
27650
27651static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27652 PyObject *resultobj;
27653 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27654 PyObject * obj0 = 0 ;
27655 char *kwnames[] = {
27656 (char *) "self", NULL
27657 };
27658
27659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
15afbcd0
RD
27660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27662 {
27663 PyThreadState* __tstate = wxPyBeginAllowThreads();
27664 (arg1)->ReCreateTree();
27665
27666 wxPyEndAllowThreads(__tstate);
27667 if (PyErr_Occurred()) SWIG_fail;
27668 }
27669 Py_INCREF(Py_None); resultobj = Py_None;
27670 return resultobj;
27671 fail:
27672 return NULL;
27673}
27674
27675
27676static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27677 PyObject *obj;
27678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27679 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27680 Py_INCREF(obj);
27681 return Py_BuildValue((char *)"");
27682}
27683static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27684 PyObject *resultobj;
27685 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 27686 int arg2 = (int) (int)-1 ;
d14a1e28
RD
27687 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27688 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27689 wxSize const &arg4_defvalue = wxDefaultSize ;
27690 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27691 long arg5 = (long) 0 ;
27692 wxDirFilterListCtrl *result;
27693 wxPoint temp3 ;
27694 wxSize temp4 ;
27695 PyObject * obj0 = 0 ;
994141e6 27696 PyObject * obj1 = 0 ;
d14a1e28
RD
27697 PyObject * obj2 = 0 ;
27698 PyObject * obj3 = 0 ;
994141e6 27699 PyObject * obj4 = 0 ;
d14a1e28
RD
27700 char *kwnames[] = {
27701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27702 };
27703
994141e6 27704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
27705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27707 if (obj1) {
15afbcd0
RD
27708 arg2 = (int const) SWIG_AsInt(obj1);
27709 if (PyErr_Occurred()) SWIG_fail;
994141e6 27710 }
d14a1e28
RD
27711 if (obj2) {
27712 {
27713 arg3 = &temp3;
27714 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27715 }
27716 }
27717 if (obj3) {
27718 {
27719 arg4 = &temp4;
27720 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27721 }
27722 }
994141e6 27723 if (obj4) {
15afbcd0
RD
27724 arg5 = (long) SWIG_AsLong(obj4);
27725 if (PyErr_Occurred()) SWIG_fail;
994141e6 27726 }
d14a1e28
RD
27727 {
27728 PyThreadState* __tstate = wxPyBeginAllowThreads();
27729 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27730
27731 wxPyEndAllowThreads(__tstate);
27732 if (PyErr_Occurred()) SWIG_fail;
27733 }
15afbcd0 27734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
27735 return resultobj;
27736 fail:
27737 return NULL;
27738}
27739
27740
27741static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27742 PyObject *resultobj;
27743 wxDirFilterListCtrl *result;
27744 char *kwnames[] = {
27745 NULL
27746 };
27747
27748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27749 {
27750 PyThreadState* __tstate = wxPyBeginAllowThreads();
27751 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27752
27753 wxPyEndAllowThreads(__tstate);
27754 if (PyErr_Occurred()) SWIG_fail;
27755 }
15afbcd0 27756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
27757 return resultobj;
27758 fail:
27759 return NULL;
27760}
27761
27762
27763static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27764 PyObject *resultobj;
27765 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27766 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 27767 int arg3 = (int) (int)-1 ;
d14a1e28
RD
27768 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27769 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27770 wxSize const &arg5_defvalue = wxDefaultSize ;
27771 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27772 long arg6 = (long) 0 ;
27773 bool result;
27774 wxPoint temp4 ;
27775 wxSize temp5 ;
27776 PyObject * obj0 = 0 ;
27777 PyObject * obj1 = 0 ;
994141e6 27778 PyObject * obj2 = 0 ;
d14a1e28
RD
27779 PyObject * obj3 = 0 ;
27780 PyObject * obj4 = 0 ;
994141e6 27781 PyObject * obj5 = 0 ;
d14a1e28
RD
27782 char *kwnames[] = {
27783 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27784 };
27785
994141e6 27786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
27787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27791 if (obj2) {
15afbcd0
RD
27792 arg3 = (int const) SWIG_AsInt(obj2);
27793 if (PyErr_Occurred()) SWIG_fail;
994141e6 27794 }
d14a1e28
RD
27795 if (obj3) {
27796 {
27797 arg4 = &temp4;
27798 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27799 }
27800 }
27801 if (obj4) {
27802 {
27803 arg5 = &temp5;
27804 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27805 }
27806 }
994141e6 27807 if (obj5) {
15afbcd0
RD
27808 arg6 = (long) SWIG_AsLong(obj5);
27809 if (PyErr_Occurred()) SWIG_fail;
994141e6 27810 }
d14a1e28
RD
27811 {
27812 PyThreadState* __tstate = wxPyBeginAllowThreads();
27813 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27814
27815 wxPyEndAllowThreads(__tstate);
27816 if (PyErr_Occurred()) SWIG_fail;
27817 }
4f89f6a3
RD
27818 {
27819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27820 }
d14a1e28
RD
27821 return resultobj;
27822 fail:
27823 return NULL;
27824}
27825
27826
27827static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27828 PyObject *resultobj;
27829 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27830 wxString *arg2 = 0 ;
27831 int arg3 ;
e811c8ce 27832 bool temp2 = False ;
d14a1e28
RD
27833 PyObject * obj0 = 0 ;
27834 PyObject * obj1 = 0 ;
994141e6 27835 PyObject * obj2 = 0 ;
d14a1e28
RD
27836 char *kwnames[] = {
27837 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27838 };
27839
994141e6 27840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27843 {
27844 arg2 = wxString_in_helper(obj1);
27845 if (arg2 == NULL) SWIG_fail;
e811c8ce 27846 temp2 = True;
d14a1e28 27847 }
15afbcd0
RD
27848 arg3 = (int) SWIG_AsInt(obj2);
27849 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27850 {
27851 PyThreadState* __tstate = wxPyBeginAllowThreads();
27852 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27853
27854 wxPyEndAllowThreads(__tstate);
27855 if (PyErr_Occurred()) SWIG_fail;
27856 }
27857 Py_INCREF(Py_None); resultobj = Py_None;
27858 {
27859 if (temp2)
27860 delete arg2;
27861 }
27862 return resultobj;
27863 fail:
27864 {
27865 if (temp2)
27866 delete arg2;
27867 }
27868 return NULL;
27869}
27870
27871
27872static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27873 PyObject *obj;
27874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27875 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27876 Py_INCREF(obj);
27877 return Py_BuildValue((char *)"");
27878}
27879static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27880 PyObject *resultobj;
27881 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 27882 int arg2 ;
d14a1e28
RD
27883 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27884 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27885 wxSize const &arg4_defvalue = wxDefaultSize ;
27886 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27887 long arg5 = (long) 0 ;
27888 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27889 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27890 wxString const &arg7_defvalue = wxPyControlNameStr ;
27891 wxString *arg7 = (wxString *) &arg7_defvalue ;
27892 wxPyControl *result;
27893 wxPoint temp3 ;
27894 wxSize temp4 ;
e811c8ce 27895 bool temp7 = False ;
d14a1e28 27896 PyObject * obj0 = 0 ;
994141e6 27897 PyObject * obj1 = 0 ;
d14a1e28
RD
27898 PyObject * obj2 = 0 ;
27899 PyObject * obj3 = 0 ;
994141e6 27900 PyObject * obj4 = 0 ;
d14a1e28
RD
27901 PyObject * obj5 = 0 ;
27902 PyObject * obj6 = 0 ;
27903 char *kwnames[] = {
27904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27905 };
27906
994141e6 27907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
27908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27910 arg2 = (int const) SWIG_AsInt(obj1);
27911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27912 if (obj2) {
27913 {
27914 arg3 = &temp3;
27915 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27916 }
27917 }
27918 if (obj3) {
27919 {
27920 arg4 = &temp4;
27921 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27922 }
27923 }
994141e6 27924 if (obj4) {
15afbcd0
RD
27925 arg5 = (long) SWIG_AsLong(obj4);
27926 if (PyErr_Occurred()) SWIG_fail;
994141e6 27927 }
d14a1e28 27928 if (obj5) {
15afbcd0
RD
27929 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27930 SWIG_POINTER_EXCEPTION | 0)) == -1)
27931 SWIG_fail;
d14a1e28 27932 if (arg6 == NULL) {
15afbcd0
RD
27933 PyErr_SetString(PyExc_TypeError,"null reference");
27934 SWIG_fail;
d14a1e28
RD
27935 }
27936 }
27937 if (obj6) {
27938 {
27939 arg7 = wxString_in_helper(obj6);
27940 if (arg7 == NULL) SWIG_fail;
e811c8ce 27941 temp7 = True;
d14a1e28
RD
27942 }
27943 }
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27947
27948 wxPyEndAllowThreads(__tstate);
27949 if (PyErr_Occurred()) SWIG_fail;
27950 }
15afbcd0 27951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
27952 {
27953 if (temp7)
27954 delete arg7;
27955 }
27956 return resultobj;
27957 fail:
27958 {
27959 if (temp7)
27960 delete arg7;
27961 }
27962 return NULL;
27963}
27964
27965
1cb4a8aa
RD
27966static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27967 PyObject *resultobj;
27968 wxPyControl *result;
27969 char *kwnames[] = {
27970 NULL
27971 };
27972
27973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
27974 {
27975 PyThreadState* __tstate = wxPyBeginAllowThreads();
27976 result = (wxPyControl *)new wxPyControl();
27977
27978 wxPyEndAllowThreads(__tstate);
27979 if (PyErr_Occurred()) SWIG_fail;
27980 }
27981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27982 return resultobj;
27983 fail:
27984 return NULL;
27985}
27986
27987
d14a1e28
RD
27988static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27989 PyObject *resultobj;
27990 wxPyControl *arg1 = (wxPyControl *) 0 ;
27991 PyObject *arg2 = (PyObject *) 0 ;
27992 PyObject *arg3 = (PyObject *) 0 ;
27993 PyObject * obj0 = 0 ;
27994 PyObject * obj1 = 0 ;
27995 PyObject * obj2 = 0 ;
27996 char *kwnames[] = {
27997 (char *) "self",(char *) "self",(char *) "_class", NULL
27998 };
27999
28000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28003 arg2 = obj1;
28004 arg3 = obj2;
28005 {
28006 PyThreadState* __tstate = wxPyBeginAllowThreads();
28007 (arg1)->_setCallbackInfo(arg2,arg3);
28008
28009 wxPyEndAllowThreads(__tstate);
28010 if (PyErr_Occurred()) SWIG_fail;
28011 }
28012 Py_INCREF(Py_None); resultobj = Py_None;
28013 return resultobj;
28014 fail:
28015 return NULL;
28016}
28017
28018
28019static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28020 PyObject *resultobj;
28021 wxPyControl *arg1 = (wxPyControl *) 0 ;
28022 int arg2 ;
28023 int arg3 ;
28024 int arg4 ;
28025 int arg5 ;
28026 PyObject * obj0 = 0 ;
994141e6
RD
28027 PyObject * obj1 = 0 ;
28028 PyObject * obj2 = 0 ;
28029 PyObject * obj3 = 0 ;
28030 PyObject * obj4 = 0 ;
d14a1e28
RD
28031 char *kwnames[] = {
28032 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28033 };
28034
994141e6 28035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28038 arg2 = (int) SWIG_AsInt(obj1);
28039 if (PyErr_Occurred()) SWIG_fail;
28040 arg3 = (int) SWIG_AsInt(obj2);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 arg4 = (int) SWIG_AsInt(obj3);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 arg5 = (int) SWIG_AsInt(obj4);
28045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28046 {
28047 PyThreadState* __tstate = wxPyBeginAllowThreads();
28048 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
28049
28050 wxPyEndAllowThreads(__tstate);
28051 if (PyErr_Occurred()) SWIG_fail;
28052 }
28053 Py_INCREF(Py_None); resultobj = Py_None;
28054 return resultobj;
28055 fail:
28056 return NULL;
28057}
28058
28059
28060static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28061 PyObject *resultobj;
28062 wxPyControl *arg1 = (wxPyControl *) 0 ;
28063 int arg2 ;
28064 int arg3 ;
28065 int arg4 ;
28066 int arg5 ;
28067 int arg6 = (int) wxSIZE_AUTO ;
28068 PyObject * obj0 = 0 ;
994141e6
RD
28069 PyObject * obj1 = 0 ;
28070 PyObject * obj2 = 0 ;
28071 PyObject * obj3 = 0 ;
28072 PyObject * obj4 = 0 ;
28073 PyObject * obj5 = 0 ;
d14a1e28
RD
28074 char *kwnames[] = {
28075 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28076 };
28077
994141e6 28078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
28079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28081 arg2 = (int) SWIG_AsInt(obj1);
28082 if (PyErr_Occurred()) SWIG_fail;
28083 arg3 = (int) SWIG_AsInt(obj2);
28084 if (PyErr_Occurred()) SWIG_fail;
28085 arg4 = (int) SWIG_AsInt(obj3);
28086 if (PyErr_Occurred()) SWIG_fail;
28087 arg5 = (int) SWIG_AsInt(obj4);
28088 if (PyErr_Occurred()) SWIG_fail;
994141e6 28089 if (obj5) {
15afbcd0
RD
28090 arg6 = (int) SWIG_AsInt(obj5);
28091 if (PyErr_Occurred()) SWIG_fail;
994141e6 28092 }
d14a1e28
RD
28093 {
28094 PyThreadState* __tstate = wxPyBeginAllowThreads();
28095 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
28096
28097 wxPyEndAllowThreads(__tstate);
28098 if (PyErr_Occurred()) SWIG_fail;
28099 }
28100 Py_INCREF(Py_None); resultobj = Py_None;
28101 return resultobj;
28102 fail:
28103 return NULL;
28104}
28105
28106
28107static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28108 PyObject *resultobj;
28109 wxPyControl *arg1 = (wxPyControl *) 0 ;
28110 int arg2 ;
28111 int arg3 ;
28112 PyObject * obj0 = 0 ;
994141e6
RD
28113 PyObject * obj1 = 0 ;
28114 PyObject * obj2 = 0 ;
d14a1e28
RD
28115 char *kwnames[] = {
28116 (char *) "self",(char *) "width",(char *) "height", NULL
28117 };
28118
994141e6 28119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28122 arg2 = (int) SWIG_AsInt(obj1);
28123 if (PyErr_Occurred()) SWIG_fail;
28124 arg3 = (int) SWIG_AsInt(obj2);
28125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28126 {
28127 PyThreadState* __tstate = wxPyBeginAllowThreads();
28128 (arg1)->base_DoSetClientSize(arg2,arg3);
28129
28130 wxPyEndAllowThreads(__tstate);
28131 if (PyErr_Occurred()) SWIG_fail;
28132 }
28133 Py_INCREF(Py_None); resultobj = Py_None;
28134 return resultobj;
28135 fail:
28136 return NULL;
28137}
28138
28139
28140static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28141 PyObject *resultobj;
28142 wxPyControl *arg1 = (wxPyControl *) 0 ;
28143 int arg2 ;
28144 int arg3 ;
28145 PyObject * obj0 = 0 ;
994141e6
RD
28146 PyObject * obj1 = 0 ;
28147 PyObject * obj2 = 0 ;
d14a1e28
RD
28148 char *kwnames[] = {
28149 (char *) "self",(char *) "x",(char *) "y", NULL
28150 };
28151
994141e6 28152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28155 arg2 = (int) SWIG_AsInt(obj1);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 arg3 = (int) SWIG_AsInt(obj2);
28158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28159 {
28160 PyThreadState* __tstate = wxPyBeginAllowThreads();
28161 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28162
28163 wxPyEndAllowThreads(__tstate);
28164 if (PyErr_Occurred()) SWIG_fail;
28165 }
28166 Py_INCREF(Py_None); resultobj = Py_None;
28167 return resultobj;
28168 fail:
28169 return NULL;
28170}
28171
28172
28173static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28174 PyObject *resultobj;
28175 wxPyControl *arg1 = (wxPyControl *) 0 ;
28176 int *arg2 = (int *) 0 ;
28177 int *arg3 = (int *) 0 ;
28178 int temp2 ;
28179 int temp3 ;
28180 PyObject * obj0 = 0 ;
28181 char *kwnames[] = {
28182 (char *) "self", NULL
28183 };
28184
28185 arg2 = &temp2;
28186 arg3 = &temp3;
28187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28190 {
28191 PyThreadState* __tstate = wxPyBeginAllowThreads();
28192 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28193
28194 wxPyEndAllowThreads(__tstate);
28195 if (PyErr_Occurred()) SWIG_fail;
28196 }
28197 Py_INCREF(Py_None); resultobj = Py_None;
28198 {
28199 PyObject *o = PyInt_FromLong((long) (*arg2));
28200 resultobj = t_output_helper(resultobj,o);
28201 }
28202 {
28203 PyObject *o = PyInt_FromLong((long) (*arg3));
28204 resultobj = t_output_helper(resultobj,o);
28205 }
28206 return resultobj;
28207 fail:
28208 return NULL;
28209}
28210
28211
28212static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28213 PyObject *resultobj;
28214 wxPyControl *arg1 = (wxPyControl *) 0 ;
28215 int *arg2 = (int *) 0 ;
28216 int *arg3 = (int *) 0 ;
28217 int temp2 ;
28218 int temp3 ;
28219 PyObject * obj0 = 0 ;
28220 char *kwnames[] = {
28221 (char *) "self", NULL
28222 };
28223
28224 arg2 = &temp2;
28225 arg3 = &temp3;
28226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28229 {
28230 PyThreadState* __tstate = wxPyBeginAllowThreads();
28231 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28232
28233 wxPyEndAllowThreads(__tstate);
28234 if (PyErr_Occurred()) SWIG_fail;
28235 }
28236 Py_INCREF(Py_None); resultobj = Py_None;
28237 {
28238 PyObject *o = PyInt_FromLong((long) (*arg2));
28239 resultobj = t_output_helper(resultobj,o);
28240 }
28241 {
28242 PyObject *o = PyInt_FromLong((long) (*arg3));
28243 resultobj = t_output_helper(resultobj,o);
28244 }
28245 return resultobj;
28246 fail:
28247 return NULL;
28248}
28249
28250
28251static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28252 PyObject *resultobj;
28253 wxPyControl *arg1 = (wxPyControl *) 0 ;
28254 int *arg2 = (int *) 0 ;
28255 int *arg3 = (int *) 0 ;
28256 int temp2 ;
28257 int temp3 ;
28258 PyObject * obj0 = 0 ;
28259 char *kwnames[] = {
28260 (char *) "self", NULL
28261 };
28262
28263 arg2 = &temp2;
28264 arg3 = &temp3;
28265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
28266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28268 {
28269 PyThreadState* __tstate = wxPyBeginAllowThreads();
28270 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28271
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
28275 Py_INCREF(Py_None); resultobj = Py_None;
28276 {
28277 PyObject *o = PyInt_FromLong((long) (*arg2));
28278 resultobj = t_output_helper(resultobj,o);
28279 }
28280 {
28281 PyObject *o = PyInt_FromLong((long) (*arg3));
28282 resultobj = t_output_helper(resultobj,o);
28283 }
28284 return resultobj;
28285 fail:
28286 return NULL;
28287}
28288
28289
28290static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28291 PyObject *resultobj;
28292 wxPyControl *arg1 = (wxPyControl *) 0 ;
28293 wxSize result;
28294 PyObject * obj0 = 0 ;
28295 char *kwnames[] = {
28296 (char *) "self", NULL
28297 };
28298
28299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28302 {
28303 PyThreadState* __tstate = wxPyBeginAllowThreads();
28304 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28305
28306 wxPyEndAllowThreads(__tstate);
28307 if (PyErr_Occurred()) SWIG_fail;
28308 }
28309 {
28310 wxSize * resultptr;
28311 resultptr = new wxSize((wxSize &) result);
15afbcd0 28312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28313 }
28314 return resultobj;
28315 fail:
28316 return NULL;
28317}
28318
28319
28320static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28321 PyObject *resultobj;
28322 wxPyControl *arg1 = (wxPyControl *) 0 ;
28323 wxSize result;
28324 PyObject * obj0 = 0 ;
28325 char *kwnames[] = {
28326 (char *) "self", NULL
28327 };
28328
28329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28332 {
28333 PyThreadState* __tstate = wxPyBeginAllowThreads();
28334 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28335
28336 wxPyEndAllowThreads(__tstate);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
28339 {
28340 wxSize * resultptr;
28341 resultptr = new wxSize((wxSize &) result);
15afbcd0 28342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28343 }
28344 return resultobj;
28345 fail:
28346 return NULL;
28347}
28348
28349
28350static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28351 PyObject *resultobj;
28352 wxPyControl *arg1 = (wxPyControl *) 0 ;
28353 PyObject * obj0 = 0 ;
28354 char *kwnames[] = {
28355 (char *) "self", NULL
28356 };
28357
28358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
28359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28361 {
28362 PyThreadState* __tstate = wxPyBeginAllowThreads();
28363 (arg1)->base_InitDialog();
28364
28365 wxPyEndAllowThreads(__tstate);
28366 if (PyErr_Occurred()) SWIG_fail;
28367 }
28368 Py_INCREF(Py_None); resultobj = Py_None;
28369 return resultobj;
28370 fail:
28371 return NULL;
28372}
28373
28374
28375static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28376 PyObject *resultobj;
28377 wxPyControl *arg1 = (wxPyControl *) 0 ;
28378 bool result;
28379 PyObject * obj0 = 0 ;
28380 char *kwnames[] = {
28381 (char *) "self", NULL
28382 };
28383
28384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28387 {
28388 PyThreadState* __tstate = wxPyBeginAllowThreads();
28389 result = (bool)(arg1)->base_TransferDataToWindow();
28390
28391 wxPyEndAllowThreads(__tstate);
28392 if (PyErr_Occurred()) SWIG_fail;
28393 }
4f89f6a3
RD
28394 {
28395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28396 }
d14a1e28
RD
28397 return resultobj;
28398 fail:
28399 return NULL;
28400}
28401
28402
28403static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28404 PyObject *resultobj;
28405 wxPyControl *arg1 = (wxPyControl *) 0 ;
28406 bool result;
28407 PyObject * obj0 = 0 ;
28408 char *kwnames[] = {
28409 (char *) "self", NULL
28410 };
28411
28412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28415 {
28416 PyThreadState* __tstate = wxPyBeginAllowThreads();
28417 result = (bool)(arg1)->base_TransferDataFromWindow();
28418
28419 wxPyEndAllowThreads(__tstate);
28420 if (PyErr_Occurred()) SWIG_fail;
28421 }
4f89f6a3
RD
28422 {
28423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28424 }
d14a1e28
RD
28425 return resultobj;
28426 fail:
28427 return NULL;
28428}
28429
28430
28431static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28432 PyObject *resultobj;
28433 wxPyControl *arg1 = (wxPyControl *) 0 ;
28434 bool result;
28435 PyObject * obj0 = 0 ;
28436 char *kwnames[] = {
28437 (char *) "self", NULL
28438 };
28439
28440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
28441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28443 {
28444 PyThreadState* __tstate = wxPyBeginAllowThreads();
28445 result = (bool)(arg1)->base_Validate();
28446
28447 wxPyEndAllowThreads(__tstate);
28448 if (PyErr_Occurred()) SWIG_fail;
28449 }
4f89f6a3
RD
28450 {
28451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28452 }
d14a1e28
RD
28453 return resultobj;
28454 fail:
28455 return NULL;
28456}
28457
28458
28459static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28460 PyObject *resultobj;
28461 wxPyControl *arg1 = (wxPyControl *) 0 ;
28462 bool result;
28463 PyObject * obj0 = 0 ;
28464 char *kwnames[] = {
28465 (char *) "self", NULL
28466 };
28467
28468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
28469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28471 {
28472 PyThreadState* __tstate = wxPyBeginAllowThreads();
28473 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28474
28475 wxPyEndAllowThreads(__tstate);
28476 if (PyErr_Occurred()) SWIG_fail;
28477 }
4f89f6a3
RD
28478 {
28479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28480 }
d14a1e28
RD
28481 return resultobj;
28482 fail:
28483 return NULL;
28484}
28485
28486
28487static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28488 PyObject *resultobj;
28489 wxPyControl *arg1 = (wxPyControl *) 0 ;
28490 bool result;
28491 PyObject * obj0 = 0 ;
28492 char *kwnames[] = {
28493 (char *) "self", NULL
28494 };
28495
28496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
28497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28499 {
28500 PyThreadState* __tstate = wxPyBeginAllowThreads();
28501 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28502
28503 wxPyEndAllowThreads(__tstate);
28504 if (PyErr_Occurred()) SWIG_fail;
28505 }
4f89f6a3
RD
28506 {
28507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28508 }
d14a1e28
RD
28509 return resultobj;
28510 fail:
28511 return NULL;
28512}
28513
28514
28515static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28516 PyObject *resultobj;
28517 wxPyControl *arg1 = (wxPyControl *) 0 ;
28518 wxSize result;
28519 PyObject * obj0 = 0 ;
28520 char *kwnames[] = {
28521 (char *) "self", NULL
28522 };
28523
28524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28527 {
28528 PyThreadState* __tstate = wxPyBeginAllowThreads();
28529 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28530
28531 wxPyEndAllowThreads(__tstate);
28532 if (PyErr_Occurred()) SWIG_fail;
28533 }
28534 {
28535 wxSize * resultptr;
28536 resultptr = new wxSize((wxSize &) result);
15afbcd0 28537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28538 }
28539 return resultobj;
28540 fail:
28541 return NULL;
28542}
28543
28544
28545static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28546 PyObject *resultobj;
28547 wxPyControl *arg1 = (wxPyControl *) 0 ;
28548 wxWindow *arg2 = (wxWindow *) 0 ;
28549 PyObject * obj0 = 0 ;
28550 PyObject * obj1 = 0 ;
28551 char *kwnames[] = {
28552 (char *) "self",(char *) "child", NULL
28553 };
28554
28555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28560 {
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 (arg1)->base_AddChild(arg2);
28563
28564 wxPyEndAllowThreads(__tstate);
28565 if (PyErr_Occurred()) SWIG_fail;
28566 }
28567 Py_INCREF(Py_None); resultobj = Py_None;
28568 return resultobj;
28569 fail:
28570 return NULL;
28571}
28572
28573
28574static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28575 PyObject *resultobj;
28576 wxPyControl *arg1 = (wxPyControl *) 0 ;
28577 wxWindow *arg2 = (wxWindow *) 0 ;
28578 PyObject * obj0 = 0 ;
28579 PyObject * obj1 = 0 ;
28580 char *kwnames[] = {
28581 (char *) "self",(char *) "child", NULL
28582 };
28583
28584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28589 {
28590 PyThreadState* __tstate = wxPyBeginAllowThreads();
28591 (arg1)->base_RemoveChild(arg2);
28592
28593 wxPyEndAllowThreads(__tstate);
28594 if (PyErr_Occurred()) SWIG_fail;
28595 }
28596 Py_INCREF(Py_None); resultobj = Py_None;
28597 return resultobj;
28598 fail:
28599 return NULL;
28600}
28601
28602
1cb4a8aa
RD
28603static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28604 PyObject *resultobj;
28605 wxPyControl *arg1 = (wxPyControl *) 0 ;
28606 bool result;
28607 PyObject * obj0 = 0 ;
28608 char *kwnames[] = {
28609 (char *) "self", NULL
28610 };
28611
28612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
28613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28615 {
28616 PyThreadState* __tstate = wxPyBeginAllowThreads();
28617 result = (bool)(arg1)->base_ShouldInheritColours();
28618
28619 wxPyEndAllowThreads(__tstate);
28620 if (PyErr_Occurred()) SWIG_fail;
28621 }
28622 {
28623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28624 }
28625 return resultobj;
28626 fail:
28627 return NULL;
28628}
28629
28630
28631static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
28632 PyObject *resultobj;
28633 wxPyControl *arg1 = (wxPyControl *) 0 ;
28634 wxColour *arg2 = 0 ;
28635 wxColour temp2 ;
28636 PyObject * obj0 = 0 ;
28637 PyObject * obj1 = 0 ;
28638 char *kwnames[] = {
28639 (char *) "self",(char *) "c", NULL
28640 };
28641
28642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
28643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28645 {
28646 arg2 = &temp2;
28647 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28648 }
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
28652
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 Py_INCREF(Py_None); resultobj = Py_None;
28657 return resultobj;
28658 fail:
28659 return NULL;
28660}
28661
28662
d14a1e28
RD
28663static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28664 PyObject *obj;
28665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28666 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28667 Py_INCREF(obj);
28668 return Py_BuildValue((char *)"");
28669}
28670static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28671 PyObject *resultobj;
28672 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 28673 int arg2 = (int) 0 ;
d14a1e28
RD
28674 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28675 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28676 wxHelpEvent *result;
28677 wxPoint temp3 ;
994141e6
RD
28678 PyObject * obj0 = 0 ;
28679 PyObject * obj1 = 0 ;
d14a1e28
RD
28680 PyObject * obj2 = 0 ;
28681 char *kwnames[] = {
28682 (char *) "type",(char *) "winid",(char *) "pt", NULL
28683 };
28684
994141e6
RD
28685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28686 if (obj0) {
15afbcd0
RD
28687 arg1 = (wxEventType) SWIG_AsInt(obj0);
28688 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
28689 }
28690 if (obj1) {
15afbcd0
RD
28691 arg2 = (int) SWIG_AsInt(obj1);
28692 if (PyErr_Occurred()) SWIG_fail;
994141e6 28693 }
d14a1e28
RD
28694 if (obj2) {
28695 {
28696 arg3 = &temp3;
28697 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28698 }
28699 }
28700 {
28701 PyThreadState* __tstate = wxPyBeginAllowThreads();
28702 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28703
28704 wxPyEndAllowThreads(__tstate);
28705 if (PyErr_Occurred()) SWIG_fail;
28706 }
15afbcd0 28707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
28708 return resultobj;
28709 fail:
28710 return NULL;
28711}
28712
28713
28714static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28715 PyObject *resultobj;
28716 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
15afbcd0 28717 wxPoint result;
d14a1e28
RD
28718 PyObject * obj0 = 0 ;
28719 char *kwnames[] = {
28720 (char *) "self", NULL
28721 };
28722
28723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
28724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28726 {
28727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15afbcd0 28728 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
28729
28730 wxPyEndAllowThreads(__tstate);
28731 if (PyErr_Occurred()) SWIG_fail;
28732 }
15afbcd0
RD
28733 {
28734 wxPoint * resultptr;
28735 resultptr = new wxPoint((wxPoint &) result);
28736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28737 }
d14a1e28
RD
28738 return resultobj;
28739 fail:
28740 return NULL;
28741}
28742
28743
28744static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28745 PyObject *resultobj;
28746 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28747 wxPoint *arg2 = 0 ;
28748 wxPoint temp2 ;
28749 PyObject * obj0 = 0 ;
28750 PyObject * obj1 = 0 ;
28751 char *kwnames[] = {
28752 (char *) "self",(char *) "pos", NULL
28753 };
28754
28755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28758 {
28759 arg2 = &temp2;
28760 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28761 }
28762 {
28763 PyThreadState* __tstate = wxPyBeginAllowThreads();
28764 (arg1)->SetPosition((wxPoint const &)*arg2);
28765
28766 wxPyEndAllowThreads(__tstate);
28767 if (PyErr_Occurred()) SWIG_fail;
28768 }
28769 Py_INCREF(Py_None); resultobj = Py_None;
28770 return resultobj;
28771 fail:
28772 return NULL;
28773}
28774
28775
28776static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28777 PyObject *resultobj;
28778 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28779 wxString *result;
28780 PyObject * obj0 = 0 ;
28781 char *kwnames[] = {
28782 (char *) "self", NULL
28783 };
28784
28785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
15afbcd0
RD
28786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28788 {
28789 PyThreadState* __tstate = wxPyBeginAllowThreads();
28790 {
28791 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28792 result = (wxString *) &_result_ref;
28793 }
28794
28795 wxPyEndAllowThreads(__tstate);
28796 if (PyErr_Occurred()) SWIG_fail;
28797 }
cc6dd355
RD
28798 {
28799#if wxUSE_UNICODE
28800 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28801#else
28802 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28803#endif
28804 }
d14a1e28
RD
28805 return resultobj;
28806 fail:
28807 return NULL;
28808}
28809
28810
28811static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28812 PyObject *resultobj;
28813 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28814 wxString *arg2 = 0 ;
e811c8ce 28815 bool temp2 = False ;
d14a1e28
RD
28816 PyObject * obj0 = 0 ;
28817 PyObject * obj1 = 0 ;
28818 char *kwnames[] = {
28819 (char *) "self",(char *) "link", NULL
28820 };
28821
28822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28825 {
28826 arg2 = wxString_in_helper(obj1);
28827 if (arg2 == NULL) SWIG_fail;
e811c8ce 28828 temp2 = True;
d14a1e28
RD
28829 }
28830 {
28831 PyThreadState* __tstate = wxPyBeginAllowThreads();
28832 (arg1)->SetLink((wxString const &)*arg2);
28833
28834 wxPyEndAllowThreads(__tstate);
28835 if (PyErr_Occurred()) SWIG_fail;
28836 }
28837 Py_INCREF(Py_None); resultobj = Py_None;
28838 {
28839 if (temp2)
28840 delete arg2;
28841 }
28842 return resultobj;
28843 fail:
28844 {
28845 if (temp2)
28846 delete arg2;
28847 }
28848 return NULL;
28849}
28850
28851
28852static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28853 PyObject *resultobj;
28854 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28855 wxString *result;
28856 PyObject * obj0 = 0 ;
28857 char *kwnames[] = {
28858 (char *) "self", NULL
28859 };
28860
28861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
28862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28864 {
28865 PyThreadState* __tstate = wxPyBeginAllowThreads();
28866 {
28867 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28868 result = (wxString *) &_result_ref;
28869 }
28870
28871 wxPyEndAllowThreads(__tstate);
28872 if (PyErr_Occurred()) SWIG_fail;
28873 }
cc6dd355
RD
28874 {
28875#if wxUSE_UNICODE
28876 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28877#else
28878 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28879#endif
28880 }
d14a1e28
RD
28881 return resultobj;
28882 fail:
28883 return NULL;
28884}
28885
28886
28887static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28888 PyObject *resultobj;
28889 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28890 wxString *arg2 = 0 ;
e811c8ce 28891 bool temp2 = False ;
d14a1e28
RD
28892 PyObject * obj0 = 0 ;
28893 PyObject * obj1 = 0 ;
28894 char *kwnames[] = {
28895 (char *) "self",(char *) "target", NULL
28896 };
28897
28898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28901 {
28902 arg2 = wxString_in_helper(obj1);
28903 if (arg2 == NULL) SWIG_fail;
e811c8ce 28904 temp2 = True;
d14a1e28
RD
28905 }
28906 {
28907 PyThreadState* __tstate = wxPyBeginAllowThreads();
28908 (arg1)->SetTarget((wxString const &)*arg2);
28909
28910 wxPyEndAllowThreads(__tstate);
28911 if (PyErr_Occurred()) SWIG_fail;
28912 }
28913 Py_INCREF(Py_None); resultobj = Py_None;
28914 {
28915 if (temp2)
28916 delete arg2;
28917 }
28918 return resultobj;
28919 fail:
28920 {
28921 if (temp2)
28922 delete arg2;
28923 }
28924 return NULL;
28925}
28926
28927
28928static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28929 PyObject *obj;
28930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28931 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28932 Py_INCREF(obj);
28933 return Py_BuildValue((char *)"");
28934}
28935static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28936 PyObject *resultobj;
28937 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 28938 bool arg2 = (bool) True ;
d14a1e28
RD
28939 wxContextHelp *result;
28940 PyObject * obj0 = 0 ;
28941 PyObject * obj1 = 0 ;
28942 char *kwnames[] = {
28943 (char *) "window",(char *) "doNow", NULL
28944 };
28945
28946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28947 if (obj0) {
15afbcd0
RD
28948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28950 }
28951 if (obj1) {
15afbcd0
RD
28952 arg2 = (bool) SWIG_AsBool(obj1);
28953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28954 }
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
28957 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28958
28959 wxPyEndAllowThreads(__tstate);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 }
15afbcd0 28962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
28963 return resultobj;
28964 fail:
28965 return NULL;
28966}
28967
28968
28969static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28970 PyObject *resultobj;
28971 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28972 PyObject * obj0 = 0 ;
28973 char *kwnames[] = {
28974 (char *) "self", NULL
28975 };
28976
28977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
28978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28980 {
28981 PyThreadState* __tstate = wxPyBeginAllowThreads();
28982 delete arg1;
28983
28984 wxPyEndAllowThreads(__tstate);
28985 if (PyErr_Occurred()) SWIG_fail;
28986 }
28987 Py_INCREF(Py_None); resultobj = Py_None;
28988 return resultobj;
28989 fail:
28990 return NULL;
28991}
28992
28993
28994static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28995 PyObject *resultobj;
28996 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28997 wxWindow *arg2 = (wxWindow *) NULL ;
28998 bool result;
28999 PyObject * obj0 = 0 ;
29000 PyObject * obj1 = 0 ;
29001 char *kwnames[] = {
29002 (char *) "self",(char *) "window", NULL
29003 };
29004
29005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 29008 if (obj1) {
15afbcd0
RD
29009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29011 }
29012 {
29013 PyThreadState* __tstate = wxPyBeginAllowThreads();
29014 result = (bool)(arg1)->BeginContextHelp(arg2);
29015
29016 wxPyEndAllowThreads(__tstate);
29017 if (PyErr_Occurred()) SWIG_fail;
29018 }
4f89f6a3
RD
29019 {
29020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29021 }
d14a1e28
RD
29022 return resultobj;
29023 fail:
29024 return NULL;
29025}
29026
29027
29028static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29029 PyObject *resultobj;
29030 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29031 bool result;
29032 PyObject * obj0 = 0 ;
29033 char *kwnames[] = {
29034 (char *) "self", NULL
29035 };
29036
29037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
29038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29040 {
29041 PyThreadState* __tstate = wxPyBeginAllowThreads();
29042 result = (bool)(arg1)->EndContextHelp();
29043
29044 wxPyEndAllowThreads(__tstate);
29045 if (PyErr_Occurred()) SWIG_fail;
29046 }
4f89f6a3
RD
29047 {
29048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29049 }
d14a1e28
RD
29050 return resultobj;
29051 fail:
29052 return NULL;
29053}
29054
29055
29056static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
29057 PyObject *obj;
29058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29059 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
29060 Py_INCREF(obj);
29061 return Py_BuildValue((char *)"");
29062}
29063static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
29064 PyObject *resultobj;
29065 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 29066 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
29067 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29068 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29069 wxSize const &arg4_defvalue = wxDefaultSize ;
29070 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29071 long arg5 = (long) wxBU_AUTODRAW ;
29072 wxContextHelpButton *result;
29073 wxPoint temp3 ;
29074 wxSize temp4 ;
29075 PyObject * obj0 = 0 ;
994141e6 29076 PyObject * obj1 = 0 ;
d14a1e28
RD
29077 PyObject * obj2 = 0 ;
29078 PyObject * obj3 = 0 ;
994141e6 29079 PyObject * obj4 = 0 ;
d14a1e28
RD
29080 char *kwnames[] = {
29081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29082 };
29083
994141e6 29084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 29087 if (obj1) {
15afbcd0
RD
29088 arg2 = (int) SWIG_AsInt(obj1);
29089 if (PyErr_Occurred()) SWIG_fail;
994141e6 29090 }
d14a1e28
RD
29091 if (obj2) {
29092 {
29093 arg3 = &temp3;
29094 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29095 }
29096 }
29097 if (obj3) {
29098 {
29099 arg4 = &temp4;
29100 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29101 }
29102 }
994141e6 29103 if (obj4) {
15afbcd0
RD
29104 arg5 = (long) SWIG_AsLong(obj4);
29105 if (PyErr_Occurred()) SWIG_fail;
994141e6 29106 }
d14a1e28
RD
29107 {
29108 PyThreadState* __tstate = wxPyBeginAllowThreads();
29109 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29110
29111 wxPyEndAllowThreads(__tstate);
29112 if (PyErr_Occurred()) SWIG_fail;
29113 }
15afbcd0 29114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
29115 return resultobj;
29116 fail:
29117 return NULL;
29118}
29119
29120
29121static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
29122 PyObject *obj;
29123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29124 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
29125 Py_INCREF(obj);
29126 return Py_BuildValue((char *)"");
29127}
29128static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
29129 PyObject *resultobj;
29130 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29131 wxHelpProvider *result;
29132 PyObject * obj0 = 0 ;
29133 char *kwnames[] = {
29134 (char *) "helpProvider", NULL
29135 };
29136
29137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
29138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
29143
29144 wxPyEndAllowThreads(__tstate);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
15afbcd0 29147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
29148 return resultobj;
29149 fail:
29150 return NULL;
29151}
29152
29153
29154static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
29155 PyObject *resultobj;
29156 wxHelpProvider *result;
29157 char *kwnames[] = {
29158 NULL
29159 };
29160
29161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
29162 {
29163 PyThreadState* __tstate = wxPyBeginAllowThreads();
29164 result = (wxHelpProvider *)wxHelpProvider::Get();
29165
29166 wxPyEndAllowThreads(__tstate);
29167 if (PyErr_Occurred()) SWIG_fail;
29168 }
15afbcd0 29169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
29170 return resultobj;
29171 fail:
29172 return NULL;
29173}
29174
29175
29176static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29177 PyObject *resultobj;
29178 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29179 wxWindow *arg2 = (wxWindow *) 0 ;
29180 wxString result;
29181 PyObject * obj0 = 0 ;
29182 PyObject * obj1 = 0 ;
29183 char *kwnames[] = {
29184 (char *) "self",(char *) "window", NULL
29185 };
29186
29187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29192 {
29193 PyThreadState* __tstate = wxPyBeginAllowThreads();
29194 result = (arg1)->GetHelp((wxWindow const *)arg2);
29195
29196 wxPyEndAllowThreads(__tstate);
29197 if (PyErr_Occurred()) SWIG_fail;
29198 }
29199 {
29200#if wxUSE_UNICODE
29201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29202#else
29203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29204#endif
29205 }
29206 return resultobj;
29207 fail:
29208 return NULL;
29209}
29210
29211
29212static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29213 PyObject *resultobj;
29214 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29215 wxWindow *arg2 = (wxWindow *) 0 ;
29216 bool result;
29217 PyObject * obj0 = 0 ;
29218 PyObject * obj1 = 0 ;
29219 char *kwnames[] = {
29220 (char *) "self",(char *) "window", NULL
29221 };
29222
29223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 result = (bool)(arg1)->ShowHelp(arg2);
29231
29232 wxPyEndAllowThreads(__tstate);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 }
4f89f6a3
RD
29235 {
29236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29237 }
d14a1e28
RD
29238 return resultobj;
29239 fail:
29240 return NULL;
29241}
29242
29243
29244static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29245 PyObject *resultobj;
29246 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29247 wxWindow *arg2 = (wxWindow *) 0 ;
29248 wxString *arg3 = 0 ;
e811c8ce 29249 bool temp3 = False ;
d14a1e28
RD
29250 PyObject * obj0 = 0 ;
29251 PyObject * obj1 = 0 ;
29252 PyObject * obj2 = 0 ;
29253 char *kwnames[] = {
29254 (char *) "self",(char *) "window",(char *) "text", NULL
29255 };
29256
29257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29262 {
29263 arg3 = wxString_in_helper(obj2);
29264 if (arg3 == NULL) SWIG_fail;
e811c8ce 29265 temp3 = True;
d14a1e28
RD
29266 }
29267 {
29268 PyThreadState* __tstate = wxPyBeginAllowThreads();
29269 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29270
29271 wxPyEndAllowThreads(__tstate);
29272 if (PyErr_Occurred()) SWIG_fail;
29273 }
29274 Py_INCREF(Py_None); resultobj = Py_None;
29275 {
29276 if (temp3)
29277 delete arg3;
29278 }
29279 return resultobj;
29280 fail:
29281 {
29282 if (temp3)
29283 delete arg3;
29284 }
29285 return NULL;
29286}
29287
29288
29289static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
29290 PyObject *resultobj;
29291 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 29292 int arg2 ;
d14a1e28 29293 wxString *arg3 = 0 ;
e811c8ce 29294 bool temp3 = False ;
d14a1e28 29295 PyObject * obj0 = 0 ;
994141e6 29296 PyObject * obj1 = 0 ;
d14a1e28
RD
29297 PyObject * obj2 = 0 ;
29298 char *kwnames[] = {
29299 (char *) "self",(char *) "id",(char *) "text", NULL
29300 };
29301
994141e6 29302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29305 arg2 = (int) SWIG_AsInt(obj1);
29306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29307 {
29308 arg3 = wxString_in_helper(obj2);
29309 if (arg3 == NULL) SWIG_fail;
e811c8ce 29310 temp3 = True;
d14a1e28
RD
29311 }
29312 {
29313 PyThreadState* __tstate = wxPyBeginAllowThreads();
29314 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29315
29316 wxPyEndAllowThreads(__tstate);
29317 if (PyErr_Occurred()) SWIG_fail;
29318 }
29319 Py_INCREF(Py_None); resultobj = Py_None;
29320 {
29321 if (temp3)
29322 delete arg3;
29323 }
29324 return resultobj;
29325 fail:
29326 {
29327 if (temp3)
29328 delete arg3;
29329 }
29330 return NULL;
29331}
29332
29333
15afbcd0
RD
29334static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29335 PyObject *resultobj;
29336 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29337 wxWindow *arg2 = (wxWindow *) 0 ;
29338 PyObject * obj0 = 0 ;
29339 PyObject * obj1 = 0 ;
29340 char *kwnames[] = {
29341 (char *) "self",(char *) "window", NULL
29342 };
29343
29344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29349 {
29350 PyThreadState* __tstate = wxPyBeginAllowThreads();
29351 (arg1)->RemoveHelp(arg2);
29352
29353 wxPyEndAllowThreads(__tstate);
29354 if (PyErr_Occurred()) SWIG_fail;
29355 }
29356 Py_INCREF(Py_None); resultobj = Py_None;
29357 return resultobj;
29358 fail:
29359 return NULL;
29360}
29361
29362
d14a1e28
RD
29363static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29364 PyObject *resultobj;
29365 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29366 PyObject * obj0 = 0 ;
29367 char *kwnames[] = {
29368 (char *) "self", NULL
29369 };
29370
29371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
29372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29374 {
29375 PyThreadState* __tstate = wxPyBeginAllowThreads();
29376 wxHelpProvider_Destroy(arg1);
29377
29378 wxPyEndAllowThreads(__tstate);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
29381 Py_INCREF(Py_None); resultobj = Py_None;
29382 return resultobj;
29383 fail:
29384 return NULL;
29385}
29386
29387
29388static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29389 PyObject *obj;
29390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29391 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29392 Py_INCREF(obj);
29393 return Py_BuildValue((char *)"");
29394}
29395static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29396 PyObject *resultobj;
29397 wxSimpleHelpProvider *result;
29398 char *kwnames[] = {
29399 NULL
29400 };
29401
29402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29403 {
29404 PyThreadState* __tstate = wxPyBeginAllowThreads();
29405 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29406
29407 wxPyEndAllowThreads(__tstate);
29408 if (PyErr_Occurred()) SWIG_fail;
29409 }
15afbcd0 29410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
29411 return resultobj;
29412 fail:
29413 return NULL;
29414}
29415
29416
29417static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29418 PyObject *obj;
29419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29420 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29421 Py_INCREF(obj);
29422 return Py_BuildValue((char *)"");
29423}
e811c8ce
RD
29424static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29425 PyObject *resultobj;
29426 wxBitmap *arg1 = 0 ;
29427 wxCursor const &arg2_defvalue = wxNullCursor ;
29428 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29429 wxGenericDragImage *result;
29430 PyObject * obj0 = 0 ;
29431 PyObject * obj1 = 0 ;
29432 char *kwnames[] = {
29433 (char *) "image",(char *) "cursor", NULL
29434 };
29435
29436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29438 SWIG_POINTER_EXCEPTION | 0)) == -1)
29439 SWIG_fail;
e811c8ce 29440 if (arg1 == NULL) {
15afbcd0
RD
29441 PyErr_SetString(PyExc_TypeError,"null reference");
29442 SWIG_fail;
e811c8ce
RD
29443 }
29444 if (obj1) {
15afbcd0
RD
29445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29446 SWIG_POINTER_EXCEPTION | 0)) == -1)
29447 SWIG_fail;
e811c8ce 29448 if (arg2 == NULL) {
15afbcd0
RD
29449 PyErr_SetString(PyExc_TypeError,"null reference");
29450 SWIG_fail;
e811c8ce
RD
29451 }
29452 }
29453 {
29454 PyThreadState* __tstate = wxPyBeginAllowThreads();
29455 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29456
29457 wxPyEndAllowThreads(__tstate);
29458 if (PyErr_Occurred()) SWIG_fail;
29459 }
15afbcd0 29460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29461 return resultobj;
29462 fail:
29463 return NULL;
29464}
29465
29466
29467static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29468 PyObject *resultobj;
29469 wxIcon *arg1 = 0 ;
29470 wxCursor const &arg2_defvalue = wxNullCursor ;
29471 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29472 wxGenericDragImage *result;
29473 PyObject * obj0 = 0 ;
29474 PyObject * obj1 = 0 ;
29475 char *kwnames[] = {
29476 (char *) "image",(char *) "cursor", NULL
29477 };
29478
29479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29481 SWIG_POINTER_EXCEPTION | 0)) == -1)
29482 SWIG_fail;
e811c8ce 29483 if (arg1 == NULL) {
15afbcd0
RD
29484 PyErr_SetString(PyExc_TypeError,"null reference");
29485 SWIG_fail;
e811c8ce
RD
29486 }
29487 if (obj1) {
15afbcd0
RD
29488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29489 SWIG_POINTER_EXCEPTION | 0)) == -1)
29490 SWIG_fail;
e811c8ce 29491 if (arg2 == NULL) {
15afbcd0
RD
29492 PyErr_SetString(PyExc_TypeError,"null reference");
29493 SWIG_fail;
e811c8ce
RD
29494 }
29495 }
29496 {
29497 PyThreadState* __tstate = wxPyBeginAllowThreads();
29498 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29499
29500 wxPyEndAllowThreads(__tstate);
29501 if (PyErr_Occurred()) SWIG_fail;
29502 }
15afbcd0 29503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29504 return resultobj;
29505 fail:
29506 return NULL;
29507}
29508
29509
29510static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29511 PyObject *resultobj;
29512 wxString *arg1 = 0 ;
29513 wxCursor const &arg2_defvalue = wxNullCursor ;
29514 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29515 wxGenericDragImage *result;
29516 bool temp1 = False ;
29517 PyObject * obj0 = 0 ;
29518 PyObject * obj1 = 0 ;
29519 char *kwnames[] = {
29520 (char *) "str",(char *) "cursor", NULL
29521 };
29522
29523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29524 {
29525 arg1 = wxString_in_helper(obj0);
29526 if (arg1 == NULL) SWIG_fail;
29527 temp1 = True;
29528 }
29529 if (obj1) {
15afbcd0
RD
29530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29531 SWIG_POINTER_EXCEPTION | 0)) == -1)
29532 SWIG_fail;
e811c8ce 29533 if (arg2 == NULL) {
15afbcd0
RD
29534 PyErr_SetString(PyExc_TypeError,"null reference");
29535 SWIG_fail;
e811c8ce
RD
29536 }
29537 }
29538 {
29539 PyThreadState* __tstate = wxPyBeginAllowThreads();
29540 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29541
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
15afbcd0 29545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29546 {
29547 if (temp1)
29548 delete arg1;
29549 }
29550 return resultobj;
29551 fail:
29552 {
29553 if (temp1)
29554 delete arg1;
29555 }
29556 return NULL;
29557}
29558
29559
29560static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29561 PyObject *resultobj;
29562 wxPyTreeCtrl *arg1 = 0 ;
29563 wxTreeItemId *arg2 = 0 ;
29564 wxGenericDragImage *result;
29565 PyObject * obj0 = 0 ;
29566 PyObject * obj1 = 0 ;
29567 char *kwnames[] = {
29568 (char *) "treeCtrl",(char *) "id", NULL
29569 };
29570
29571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29573 SWIG_POINTER_EXCEPTION | 0)) == -1)
29574 SWIG_fail;
e811c8ce 29575 if (arg1 == NULL) {
15afbcd0
RD
29576 PyErr_SetString(PyExc_TypeError,"null reference");
29577 SWIG_fail;
e811c8ce 29578 }
15afbcd0
RD
29579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29580 SWIG_POINTER_EXCEPTION | 0)) == -1)
29581 SWIG_fail;
e811c8ce 29582 if (arg2 == NULL) {
15afbcd0
RD
29583 PyErr_SetString(PyExc_TypeError,"null reference");
29584 SWIG_fail;
e811c8ce
RD
29585 }
29586 {
29587 PyThreadState* __tstate = wxPyBeginAllowThreads();
29588 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29589
29590 wxPyEndAllowThreads(__tstate);
29591 if (PyErr_Occurred()) SWIG_fail;
29592 }
15afbcd0 29593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29594 return resultobj;
29595 fail:
29596 return NULL;
29597}
29598
29599
29600static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29601 PyObject *resultobj;
29602 wxPyListCtrl *arg1 = 0 ;
29603 long arg2 ;
29604 wxGenericDragImage *result;
29605 PyObject * obj0 = 0 ;
994141e6 29606 PyObject * obj1 = 0 ;
e811c8ce
RD
29607 char *kwnames[] = {
29608 (char *) "listCtrl",(char *) "id", NULL
29609 };
29610
994141e6 29611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29613 SWIG_POINTER_EXCEPTION | 0)) == -1)
29614 SWIG_fail;
e811c8ce 29615 if (arg1 == NULL) {
15afbcd0
RD
29616 PyErr_SetString(PyExc_TypeError,"null reference");
29617 SWIG_fail;
994141e6 29618 }
15afbcd0
RD
29619 arg2 = (long) SWIG_AsLong(obj1);
29620 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
29621 {
29622 PyThreadState* __tstate = wxPyBeginAllowThreads();
29623 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29624
29625 wxPyEndAllowThreads(__tstate);
29626 if (PyErr_Occurred()) SWIG_fail;
29627 }
15afbcd0 29628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29629 return resultobj;
29630 fail:
29631 return NULL;
29632}
29633
29634
29635static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29636 PyObject *resultobj;
29637 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29638 PyObject * obj0 = 0 ;
29639 char *kwnames[] = {
29640 (char *) "self", NULL
29641 };
29642
29643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
29644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29646 {
29647 PyThreadState* __tstate = wxPyBeginAllowThreads();
29648 delete arg1;
29649
29650 wxPyEndAllowThreads(__tstate);
29651 if (PyErr_Occurred()) SWIG_fail;
29652 }
29653 Py_INCREF(Py_None); resultobj = Py_None;
29654 return resultobj;
29655 fail:
29656 return NULL;
29657}
29658
29659
29660static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29661 PyObject *resultobj;
29662 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29663 wxBitmap *arg2 = (wxBitmap *) 0 ;
29664 PyObject * obj0 = 0 ;
29665 PyObject * obj1 = 0 ;
29666 char *kwnames[] = {
29667 (char *) "self",(char *) "bitmap", NULL
29668 };
29669
29670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29675 {
29676 PyThreadState* __tstate = wxPyBeginAllowThreads();
29677 (arg1)->SetBackingBitmap(arg2);
29678
29679 wxPyEndAllowThreads(__tstate);
29680 if (PyErr_Occurred()) SWIG_fail;
29681 }
29682 Py_INCREF(Py_None); resultobj = Py_None;
29683 return resultobj;
29684 fail:
29685 return NULL;
29686}
29687
29688
29689static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29690 PyObject *resultobj;
29691 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29692 wxPoint *arg2 = 0 ;
29693 wxWindow *arg3 = (wxWindow *) 0 ;
29694 bool arg4 = (bool) False ;
29695 wxRect *arg5 = (wxRect *) NULL ;
29696 bool result;
29697 wxPoint temp2 ;
29698 PyObject * obj0 = 0 ;
29699 PyObject * obj1 = 0 ;
29700 PyObject * obj2 = 0 ;
29701 PyObject * obj3 = 0 ;
29702 PyObject * obj4 = 0 ;
29703 char *kwnames[] = {
29704 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29705 };
29706
29707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29710 {
29711 arg2 = &temp2;
29712 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29713 }
15afbcd0
RD
29714 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 29716 if (obj3) {
15afbcd0
RD
29717 arg4 = (bool) SWIG_AsBool(obj3);
29718 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
29719 }
29720 if (obj4) {
15afbcd0
RD
29721 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29723 }
29724 {
29725 PyThreadState* __tstate = wxPyBeginAllowThreads();
29726 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29727
29728 wxPyEndAllowThreads(__tstate);
29729 if (PyErr_Occurred()) SWIG_fail;
29730 }
4f89f6a3
RD
29731 {
29732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29733 }
e811c8ce
RD
29734 return resultobj;
29735 fail:
29736 return NULL;
29737}
29738
29739
29740static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29741 PyObject *resultobj;
29742 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29743 wxPoint *arg2 = 0 ;
29744 wxWindow *arg3 = (wxWindow *) 0 ;
29745 wxWindow *arg4 = (wxWindow *) 0 ;
29746 bool result;
29747 wxPoint temp2 ;
29748 PyObject * obj0 = 0 ;
29749 PyObject * obj1 = 0 ;
29750 PyObject * obj2 = 0 ;
29751 PyObject * obj3 = 0 ;
29752 char *kwnames[] = {
29753 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29754 };
29755
29756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29759 {
29760 arg2 = &temp2;
29761 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29762 }
15afbcd0
RD
29763 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29765 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29767 {
29768 PyThreadState* __tstate = wxPyBeginAllowThreads();
29769 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29770
29771 wxPyEndAllowThreads(__tstate);
29772 if (PyErr_Occurred()) SWIG_fail;
29773 }
4f89f6a3
RD
29774 {
29775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29776 }
e811c8ce
RD
29777 return resultobj;
29778 fail:
29779 return NULL;
29780}
29781
29782
29783static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29784 PyObject *resultobj;
29785 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29786 bool result;
29787 PyObject * obj0 = 0 ;
29788 char *kwnames[] = {
29789 (char *) "self", NULL
29790 };
29791
29792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
15afbcd0
RD
29793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29795 {
29796 PyThreadState* __tstate = wxPyBeginAllowThreads();
29797 result = (bool)(arg1)->EndDrag();
29798
29799 wxPyEndAllowThreads(__tstate);
29800 if (PyErr_Occurred()) SWIG_fail;
29801 }
4f89f6a3
RD
29802 {
29803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29804 }
e811c8ce
RD
29805 return resultobj;
29806 fail:
29807 return NULL;
29808}
29809
29810
29811static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29812 PyObject *resultobj;
29813 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29814 wxPoint *arg2 = 0 ;
29815 bool result;
29816 wxPoint temp2 ;
29817 PyObject * obj0 = 0 ;
29818 PyObject * obj1 = 0 ;
29819 char *kwnames[] = {
29820 (char *) "self",(char *) "pt", NULL
29821 };
29822
29823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29826 {
29827 arg2 = &temp2;
29828 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29829 }
29830 {
29831 PyThreadState* __tstate = wxPyBeginAllowThreads();
29832 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29833
29834 wxPyEndAllowThreads(__tstate);
29835 if (PyErr_Occurred()) SWIG_fail;
29836 }
4f89f6a3
RD
29837 {
29838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29839 }
e811c8ce
RD
29840 return resultobj;
29841 fail:
29842 return NULL;
29843}
29844
29845
29846static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29847 PyObject *resultobj;
29848 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29849 bool result;
29850 PyObject * obj0 = 0 ;
29851 char *kwnames[] = {
29852 (char *) "self", NULL
29853 };
29854
29855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
15afbcd0
RD
29856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29858 {
29859 PyThreadState* __tstate = wxPyBeginAllowThreads();
29860 result = (bool)(arg1)->Show();
29861
29862 wxPyEndAllowThreads(__tstate);
29863 if (PyErr_Occurred()) SWIG_fail;
29864 }
4f89f6a3
RD
29865 {
29866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29867 }
e811c8ce
RD
29868 return resultobj;
29869 fail:
29870 return NULL;
29871}
29872
29873
29874static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29875 PyObject *resultobj;
29876 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29877 bool result;
29878 PyObject * obj0 = 0 ;
29879 char *kwnames[] = {
29880 (char *) "self", NULL
29881 };
29882
29883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
29884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29886 {
29887 PyThreadState* __tstate = wxPyBeginAllowThreads();
29888 result = (bool)(arg1)->Hide();
29889
29890 wxPyEndAllowThreads(__tstate);
29891 if (PyErr_Occurred()) SWIG_fail;
29892 }
4f89f6a3
RD
29893 {
29894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29895 }
e811c8ce
RD
29896 return resultobj;
29897 fail:
29898 return NULL;
29899}
29900
29901
29902static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29903 PyObject *resultobj;
29904 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29905 wxPoint *arg2 = 0 ;
29906 wxRect result;
29907 wxPoint temp2 ;
29908 PyObject * obj0 = 0 ;
29909 PyObject * obj1 = 0 ;
29910 char *kwnames[] = {
29911 (char *) "self",(char *) "pos", NULL
29912 };
29913
29914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29917 {
29918 arg2 = &temp2;
29919 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29920 }
29921 {
29922 PyThreadState* __tstate = wxPyBeginAllowThreads();
29923 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29924
29925 wxPyEndAllowThreads(__tstate);
29926 if (PyErr_Occurred()) SWIG_fail;
29927 }
29928 {
29929 wxRect * resultptr;
29930 resultptr = new wxRect((wxRect &) result);
15afbcd0 29931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
e811c8ce
RD
29932 }
29933 return resultobj;
29934 fail:
29935 return NULL;
29936}
29937
29938
29939static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29940 PyObject *resultobj;
29941 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29942 wxDC *arg2 = 0 ;
29943 wxPoint *arg3 = 0 ;
29944 bool result;
29945 wxPoint temp3 ;
29946 PyObject * obj0 = 0 ;
29947 PyObject * obj1 = 0 ;
29948 PyObject * obj2 = 0 ;
29949 char *kwnames[] = {
29950 (char *) "self",(char *) "dc",(char *) "pos", NULL
29951 };
29952
29953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29957 SWIG_POINTER_EXCEPTION | 0)) == -1)
29958 SWIG_fail;
e811c8ce 29959 if (arg2 == NULL) {
15afbcd0
RD
29960 PyErr_SetString(PyExc_TypeError,"null reference");
29961 SWIG_fail;
e811c8ce
RD
29962 }
29963 {
29964 arg3 = &temp3;
29965 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29966 }
29967 {
29968 PyThreadState* __tstate = wxPyBeginAllowThreads();
29969 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29970
29971 wxPyEndAllowThreads(__tstate);
29972 if (PyErr_Occurred()) SWIG_fail;
29973 }
4f89f6a3
RD
29974 {
29975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29976 }
e811c8ce
RD
29977 return resultobj;
29978 fail:
29979 return NULL;
29980}
29981
29982
29983static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29984 PyObject *resultobj;
29985 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29986 wxDC *arg2 = 0 ;
29987 wxMemoryDC *arg3 = 0 ;
29988 wxRect *arg4 = 0 ;
29989 wxRect *arg5 = 0 ;
29990 bool result;
29991 wxRect temp4 ;
29992 wxRect temp5 ;
29993 PyObject * obj0 = 0 ;
29994 PyObject * obj1 = 0 ;
29995 PyObject * obj2 = 0 ;
29996 PyObject * obj3 = 0 ;
29997 PyObject * obj4 = 0 ;
29998 char *kwnames[] = {
29999 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30000 };
30001
30002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30006 SWIG_POINTER_EXCEPTION | 0)) == -1)
30007 SWIG_fail;
e811c8ce 30008 if (arg2 == NULL) {
15afbcd0
RD
30009 PyErr_SetString(PyExc_TypeError,"null reference");
30010 SWIG_fail;
e811c8ce 30011 }
15afbcd0
RD
30012 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
30013 SWIG_POINTER_EXCEPTION | 0)) == -1)
30014 SWIG_fail;
e811c8ce 30015 if (arg3 == NULL) {
15afbcd0
RD
30016 PyErr_SetString(PyExc_TypeError,"null reference");
30017 SWIG_fail;
e811c8ce
RD
30018 }
30019 {
30020 arg4 = &temp4;
30021 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
30022 }
30023 {
30024 arg5 = &temp5;
30025 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
30026 }
30027 {
30028 PyThreadState* __tstate = wxPyBeginAllowThreads();
30029 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
30030
30031 wxPyEndAllowThreads(__tstate);
30032 if (PyErr_Occurred()) SWIG_fail;
30033 }
4f89f6a3
RD
30034 {
30035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30036 }
e811c8ce
RD
30037 return resultobj;
30038 fail:
30039 return NULL;
30040}
30041
30042
30043static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30044 PyObject *resultobj;
30045 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30046 wxPoint *arg2 = 0 ;
30047 wxPoint *arg3 = 0 ;
30048 bool arg4 ;
30049 bool arg5 ;
30050 bool result;
30051 wxPoint temp2 ;
30052 wxPoint temp3 ;
30053 PyObject * obj0 = 0 ;
30054 PyObject * obj1 = 0 ;
30055 PyObject * obj2 = 0 ;
30056 PyObject * obj3 = 0 ;
30057 PyObject * obj4 = 0 ;
30058 char *kwnames[] = {
30059 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30060 };
30061
30062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30065 {
30066 arg2 = &temp2;
30067 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30068 }
30069 {
30070 arg3 = &temp3;
30071 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30072 }
15afbcd0
RD
30073 arg4 = (bool) SWIG_AsBool(obj3);
30074 if (PyErr_Occurred()) SWIG_fail;
30075 arg5 = (bool) SWIG_AsBool(obj4);
30076 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
30077 {
30078 PyThreadState* __tstate = wxPyBeginAllowThreads();
30079 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
30080
30081 wxPyEndAllowThreads(__tstate);
30082 if (PyErr_Occurred()) SWIG_fail;
30083 }
4f89f6a3
RD
30084 {
30085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30086 }
e811c8ce
RD
30087 return resultobj;
30088 fail:
30089 return NULL;
30090}
30091
30092
30093static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
30094 PyObject *obj;
30095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30096 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
30097 Py_INCREF(obj);
30098 return Py_BuildValue((char *)"");
30099}
30100static PyMethodDef SwigMethods[] = {
30101 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
30102 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
30103 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
30104 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
30105 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30106 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
30107 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
30108 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
30109 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
30110 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30111 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30112 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30113 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30114 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30115 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30116 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30117 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30118 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
30119 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
30120 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
30121 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
30122 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
30123 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
30124 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
30125 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30126 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30127 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30128 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
30129 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
30130 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
30131 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
30132 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
30133 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
30134 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
30135 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30136 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
30137 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30138 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
30139 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
30140 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
30141 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
30142 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
30143 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30144 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30145 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
30146 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
30147 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
30148 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30149 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30150 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30151 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
fd3f2efe 30152 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30153 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
30154 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
30155 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30156 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
30157 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
30158 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
30159 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
30160 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
30161 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
30162 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
30163 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
30164 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
30165 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
30166 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30167 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30168 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
30169 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
30170 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
30171 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
30172 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
30173 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
30174 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
30175 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
30176 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
30177 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
30178 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
30179 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30180 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
30181 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
30182 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
30183 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
30184 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
30185 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
30186 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
30187 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
30188 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30189 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
30190 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
30191 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
30192 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
30193 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
30194 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
30195 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
30196 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
30197 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
30198 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
30199 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30200 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
30201 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
30202 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
30203 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30204 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
30205 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
30206 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
30207 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30208 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
30209 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
c3eb6258
RD
30210 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
30211 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30212 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30213 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
30214 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
30215 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
30216 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
30217 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30218 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
30219 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
30220 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
30221 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
30222 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
30223 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
994141e6 30224 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30225 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
30226 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30227 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30228 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30229 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
30230 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
30231 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30232 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
30233 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
30234 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30235 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30236 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30237 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
30238 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
30239 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
30240 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
30241 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
30242 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30243 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30244 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30245 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
30246 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
30247 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30248 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
30249 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
30250 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
30251 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
30252 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
30253 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
30254 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
30255 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30256 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30257 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30258 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
30259 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
30260 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
30261 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
30262 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
30263 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
30264 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
30265 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
30266 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30267 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30268 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
30269 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
30270 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
30271 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
30272 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
30273 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
30274 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
30275 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
30276 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
30277 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
30278 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
30279 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
30280 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
30281 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30282 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30283 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
30284 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
30285 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
4d5c3d91 30286 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30287 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
30288 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
30289 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
30290 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
30291 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
30292 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
30293 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30294 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
30295 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
30296 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
30297 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30298 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30299 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30300 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30301 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30302 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
30303 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
30304 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
30306 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
30307 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
30309 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
30310 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
30312 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
30314 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30316 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
30317 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30321 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
30323 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
30324 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
30325 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
30326 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30327 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
30328 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30330 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
30331 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
30332 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
30334 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
30335 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
30336 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30339 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30340 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
30341 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
30342 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
30343 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
30344 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
d1e20054
RD
30346 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
30347 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30348 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30349 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
d14a1e28
RD
30350 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30356 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30357 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
30358 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
30361 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
30363 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30365 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
30367 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30370 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30371 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30373 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30374 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30375 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30377 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30378 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30379 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30382 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30384 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30388 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30390 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30394 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30395 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30398 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30400 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
30404 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30405 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30411 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30412 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30413 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30414 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30417 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30419 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30422 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30424 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30425 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30426 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30427 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30430 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30431 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30433 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30434 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30436 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30438 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30440 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30441 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30442 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30443 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30444 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30447 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30449 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30450 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30453 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30454 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30455 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30456 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30459 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30461 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30464 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30467 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30468 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30469 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30472 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30473 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30474 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30476 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30485 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30488 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30489 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
3a04f143
RD
30491 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30492 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30493 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30495 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30497 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30499 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30502 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30503 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30504 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30508 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30510 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30512 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30513 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30515 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30516 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30517 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30519 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30521 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30523 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30524 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30525 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30527 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30528 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
3a04f143 30531 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30532 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30533 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30534 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30535 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30536 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30539 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30540 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30541 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30542 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30543 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30544 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30545 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30546 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30547 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30548 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30549 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30550 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30551 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30552 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30553 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30554 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30555 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30556 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30557 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30558 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30559 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30560 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30561 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30562 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30563 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30564 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30565 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30566 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30567 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30568 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30569 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30570 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30571 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30572 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30573 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30574 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30575 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30576 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30577 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30578 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30579 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30580 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30581 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30582 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30583 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30584 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30585 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30586 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30587 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30588 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30589 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30590 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30591 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30592 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30593 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30594 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30595 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30596 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30597 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30598 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30599 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30600 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30601 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30602 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30603 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30604 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30605 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30606 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30607 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30608 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30609 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30610 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30611 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30612 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30613 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30614 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30615 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30616 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30617 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30618 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30619 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30620 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30621 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30622 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30623 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30624 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30625 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30626 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30627 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30628 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30629 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30630 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30631 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30632 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30633 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30634 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30635 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30636 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30637 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30638 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30639 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30640 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30641 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30642 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30643 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30644 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30645 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30646 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30647 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30648 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30649 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30650 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30651 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30652 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30653 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30654 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30655 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30656 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30657 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30658 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30659 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30660 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30661 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30662 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30663 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30664 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30665 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30666 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30667 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30668 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
4276dc52 30669 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30670 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30671 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30672 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30673 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30674 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30675 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30676 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30677 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30678 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30679 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30680 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30681 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30682 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30683 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30684 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30685 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30686 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30687 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30688 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30689 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30690 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30691 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30692 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30693 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30694 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30695 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30696 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30697 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30698 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30699 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30700 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30701 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30702 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30703 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30704 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30705 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30706 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30707 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30708 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30709 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30710 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30711 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30712 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30713 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30714 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30715 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30716 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30717 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30718 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30719 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30720 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30721 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30722 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30723 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30724 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30725 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30726 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30727 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30728 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30729 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30730 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30731 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30732 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30733 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30734 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30735 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30736 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30737 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30738 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30739 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30740 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
c9c7117a 30741 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30742 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30743 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30744 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30745 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30746 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30747 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30748 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30749 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30750 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30751 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30752 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30753 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30754 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30755 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30756 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30757 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30758 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30759 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30760 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30761 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30762 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30763 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30764 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30765 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30766 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30767 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30768 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30769 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30770 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30771 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30772 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30773 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30774 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30775 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30776 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30777 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30778 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30779 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30780 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30781 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30782 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30783 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30784 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30785 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30786 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30787 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30788 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30789 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30790 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30791 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30792 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30793 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30794 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30795 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30796 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30797 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30798 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30799 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30800 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30801 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30802 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30803 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30804 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
3adfb63b 30805 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30806 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30807 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
3adfb63b 30808 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30809 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30810 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30811 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30812 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30813 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30814 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30815 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
30816 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30817 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30818 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30819 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30820 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30821 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30822 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30823 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30824 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30825 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30826 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30827 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30828 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30829 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30830 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30831 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30832 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30833 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30834 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30835 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30836 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30837 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30838 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30839 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30840 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30841 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30842 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30843 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30844 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa 30845 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30846 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30847 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30848 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30849 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30850 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30851 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30852 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30853 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30854 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30855 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30856 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30857 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30858 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30859 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30860 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30861 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30862 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30863 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30864 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa
RD
30865 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
30866 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30867 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30868 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30869 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30870 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30871 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30872 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30873 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30874 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30875 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30876 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30877 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30878 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30879 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30880 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30881 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30882 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30883 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30884 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30885 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30886 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30887 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30888 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
15afbcd0 30889 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30890 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30891 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30892 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30893 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
e811c8ce
RD
30894 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30895 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30896 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30897 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30898 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30899 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30900 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30901 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30902 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30903 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30904 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30905 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30906 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30907 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30908 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30909 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30910 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30911 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
d14a1e28
RD
30912 { NULL, NULL }
30913};
30914
30915
30916/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30917
30918static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30919 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30920}
30921static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30922 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30923}
30924static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30925 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30926}
30927static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30928 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30929}
30930static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30931 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30932}
30933static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30934 return (void *)((wxSizer *) ((wxGridSizer *) x));
30935}
30936static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30937 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30938}
30939static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30940 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30941}
30942static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30943 return (void *)((wxSizer *) ((wxPySizer *) x));
30944}
30945static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30946 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30947}
30948static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30949 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30950}
30951static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30952 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30953}
30954static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30955 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30956}
30957static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30958 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30959}
30960static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30961 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30962}
30963static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30964 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30965}
30966static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30967 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30968}
30969static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30970 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30971}
30972static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30973 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30974}
30975static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30976 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30977}
30978static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30979 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30980}
30981static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30982 return (void *)((wxEvent *) ((wxPyEvent *) x));
30983}
30984static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30985 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30986}
30987static void *_p_wxListEventTo_p_wxEvent(void *x) {
30988 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30989}
30990static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30991 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30992}
30993static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30994 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30995}
30996static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30997 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30998}
30999static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31000 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31001}
31002static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31003 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31004}
31005static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31006 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31007}
31008static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31009 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31010}
31011static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31012 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31013}
31014static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31015 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31016}
31017static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31018 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31019}
31020static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31021 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31022}
31023static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31024 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31025}
31026static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31027 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31028}
31029static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31030 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31031}
31032static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31033 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31034}
31035static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31036 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31037}
31038static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31039 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31040}
31041static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31042 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31043}
31044static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31045 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31046}
31047static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31048 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31049}
31050static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31051 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31052}
31053static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31054 return (void *)((wxEvent *) ((wxShowEvent *) x));
31055}
31056static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31057 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31058}
31059static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31060 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31061}
31062static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31063 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31064}
31065static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31066 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31067}
31068static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31069 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31070}
31071static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31072 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31073}
d1e20054
RD
31074static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
31075 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31076}
d14a1e28
RD
31077static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
31078 return (void *)((wxItemContainer *) ((wxComboBox *) x));
31079}
31080static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
31081 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31082}
31083static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
31084 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
31085}
31086static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
31087 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
31088}
31089static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
31090 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
31091}
31092static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
31093 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31094}
31095static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
31096 return (void *)((wxPyListCtrl *) ((wxListView *) x));
31097}
31098static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
31099 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31100}
31101static void *_p_wxListBoxTo_p_wxControl(void *x) {
31102 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
31103}
31104static void *_p_wxChoiceTo_p_wxControl(void *x) {
31105 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
31106}
31107static void *_p_wxToolBarTo_p_wxControl(void *x) {
31108 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
31109}
31110static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
31111 return (void *)((wxControl *) ((wxStaticBitmap *) x));
31112}
31113static void *_p_wxComboBoxTo_p_wxControl(void *x) {
31114 return (void *)((wxControl *) ((wxComboBox *) x));
31115}
31116static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
31117 return (void *)((wxControl *) ((wxSpinCtrl *) x));
31118}
31119static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
31120 return (void *)((wxControl *) ((wxStaticBox *) x));
31121}
31122static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
31123 return (void *)((wxControl *) ((wxPyListCtrl *) x));
31124}
31125static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
31126 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
31127}
31128static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
31129 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31130}
31131static void *_p_wxScrollBarTo_p_wxControl(void *x) {
31132 return (void *)((wxControl *) ((wxScrollBar *) x));
31133}
31134static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
31135 return (void *)((wxControl *) ((wxBookCtrl *) x));
31136}
31137static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
31138 return (void *)((wxControl *) ((wxRadioButton *) x));
31139}
31140static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
31141 return (void *)((wxControl *) ((wxToggleButton *) x));
31142}
31143static void *_p_wxGaugeTo_p_wxControl(void *x) {
31144 return (void *)((wxControl *) ((wxGauge *) x));
31145}
31146static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
31147 return (void *)((wxControl *) ((wxToolBarBase *) x));
31148}
31149static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
31150 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
31151}
31152static void *_p_wxButtonTo_p_wxControl(void *x) {
31153 return (void *)((wxControl *) ((wxButton *) x));
31154}
31155static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
31156 return (void *)((wxControl *) ((wxSpinButton *) x));
31157}
31158static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
31159 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31160}
31161static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31162 return (void *)((wxControl *) ((wxControlWithItems *) x));
31163}
31164static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
31165 return (void *)((wxControl *) ((wxRadioBox *) x));
31166}
31167static void *_p_wxNotebookTo_p_wxControl(void *x) {
31168 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
31169}
31170static void *_p_wxListbookTo_p_wxControl(void *x) {
31171 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
31172}
31173static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
31174 return (void *)((wxControl *) ((wxCheckBox *) x));
31175}
31176static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
31177 return (void *)((wxControl *) ((wxTextCtrl *) x));
31178}
31179static void *_p_wxListViewTo_p_wxControl(void *x) {
31180 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
31181}
31182static void *_p_wxSliderTo_p_wxControl(void *x) {
31183 return (void *)((wxControl *) ((wxSlider *) x));
31184}
31185static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
31186 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
31187}
31188static void *_p_wxPyControlTo_p_wxControl(void *x) {
31189 return (void *)((wxControl *) ((wxPyControl *) x));
31190}
31191static void *_p_wxStaticLineTo_p_wxControl(void *x) {
31192 return (void *)((wxControl *) ((wxStaticLine *) x));
31193}
31194static void *_p_wxStaticTextTo_p_wxControl(void *x) {
31195 return (void *)((wxControl *) ((wxStaticText *) x));
31196}
31197static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
31198 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
31199}
31200static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
31201 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
31202}
31203static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
31204 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
31205}
31206static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31207 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31208}
31209static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31210 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31211}
d1e20054
RD
31212static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31213 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31214}
d14a1e28
RD
31215static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31216 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31217}
31218static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31219 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31220}
31221static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31222 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31223}
31224static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31225 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31226}
31227static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31228 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31229}
31230static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31231 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31232}
31233static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31234 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31235}
31236static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31237 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31238}
31239static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31240 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31241}
31242static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31243 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31244}
31245static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31246 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31247}
31248static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31249 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31250}
31251static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31252 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31253}
31254static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31255 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31256}
31257static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31258 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
31259}
31260static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31261 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31262}
31263static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31264 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31265}
31266static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31267 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31268}
31269static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31270 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31271}
31272static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31273 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31274}
31275static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31276 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31277}
31278static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31279 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31280}
31281static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31282 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31283}
31284static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31285 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31286}
31287static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31288 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31289}
31290static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31291 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31292}
31293static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31294 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31295}
31296static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31297 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31298}
31299static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31300 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31301}
31302static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31303 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31304}
31305static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31306 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31307}
31308static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31309 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31310}
31311static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31312 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31313}
31314static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31315 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31316}
31317static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31318 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31319}
31320static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31321 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31322}
31323static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31324 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31325}
31326static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31327 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31328}
31329static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31330 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31331}
31332static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31333 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31334}
31335static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31336 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31337}
31338static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31339 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31340}
31341static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31342 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31343}
31344static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31345 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31346}
31347static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31348 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31349}
31350static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31351 return (void *)((wxButton *) ((wxBitmapButton *) x));
31352}
31353static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31354 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31355}
31356static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31357 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31358}
31359static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31360 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31361}
31362static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31363 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31364}
31365static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31366 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31367}
31368static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31369 return (void *)((wxObject *) ((wxSizerItem *) x));
31370}
31371static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31373}
31374static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31375 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31376}
31377static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31378 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31379}
31380static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31381 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31382}
31383static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31384 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31385}
31386static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31387 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31388}
31389static void *_p_wxSizerTo_p_wxObject(void *x) {
31390 return (void *)((wxObject *) ((wxSizer *) x));
31391}
31392static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31393 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31394}
31395static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31397}
31398static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31400}
31401static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31403}
31404static void *_p_wxEventTo_p_wxObject(void *x) {
31405 return (void *)((wxObject *) ((wxEvent *) x));
31406}
31407static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31408 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31409}
31410static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31411 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31412}
31413static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31414 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31415}
31416static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31418}
31419static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31421}
31422static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31424}
31425static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31426 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31427}
31428static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31429 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31430}
31431static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31432 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31433}
31434static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31435 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31436}
31437static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31438 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31439}
31440static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31441 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31442}
31443static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31445}
31446static void *_p_wxControlTo_p_wxObject(void *x) {
31447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31448}
31449static void *_p_wxPyControlTo_p_wxObject(void *x) {
31450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31451}
31452static void *_p_wxGaugeTo_p_wxObject(void *x) {
31453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31454}
31455static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31457}
31458static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31460}
31461static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31463}
31464static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31465 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31466}
31467static void *_p_wxChoiceTo_p_wxObject(void *x) {
31468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31469}
31470static void *_p_wxFSFileTo_p_wxObject(void *x) {
31471 return (void *)((wxObject *) ((wxFSFile *) x));
31472}
31473static void *_p_wxPySizerTo_p_wxObject(void *x) {
31474 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31475}
31476static void *_p_wxListViewTo_p_wxObject(void *x) {
31477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31478}
31479static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31481}
31482static void *_p_wxNotebookTo_p_wxObject(void *x) {
31483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31484}
31485static void *_p_wxPyEventTo_p_wxObject(void *x) {
31486 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31487}
31488static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31489 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31490}
31491static void *_p_wxListbookTo_p_wxObject(void *x) {
31492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31493}
31494static void *_p_wxShowEventTo_p_wxObject(void *x) {
31495 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31496}
31497static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31499}
31500static void *_p_wxSliderTo_p_wxObject(void *x) {
31501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31502}
31503static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31504 return (void *)((wxObject *) ((wxMenuItem *) x));
31505}
31506static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31507 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31508}
31509static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31510 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31511}
31512static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31513 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31514}
31515static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31516 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31517}
31518static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31519 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31520}
31521static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31522 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31523}
31524static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31525 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31526}
31527static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31528 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31529}
31530static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31532}
31533static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31534 return (void *)((wxObject *) ((wxContextHelp *) x));
31535}
31536static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31537 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31538}
31539static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31540 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31541}
31542static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31543 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31544}
31545static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31546 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31547}
31548static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31549 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31550}
31551static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31552 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31553}
31554static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31555 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31556}
31557static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31558 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31559}
31560static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31561 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31562}
31563static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31564 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31565}
31566static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31567 return (void *)((wxObject *) ((wxImageHandler *) x));
31568}
31569static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31570 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31571}
31572static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31573 return (void *)((wxObject *) ((wxEvtHandler *) x));
31574}
31575static void *_p_wxListEventTo_p_wxObject(void *x) {
31576 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31577}
31578static void *_p_wxListBoxTo_p_wxObject(void *x) {
31579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31580}
31581static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31583}
31584static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31586}
d14a1e28
RD
31587static void *_p_wxButtonTo_p_wxObject(void *x) {
31588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31589}
1e0c8722
RD
31590static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31592}
d14a1e28
RD
31593static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31595}
31596static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31598}
1e0c8722
RD
31599static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31600 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31601}
d14a1e28
RD
31602static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31604}
31605static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31607}
31608static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31610}
31611static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31613}
31614static void *_p_wxListItemTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) ((wxListItem *) x));
31616}
31617static void *_p_wxImageTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) ((wxImage *) x));
31619}
31620static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31622}
31623static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31625}
d1e20054
RD
31626static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31628}
e811c8ce
RD
31629static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31631}
d14a1e28
RD
31632static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31634}
31635static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31637}
31638static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31640}
31641static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31643}
31644static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31646}
31647static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31649}
31650static void *_p_wxWindowTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31652}
31653static void *_p_wxMenuTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31655}
31656static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31658}
31659static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31660 return (void *)((wxObject *) ((wxFileSystem *) x));
31661}
31662static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31664}
31665static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31666 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31667}
31668static void *_p_wxPyAppTo_p_wxObject(void *x) {
31669 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31670}
31671static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31672 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31673}
31674static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31675 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31676}
31677static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31678 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31679}
31680static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31682}
31683static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31684 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31685}
31686static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31687 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31688}
31689static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31691}
31692static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31693 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31694}
31695static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31696 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31697}
31698static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31699 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31700}
31701static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31703}
31704static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31705 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31706}
31707static void *_p_wxToolBarTo_p_wxObject(void *x) {
31708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31709}
31710static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31711 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31712}
31713static void *_p_wxValidatorTo_p_wxObject(void *x) {
31714 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31715}
31716static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31717 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31718}
31719static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31720 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31721}
31722static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31723 return (void *)((wxWindow *) ((wxMenuBar *) x));
31724}
31725static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31726 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31727}
31728static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31729 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31730}
31731static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31732 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31733}
31734static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31735 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31736}
31737static void *_p_wxControlTo_p_wxWindow(void *x) {
31738 return (void *)((wxWindow *) ((wxControl *) x));
31739}
31740static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31741 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31742}
31743static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31744 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31745}
31746static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31747 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31748}
31749static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31750 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31751}
31752static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31753 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31754}
31755static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31756 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31757}
31758static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31759 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31760}
31761static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31762 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31763}
31764static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31765 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31766}
31767static void *_p_wxListbookTo_p_wxWindow(void *x) {
31768 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31769}
31770static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31771 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31772}
31773static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31774 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31775}
31776static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31777 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31778}
31779static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31780 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31781}
31782static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31783 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31784}
31785static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31786 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31787}
31788static void *_p_wxListViewTo_p_wxWindow(void *x) {
31789 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31790}
31791static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31792 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31793}
31794static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31795 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31796}
31797static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31798 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31799}
31800static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31801 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31802}
31803static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31804 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31805}
31806static void *_p_wxSliderTo_p_wxWindow(void *x) {
31807 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31808}
31809static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31810 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31811}
31812static void *_p_wxButtonTo_p_wxWindow(void *x) {
31813 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31814}
31815static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31816 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31817}
31818static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31819 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31820}
31821static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31822 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31823}
31824static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31825 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31826}
31827static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31828 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31829}
31830static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31831 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31832}
31833static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31834 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31835}
31836static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31837 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31838}
31839static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31840 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31841}
31842static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31843 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31844}
31845static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31846 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31847}
31848static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31849 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31850}
31851static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31852 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31853}
31854static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31855 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31856}
31857static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31858 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31859}
d1e20054
RD
31860static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31861 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31862}
d14a1e28
RD
31863static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31864 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31865}
31866static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31867 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31868}
31869static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31870 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31871}
31872static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31873 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31874}
31875static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31876 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31877}
31878static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31879 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31880}
31881static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31882 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31883}
31884static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31885 return (void *)((wxValidator *) ((wxPyValidator *) x));
31886}
15afbcd0
RD
31887static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31888static swig_type_info _swigt__p_wxBookCtrlEvent[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31889static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31890static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31891static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31892static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31893static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31894static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31895static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31896static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31897static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31898static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31899static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31900static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31901static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31902static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31903static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31904static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31905static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31906static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31907static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31908static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31909static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31910static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31911static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31912static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31913static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31914static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31915static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31916static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31917static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31918static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31919static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31920static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31921static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31922static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31923static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31924static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31925static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31926static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31927static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31928static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31929static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31930static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31931static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31932static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31933static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31934static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31935static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31936static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31937static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31938static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31939static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31940static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31941static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31942static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31943static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31944static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31945static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31946static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31947static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31948static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31949static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31950static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31951static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31952static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31953static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31954static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31955static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31956static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31957static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31958static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31959static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31960static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31961static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31962static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31963static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31964static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31965static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31966static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31967static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31968static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31969static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31970static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d14a1e28
RD
31971
31972static swig_type_info *swig_types_initial[] = {
31973_swigt__p_wxTextUrlEvent,
31974_swigt__p_wxBookCtrlEvent,
31975_swigt__p_wxSizer,
d14a1e28
RD
31976_swigt__p_wxCheckBox,
31977_swigt__p_wxPyTreeCtrl,
31978_swigt__p_wxEvent,
31979_swigt__p_wxGenericDirCtrl,
31980_swigt__p_bool,
31981_swigt__p_wxPyTreeItemData,
31982_swigt__p_wxItemContainer,
31983_swigt__p_wxDirFilterListCtrl,
31984_swigt__p_wxPyListCtrl,
31985_swigt__p_wxStaticLine,
31986_swigt__p_wxControl,
31987_swigt__p_wxPyControl,
31988_swigt__p_wxGauge,
31989_swigt__p_wxToolBarBase,
31990_swigt__p_wxFont,
31991_swigt__p_wxToggleButton,
31992_swigt__p_wxRadioButton,
31993_swigt__p_wxChoice,
e811c8ce 31994_swigt__p_wxMemoryDC,
d14a1e28 31995_swigt__p_wxListItemAttr,
58203fa6 31996_swigt__p_void,
d14a1e28
RD
31997_swigt__p_int,
31998_swigt__p_wxSize,
e811c8ce 31999_swigt__p_wxDC,
d14a1e28
RD
32000_swigt__p_wxListView,
32001_swigt__p_wxIcon,
32002_swigt__p_wxTextCtrl,
32003_swigt__p_wxNotebook,
32004_swigt__p_wxNotifyEvent,
32005_swigt__p_wxArrayString,
32006_swigt__p_wxListbook,
32007_swigt__p_wxStaticBitmap,
32008_swigt__p_wxSlider,
32009_swigt__p_wxStaticBox,
32010_swigt__p_wxArrayInt,
32011_swigt__p_wxContextHelp,
32012_swigt__p_long,
32013_swigt__p_wxEvtHandler,
32014_swigt__p_wxListEvent,
32015_swigt__p_wxListBox,
32016_swigt__p_wxCheckListBox,
32017_swigt__p_wxBookCtrl,
32018_swigt__p_wxSpinButton,
32019_swigt__p_wxButton,
32020_swigt__p_wxBitmapButton,
32021_swigt__p_wxRect,
32022_swigt__p_wxContextHelpButton,
32023_swigt__p_wxRadioBox,
32024_swigt__p_wxScrollBar,
994141e6 32025_swigt__p_char,
d14a1e28
RD
32026_swigt__p_wxTreeItemId,
32027_swigt__p_wxComboBox,
32028_swigt__p_wxHelpEvent,
32029_swigt__p_wxListItem,
32030_swigt__p_wxNotebookSizer,
d1e20054 32031_swigt__p_wxSpinEvent,
e811c8ce 32032_swigt__p_wxGenericDragImage,
d14a1e28
RD
32033_swigt__p_wxSpinCtrl,
32034_swigt__p_wxImageList,
32035_swigt__p_wxHelpProvider,
32036_swigt__p_wxTextAttr,
32037_swigt__p_wxSimpleHelpProvider,
32038_swigt__p_wxPoint,
32039_swigt__p_wxListbookEvent,
32040_swigt__p_wxNotebookEvent,
32041_swigt__p_wxObject,
e811c8ce 32042_swigt__p_wxCursor,
d14a1e28
RD
32043_swigt__p_wxKeyEvent,
32044_swigt__p_wxWindow,
32045_swigt__p_wxString,
32046_swigt__p_wxBitmap,
32047_swigt__p_wxTreeEvent,
32048_swigt__p_wxMouseEvent,
32049_swigt__p_wxCommandEvent,
32050_swigt__p_wxStaticText,
32051_swigt__p_wxControlWithItems,
32052_swigt__p_wxToolBarToolBase,
32053_swigt__p_wxColour,
32054_swigt__p_wxToolBar,
32055_swigt__p_wxBookCtrlSizer,
32056_swigt__p_wxValidator,
320570
32058};
32059
32060
32061/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32062
32063static swig_const_info swig_const_table[] = {
d14a1e28
RD
32064{0}};
32065
32066#ifdef __cplusplus
32067}
32068#endif
32069
32070#ifdef __cplusplus
32071extern "C"
32072#endif
32073SWIGEXPORT(void) SWIG_init(void) {
32074 static PyObject *SWIG_globals = 0;
32075 static int typeinit = 0;
32076 PyObject *m, *d;
32077 int i;
32078 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
32079 m = Py_InitModule((char *) SWIG_name, SwigMethods);
32080 d = PyModule_GetDict(m);
32081
32082 if (!typeinit) {
32083 for (i = 0; swig_types_initial[i]; i++) {
32084 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
32085 }
32086 typeinit = 1;
32087 }
32088 SWIG_InstallConstants(d,swig_const_table);
32089
b2dc1044
RD
32090 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
32091 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
15afbcd0
RD
32092 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
32093 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
32094 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
32095 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
32096 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
32097 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
b2dc1044 32098 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
15afbcd0
RD
32099 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
32100 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
32101 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
32102 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
32103 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
32104 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
b2dc1044
RD
32105 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
32106 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
32107 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
15afbcd0
RD
32108 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
32109 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
32110 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
32111 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
b2dc1044
RD
32112 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
32113 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
32114 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
32115 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
32116 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
15afbcd0
RD
32117 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
32118 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
32119 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
32120 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
32121 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
32122 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
32123 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
32124 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
32125 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
32126 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
32127 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
32128 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
32129 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
32130 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
32131 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
32132 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
32133 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
32134 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
32135 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
32136 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
32137 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
32138 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
32139 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
32140 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
32141 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
32142 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
32143 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
32144 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
32145 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
32146 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
32147 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
32148 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
32149 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
32150 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
32151 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
32152 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
32153 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
32154 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
32155 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
32156 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
32157 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
d14a1e28
RD
32158 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
32159 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
32160 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
32161 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
32162 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
32163 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
32164 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
15afbcd0
RD
32165 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
32166 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
32167 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
32168 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
d14a1e28 32169 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
32170 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
32171 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
32172 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
32173 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 32174 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
b2dc1044 32175 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
15afbcd0
RD
32176 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
32177 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
32178 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
32179 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
32180 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
32181 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
32182 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
32183 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
32184 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
32185 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
d14a1e28
RD
32186 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
32187 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
15afbcd0
RD
32188 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
32189 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
32190 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
32191 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
32192 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
32193 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
d14a1e28
RD
32194 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
32195 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
15afbcd0
RD
32196 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
32197 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
32198 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
32199 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
32200 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
32201 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
32202 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32203 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32204 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32205 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32206 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32207 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32208 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32209 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
b2dc1044 32210 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
15afbcd0
RD
32211 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32212 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32213 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32214 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32215 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32216 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32217 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32218 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32219 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32220 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32221 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32222 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32223 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32224 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32225 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32226 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32227 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32228 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32229 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32230 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32231 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32232 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32233 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32234 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32235 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32236 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32237 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32238 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32239 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32240 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32241 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32242 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32243 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32244 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32245 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32246 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32247 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32248 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32249 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32250 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32251 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32252 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32253 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32254 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32255 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32256 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32257 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32258 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32259 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32260 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32261 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32262 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32263 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32264 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32265 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32266 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32267 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32268 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32269 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32270 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32271 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32272 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32273 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32274 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32275 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32276 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32277 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32278 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
d14a1e28
RD
32279 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32280 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32281 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32282 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32283 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32284 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32285 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32286 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32287 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32288 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32289 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32290 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32291 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32292 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32293 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32294 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32295 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32296 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32297 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32298 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32299 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32300 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32301
32302 // Map renamed classes back to their common name for OOR
32303 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32304
b2dc1044 32305 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
15afbcd0
RD
32306 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32307 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32308 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32309 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32310 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32311 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32312 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32313 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32314 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32315 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32316 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32317 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32318 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32319 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32320 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32321 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32322 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32323 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32324 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32325 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32326 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32327 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32328 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32329 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32330 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32331 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32332 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32333 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32334 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32335 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32336 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32337 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32338 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32339 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32340 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
d14a1e28
RD
32341 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32342 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32343 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32344 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32345 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32346 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32347 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32348 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32349 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32350 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32351 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32352 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32353 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32354 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32355 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32356 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32357 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32358 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32359 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 32360 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
d14a1e28
RD
32361
32362 // Map renamed classes back to their common name for OOR
32363 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32364 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32365
b2dc1044 32366 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
15afbcd0
RD
32367 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32368 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32369 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32370 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32371 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32372 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32373 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
d14a1e28
RD
32374 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32375 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
32376
32377 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32378
d14a1e28
RD
32379}
32380