]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
gave different accels to different radio items
[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
c32bde28 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d14a1e28
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
d14a1e28
RD
52
53/***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63#include <string.h>
64
cc6dd355
RD
65#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66# if defined(_MSC_VER) || defined(__GNUC__)
67# if defined(STATIC_LINKED)
68# define SWIGEXPORT(a) a
69# define SWIGIMPORT(a) extern a
70# else
71# define SWIGEXPORT(a) __declspec(dllexport) a
72# define SWIGIMPORT(a) extern a
73# endif
74# else
75# if defined(__BORLANDC__)
76# define SWIGEXPORT(a) a _export
77# define SWIGIMPORT(a) a _export
78# else
79# define SWIGEXPORT(a) a
80# define SWIGIMPORT(a) a
81# endif
82# endif
d14a1e28 83#else
cc6dd355
RD
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
d14a1e28
RD
86#endif
87
88#ifdef SWIG_GLOBAL
cc6dd355 89# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 90#else
cc6dd355 91# define SWIGRUNTIME(a) static a
d14a1e28
RD
92#endif
93
d14a1e28
RD
94#ifdef __cplusplus
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef struct swig_type_info {
cc6dd355 102 const char *name;
d14a1e28
RD
103 swig_converter_func converter;
104 const char *str;
cc6dd355 105 void *clientdata;
d14a1e28
RD
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109} swig_type_info;
110
111
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
c32bde28 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d14a1e28
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d14a1e28
RD
129/***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 174
d14a1e28
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
994141e6 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199/* Contract support */
200
9d1d5697 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
d14a1e28
RD
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212#define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213#define SWIGTYPE_p_wxSizer swig_types[2]
58203fa6
RD
214#define SWIGTYPE_p_wxCheckBox swig_types[3]
215#define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
216#define SWIGTYPE_p_wxEvent swig_types[5]
217#define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
218#define SWIGTYPE_p_bool swig_types[7]
219#define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
220#define SWIGTYPE_p_wxItemContainer swig_types[9]
74a57fcd
RD
221#define SWIGTYPE_p_wxPyListCtrl swig_types[10]
222#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
58203fa6
RD
223#define SWIGTYPE_p_wxStaticLine swig_types[12]
224#define SWIGTYPE_p_wxControl swig_types[13]
225#define SWIGTYPE_p_wxPyControl swig_types[14]
226#define SWIGTYPE_p_wxGauge swig_types[15]
227#define SWIGTYPE_p_wxToolBarBase swig_types[16]
228#define SWIGTYPE_p_wxFont swig_types[17]
229#define SWIGTYPE_p_wxToggleButton swig_types[18]
230#define SWIGTYPE_p_wxRadioButton swig_types[19]
231#define SWIGTYPE_p_wxChoice swig_types[20]
232#define SWIGTYPE_p_wxMemoryDC swig_types[21]
233#define SWIGTYPE_p_wxListItemAttr swig_types[22]
234#define SWIGTYPE_p_void swig_types[23]
235#define SWIGTYPE_p_int swig_types[24]
236#define SWIGTYPE_p_wxSize swig_types[25]
237#define SWIGTYPE_p_wxDC swig_types[26]
238#define SWIGTYPE_p_wxListView swig_types[27]
239#define SWIGTYPE_p_wxIcon swig_types[28]
74a57fcd
RD
240#define SWIGTYPE_p_wxVisualAttributes swig_types[29]
241#define SWIGTYPE_p_wxTextCtrl swig_types[30]
242#define SWIGTYPE_p_wxNotebook swig_types[31]
2ef75293
RD
243#define SWIGTYPE_p_wxChoicebook swig_types[32]
244#define SWIGTYPE_p_wxNotifyEvent swig_types[33]
245#define SWIGTYPE_p_wxArrayString swig_types[34]
246#define SWIGTYPE_p_wxListbook swig_types[35]
247#define SWIGTYPE_p_wxStaticBitmap swig_types[36]
248#define SWIGTYPE_p_wxSlider swig_types[37]
249#define SWIGTYPE_p_wxStaticBox swig_types[38]
250#define SWIGTYPE_p_wxArrayInt swig_types[39]
251#define SWIGTYPE_p_wxContextHelp swig_types[40]
252#define SWIGTYPE_p_long swig_types[41]
253#define SWIGTYPE_p_wxEvtHandler swig_types[42]
254#define SWIGTYPE_p_wxListEvent swig_types[43]
255#define SWIGTYPE_p_wxCheckListBox swig_types[44]
256#define SWIGTYPE_p_wxListBox swig_types[45]
257#define SWIGTYPE_p_wxBookCtrl swig_types[46]
258#define SWIGTYPE_p_wxSpinButton swig_types[47]
259#define SWIGTYPE_p_wxButton swig_types[48]
260#define SWIGTYPE_p_wxBitmapButton swig_types[49]
261#define SWIGTYPE_p_wxRect swig_types[50]
262#define SWIGTYPE_p_wxContextHelpButton swig_types[51]
263#define SWIGTYPE_p_wxRadioBox swig_types[52]
264#define SWIGTYPE_p_wxScrollBar swig_types[53]
265#define SWIGTYPE_p_char swig_types[54]
266#define SWIGTYPE_p_wxTreeItemId swig_types[55]
267#define SWIGTYPE_p_wxComboBox swig_types[56]
268#define SWIGTYPE_p_wxHelpEvent swig_types[57]
269#define SWIGTYPE_p_wxListItem swig_types[58]
270#define SWIGTYPE_p_wxNotebookSizer swig_types[59]
271#define SWIGTYPE_p_wxSpinEvent swig_types[60]
272#define SWIGTYPE_p_wxGenericDragImage swig_types[61]
273#define SWIGTYPE_p_wxSpinCtrl swig_types[62]
274#define SWIGTYPE_p_wxImageList swig_types[63]
275#define SWIGTYPE_p_wxHelpProvider swig_types[64]
276#define SWIGTYPE_p_wxTextAttr swig_types[65]
277#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[66]
278#define SWIGTYPE_p_wxPoint swig_types[67]
279#define SWIGTYPE_p_wxChoicebookEvent swig_types[68]
280#define SWIGTYPE_p_wxListbookEvent swig_types[69]
281#define SWIGTYPE_p_wxNotebookEvent swig_types[70]
282#define SWIGTYPE_p_wxObject swig_types[71]
283#define SWIGTYPE_p_wxCursor swig_types[72]
284#define SWIGTYPE_p_wxKeyEvent swig_types[73]
285#define SWIGTYPE_p_wxWindow swig_types[74]
286#define SWIGTYPE_p_wxString swig_types[75]
287#define SWIGTYPE_p_wxBitmap swig_types[76]
288#define SWIGTYPE_p_wxTreeEvent swig_types[77]
289#define SWIGTYPE_p_wxMouseEvent swig_types[78]
290#define SWIGTYPE_p_wxCommandEvent swig_types[79]
291#define SWIGTYPE_p_wxStaticText swig_types[80]
292#define SWIGTYPE_p_wxControlWithItems swig_types[81]
293#define SWIGTYPE_p_wxToolBarToolBase swig_types[82]
294#define SWIGTYPE_p_wxColour swig_types[83]
295#define SWIGTYPE_p_wxToolBar swig_types[84]
296#define SWIGTYPE_p_wxBookCtrlSizer swig_types[85]
297#define SWIGTYPE_p_wxValidator swig_types[86]
298static swig_type_info *swig_types[88];
d14a1e28
RD
299
300/* -------- TYPES TABLE (END) -------- */
301
302
303/*-----------------------------------------------
54f9ee45 304 @(target):= _controls_.so
d14a1e28 305 ------------------------------------------------*/
54f9ee45 306#define SWIG_init init_controls_
d14a1e28 307
54f9ee45 308#define SWIG_name "_controls_"
d14a1e28 309
c32bde28
RD
310/* Auxiliar swig macros that appear in the header */
311
312#define SWIG_OLDOBJ 1
313#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 315
994141e6 316#ifdef __cplusplus
15afbcd0 317#define SWIGSTATICINLINE(a) static inline a
994141e6 318#define SWIGSTATIC(a) static a
c32bde28
RD
319#define swig_new_array(size,Type) (new Type[(size)])
320#define swig_delete(cptr) delete cptr
15afbcd0 321#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
322#define swig_const_cast(a,Type) const_cast<Type >(a)
323#define swig_static_cast(a,Type) static_cast<Type >(a)
324#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325#define swig_new_copy(ptr,Type) (new Type(*ptr))
326#define swig_numeric_cast(a,Type) static_cast<Type >(a)
994141e6 327
15afbcd0
RD
328#else /* C case */
329
330#define SWIGSTATICINLINE(a) static a
331#define SWIGSTATIC(a) static a
c32bde28
RD
332#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333#define swig_delete(cptr) free((char*)cptr)
15afbcd0 334#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
335#define swig_const_cast(a,Type) (Type)(a)
336#define swig_static_cast(a,Type) (Type)(a)
337#define swig_reinterpret_cast(a,Type) (Type)(a)
338#define swig_numeric_cast(a,Type) (Type)(a)
339#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
15afbcd0
RD
340
341#endif /* __cplusplus */
994141e6
RD
342
343
c32bde28
RD
344/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345#define SWIG_From_signed_SS_char PyInt_FromLong
346/*@@*/
347/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348#define SWIG_From_unsigned_SS_char PyInt_FromLong
349/*@@*/
350/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351#define SWIG_From_short PyInt_FromLong
352/*@@*/
353/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354#define SWIG_From_unsigned_SS_short PyInt_FromLong
355/*@@*/
356/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357#define SWIG_From_int PyInt_FromLong
358/*@@*/
359/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360#define SWIG_From_long PyInt_FromLong
361/*@@*/
362/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363#define SWIG_From_float PyFloat_FromDouble
364/*@@*/
365/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366#define SWIG_From_double PyFloat_FromDouble
367/*@@*/
994141e6
RD
368
369
d14a1e28
RD
370#include "wx/wxPython/wxPython.h"
371#include "wx/wxPython/pyclasses.h"
372
b2dc1044
RD
373 static const wxString wxPyPanelNameStr(wxPanelNameStr);
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyControlNameStr(wxControlNameStr);
4d5c3d91
RD
376
377 const wxArrayString wxPyEmptyStringArray;
378
b2dc1044 379 static const wxString wxPyButtonNameStr(wxButtonNameStr);
994141e6 380
15afbcd0
RD
381#include <limits.h>
382
383
c32bde28
RD
384SWIGSTATICINLINE(int)
385 SWIG_CheckLongInRange(long value, long min_value, long max_value,
386 const char *errmsg)
15afbcd0 387{
c32bde28
RD
388 if (value < min_value) {
389 if (errmsg) {
390 PyErr_Format(PyExc_OverflowError,
391 "value %ld is less than '%s' minimum %ld",
392 value, errmsg, min_value);
393 }
394 return 0;
395 } else if (value > max_value) {
396 if (errmsg) {
397 PyErr_Format(PyExc_OverflowError,
398 "value %ld is greater than '%s' maximum %ld",
399 value, errmsg, max_value);
15afbcd0 400 }
c32bde28 401 return 0;
15afbcd0 402 }
c32bde28 403 return 1;
15afbcd0
RD
404}
405
406
c32bde28
RD
407// See my_fragments.i
408SWIGSTATICINLINE(int)
409SWIG_AsVal_long(PyObject* obj, long* val)
15afbcd0 410{
c32bde28
RD
411 if (PyNumber_Check(obj)) {
412 if (val) *val = PyInt_AsLong(obj);
413 return 1;
414 }
69223c70
RD
415 else {
416 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
417 obj->ob_type->tp_name);
418 PyErr_SetObject(PyExc_TypeError, errmsg);
419 Py_DECREF(errmsg);
69223c70 420 }
c32bde28 421 return 0;
15afbcd0
RD
422}
423
424
425#if INT_MAX != LONG_MAX
426SWIGSTATICINLINE(int)
c32bde28 427 SWIG_AsVal_int(PyObject *obj, int *val)
994141e6 428{
c32bde28
RD
429 const char* errmsg = val ? "int" : 0;
430 long v;
431 if (SWIG_AsVal_long(obj, &v)) {
432 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
433 if (val) *val = swig_numeric_cast(v, int);
434 return 1;
435 } else {
436 return 0;
437 }
438 } else {
439 PyErr_Clear();
440 }
441 if (val) {
442 PyErr_SetString(PyExc_TypeError, "an int is expected");
443 }
444 return 0;
994141e6 445}
15afbcd0 446#else
c32bde28
RD
447SWIGSTATICINLINE(int)
448 SWIG_AsVal_int(PyObject *obj, int *val)
449{
450 return SWIG_AsVal_long(obj,(long*)val);
451}
15afbcd0 452#endif
994141e6
RD
453
454
15afbcd0 455SWIGSTATICINLINE(int)
c32bde28 456SWIG_As_int(PyObject* obj)
994141e6 457{
c32bde28
RD
458 int v;
459 if (!SWIG_AsVal_int(obj, &v)) {
460 /*
461 this is needed to make valgrind/purify happier. the other
462 solution is throw an exception, but since this code should work
463 with plain C ....
464 */
465 memset((void*)&v, 0, sizeof(int));
15afbcd0 466 }
c32bde28 467 return v;
15afbcd0
RD
468}
469
470
c32bde28
RD
471SWIGSTATICINLINE(long)
472SWIG_As_long(PyObject* obj)
15afbcd0 473{
c32bde28
RD
474 long v;
475 if (!SWIG_AsVal_long(obj, &v)) {
476 /*
477 this is needed to make valgrind/purify happier. the other
478 solution is throw an exception, but since this code should work
479 with plain C ....
480 */
481 memset((void*)&v, 0, sizeof(long));
15afbcd0 482 }
c32bde28 483 return v;
994141e6
RD
484}
485
c32bde28
RD
486
487SWIGSTATICINLINE(int)
488SWIG_Check_int(PyObject* obj)
489{
490 return SWIG_AsVal_int(obj, (int*)0);
491}
994141e6 492
c32bde28
RD
493
494SWIGSTATICINLINE(int)
495SWIG_Check_long(PyObject* obj)
994141e6 496{
c32bde28 497 return SWIG_AsVal_long(obj, (long*)0);
994141e6
RD
498}
499
c32bde28 500 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
15afbcd0
RD
501
502SWIGSTATICINLINE(int)
c32bde28 503 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 504{
c32bde28
RD
505 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
506 if (obj == Py_True) {
507 if (val) *val = true;
508 return 1;
509 }
510 if (obj == Py_False) {
511 if (val) *val = false;
15afbcd0
RD
512 return 1;
513 }
c32bde28
RD
514 int res = 0;
515 if (SWIG_AsVal_int(obj, &res)) {
516 if (val) *val = (bool)res;
517 return 1;
518 }
519 if (val) {
520 PyErr_SetString(PyExc_TypeError, "a bool is expected");
521 }
522 return 0;
523}
524
525
526SWIGSTATICINLINE(bool)
527SWIG_As_bool(PyObject* obj)
528{
529 bool v;
530 if (!SWIG_AsVal_bool(obj, &v)) {
531 /*
532 this is needed to make valgrind/purify happier. the other
533 solution is throw an exception, but since this code should work
534 with plain C ....
535 */
536 memset((void*)&v, 0, sizeof(bool));
537 }
538 return v;
539}
540
541
542SWIGSTATICINLINE(int)
543SWIG_Check_bool(PyObject* obj)
544{
545 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
546}
547
b2dc1044
RD
548 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
549 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
550 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
551 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
552 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
553 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
554
555#include <wx/checklst.h>
556
d14a1e28 557
b2dc1044 558 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
d14a1e28
RD
559void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
560 if (clientData) {
561 wxPyClientData* data = new wxPyClientData(clientData);
562 self->Insert(item, pos, data);
563 } else
564 self->Insert(item, pos);
565 }
566PyObject *wxListBox_GetSelections(wxListBox *self){
567 wxArrayInt lst;
568 self->GetSelections(lst);
569 PyObject *tup = PyTuple_New(lst.GetCount());
570 for(size_t i=0; i<lst.GetCount(); i++) {
571 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
572 }
573 return tup;
574 }
c3eb6258
RD
575void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
576 #ifdef __WXMSW__
577 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
578 self->GetItem(item)->SetTextColour(c);
579 #endif
580 }
581void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
582 #ifdef __WXMSW__
583 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
584 self->GetItem(item)->SetBackgroundColour(c);
585 #endif
586 }
587void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
588 #ifdef __WXMSW__
589 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
590 self->GetItem(item)->SetFont(f);
591 #endif
592 }
b2dc1044 593 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d14a1e28 594
c32bde28 595 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
596 PyObject* o2;
597 PyObject* o3;
c32bde28 598
d14a1e28
RD
599 if (!target) {
600 target = o;
601 } else if (target == Py_None) {
602 Py_DECREF(Py_None);
603 target = o;
7e63a440
RD
604 } else {
605 if (!PyTuple_Check(target)) {
606 o2 = target;
607 target = PyTuple_New(1);
608 PyTuple_SetItem(target, 0, o2);
609 }
d14a1e28
RD
610 o3 = PyTuple_New(1);
611 PyTuple_SetItem(o3, 0, o);
612
613 o2 = target;
614 target = PySequence_Concat(o2, o3);
615 Py_DECREF(o2);
616 Py_DECREF(o3);
617 }
618 return target;
7e63a440 619 }
d14a1e28 620
15afbcd0 621
c32bde28
RD
622
623// See my_fragments.i
624SWIGSTATICINLINE(int)
625SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 626{
c32bde28
RD
627 long v = 0;
628 if (SWIG_AsVal_long(obj, &v) && v < 0) {
629 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
630 return 0;
15afbcd0 631 }
c32bde28
RD
632 else if (val)
633 *val = (unsigned long)v;
634 return 1;
15afbcd0
RD
635}
636
637
c32bde28
RD
638SWIGSTATICINLINE(unsigned long)
639SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 640{
c32bde28
RD
641 unsigned long v;
642 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
643 /*
644 this is needed to make valgrind/purify happier. the other
645 solution is throw an exception, but since this code should work
646 with plain C ....
647 */
648 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 649 }
c32bde28
RD
650 return v;
651}
652
653
654SWIGSTATICINLINE(int)
655SWIG_Check_unsigned_SS_long(PyObject* obj)
656{
657 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
658}
659
d14a1e28
RD
660void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
661 self->AppendText(text);
662 }
663wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
664 return self->GetValue().Mid(from, to - from);
665 }
b2dc1044
RD
666 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
667 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 668 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
b2dc1044
RD
669 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
670 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
d14a1e28
RD
671int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
672int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
673int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
674
675#include <wx/slider.h>
676
d14a1e28 677
b2dc1044 678 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 679 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 680
15afbcd0
RD
681#if !wxUSE_TOGGLEBTN
682// implement dummy items for platforms that don't have this class
d14a1e28
RD
683
684#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
685
686class wxToggleButton : public wxControl
687{
688public:
689 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
690 const wxPoint&, const wxSize&, long,
691 const wxValidator&, const wxString&)
39f61e25 692 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
693
694 wxToggleButton()
39f61e25 695 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
696};
697#endif
698
b2dc1044 699 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
994141e6 700
15afbcd0 701SWIGSTATICINLINE(PyObject* )
c32bde28 702 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 703{
15afbcd0
RD
704 return (value > LONG_MAX) ?
705 PyLong_FromUnsignedLong(value)
c32bde28 706 : PyInt_FromLong(swig_numeric_cast(value,long));
994141e6
RD
707}
708
b2dc1044 709 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
710PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
711 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
712 if (udata) {
713 Py_INCREF(udata->m_obj);
714 return udata->m_obj;
715 } else {
716 Py_INCREF(Py_None);
717 return Py_None;
718 }
719 }
720void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
721 self->SetClientData(new wxPyUserData(clientData));
722 }
723wxToolBarToolBase *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){
724 wxPyUserData* udata = NULL;
725 if (clientData && clientData != Py_None)
726 udata = new wxPyUserData(clientData);
727 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
728 shortHelp, longHelp, udata);
729 }
730wxToolBarToolBase *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){
731 wxPyUserData* udata = NULL;
732 if (clientData && clientData != Py_None)
733 udata = new wxPyUserData(clientData);
734 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
735 shortHelp, longHelp, udata);
736 }
737PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
738 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
739 if (udata) {
740 Py_INCREF(udata->m_obj);
741 return udata->m_obj;
742 } else {
743 Py_INCREF(Py_None);
744 return Py_None;
745 }
746 }
747void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
748 self->SetToolClientData(id, new wxPyUserData(clientData));
749 }
750
751#include <wx/listctrl.h>
752
33b885b9 753 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
d14a1e28
RD
754void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
755 // Python aware sorting function for wxPyListCtrl
756 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
757 int retval = 0;
758 PyObject* func = (PyObject*)funcPtr;
4f89f6a3 759 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
760
761 PyObject* args = Py_BuildValue("(ii)", item1, item2);
762 PyObject* result = PyEval_CallObject(func, args);
763 Py_DECREF(args);
764 if (result) {
765 retval = PyInt_AsLong(result);
766 Py_DECREF(result);
767 }
768
4f89f6a3 769 wxPyEndBlockThreads(blocked);
d14a1e28
RD
770 return retval;
771 }
772
773 // C++ Version of a Python aware class
774class wxPyListCtrl : public wxListCtrl {
775 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
776public:
777 wxPyListCtrl() : wxListCtrl() {}
778 wxPyListCtrl(wxWindow* parent, wxWindowID id,
779 const wxPoint& pos,
780 const wxSize& size,
781 long style,
782 const wxValidator& validator,
783 const wxString& name) :
784 wxListCtrl(parent, id, pos, size, style, validator, name) {}
785
786 bool Create(wxWindow* parent, wxWindowID id,
787 const wxPoint& pos,
788 const wxSize& size,
789 long style,
790 const wxValidator& validator,
791 const wxString& name) {
792 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
793 }
794
795 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d14a1e28
RD
796 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
797
84f85550
RD
798 // use the virtual version to avoid a confusing assert in the base class
799 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
800
d14a1e28
RD
801 PYPRIVATE;
802};
803
804IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
805
806IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d14a1e28 807IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
808IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
809
d14a1e28
RD
810
811wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
812 wxListItem item;
813 item.SetMask( wxLIST_MASK_STATE |
814 wxLIST_MASK_TEXT |
815 wxLIST_MASK_IMAGE |
816 wxLIST_MASK_DATA |
817 wxLIST_SET_ITEM |
818 wxLIST_MASK_WIDTH |
819 wxLIST_MASK_FORMAT
820 );
821 if (self->GetColumn(col, item))
822 return new wxListItem(item);
823 else
824 return NULL;
825 }
826wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
827 wxListItem* info = new wxListItem;
828 info->m_itemId = itemId;
829 info->m_col = col;
830 info->m_mask = 0xFFFF;
831 self->GetItem(*info);
832 return info;
833 }
834wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
835 wxPoint pos;
836 self->GetItemPosition(item, pos);
837 return pos;
838 }
839wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
840 wxRect rect;
841 self->GetItemRect(item, rect, code);
842 return rect;
843 }
c32bde28 844
d14a1e28
RD
845bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
846 if (!PyCallable_Check(func))
ae8162c8 847 return false;
d14a1e28
RD
848 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
849 }
850wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
851
852
853
854 return (wxWindow*)self->m_mainWin;
855
856 }
857
858#include <wx/treectrl.h>
859#include "wx/wxPython/pytree.h"
d14a1e28 860
33b885b9 861 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
ae8162c8
RD
862bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
863bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
d14a1e28
RD
864void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
865 // C++ version of Python aware wxTreeCtrl
866class wxPyTreeCtrl : public wxTreeCtrl {
867 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
868public:
869 wxPyTreeCtrl() : wxTreeCtrl() {}
870 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
871 const wxPoint& pos,
872 const wxSize& size,
873 long style,
874 const wxValidator& validator,
875 const wxString& name) :
876 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
877
878 bool Create(wxWindow *parent, wxWindowID id,
879 const wxPoint& pos,
880 const wxSize& size,
881 long style,
882 const wxValidator& validator,
883 const wxString& name) {
884 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
885 }
886
887
888 int OnCompareItems(const wxTreeItemId& item1,
889 const wxTreeItemId& item2) {
890 int rval = 0;
891 bool found;
4f89f6a3 892 bool blocked = wxPyBeginBlockThreads();
d14a1e28 893 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
894 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
895 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d14a1e28
RD
896 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
897 Py_DECREF(o1);
898 Py_DECREF(o2);
899 }
4f89f6a3 900 wxPyEndBlockThreads(blocked);
d14a1e28
RD
901 if (! found)
902 rval = wxTreeCtrl::OnCompareItems(item1, item2);
903 return rval;
904 }
905 PYPRIVATE;
906};
907
908IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
909
910
994141e6 911
15afbcd0 912#if UINT_MAX < LONG_MAX
c32bde28
RD
913/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
914#define SWIG_From_unsigned_SS_int SWIG_From_long
915/*@@*/
15afbcd0 916#else
c32bde28
RD
917/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
918#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
919/*@@*/
15afbcd0
RD
920#endif
921
922
c32bde28
RD
923SWIGSTATICINLINE(int)
924 SWIG_CheckUnsignedLongInRange(unsigned long value,
925 unsigned long max_value,
926 const char *errmsg)
15afbcd0 927{
c32bde28
RD
928 if (value > max_value) {
929 if (errmsg) {
930 PyErr_Format(PyExc_OverflowError,
931 "value %ld is greater than '%s' minimum %ld",
932 value, errmsg, max_value);
15afbcd0 933 }
c32bde28 934 return 0;
15afbcd0 935 }
c32bde28
RD
936 return 1;
937 }
994141e6
RD
938
939
15afbcd0 940#if UINT_MAX != ULONG_MAX
c32bde28
RD
941SWIGSTATICINLINE(int)
942 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
994141e6 943{
c32bde28
RD
944 const char* errmsg = val ? "unsigned int" : 0;
945 unsigned long v;
946 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
947 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
948 if (val) *val = swig_numeric_cast(v, unsigned int);
949 return 1;
950 }
951 } else {
952 PyErr_Clear();
953 }
954 if (val) {
955 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
956 }
957 return 0;
15afbcd0
RD
958}
959#else
c32bde28
RD
960SWIGSTATICINLINE(unsigned int)
961 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
962{
963 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
964}
15afbcd0
RD
965#endif
966
967
c32bde28
RD
968SWIGSTATICINLINE(unsigned int)
969SWIG_As_unsigned_SS_int(PyObject* obj)
15afbcd0 970{
c32bde28
RD
971 unsigned int v;
972 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
973 /*
974 this is needed to make valgrind/purify happier. the other
975 solution is throw an exception, but since this code should work
976 with plain C ....
977 */
978 memset((void*)&v, 0, sizeof(unsigned int));
15afbcd0 979 }
c32bde28
RD
980 return v;
981}
982
983
984SWIGSTATICINLINE(int)
985SWIG_Check_unsigned_SS_int(PyObject* obj)
986{
987 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
994141e6
RD
988}
989
d14a1e28
RD
990wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
991 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
992 if (data == NULL) {
993 data = new wxPyTreeItemData();
994 data->SetId(item); // set the id
995 self->SetItemData(item, data);
996 }
997 return data;
998 }
999PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
1000 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1001 if (data == NULL) {
1002 data = new wxPyTreeItemData();
1003 data->SetId(item); // set the id
1004 self->SetItemData(item, data);
1005 }
1006 return data->GetData();
1007 }
1008void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
1009 data->SetId(item); // set the id
1010 self->SetItemData(item, data);
1011 }
1012void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
1013 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1014 if (data == NULL) {
1015 data = new wxPyTreeItemData(obj);
1016 data->SetId(item); // set the id
1017 self->SetItemData(item, data);
1018 } else
1019 data->SetData(obj);
1020 }
1021PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
4f89f6a3 1022 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1023 PyObject* rval = PyList_New(0);
1024 wxArrayTreeItemIds array;
1025 size_t num, x;
1026 num = self->GetSelections(array);
1027 for (x=0; x < num; x++) {
1028 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 1029 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d14a1e28 1030 PyList_Append(rval, item);
1a10c483 1031 Py_DECREF(item);
d14a1e28 1032 }
4f89f6a3 1033 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1034 return rval;
1035 }
1036PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
1037 void* cookie = 0;
1038 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
4f89f6a3 1039 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1040 PyObject* tup = PyTuple_New(2);
ae8162c8 1041 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 1042 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 1043 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1044 return tup;
1045 }
58203fa6
RD
1046PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
1047 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
4f89f6a3 1048 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1049 PyObject* tup = PyTuple_New(2);
ae8162c8 1050 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 1051 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 1052 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1053 return tup;
1054 }
1055PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
1056 wxRect rect;
1057 if (self->GetBoundingRect(item, rect, textOnly)) {
4f89f6a3 1058 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1059 wxRect* r = new wxRect(rect);
ae8162c8 1060 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
4f89f6a3 1061 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1062 return val;
1063 }
1064 else
1065 RETURN_NONE();
1066 }
b2dc1044 1067 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28
RD
1068
1069SWIGSTATICINLINE(PyObject*)
1070 SWIG_From_bool(bool value)
1071{
1072 PyObject *obj = value ? Py_True : Py_False;
1073 Py_INCREF(obj);
1074 return obj;
1075}
1076
1077
d14a1e28
RD
1078 // C++ version of Python aware wxControl
1079class wxPyControl : public wxControl
1080{
1081 DECLARE_DYNAMIC_CLASS(wxPyControl)
1082public:
1083 wxPyControl() : wxControl() {}
1084 wxPyControl(wxWindow* parent, const wxWindowID id,
1085 const wxPoint& pos = wxDefaultPosition,
1086 const wxSize& size = wxDefaultSize,
1087 long style = 0,
1088 const wxValidator& validator=wxDefaultValidator,
1089 const wxString& name = wxPyControlNameStr)
1090 : wxControl(parent, id, pos, size, style, validator, name) {}
1091
db3e571a 1092 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d14a1e28
RD
1093
1094 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1095 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1096 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1097 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1098
1099 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1100 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1101 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1102
1103 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1104 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1105
1106 DEC_PYCALLBACK__(InitDialog);
1107 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1108 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1109 DEC_PYCALLBACK_BOOL_(Validate);
1110
1111 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1112 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1113 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1114
1115 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1116 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1117
db3e571a 1118 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 1119 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 1120 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 1121
d14a1e28
RD
1122 PYPRIVATE;
1123};
1124
1125IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
1126
1127IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
1128IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
1129IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
1130IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
1131
1132IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
1133IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
1134IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
1135
1136IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
1137IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
1138
1139IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
1140IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
1141IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
1142IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1143
1144IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1145IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1146IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1147
1148IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1149IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1150
db3e571a 1151IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1cb4a8aa 1152IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
db3e571a 1153IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d14a1e28
RD
1154
1155
1156
1157void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
1158
1159#include <wx/generic/dragimgg.h>
1160
d14a1e28
RD
1161#ifdef __cplusplus
1162extern "C" {
1163#endif
c32bde28 1164static int _wrap_ButtonNameStr_set(PyObject *) {
b2dc1044
RD
1165 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1166 return 1;
1167}
1168
1169
1170static PyObject *_wrap_ButtonNameStr_get() {
1171 PyObject *pyobj;
1172
1173 {
1174#if wxUSE_UNICODE
1175 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1176#else
1177 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1178#endif
1179 }
1180 return pyobj;
1181}
1182
1183
c32bde28 1184static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1185 PyObject *resultobj;
1186 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
1187 int arg2 = (int) -1 ;
1188 wxString const &arg3_defvalue = wxPyEmptyString ;
1189 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
1190 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1191 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1192 wxSize const &arg5_defvalue = wxDefaultSize ;
1193 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1194 long arg6 = (long) 0 ;
1195 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1196 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1197 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1198 wxString *arg8 = (wxString *) &arg8_defvalue ;
1199 wxButton *result;
ae8162c8 1200 bool temp3 = false ;
d14a1e28
RD
1201 wxPoint temp4 ;
1202 wxSize temp5 ;
ae8162c8 1203 bool temp8 = false ;
d14a1e28 1204 PyObject * obj0 = 0 ;
994141e6 1205 PyObject * obj1 = 0 ;
d14a1e28
RD
1206 PyObject * obj2 = 0 ;
1207 PyObject * obj3 = 0 ;
1208 PyObject * obj4 = 0 ;
994141e6 1209 PyObject * obj5 = 0 ;
d14a1e28
RD
1210 PyObject * obj6 = 0 ;
1211 PyObject * obj7 = 0 ;
1212 char *kwnames[] = {
1213 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1214 };
1215
248ed943 1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 1219 if (obj1) {
c32bde28 1220 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
1221 if (PyErr_Occurred()) SWIG_fail;
1222 }
1223 if (obj2) {
1224 {
1225 arg3 = wxString_in_helper(obj2);
1226 if (arg3 == NULL) SWIG_fail;
ae8162c8 1227 temp3 = true;
248ed943 1228 }
d14a1e28
RD
1229 }
1230 if (obj3) {
1231 {
1232 arg4 = &temp4;
1233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1234 }
1235 }
1236 if (obj4) {
1237 {
1238 arg5 = &temp5;
1239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1240 }
1241 }
994141e6 1242 if (obj5) {
c32bde28 1243 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 1244 if (PyErr_Occurred()) SWIG_fail;
994141e6 1245 }
d14a1e28 1246 if (obj6) {
15afbcd0
RD
1247 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1248 SWIG_POINTER_EXCEPTION | 0)) == -1)
1249 SWIG_fail;
d14a1e28 1250 if (arg7 == NULL) {
15afbcd0
RD
1251 PyErr_SetString(PyExc_TypeError,"null reference");
1252 SWIG_fail;
d14a1e28
RD
1253 }
1254 }
1255 if (obj7) {
1256 {
1257 arg8 = wxString_in_helper(obj7);
1258 if (arg8 == NULL) SWIG_fail;
ae8162c8 1259 temp8 = true;
d14a1e28
RD
1260 }
1261 }
1262 {
e3b71cb8 1263 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1264 PyThreadState* __tstate = wxPyBeginAllowThreads();
1265 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1266
1267 wxPyEndAllowThreads(__tstate);
110da5b0 1268 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1269 }
b0f7404b 1270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
1271 {
1272 if (temp3)
1273 delete arg3;
1274 }
1275 {
1276 if (temp8)
1277 delete arg8;
1278 }
1279 return resultobj;
1280 fail:
1281 {
1282 if (temp3)
1283 delete arg3;
1284 }
1285 {
1286 if (temp8)
1287 delete arg8;
1288 }
1289 return NULL;
1290}
1291
1292
c32bde28 1293static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1294 PyObject *resultobj;
1295 wxButton *result;
1296 char *kwnames[] = {
1297 NULL
1298 };
1299
1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1301 {
e3b71cb8 1302 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1303 PyThreadState* __tstate = wxPyBeginAllowThreads();
1304 result = (wxButton *)new wxButton();
1305
1306 wxPyEndAllowThreads(__tstate);
110da5b0 1307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1308 }
b0f7404b 1309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
1310 return resultobj;
1311 fail:
1312 return NULL;
1313}
1314
1315
c32bde28 1316static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1317 PyObject *resultobj;
1318 wxButton *arg1 = (wxButton *) 0 ;
1319 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
1320 int arg3 = (int) -1 ;
1321 wxString const &arg4_defvalue = wxPyEmptyString ;
1322 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
1323 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1324 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1325 wxSize const &arg6_defvalue = wxDefaultSize ;
1326 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1327 long arg7 = (long) 0 ;
1328 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1329 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1330 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1331 wxString *arg9 = (wxString *) &arg9_defvalue ;
1332 bool result;
ae8162c8 1333 bool temp4 = false ;
d14a1e28
RD
1334 wxPoint temp5 ;
1335 wxSize temp6 ;
ae8162c8 1336 bool temp9 = false ;
d14a1e28
RD
1337 PyObject * obj0 = 0 ;
1338 PyObject * obj1 = 0 ;
994141e6 1339 PyObject * obj2 = 0 ;
d14a1e28
RD
1340 PyObject * obj3 = 0 ;
1341 PyObject * obj4 = 0 ;
1342 PyObject * obj5 = 0 ;
994141e6 1343 PyObject * obj6 = 0 ;
d14a1e28
RD
1344 PyObject * obj7 = 0 ;
1345 PyObject * obj8 = 0 ;
1346 char *kwnames[] = {
1347 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1348 };
1349
248ed943 1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 1355 if (obj2) {
c32bde28 1356 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 if (obj3) {
1360 {
1361 arg4 = wxString_in_helper(obj3);
1362 if (arg4 == NULL) SWIG_fail;
ae8162c8 1363 temp4 = true;
248ed943 1364 }
d14a1e28
RD
1365 }
1366 if (obj4) {
1367 {
1368 arg5 = &temp5;
1369 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1370 }
1371 }
1372 if (obj5) {
1373 {
1374 arg6 = &temp6;
1375 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1376 }
1377 }
994141e6 1378 if (obj6) {
c32bde28 1379 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 1380 if (PyErr_Occurred()) SWIG_fail;
994141e6 1381 }
d14a1e28 1382 if (obj7) {
15afbcd0
RD
1383 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1384 SWIG_POINTER_EXCEPTION | 0)) == -1)
1385 SWIG_fail;
d14a1e28 1386 if (arg8 == NULL) {
15afbcd0
RD
1387 PyErr_SetString(PyExc_TypeError,"null reference");
1388 SWIG_fail;
d14a1e28
RD
1389 }
1390 }
1391 if (obj8) {
1392 {
1393 arg9 = wxString_in_helper(obj8);
1394 if (arg9 == NULL) SWIG_fail;
ae8162c8 1395 temp9 = true;
d14a1e28
RD
1396 }
1397 }
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
4f89f6a3
RD
1405 {
1406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1407 }
d14a1e28
RD
1408 {
1409 if (temp4)
1410 delete arg4;
1411 }
1412 {
1413 if (temp9)
1414 delete arg9;
1415 }
1416 return resultobj;
1417 fail:
1418 {
1419 if (temp4)
1420 delete arg4;
1421 }
1422 {
1423 if (temp9)
1424 delete arg9;
1425 }
1426 return NULL;
1427}
1428
1429
c32bde28 1430static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1431 PyObject *resultobj;
1432 wxButton *arg1 = (wxButton *) 0 ;
1433 PyObject * obj0 = 0 ;
1434 char *kwnames[] = {
1435 (char *) "self", NULL
1436 };
1437
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
1439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1441 {
1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1443 (arg1)->SetDefault();
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 Py_INCREF(Py_None); resultobj = Py_None;
1449 return resultobj;
1450 fail:
1451 return NULL;
1452}
1453
1454
c32bde28 1455static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1456 PyObject *resultobj;
1457 wxSize result;
1458 char *kwnames[] = {
1459 NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1463 {
1464 PyThreadState* __tstate = wxPyBeginAllowThreads();
1465 result = wxButton::GetDefaultSize();
1466
1467 wxPyEndAllowThreads(__tstate);
1468 if (PyErr_Occurred()) SWIG_fail;
1469 }
1470 {
1471 wxSize * resultptr;
1472 resultptr = new wxSize((wxSize &) result);
15afbcd0 1473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1474 }
1475 return resultobj;
1476 fail:
1477 return NULL;
1478}
1479
1480
c32bde28 1481static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
1482 PyObject *resultobj;
1483 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1484 wxVisualAttributes result;
1485 PyObject * obj0 = 0 ;
1486 char *kwnames[] = {
1487 (char *) "variant", NULL
1488 };
1489
1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1491 if (obj0) {
c32bde28 1492 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 {
110da5b0 1496 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
1498 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1499
1500 wxPyEndAllowThreads(__tstate);
dfbb5885 1501 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
1502 }
1503 {
1504 wxVisualAttributes * resultptr;
1505 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1506 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1507 }
1508 return resultobj;
1509 fail:
1510 return NULL;
1511}
1512
1513
c32bde28 1514static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1515 PyObject *obj;
1516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1517 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1518 Py_INCREF(obj);
1519 return Py_BuildValue((char *)"");
1520}
c32bde28 1521static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1522 PyObject *resultobj;
1523 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
1524 int arg2 = (int) -1 ;
1525 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1526 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
1527 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1528 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1529 wxSize const &arg5_defvalue = wxDefaultSize ;
1530 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1531 long arg6 = (long) wxBU_AUTODRAW ;
1532 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1533 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1534 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1535 wxString *arg8 = (wxString *) &arg8_defvalue ;
1536 wxBitmapButton *result;
1537 wxPoint temp4 ;
1538 wxSize temp5 ;
ae8162c8 1539 bool temp8 = false ;
d14a1e28 1540 PyObject * obj0 = 0 ;
994141e6 1541 PyObject * obj1 = 0 ;
d14a1e28
RD
1542 PyObject * obj2 = 0 ;
1543 PyObject * obj3 = 0 ;
1544 PyObject * obj4 = 0 ;
994141e6 1545 PyObject * obj5 = 0 ;
d14a1e28
RD
1546 PyObject * obj6 = 0 ;
1547 PyObject * obj7 = 0 ;
1548 char *kwnames[] = {
1549 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1550 };
1551
248ed943 1552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 1555 if (obj1) {
c32bde28 1556 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
1557 if (PyErr_Occurred()) SWIG_fail;
1558 }
1559 if (obj2) {
1560 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1561 SWIG_POINTER_EXCEPTION | 0)) == -1)
15afbcd0 1562 SWIG_fail;
248ed943
RD
1563 if (arg3 == NULL) {
1564 PyErr_SetString(PyExc_TypeError,"null reference");
1565 SWIG_fail;
1566 }
d14a1e28
RD
1567 }
1568 if (obj3) {
1569 {
1570 arg4 = &temp4;
1571 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1572 }
1573 }
1574 if (obj4) {
1575 {
1576 arg5 = &temp5;
1577 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1578 }
1579 }
994141e6 1580 if (obj5) {
c32bde28 1581 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 1582 if (PyErr_Occurred()) SWIG_fail;
994141e6 1583 }
d14a1e28 1584 if (obj6) {
15afbcd0
RD
1585 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1586 SWIG_POINTER_EXCEPTION | 0)) == -1)
1587 SWIG_fail;
d14a1e28 1588 if (arg7 == NULL) {
15afbcd0
RD
1589 PyErr_SetString(PyExc_TypeError,"null reference");
1590 SWIG_fail;
d14a1e28
RD
1591 }
1592 }
1593 if (obj7) {
1594 {
1595 arg8 = wxString_in_helper(obj7);
1596 if (arg8 == NULL) SWIG_fail;
ae8162c8 1597 temp8 = true;
d14a1e28
RD
1598 }
1599 }
1600 {
e3b71cb8 1601 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1602 PyThreadState* __tstate = wxPyBeginAllowThreads();
1603 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1604
1605 wxPyEndAllowThreads(__tstate);
110da5b0 1606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1607 }
b0f7404b 1608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
1609 {
1610 if (temp8)
1611 delete arg8;
1612 }
1613 return resultobj;
1614 fail:
1615 {
1616 if (temp8)
1617 delete arg8;
1618 }
1619 return NULL;
1620}
1621
1622
c32bde28 1623static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1624 PyObject *resultobj;
1625 wxBitmapButton *result;
1626 char *kwnames[] = {
1627 NULL
1628 };
1629
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1631 {
e3b71cb8 1632 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 result = (wxBitmapButton *)new wxBitmapButton();
1635
1636 wxPyEndAllowThreads(__tstate);
110da5b0 1637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1638 }
b0f7404b 1639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
1640 return resultobj;
1641 fail:
1642 return NULL;
1643}
1644
1645
c32bde28 1646static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1647 PyObject *resultobj;
1648 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1649 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
1650 int arg3 = (int) -1 ;
1651 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1652 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
1653 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1654 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1655 wxSize const &arg6_defvalue = wxDefaultSize ;
1656 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1657 long arg7 = (long) wxBU_AUTODRAW ;
1658 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1659 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1660 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1661 wxString *arg9 = (wxString *) &arg9_defvalue ;
1662 bool result;
1663 wxPoint temp5 ;
1664 wxSize temp6 ;
ae8162c8 1665 bool temp9 = false ;
d14a1e28
RD
1666 PyObject * obj0 = 0 ;
1667 PyObject * obj1 = 0 ;
994141e6 1668 PyObject * obj2 = 0 ;
d14a1e28
RD
1669 PyObject * obj3 = 0 ;
1670 PyObject * obj4 = 0 ;
1671 PyObject * obj5 = 0 ;
994141e6 1672 PyObject * obj6 = 0 ;
d14a1e28
RD
1673 PyObject * obj7 = 0 ;
1674 PyObject * obj8 = 0 ;
1675 char *kwnames[] = {
1676 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1677 };
1678
248ed943 1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 1684 if (obj2) {
c32bde28 1685 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 if (obj3) {
1689 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1690 SWIG_POINTER_EXCEPTION | 0)) == -1)
15afbcd0 1691 SWIG_fail;
248ed943
RD
1692 if (arg4 == NULL) {
1693 PyErr_SetString(PyExc_TypeError,"null reference");
1694 SWIG_fail;
1695 }
d14a1e28
RD
1696 }
1697 if (obj4) {
1698 {
1699 arg5 = &temp5;
1700 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1701 }
1702 }
1703 if (obj5) {
1704 {
1705 arg6 = &temp6;
1706 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1707 }
1708 }
994141e6 1709 if (obj6) {
c32bde28 1710 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 1711 if (PyErr_Occurred()) SWIG_fail;
994141e6 1712 }
d14a1e28 1713 if (obj7) {
15afbcd0
RD
1714 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1715 SWIG_POINTER_EXCEPTION | 0)) == -1)
1716 SWIG_fail;
d14a1e28 1717 if (arg8 == NULL) {
15afbcd0
RD
1718 PyErr_SetString(PyExc_TypeError,"null reference");
1719 SWIG_fail;
d14a1e28
RD
1720 }
1721 }
1722 if (obj8) {
1723 {
1724 arg9 = wxString_in_helper(obj8);
1725 if (arg9 == NULL) SWIG_fail;
ae8162c8 1726 temp9 = true;
d14a1e28
RD
1727 }
1728 }
1729 {
1730 PyThreadState* __tstate = wxPyBeginAllowThreads();
1731 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1732
1733 wxPyEndAllowThreads(__tstate);
1734 if (PyErr_Occurred()) SWIG_fail;
1735 }
4f89f6a3
RD
1736 {
1737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1738 }
d14a1e28
RD
1739 {
1740 if (temp9)
1741 delete arg9;
1742 }
1743 return resultobj;
1744 fail:
1745 {
1746 if (temp9)
1747 delete arg9;
1748 }
1749 return NULL;
1750}
1751
1752
c32bde28 1753static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1754 PyObject *resultobj;
1755 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1756 wxBitmap result;
1757 PyObject * obj0 = 0 ;
1758 char *kwnames[] = {
1759 (char *) "self", NULL
1760 };
1761
1762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
1763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 result = (arg1)->GetBitmapLabel();
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 }
1772 {
1773 wxBitmap * resultptr;
1774 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1776 }
1777 return resultobj;
1778 fail:
1779 return NULL;
1780}
1781
1782
c32bde28 1783static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1784 PyObject *resultobj;
1785 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1786 wxBitmap result;
1787 PyObject * obj0 = 0 ;
1788 char *kwnames[] = {
1789 (char *) "self", NULL
1790 };
1791
1792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
1793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1795 {
1796 PyThreadState* __tstate = wxPyBeginAllowThreads();
1797 result = (arg1)->GetBitmapDisabled();
1798
1799 wxPyEndAllowThreads(__tstate);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 }
1802 {
1803 wxBitmap * resultptr;
1804 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1806 }
1807 return resultobj;
1808 fail:
1809 return NULL;
1810}
1811
1812
c32bde28 1813static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1814 PyObject *resultobj;
1815 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1816 wxBitmap result;
1817 PyObject * obj0 = 0 ;
1818 char *kwnames[] = {
1819 (char *) "self", NULL
1820 };
1821
1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
1823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 result = (arg1)->GetBitmapFocus();
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 {
1833 wxBitmap * resultptr;
1834 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1836 }
1837 return resultobj;
1838 fail:
1839 return NULL;
1840}
1841
1842
c32bde28 1843static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1844 PyObject *resultobj;
1845 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1846 wxBitmap result;
1847 PyObject * obj0 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
1853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1855 {
1856 PyThreadState* __tstate = wxPyBeginAllowThreads();
1857 result = (arg1)->GetBitmapSelected();
1858
1859 wxPyEndAllowThreads(__tstate);
1860 if (PyErr_Occurred()) SWIG_fail;
1861 }
1862 {
1863 wxBitmap * resultptr;
1864 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1866 }
1867 return resultobj;
1868 fail:
1869 return NULL;
1870}
1871
1872
c32bde28 1873static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1874 PyObject *resultobj;
1875 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1876 wxBitmap *arg2 = 0 ;
1877 PyObject * obj0 = 0 ;
1878 PyObject * obj1 = 0 ;
1879 char *kwnames[] = {
1880 (char *) "self",(char *) "bitmap", NULL
1881 };
1882
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1887 SWIG_POINTER_EXCEPTION | 0)) == -1)
1888 SWIG_fail;
d14a1e28 1889 if (arg2 == NULL) {
15afbcd0
RD
1890 PyErr_SetString(PyExc_TypeError,"null reference");
1891 SWIG_fail;
d14a1e28
RD
1892 }
1893 {
1894 PyThreadState* __tstate = wxPyBeginAllowThreads();
1895 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1896
1897 wxPyEndAllowThreads(__tstate);
1898 if (PyErr_Occurred()) SWIG_fail;
1899 }
1900 Py_INCREF(Py_None); resultobj = Py_None;
1901 return resultobj;
1902 fail:
1903 return NULL;
1904}
1905
1906
c32bde28 1907static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1908 PyObject *resultobj;
1909 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1910 wxBitmap *arg2 = 0 ;
1911 PyObject * obj0 = 0 ;
1912 PyObject * obj1 = 0 ;
1913 char *kwnames[] = {
1914 (char *) "self",(char *) "bitmap", NULL
1915 };
1916
1917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1921 SWIG_POINTER_EXCEPTION | 0)) == -1)
1922 SWIG_fail;
d14a1e28 1923 if (arg2 == NULL) {
15afbcd0
RD
1924 PyErr_SetString(PyExc_TypeError,"null reference");
1925 SWIG_fail;
d14a1e28
RD
1926 }
1927 {
1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
1929 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1930
1931 wxPyEndAllowThreads(__tstate);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 }
1934 Py_INCREF(Py_None); resultobj = Py_None;
1935 return resultobj;
1936 fail:
1937 return NULL;
1938}
1939
1940
c32bde28 1941static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1942 PyObject *resultobj;
1943 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1944 wxBitmap *arg2 = 0 ;
1945 PyObject * obj0 = 0 ;
1946 PyObject * obj1 = 0 ;
1947 char *kwnames[] = {
1948 (char *) "self",(char *) "bitmap", NULL
1949 };
1950
1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1955 SWIG_POINTER_EXCEPTION | 0)) == -1)
1956 SWIG_fail;
d14a1e28 1957 if (arg2 == NULL) {
15afbcd0
RD
1958 PyErr_SetString(PyExc_TypeError,"null reference");
1959 SWIG_fail;
d14a1e28
RD
1960 }
1961 {
1962 PyThreadState* __tstate = wxPyBeginAllowThreads();
1963 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1964
1965 wxPyEndAllowThreads(__tstate);
1966 if (PyErr_Occurred()) SWIG_fail;
1967 }
1968 Py_INCREF(Py_None); resultobj = Py_None;
1969 return resultobj;
1970 fail:
1971 return NULL;
1972}
1973
1974
c32bde28 1975static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1976 PyObject *resultobj;
1977 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1978 wxBitmap *arg2 = 0 ;
1979 PyObject * obj0 = 0 ;
1980 PyObject * obj1 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "self",(char *) "bitmap", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1989 SWIG_POINTER_EXCEPTION | 0)) == -1)
1990 SWIG_fail;
d14a1e28 1991 if (arg2 == NULL) {
15afbcd0
RD
1992 PyErr_SetString(PyExc_TypeError,"null reference");
1993 SWIG_fail;
d14a1e28
RD
1994 }
1995 {
1996 PyThreadState* __tstate = wxPyBeginAllowThreads();
1997 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1998
1999 wxPyEndAllowThreads(__tstate);
2000 if (PyErr_Occurred()) SWIG_fail;
2001 }
2002 Py_INCREF(Py_None); resultobj = Py_None;
2003 return resultobj;
2004 fail:
2005 return NULL;
2006}
2007
2008
c32bde28 2009static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2010 PyObject *resultobj;
2011 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2012 int arg2 ;
2013 int arg3 ;
2014 PyObject * obj0 = 0 ;
994141e6
RD
2015 PyObject * obj1 = 0 ;
2016 PyObject * obj2 = 0 ;
d14a1e28
RD
2017 char *kwnames[] = {
2018 (char *) "self",(char *) "x",(char *) "y", NULL
2019 };
2020
994141e6 2021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2024 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2025 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2026 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2027 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2028 {
2029 PyThreadState* __tstate = wxPyBeginAllowThreads();
2030 (arg1)->SetMargins(arg2,arg3);
2031
2032 wxPyEndAllowThreads(__tstate);
2033 if (PyErr_Occurred()) SWIG_fail;
2034 }
2035 Py_INCREF(Py_None); resultobj = Py_None;
2036 return resultobj;
2037 fail:
2038 return NULL;
2039}
2040
2041
c32bde28 2042static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2043 PyObject *resultobj;
2044 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2045 int result;
2046 PyObject * obj0 = 0 ;
2047 char *kwnames[] = {
2048 (char *) "self", NULL
2049 };
2050
2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
15afbcd0
RD
2052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 }
c32bde28 2061 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2062 return resultobj;
2063 fail:
2064 return NULL;
2065}
2066
2067
c32bde28 2068static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2069 PyObject *resultobj;
2070 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2071 int result;
2072 PyObject * obj0 = 0 ;
2073 char *kwnames[] = {
2074 (char *) "self", NULL
2075 };
2076
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
15afbcd0
RD
2078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
c32bde28 2087 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2088 return resultobj;
2089 fail:
2090 return NULL;
2091}
2092
2093
c32bde28 2094static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2095 PyObject *obj;
2096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2097 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
2098 Py_INCREF(obj);
2099 return Py_BuildValue((char *)"");
2100}
c32bde28 2101static int _wrap_CheckBoxNameStr_set(PyObject *) {
b2dc1044
RD
2102 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
2103 return 1;
2104}
2105
2106
2107static PyObject *_wrap_CheckBoxNameStr_get() {
2108 PyObject *pyobj;
2109
2110 {
2111#if wxUSE_UNICODE
2112 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
2113#else
2114 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
2115#endif
2116 }
2117 return pyobj;
2118}
2119
2120
c32bde28 2121static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2122 PyObject *resultobj;
2123 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2124 int arg2 = (int) -1 ;
2125 wxString const &arg3_defvalue = wxPyEmptyString ;
2126 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
2127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2129 wxSize const &arg5_defvalue = wxDefaultSize ;
2130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2131 long arg6 = (long) 0 ;
2132 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2133 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2134 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
2135 wxString *arg8 = (wxString *) &arg8_defvalue ;
2136 wxCheckBox *result;
ae8162c8 2137 bool temp3 = false ;
d14a1e28
RD
2138 wxPoint temp4 ;
2139 wxSize temp5 ;
ae8162c8 2140 bool temp8 = false ;
d14a1e28 2141 PyObject * obj0 = 0 ;
994141e6 2142 PyObject * obj1 = 0 ;
d14a1e28
RD
2143 PyObject * obj2 = 0 ;
2144 PyObject * obj3 = 0 ;
2145 PyObject * obj4 = 0 ;
994141e6 2146 PyObject * obj5 = 0 ;
d14a1e28
RD
2147 PyObject * obj6 = 0 ;
2148 PyObject * obj7 = 0 ;
2149 char *kwnames[] = {
2150 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2151 };
2152
248ed943 2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
2154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 2156 if (obj1) {
c32bde28 2157 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
2158 if (PyErr_Occurred()) SWIG_fail;
2159 }
2160 if (obj2) {
2161 {
2162 arg3 = wxString_in_helper(obj2);
2163 if (arg3 == NULL) SWIG_fail;
ae8162c8 2164 temp3 = true;
248ed943 2165 }
d14a1e28
RD
2166 }
2167 if (obj3) {
2168 {
2169 arg4 = &temp4;
2170 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2171 }
2172 }
2173 if (obj4) {
2174 {
2175 arg5 = &temp5;
2176 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2177 }
2178 }
994141e6 2179 if (obj5) {
c32bde28 2180 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 2181 if (PyErr_Occurred()) SWIG_fail;
994141e6 2182 }
d14a1e28 2183 if (obj6) {
15afbcd0
RD
2184 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2185 SWIG_POINTER_EXCEPTION | 0)) == -1)
2186 SWIG_fail;
d14a1e28 2187 if (arg7 == NULL) {
15afbcd0
RD
2188 PyErr_SetString(PyExc_TypeError,"null reference");
2189 SWIG_fail;
d14a1e28
RD
2190 }
2191 }
2192 if (obj7) {
2193 {
2194 arg8 = wxString_in_helper(obj7);
2195 if (arg8 == NULL) SWIG_fail;
ae8162c8 2196 temp8 = true;
d14a1e28
RD
2197 }
2198 }
2199 {
e3b71cb8 2200 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2203
2204 wxPyEndAllowThreads(__tstate);
110da5b0 2205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2206 }
15afbcd0 2207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2208 {
2209 if (temp3)
2210 delete arg3;
2211 }
2212 {
2213 if (temp8)
2214 delete arg8;
2215 }
2216 return resultobj;
2217 fail:
2218 {
2219 if (temp3)
2220 delete arg3;
2221 }
2222 {
2223 if (temp8)
2224 delete arg8;
2225 }
2226 return NULL;
2227}
2228
2229
c32bde28 2230static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2231 PyObject *resultobj;
2232 wxCheckBox *result;
2233 char *kwnames[] = {
2234 NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2238 {
e3b71cb8 2239 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 result = (wxCheckBox *)new wxCheckBox();
2242
2243 wxPyEndAllowThreads(__tstate);
110da5b0 2244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2245 }
15afbcd0 2246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2247 return resultobj;
2248 fail:
2249 return NULL;
2250}
2251
2252
c32bde28 2253static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2254 PyObject *resultobj;
2255 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2256 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2257 int arg3 = (int) -1 ;
2258 wxString const &arg4_defvalue = wxPyEmptyString ;
2259 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
2260 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2261 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2262 wxSize const &arg6_defvalue = wxDefaultSize ;
2263 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2264 long arg7 = (long) 0 ;
2265 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2266 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2267 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2268 wxString *arg9 = (wxString *) &arg9_defvalue ;
2269 bool result;
ae8162c8 2270 bool temp4 = false ;
d14a1e28
RD
2271 wxPoint temp5 ;
2272 wxSize temp6 ;
ae8162c8 2273 bool temp9 = false ;
d14a1e28
RD
2274 PyObject * obj0 = 0 ;
2275 PyObject * obj1 = 0 ;
994141e6 2276 PyObject * obj2 = 0 ;
d14a1e28
RD
2277 PyObject * obj3 = 0 ;
2278 PyObject * obj4 = 0 ;
2279 PyObject * obj5 = 0 ;
994141e6 2280 PyObject * obj6 = 0 ;
d14a1e28
RD
2281 PyObject * obj7 = 0 ;
2282 PyObject * obj8 = 0 ;
2283 char *kwnames[] = {
2284 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2285 };
2286
248ed943 2287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2290 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 2292 if (obj2) {
c32bde28 2293 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
2294 if (PyErr_Occurred()) SWIG_fail;
2295 }
2296 if (obj3) {
2297 {
2298 arg4 = wxString_in_helper(obj3);
2299 if (arg4 == NULL) SWIG_fail;
ae8162c8 2300 temp4 = true;
248ed943 2301 }
d14a1e28
RD
2302 }
2303 if (obj4) {
2304 {
2305 arg5 = &temp5;
2306 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2307 }
2308 }
2309 if (obj5) {
2310 {
2311 arg6 = &temp6;
2312 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2313 }
2314 }
994141e6 2315 if (obj6) {
c32bde28 2316 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 2317 if (PyErr_Occurred()) SWIG_fail;
994141e6 2318 }
d14a1e28 2319 if (obj7) {
15afbcd0
RD
2320 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1)
2322 SWIG_fail;
d14a1e28 2323 if (arg8 == NULL) {
15afbcd0
RD
2324 PyErr_SetString(PyExc_TypeError,"null reference");
2325 SWIG_fail;
d14a1e28
RD
2326 }
2327 }
2328 if (obj8) {
2329 {
2330 arg9 = wxString_in_helper(obj8);
2331 if (arg9 == NULL) SWIG_fail;
ae8162c8 2332 temp9 = true;
d14a1e28
RD
2333 }
2334 }
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
4f89f6a3
RD
2342 {
2343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2344 }
d14a1e28
RD
2345 {
2346 if (temp4)
2347 delete arg4;
2348 }
2349 {
2350 if (temp9)
2351 delete arg9;
2352 }
2353 return resultobj;
2354 fail:
2355 {
2356 if (temp4)
2357 delete arg4;
2358 }
2359 {
2360 if (temp9)
2361 delete arg9;
2362 }
2363 return NULL;
2364}
2365
2366
c32bde28 2367static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2368 PyObject *resultobj;
2369 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2370 bool result;
2371 PyObject * obj0 = 0 ;
2372 char *kwnames[] = {
2373 (char *) "self", NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2379 {
2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
2381 result = (bool)(arg1)->GetValue();
2382
2383 wxPyEndAllowThreads(__tstate);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 }
4f89f6a3
RD
2386 {
2387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2388 }
d14a1e28
RD
2389 return resultobj;
2390 fail:
2391 return NULL;
2392}
2393
2394
c32bde28 2395static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2396 PyObject *resultobj;
2397 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2398 bool result;
2399 PyObject * obj0 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "self", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
2405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = (bool)(arg1)->IsChecked();
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
4f89f6a3
RD
2414 {
2415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2416 }
d14a1e28
RD
2417 return resultobj;
2418 fail:
2419 return NULL;
2420}
2421
2422
c32bde28 2423static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2424 PyObject *resultobj;
2425 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2426 bool arg2 ;
2427 PyObject * obj0 = 0 ;
2428 PyObject * obj1 = 0 ;
2429 char *kwnames[] = {
2430 (char *) "self",(char *) "state", NULL
2431 };
2432
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2436 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 2437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2438 {
2439 PyThreadState* __tstate = wxPyBeginAllowThreads();
2440 (arg1)->SetValue(arg2);
2441
2442 wxPyEndAllowThreads(__tstate);
2443 if (PyErr_Occurred()) SWIG_fail;
2444 }
2445 Py_INCREF(Py_None); resultobj = Py_None;
2446 return resultobj;
2447 fail:
2448 return NULL;
2449}
2450
2451
c32bde28 2452static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2453 PyObject *resultobj;
2454 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2455 int result;
2456 PyObject * obj0 = 0 ;
2457 char *kwnames[] = {
2458 (char *) "self", NULL
2459 };
2460
2461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2464 {
2465 PyThreadState* __tstate = wxPyBeginAllowThreads();
2466 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2467
2468 wxPyEndAllowThreads(__tstate);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
c32bde28 2471 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2472 return resultobj;
2473 fail:
2474 return NULL;
2475}
2476
2477
c32bde28 2478static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2479 PyObject *resultobj;
2480 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2481 int arg2 ;
2482 PyObject * obj0 = 0 ;
994141e6 2483 PyObject * obj1 = 0 ;
d14a1e28
RD
2484 char *kwnames[] = {
2485 (char *) "self",(char *) "state", NULL
2486 };
2487
994141e6 2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2491 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2492 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
2495 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 }
2500 Py_INCREF(Py_None); resultobj = Py_None;
2501 return resultobj;
2502 fail:
2503 return NULL;
2504}
2505
2506
c32bde28 2507static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2508 PyObject *resultobj;
2509 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2510 bool result;
2511 PyObject * obj0 = 0 ;
2512 char *kwnames[] = {
2513 (char *) "self", NULL
2514 };
2515
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
15afbcd0
RD
2517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2522
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
4f89f6a3
RD
2526 {
2527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2528 }
d14a1e28
RD
2529 return resultobj;
2530 fail:
2531 return NULL;
2532}
2533
2534
c32bde28 2535static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2536 PyObject *resultobj;
2537 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2538 bool result;
2539 PyObject * obj0 = 0 ;
2540 char *kwnames[] = {
2541 (char *) "self", NULL
2542 };
2543
2544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
15afbcd0
RD
2545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
4f89f6a3
RD
2554 {
2555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2556 }
d14a1e28
RD
2557 return resultobj;
2558 fail:
2559 return NULL;
2560}
2561
2562
c32bde28 2563static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
2564 PyObject *resultobj;
2565 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2566 wxVisualAttributes result;
2567 PyObject * obj0 = 0 ;
2568 char *kwnames[] = {
2569 (char *) "variant", NULL
2570 };
2571
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2573 if (obj0) {
c32bde28 2574 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 {
110da5b0 2578 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2581
2582 wxPyEndAllowThreads(__tstate);
dfbb5885 2583 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2584 }
2585 {
2586 wxVisualAttributes * resultptr;
2587 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2589 }
2590 return resultobj;
2591 fail:
2592 return NULL;
2593}
2594
2595
c32bde28 2596static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2597 PyObject *obj;
2598 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2599 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2600 Py_INCREF(obj);
2601 return Py_BuildValue((char *)"");
2602}
c32bde28 2603static int _wrap_ChoiceNameStr_set(PyObject *) {
b2dc1044
RD
2604 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2605 return 1;
2606}
2607
2608
2609static PyObject *_wrap_ChoiceNameStr_get() {
2610 PyObject *pyobj;
2611
2612 {
2613#if wxUSE_UNICODE
2614 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2615#else
2616 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2617#endif
2618 }
2619 return pyobj;
2620}
2621
2622
c32bde28 2623static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2624 PyObject *resultobj;
2625 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 2626 int arg2 = (int) -1 ;
d14a1e28
RD
2627 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2628 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2629 wxSize const &arg4_defvalue = wxDefaultSize ;
2630 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
2631 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2632 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2633 long arg6 = (long) 0 ;
2634 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2635 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2636 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2637 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
2638 wxChoice *result;
2639 wxPoint temp3 ;
2640 wxSize temp4 ;
ae8162c8
RD
2641 bool temp5 = false ;
2642 bool temp8 = false ;
d14a1e28 2643 PyObject * obj0 = 0 ;
994141e6 2644 PyObject * obj1 = 0 ;
d14a1e28
RD
2645 PyObject * obj2 = 0 ;
2646 PyObject * obj3 = 0 ;
2647 PyObject * obj4 = 0 ;
994141e6 2648 PyObject * obj5 = 0 ;
d14a1e28
RD
2649 PyObject * obj6 = 0 ;
2650 PyObject * obj7 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2653 };
2654
a95a7133 2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
2656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133 2658 if (obj1) {
c32bde28 2659 arg2 = (int)SWIG_As_int(obj1);
a95a7133
RD
2660 if (PyErr_Occurred()) SWIG_fail;
2661 }
d14a1e28
RD
2662 if (obj2) {
2663 {
2664 arg3 = &temp3;
2665 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2666 }
2667 }
2668 if (obj3) {
2669 {
2670 arg4 = &temp4;
2671 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2672 }
2673 }
2674 if (obj4) {
2675 {
4d5c3d91
RD
2676 if (! PySequence_Check(obj4)) {
2677 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2678 SWIG_fail;
2679 }
2680 arg5 = new wxArrayString;
ae8162c8 2681 temp5 = true;
4d5c3d91
RD
2682 int i, len=PySequence_Length(obj4);
2683 for (i=0; i<len; i++) {
2684 PyObject* item = PySequence_GetItem(obj4, i);
2685#if wxUSE_UNICODE
2686 PyObject* str = PyObject_Unicode(item);
2687#else
2688 PyObject* str = PyObject_Str(item);
2689#endif
74a57fcd 2690 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2691 arg5->Add(Py2wxString(str));
2692 Py_DECREF(item);
2693 Py_DECREF(str);
2694 }
d14a1e28
RD
2695 }
2696 }
994141e6 2697 if (obj5) {
c32bde28 2698 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 2699 if (PyErr_Occurred()) SWIG_fail;
994141e6 2700 }
d14a1e28 2701 if (obj6) {
15afbcd0
RD
2702 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2703 SWIG_POINTER_EXCEPTION | 0)) == -1)
2704 SWIG_fail;
4d5c3d91 2705 if (arg7 == NULL) {
15afbcd0
RD
2706 PyErr_SetString(PyExc_TypeError,"null reference");
2707 SWIG_fail;
d14a1e28
RD
2708 }
2709 }
2710 if (obj7) {
2711 {
4d5c3d91
RD
2712 arg8 = wxString_in_helper(obj7);
2713 if (arg8 == NULL) SWIG_fail;
ae8162c8 2714 temp8 = true;
d14a1e28
RD
2715 }
2716 }
2717 {
e3b71cb8 2718 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2720 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
2721
2722 wxPyEndAllowThreads(__tstate);
110da5b0 2723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2724 }
15afbcd0 2725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 2726 {
3adfb63b 2727 if (temp5) delete arg5;
d14a1e28
RD
2728 }
2729 {
2730 if (temp8)
4d5c3d91 2731 delete arg8;
d14a1e28
RD
2732 }
2733 return resultobj;
2734 fail:
2735 {
3adfb63b 2736 if (temp5) delete arg5;
d14a1e28
RD
2737 }
2738 {
2739 if (temp8)
4d5c3d91 2740 delete arg8;
d14a1e28
RD
2741 }
2742 return NULL;
2743}
2744
2745
c32bde28 2746static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2747 PyObject *resultobj;
2748 wxChoice *result;
2749 char *kwnames[] = {
2750 NULL
2751 };
2752
2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2754 {
e3b71cb8 2755 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
2757 result = (wxChoice *)new wxChoice();
2758
2759 wxPyEndAllowThreads(__tstate);
110da5b0 2760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2761 }
15afbcd0 2762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
2763 return resultobj;
2764 fail:
2765 return NULL;
2766}
2767
2768
c32bde28 2769static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2770 PyObject *resultobj;
2771 wxChoice *arg1 = (wxChoice *) 0 ;
2772 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 2773 int arg3 = (int) -1 ;
d14a1e28
RD
2774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2776 wxSize const &arg5_defvalue = wxDefaultSize ;
2777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
2778 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2779 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2780 long arg7 = (long) 0 ;
2781 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2782 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2783 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2784 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
2785 bool result;
2786 wxPoint temp4 ;
2787 wxSize temp5 ;
ae8162c8
RD
2788 bool temp6 = false ;
2789 bool temp9 = false ;
d14a1e28
RD
2790 PyObject * obj0 = 0 ;
2791 PyObject * obj1 = 0 ;
994141e6 2792 PyObject * obj2 = 0 ;
d14a1e28
RD
2793 PyObject * obj3 = 0 ;
2794 PyObject * obj4 = 0 ;
2795 PyObject * obj5 = 0 ;
994141e6 2796 PyObject * obj6 = 0 ;
d14a1e28
RD
2797 PyObject * obj7 = 0 ;
2798 PyObject * obj8 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2801 };
2802
a95a7133 2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133 2808 if (obj2) {
c32bde28 2809 arg3 = (int)SWIG_As_int(obj2);
a95a7133
RD
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
d14a1e28
RD
2812 if (obj3) {
2813 {
2814 arg4 = &temp4;
2815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2816 }
2817 }
2818 if (obj4) {
2819 {
2820 arg5 = &temp5;
2821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2822 }
2823 }
2824 if (obj5) {
2825 {
4d5c3d91
RD
2826 if (! PySequence_Check(obj5)) {
2827 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2828 SWIG_fail;
2829 }
2830 arg6 = new wxArrayString;
ae8162c8 2831 temp6 = true;
4d5c3d91
RD
2832 int i, len=PySequence_Length(obj5);
2833 for (i=0; i<len; i++) {
2834 PyObject* item = PySequence_GetItem(obj5, i);
2835#if wxUSE_UNICODE
2836 PyObject* str = PyObject_Unicode(item);
2837#else
2838 PyObject* str = PyObject_Str(item);
2839#endif
74a57fcd 2840 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2841 arg6->Add(Py2wxString(str));
2842 Py_DECREF(item);
2843 Py_DECREF(str);
2844 }
d14a1e28
RD
2845 }
2846 }
994141e6 2847 if (obj6) {
c32bde28 2848 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 2849 if (PyErr_Occurred()) SWIG_fail;
994141e6 2850 }
d14a1e28 2851 if (obj7) {
15afbcd0
RD
2852 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2853 SWIG_POINTER_EXCEPTION | 0)) == -1)
2854 SWIG_fail;
4d5c3d91 2855 if (arg8 == NULL) {
15afbcd0
RD
2856 PyErr_SetString(PyExc_TypeError,"null reference");
2857 SWIG_fail;
d14a1e28
RD
2858 }
2859 }
2860 if (obj8) {
2861 {
4d5c3d91
RD
2862 arg9 = wxString_in_helper(obj8);
2863 if (arg9 == NULL) SWIG_fail;
ae8162c8 2864 temp9 = true;
d14a1e28
RD
2865 }
2866 }
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2869 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
4f89f6a3
RD
2874 {
2875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2876 }
d14a1e28 2877 {
3adfb63b 2878 if (temp6) delete arg6;
d14a1e28
RD
2879 }
2880 {
2881 if (temp9)
4d5c3d91 2882 delete arg9;
d14a1e28
RD
2883 }
2884 return resultobj;
2885 fail:
2886 {
3adfb63b 2887 if (temp6) delete arg6;
d14a1e28
RD
2888 }
2889 {
2890 if (temp9)
4d5c3d91 2891 delete arg9;
d14a1e28
RD
2892 }
2893 return NULL;
2894}
2895
2896
c32bde28 2897static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2898 PyObject *resultobj;
2899 wxChoice *arg1 = (wxChoice *) 0 ;
2900 int arg2 ;
2901 PyObject * obj0 = 0 ;
994141e6 2902 PyObject * obj1 = 0 ;
d14a1e28
RD
2903 char *kwnames[] = {
2904 (char *) "self",(char *) "n", NULL
2905 };
2906
994141e6 2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2910 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 (arg1)->SetSelection(arg2);
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 Py_INCREF(Py_None); resultobj = Py_None;
2920 return resultobj;
2921 fail:
2922 return NULL;
2923}
2924
2925
c32bde28 2926static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2927 PyObject *resultobj;
2928 wxChoice *arg1 = (wxChoice *) 0 ;
2929 wxString *arg2 = 0 ;
121b9a67 2930 bool result;
ae8162c8 2931 bool temp2 = false ;
d14a1e28
RD
2932 PyObject * obj0 = 0 ;
2933 PyObject * obj1 = 0 ;
2934 char *kwnames[] = {
2935 (char *) "self",(char *) "string", NULL
2936 };
2937
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2941 {
2942 arg2 = wxString_in_helper(obj1);
2943 if (arg2 == NULL) SWIG_fail;
ae8162c8 2944 temp2 = true;
d14a1e28
RD
2945 }
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
121b9a67 2948 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d14a1e28
RD
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
121b9a67
RD
2953 {
2954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2955 }
d14a1e28
RD
2956 {
2957 if (temp2)
2958 delete arg2;
2959 }
2960 return resultobj;
2961 fail:
2962 {
2963 if (temp2)
2964 delete arg2;
2965 }
2966 return NULL;
2967}
2968
2969
c32bde28 2970static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2971 PyObject *resultobj;
2972 wxChoice *arg1 = (wxChoice *) 0 ;
2973 int arg2 ;
2974 wxString *arg3 = 0 ;
ae8162c8 2975 bool temp3 = false ;
d14a1e28 2976 PyObject * obj0 = 0 ;
994141e6 2977 PyObject * obj1 = 0 ;
d14a1e28
RD
2978 PyObject * obj2 = 0 ;
2979 char *kwnames[] = {
fcafa8a9 2980 (char *) "self",(char *) "n",(char *) "string", NULL
d14a1e28
RD
2981 };
2982
994141e6 2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2986 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2987 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2988 {
2989 arg3 = wxString_in_helper(obj2);
2990 if (arg3 == NULL) SWIG_fail;
ae8162c8 2991 temp3 = true;
d14a1e28
RD
2992 }
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 (arg1)->SetString(arg2,(wxString const &)*arg3);
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 Py_INCREF(Py_None); resultobj = Py_None;
3001 {
3002 if (temp3)
3003 delete arg3;
3004 }
3005 return resultobj;
3006 fail:
3007 {
3008 if (temp3)
3009 delete arg3;
3010 }
3011 return NULL;
3012}
3013
3014
c32bde28 3015static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
3016 PyObject *resultobj;
3017 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3018 wxVisualAttributes result;
3019 PyObject * obj0 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "variant", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3025 if (obj0) {
c32bde28 3026 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 {
110da5b0 3030 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
3033
3034 wxPyEndAllowThreads(__tstate);
dfbb5885 3035 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3036 }
3037 {
3038 wxVisualAttributes * resultptr;
3039 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3041 }
3042 return resultobj;
3043 fail:
3044 return NULL;
3045}
3046
3047
c32bde28 3048static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3049 PyObject *obj;
3050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3051 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
3052 Py_INCREF(obj);
3053 return Py_BuildValue((char *)"");
3054}
c32bde28 3055static int _wrap_ComboBoxNameStr_set(PyObject *) {
b2dc1044
RD
3056 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
3057 return 1;
3058}
3059
3060
3061static PyObject *_wrap_ComboBoxNameStr_get() {
3062 PyObject *pyobj;
3063
3064 {
3065#if wxUSE_UNICODE
3066 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
3067#else
3068 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
3069#endif
3070 }
3071 return pyobj;
3072}
3073
3074
c32bde28 3075static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3076 PyObject *resultobj;
3077 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 3078 int arg2 = (int) -1 ;
d14a1e28
RD
3079 wxString const &arg3_defvalue = wxPyEmptyString ;
3080 wxString *arg3 = (wxString *) &arg3_defvalue ;
3081 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3082 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3083 wxSize const &arg5_defvalue = wxDefaultSize ;
3084 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
3085 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3086 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3087 long arg7 = (long) 0 ;
3088 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3089 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3090 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
3091 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 3092 wxComboBox *result;
ae8162c8 3093 bool temp3 = false ;
d14a1e28
RD
3094 wxPoint temp4 ;
3095 wxSize temp5 ;
ae8162c8
RD
3096 bool temp6 = false ;
3097 bool temp9 = false ;
d14a1e28 3098 PyObject * obj0 = 0 ;
994141e6 3099 PyObject * obj1 = 0 ;
d14a1e28
RD
3100 PyObject * obj2 = 0 ;
3101 PyObject * obj3 = 0 ;
3102 PyObject * obj4 = 0 ;
3103 PyObject * obj5 = 0 ;
994141e6 3104 PyObject * obj6 = 0 ;
d14a1e28
RD
3105 PyObject * obj7 = 0 ;
3106 PyObject * obj8 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3109 };
3110
a95a7133 3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
3112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133 3114 if (obj1) {
c32bde28 3115 arg2 = (int)SWIG_As_int(obj1);
a95a7133
RD
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
d14a1e28
RD
3118 if (obj2) {
3119 {
3120 arg3 = wxString_in_helper(obj2);
3121 if (arg3 == NULL) SWIG_fail;
ae8162c8 3122 temp3 = true;
d14a1e28
RD
3123 }
3124 }
3125 if (obj3) {
3126 {
3127 arg4 = &temp4;
3128 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3129 }
3130 }
3131 if (obj4) {
3132 {
3133 arg5 = &temp5;
3134 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3135 }
3136 }
3137 if (obj5) {
3138 {
4d5c3d91
RD
3139 if (! PySequence_Check(obj5)) {
3140 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3141 SWIG_fail;
3142 }
3143 arg6 = new wxArrayString;
ae8162c8 3144 temp6 = true;
4d5c3d91
RD
3145 int i, len=PySequence_Length(obj5);
3146 for (i=0; i<len; i++) {
3147 PyObject* item = PySequence_GetItem(obj5, i);
3148#if wxUSE_UNICODE
3149 PyObject* str = PyObject_Unicode(item);
3150#else
3151 PyObject* str = PyObject_Str(item);
3152#endif
74a57fcd 3153 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3154 arg6->Add(Py2wxString(str));
3155 Py_DECREF(item);
3156 Py_DECREF(str);
3157 }
d14a1e28
RD
3158 }
3159 }
994141e6 3160 if (obj6) {
c32bde28 3161 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 3162 if (PyErr_Occurred()) SWIG_fail;
994141e6 3163 }
d14a1e28 3164 if (obj7) {
15afbcd0
RD
3165 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3166 SWIG_POINTER_EXCEPTION | 0)) == -1)
3167 SWIG_fail;
4d5c3d91 3168 if (arg8 == NULL) {
15afbcd0
RD
3169 PyErr_SetString(PyExc_TypeError,"null reference");
3170 SWIG_fail;
d14a1e28
RD
3171 }
3172 }
3173 if (obj8) {
3174 {
4d5c3d91
RD
3175 arg9 = wxString_in_helper(obj8);
3176 if (arg9 == NULL) SWIG_fail;
ae8162c8 3177 temp9 = true;
d14a1e28
RD
3178 }
3179 }
3180 {
e3b71cb8 3181 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3183 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
3184
3185 wxPyEndAllowThreads(__tstate);
110da5b0 3186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3187 }
15afbcd0 3188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
3189 {
3190 if (temp3)
3191 delete arg3;
3192 }
3193 {
3adfb63b 3194 if (temp6) delete arg6;
d14a1e28
RD
3195 }
3196 {
3197 if (temp9)
4d5c3d91 3198 delete arg9;
d14a1e28
RD
3199 }
3200 return resultobj;
3201 fail:
3202 {
3203 if (temp3)
3204 delete arg3;
3205 }
3206 {
3adfb63b 3207 if (temp6) delete arg6;
d14a1e28
RD
3208 }
3209 {
3210 if (temp9)
4d5c3d91 3211 delete arg9;
d14a1e28
RD
3212 }
3213 return NULL;
3214}
3215
3216
c32bde28 3217static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3218 PyObject *resultobj;
3219 wxComboBox *result;
3220 char *kwnames[] = {
3221 NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3225 {
e3b71cb8 3226 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 result = (wxComboBox *)new wxComboBox();
3229
3230 wxPyEndAllowThreads(__tstate);
110da5b0 3231 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3232 }
15afbcd0 3233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
3234 return resultobj;
3235 fail:
3236 return NULL;
3237}
3238
3239
c32bde28 3240static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3241 PyObject *resultobj;
3242 wxComboBox *arg1 = (wxComboBox *) 0 ;
3243 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 3244 int arg3 = (int) -1 ;
d14a1e28
RD
3245 wxString const &arg4_defvalue = wxPyEmptyString ;
3246 wxString *arg4 = (wxString *) &arg4_defvalue ;
3247 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3248 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3249 wxSize const &arg6_defvalue = wxDefaultSize ;
3250 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
3251 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3252 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3253 long arg8 = (long) 0 ;
3254 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3255 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
b88bce5f 3256 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4d5c3d91 3257 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 3258 bool result;
ae8162c8 3259 bool temp4 = false ;
d14a1e28
RD
3260 wxPoint temp5 ;
3261 wxSize temp6 ;
ae8162c8
RD
3262 bool temp7 = false ;
3263 bool temp10 = false ;
d14a1e28
RD
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
994141e6 3266 PyObject * obj2 = 0 ;
d14a1e28
RD
3267 PyObject * obj3 = 0 ;
3268 PyObject * obj4 = 0 ;
3269 PyObject * obj5 = 0 ;
3270 PyObject * obj6 = 0 ;
994141e6 3271 PyObject * obj7 = 0 ;
d14a1e28
RD
3272 PyObject * obj8 = 0 ;
3273 PyObject * obj9 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3276 };
3277
a95a7133 3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
3279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133 3283 if (obj2) {
c32bde28 3284 arg3 = (int)SWIG_As_int(obj2);
a95a7133
RD
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
d14a1e28
RD
3287 if (obj3) {
3288 {
3289 arg4 = wxString_in_helper(obj3);
3290 if (arg4 == NULL) SWIG_fail;
ae8162c8 3291 temp4 = true;
d14a1e28
RD
3292 }
3293 }
3294 if (obj4) {
3295 {
3296 arg5 = &temp5;
3297 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3298 }
3299 }
3300 if (obj5) {
3301 {
3302 arg6 = &temp6;
3303 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3304 }
3305 }
3306 if (obj6) {
3307 {
4d5c3d91
RD
3308 if (! PySequence_Check(obj6)) {
3309 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3310 SWIG_fail;
3311 }
3312 arg7 = new wxArrayString;
ae8162c8 3313 temp7 = true;
4d5c3d91
RD
3314 int i, len=PySequence_Length(obj6);
3315 for (i=0; i<len; i++) {
3316 PyObject* item = PySequence_GetItem(obj6, i);
3317#if wxUSE_UNICODE
3318 PyObject* str = PyObject_Unicode(item);
3319#else
3320 PyObject* str = PyObject_Str(item);
3321#endif
74a57fcd 3322 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3323 arg7->Add(Py2wxString(str));
3324 Py_DECREF(item);
3325 Py_DECREF(str);
3326 }
d14a1e28
RD
3327 }
3328 }
994141e6 3329 if (obj7) {
c32bde28 3330 arg8 = (long)SWIG_As_long(obj7);
15afbcd0 3331 if (PyErr_Occurred()) SWIG_fail;
994141e6 3332 }
d14a1e28 3333 if (obj8) {
15afbcd0
RD
3334 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3335 SWIG_POINTER_EXCEPTION | 0)) == -1)
3336 SWIG_fail;
4d5c3d91 3337 if (arg9 == NULL) {
15afbcd0
RD
3338 PyErr_SetString(PyExc_TypeError,"null reference");
3339 SWIG_fail;
d14a1e28
RD
3340 }
3341 }
3342 if (obj9) {
3343 {
4d5c3d91
RD
3344 arg10 = wxString_in_helper(obj9);
3345 if (arg10 == NULL) SWIG_fail;
ae8162c8 3346 temp10 = true;
d14a1e28
RD
3347 }
3348 }
3349 {
3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3351 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
3352
3353 wxPyEndAllowThreads(__tstate);
3354 if (PyErr_Occurred()) SWIG_fail;
3355 }
4f89f6a3
RD
3356 {
3357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3358 }
d14a1e28
RD
3359 {
3360 if (temp4)
3361 delete arg4;
3362 }
3363 {
3adfb63b 3364 if (temp7) delete arg7;
d14a1e28
RD
3365 }
3366 {
3367 if (temp10)
4d5c3d91 3368 delete arg10;
d14a1e28
RD
3369 }
3370 return resultobj;
3371 fail:
3372 {
3373 if (temp4)
3374 delete arg4;
3375 }
3376 {
3adfb63b 3377 if (temp7) delete arg7;
d14a1e28
RD
3378 }
3379 {
3380 if (temp10)
4d5c3d91 3381 delete arg10;
d14a1e28
RD
3382 }
3383 return NULL;
3384}
3385
3386
c32bde28 3387static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3388 PyObject *resultobj;
3389 wxComboBox *arg1 = (wxComboBox *) 0 ;
3390 wxString result;
3391 PyObject * obj0 = 0 ;
3392 char *kwnames[] = {
3393 (char *) "self", NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3399 {
3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
3401 result = ((wxComboBox const *)arg1)->GetValue();
3402
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 {
3407#if wxUSE_UNICODE
3408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3409#else
3410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3411#endif
3412 }
3413 return resultobj;
3414 fail:
3415 return NULL;
3416}
3417
3418
c32bde28 3419static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3420 PyObject *resultobj;
3421 wxComboBox *arg1 = (wxComboBox *) 0 ;
3422 wxString *arg2 = 0 ;
ae8162c8 3423 bool temp2 = false ;
d14a1e28
RD
3424 PyObject * obj0 = 0 ;
3425 PyObject * obj1 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self",(char *) "value", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3433 {
3434 arg2 = wxString_in_helper(obj1);
3435 if (arg2 == NULL) SWIG_fail;
ae8162c8 3436 temp2 = true;
d14a1e28
RD
3437 }
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 (arg1)->SetValue((wxString const &)*arg2);
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 Py_INCREF(Py_None); resultobj = Py_None;
3446 {
3447 if (temp2)
3448 delete arg2;
3449 }
3450 return resultobj;
3451 fail:
3452 {
3453 if (temp2)
3454 delete arg2;
3455 }
3456 return NULL;
3457}
3458
3459
c32bde28 3460static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3461 PyObject *resultobj;
3462 wxComboBox *arg1 = (wxComboBox *) 0 ;
3463 PyObject * obj0 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "self", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 (arg1)->Copy();
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 Py_INCREF(Py_None); resultobj = Py_None;
3479 return resultobj;
3480 fail:
3481 return NULL;
3482}
3483
3484
c32bde28 3485static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3486 PyObject *resultobj;
3487 wxComboBox *arg1 = (wxComboBox *) 0 ;
3488 PyObject * obj0 = 0 ;
3489 char *kwnames[] = {
3490 (char *) "self", NULL
3491 };
3492
3493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
3494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 (arg1)->Cut();
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 Py_INCREF(Py_None); resultobj = Py_None;
3504 return resultobj;
3505 fail:
3506 return NULL;
3507}
3508
3509
c32bde28 3510static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3511 PyObject *resultobj;
3512 wxComboBox *arg1 = (wxComboBox *) 0 ;
3513 PyObject * obj0 = 0 ;
3514 char *kwnames[] = {
3515 (char *) "self", NULL
3516 };
3517
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
3519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 (arg1)->Paste();
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 Py_INCREF(Py_None); resultobj = Py_None;
3529 return resultobj;
3530 fail:
3531 return NULL;
3532}
3533
3534
c32bde28 3535static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3536 PyObject *resultobj;
3537 wxComboBox *arg1 = (wxComboBox *) 0 ;
3538 long arg2 ;
3539 PyObject * obj0 = 0 ;
994141e6 3540 PyObject * obj1 = 0 ;
d14a1e28
RD
3541 char *kwnames[] = {
3542 (char *) "self",(char *) "pos", NULL
3543 };
3544
994141e6 3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3548 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 3549 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 (arg1)->SetInsertionPoint(arg2);
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 Py_INCREF(Py_None); resultobj = Py_None;
3558 return resultobj;
3559 fail:
3560 return NULL;
3561}
3562
3563
c32bde28 3564static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3565 PyObject *resultobj;
3566 wxComboBox *arg1 = (wxComboBox *) 0 ;
3567 long result;
3568 PyObject * obj0 = 0 ;
3569 char *kwnames[] = {
3570 (char *) "self", NULL
3571 };
3572
3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
3574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3576 {
3577 PyThreadState* __tstate = wxPyBeginAllowThreads();
3578 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3579
3580 wxPyEndAllowThreads(__tstate);
3581 if (PyErr_Occurred()) SWIG_fail;
3582 }
c32bde28 3583 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
3584 return resultobj;
3585 fail:
3586 return NULL;
3587}
3588
3589
c32bde28 3590static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3591 PyObject *resultobj;
3592 wxComboBox *arg1 = (wxComboBox *) 0 ;
3593 long result;
3594 PyObject * obj0 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "self", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3602 {
3603 PyThreadState* __tstate = wxPyBeginAllowThreads();
3604 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3605
3606 wxPyEndAllowThreads(__tstate);
3607 if (PyErr_Occurred()) SWIG_fail;
3608 }
c32bde28 3609 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
3610 return resultobj;
3611 fail:
3612 return NULL;
3613}
3614
3615
c32bde28 3616static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3617 PyObject *resultobj;
3618 wxComboBox *arg1 = (wxComboBox *) 0 ;
3619 long arg2 ;
3620 long arg3 ;
3621 wxString *arg4 = 0 ;
ae8162c8 3622 bool temp4 = false ;
d14a1e28 3623 PyObject * obj0 = 0 ;
994141e6
RD
3624 PyObject * obj1 = 0 ;
3625 PyObject * obj2 = 0 ;
d14a1e28
RD
3626 PyObject * obj3 = 0 ;
3627 char *kwnames[] = {
3628 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3629 };
3630
994141e6 3631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3634 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 3635 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3636 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 3637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3638 {
3639 arg4 = wxString_in_helper(obj3);
3640 if (arg4 == NULL) SWIG_fail;
ae8162c8 3641 temp4 = true;
d14a1e28
RD
3642 }
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 Py_INCREF(Py_None); resultobj = Py_None;
3651 {
3652 if (temp4)
3653 delete arg4;
3654 }
3655 return resultobj;
3656 fail:
3657 {
3658 if (temp4)
3659 delete arg4;
3660 }
3661 return NULL;
3662}
3663
3664
c32bde28 3665static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
fd3f2efe
RD
3666 PyObject *resultobj;
3667 wxComboBox *arg1 = (wxComboBox *) 0 ;
3668 int arg2 ;
3669 PyObject * obj0 = 0 ;
994141e6 3670 PyObject * obj1 = 0 ;
fd3f2efe
RD
3671 char *kwnames[] = {
3672 (char *) "self",(char *) "n", NULL
3673 };
3674
994141e6 3675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3678 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3679 if (PyErr_Occurred()) SWIG_fail;
fd3f2efe
RD
3680 {
3681 PyThreadState* __tstate = wxPyBeginAllowThreads();
3682 (arg1)->SetSelection(arg2);
3683
3684 wxPyEndAllowThreads(__tstate);
3685 if (PyErr_Occurred()) SWIG_fail;
3686 }
3687 Py_INCREF(Py_None); resultobj = Py_None;
3688 return resultobj;
3689 fail:
3690 return NULL;
3691}
3692
3693
c32bde28 3694static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3695 PyObject *resultobj;
3696 wxComboBox *arg1 = (wxComboBox *) 0 ;
3697 long arg2 ;
3698 long arg3 ;
3699 PyObject * obj0 = 0 ;
994141e6
RD
3700 PyObject * obj1 = 0 ;
3701 PyObject * obj2 = 0 ;
d14a1e28
RD
3702 char *kwnames[] = {
3703 (char *) "self",(char *) "from",(char *) "to", NULL
3704 };
3705
994141e6 3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3709 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 3710 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3711 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 3712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3713 {
3714 PyThreadState* __tstate = wxPyBeginAllowThreads();
3715 (arg1)->SetSelection(arg2,arg3);
3716
3717 wxPyEndAllowThreads(__tstate);
3718 if (PyErr_Occurred()) SWIG_fail;
3719 }
3720 Py_INCREF(Py_None); resultobj = Py_None;
3721 return resultobj;
3722 fail:
3723 return NULL;
3724}
3725
3726
c32bde28 3727static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
3728 PyObject *resultobj;
3729 wxComboBox *arg1 = (wxComboBox *) 0 ;
3730 wxString *arg2 = 0 ;
3731 bool result;
ae8162c8 3732 bool temp2 = false ;
121b9a67
RD
3733 PyObject * obj0 = 0 ;
3734 PyObject * obj1 = 0 ;
3735 char *kwnames[] = {
3736 (char *) "self",(char *) "string", NULL
3737 };
3738
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3742 {
3743 arg2 = wxString_in_helper(obj1);
3744 if (arg2 == NULL) SWIG_fail;
ae8162c8 3745 temp2 = true;
121b9a67
RD
3746 }
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 {
3755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3756 }
3757 {
3758 if (temp2)
3759 delete arg2;
3760 }
3761 return resultobj;
3762 fail:
3763 {
3764 if (temp2)
3765 delete arg2;
3766 }
3767 return NULL;
3768}
3769
3770
c32bde28 3771static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
3772 PyObject *resultobj;
3773 wxComboBox *arg1 = (wxComboBox *) 0 ;
3774 int arg2 ;
3775 wxString *arg3 = 0 ;
ae8162c8 3776 bool temp3 = false ;
121b9a67
RD
3777 PyObject * obj0 = 0 ;
3778 PyObject * obj1 = 0 ;
3779 PyObject * obj2 = 0 ;
3780 char *kwnames[] = {
3781 (char *) "self",(char *) "n",(char *) "string", NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3787 arg2 = (int)SWIG_As_int(obj1);
121b9a67
RD
3788 if (PyErr_Occurred()) SWIG_fail;
3789 {
3790 arg3 = wxString_in_helper(obj2);
3791 if (arg3 == NULL) SWIG_fail;
ae8162c8 3792 temp3 = true;
121b9a67
RD
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetString(arg2,(wxString const &)*arg3);
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 Py_INCREF(Py_None); resultobj = Py_None;
3802 {
3803 if (temp3)
3804 delete arg3;
3805 }
3806 return resultobj;
3807 fail:
3808 {
3809 if (temp3)
3810 delete arg3;
3811 }
3812 return NULL;
3813}
3814
3815
c32bde28 3816static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3817 PyObject *resultobj;
3818 wxComboBox *arg1 = (wxComboBox *) 0 ;
3819 bool arg2 ;
3820 PyObject * obj0 = 0 ;
3821 PyObject * obj1 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self",(char *) "editable", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3829 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 3830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3831 {
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 (arg1)->SetEditable(arg2);
3834
3835 wxPyEndAllowThreads(__tstate);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 Py_INCREF(Py_None); resultobj = Py_None;
3839 return resultobj;
3840 fail:
3841 return NULL;
3842}
3843
3844
c32bde28 3845static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3846 PyObject *resultobj;
3847 wxComboBox *arg1 = (wxComboBox *) 0 ;
3848 PyObject * obj0 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
3854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 (arg1)->SetInsertionPointEnd();
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 Py_INCREF(Py_None); resultobj = Py_None;
3864 return resultobj;
3865 fail:
3866 return NULL;
3867}
3868
3869
c32bde28 3870static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3871 PyObject *resultobj;
3872 wxComboBox *arg1 = (wxComboBox *) 0 ;
3873 long arg2 ;
3874 long arg3 ;
3875 PyObject * obj0 = 0 ;
994141e6
RD
3876 PyObject * obj1 = 0 ;
3877 PyObject * obj2 = 0 ;
d14a1e28
RD
3878 char *kwnames[] = {
3879 (char *) "self",(char *) "from",(char *) "to", NULL
3880 };
3881
994141e6 3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3885 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 3886 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3887 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 3888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 (arg1)->Remove(arg2,arg3);
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 Py_INCREF(Py_None); resultobj = Py_None;
3897 return resultobj;
3898 fail:
3899 return NULL;
3900}
3901
3902
c32bde28 3903static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
3904 PyObject *resultobj;
3905 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3906 wxVisualAttributes result;
3907 PyObject * obj0 = 0 ;
3908 char *kwnames[] = {
3909 (char *) "variant", NULL
3910 };
3911
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3913 if (obj0) {
c32bde28 3914 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
3915 if (PyErr_Occurred()) SWIG_fail;
3916 }
3917 {
110da5b0 3918 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3921
3922 wxPyEndAllowThreads(__tstate);
dfbb5885 3923 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3924 }
3925 {
3926 wxVisualAttributes * resultptr;
3927 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3929 }
3930 return resultobj;
3931 fail:
3932 return NULL;
3933}
3934
3935
c32bde28 3936static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3937 PyObject *obj;
3938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3939 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3940 Py_INCREF(obj);
3941 return Py_BuildValue((char *)"");
3942}
c32bde28 3943static int _wrap_GaugeNameStr_set(PyObject *) {
b2dc1044
RD
3944 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3945 return 1;
3946}
3947
3948
3949static PyObject *_wrap_GaugeNameStr_get() {
3950 PyObject *pyobj;
3951
3952 {
3953#if wxUSE_UNICODE
3954 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3955#else
3956 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3957#endif
3958 }
3959 return pyobj;
3960}
3961
3962
c32bde28 3963static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3964 PyObject *resultobj;
3965 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3966 int arg2 = (int) -1 ;
3967 int arg3 = (int) 100 ;
d14a1e28
RD
3968 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3969 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3970 wxSize const &arg5_defvalue = wxDefaultSize ;
3971 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3972 long arg6 = (long) wxGA_HORIZONTAL ;
3973 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3974 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3975 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3976 wxString *arg8 = (wxString *) &arg8_defvalue ;
3977 wxGauge *result;
3978 wxPoint temp4 ;
3979 wxSize temp5 ;
ae8162c8 3980 bool temp8 = false ;
d14a1e28 3981 PyObject * obj0 = 0 ;
994141e6
RD
3982 PyObject * obj1 = 0 ;
3983 PyObject * obj2 = 0 ;
d14a1e28
RD
3984 PyObject * obj3 = 0 ;
3985 PyObject * obj4 = 0 ;
994141e6 3986 PyObject * obj5 = 0 ;
d14a1e28
RD
3987 PyObject * obj6 = 0 ;
3988 PyObject * obj7 = 0 ;
3989 char *kwnames[] = {
3990 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3991 };
3992
248ed943 3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3996 if (obj1) {
c32bde28 3997 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 if (obj2) {
c32bde28 4001 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
d14a1e28
RD
4004 if (obj3) {
4005 {
4006 arg4 = &temp4;
4007 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4008 }
4009 }
4010 if (obj4) {
4011 {
4012 arg5 = &temp5;
4013 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4014 }
4015 }
994141e6 4016 if (obj5) {
c32bde28 4017 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 4018 if (PyErr_Occurred()) SWIG_fail;
994141e6 4019 }
d14a1e28 4020 if (obj6) {
15afbcd0
RD
4021 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
4022 SWIG_POINTER_EXCEPTION | 0)) == -1)
4023 SWIG_fail;
d14a1e28 4024 if (arg7 == NULL) {
15afbcd0
RD
4025 PyErr_SetString(PyExc_TypeError,"null reference");
4026 SWIG_fail;
d14a1e28
RD
4027 }
4028 }
4029 if (obj7) {
4030 {
4031 arg8 = wxString_in_helper(obj7);
4032 if (arg8 == NULL) SWIG_fail;
ae8162c8 4033 temp8 = true;
d14a1e28
RD
4034 }
4035 }
4036 {
e3b71cb8 4037 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4040
4041 wxPyEndAllowThreads(__tstate);
110da5b0 4042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4043 }
15afbcd0 4044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
4045 {
4046 if (temp8)
4047 delete arg8;
4048 }
4049 return resultobj;
4050 fail:
4051 {
4052 if (temp8)
4053 delete arg8;
4054 }
4055 return NULL;
4056}
4057
4058
c32bde28 4059static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4060 PyObject *resultobj;
4061 wxGauge *result;
4062 char *kwnames[] = {
4063 NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
4067 {
e3b71cb8 4068 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4069 PyThreadState* __tstate = wxPyBeginAllowThreads();
4070 result = (wxGauge *)new wxGauge();
4071
4072 wxPyEndAllowThreads(__tstate);
110da5b0 4073 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4074 }
15afbcd0 4075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
4076 return resultobj;
4077 fail:
4078 return NULL;
4079}
4080
4081
c32bde28 4082static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4083 PyObject *resultobj;
4084 wxGauge *arg1 = (wxGauge *) 0 ;
4085 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4086 int arg3 = (int) -1 ;
4087 int arg4 = (int) 100 ;
d14a1e28
RD
4088 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4089 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4090 wxSize const &arg6_defvalue = wxDefaultSize ;
4091 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4092 long arg7 = (long) wxGA_HORIZONTAL ;
4093 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4094 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4095 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
4096 wxString *arg9 = (wxString *) &arg9_defvalue ;
4097 bool result;
4098 wxPoint temp5 ;
4099 wxSize temp6 ;
ae8162c8 4100 bool temp9 = false ;
d14a1e28
RD
4101 PyObject * obj0 = 0 ;
4102 PyObject * obj1 = 0 ;
994141e6
RD
4103 PyObject * obj2 = 0 ;
4104 PyObject * obj3 = 0 ;
d14a1e28
RD
4105 PyObject * obj4 = 0 ;
4106 PyObject * obj5 = 0 ;
994141e6 4107 PyObject * obj6 = 0 ;
d14a1e28
RD
4108 PyObject * obj7 = 0 ;
4109 PyObject * obj8 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4112 };
4113
248ed943 4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
4115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4119 if (obj2) {
c32bde28 4120 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 if (obj3) {
c32bde28 4124 arg4 = (int)SWIG_As_int(obj3);
248ed943
RD
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
d14a1e28
RD
4127 if (obj4) {
4128 {
4129 arg5 = &temp5;
4130 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4131 }
4132 }
4133 if (obj5) {
4134 {
4135 arg6 = &temp6;
4136 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4137 }
4138 }
994141e6 4139 if (obj6) {
c32bde28 4140 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 4141 if (PyErr_Occurred()) SWIG_fail;
994141e6 4142 }
d14a1e28 4143 if (obj7) {
15afbcd0
RD
4144 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4145 SWIG_POINTER_EXCEPTION | 0)) == -1)
4146 SWIG_fail;
d14a1e28 4147 if (arg8 == NULL) {
15afbcd0
RD
4148 PyErr_SetString(PyExc_TypeError,"null reference");
4149 SWIG_fail;
d14a1e28
RD
4150 }
4151 }
4152 if (obj8) {
4153 {
4154 arg9 = wxString_in_helper(obj8);
4155 if (arg9 == NULL) SWIG_fail;
ae8162c8 4156 temp9 = true;
d14a1e28
RD
4157 }
4158 }
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4f89f6a3
RD
4166 {
4167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4168 }
d14a1e28
RD
4169 {
4170 if (temp9)
4171 delete arg9;
4172 }
4173 return resultobj;
4174 fail:
4175 {
4176 if (temp9)
4177 delete arg9;
4178 }
4179 return NULL;
4180}
4181
4182
c32bde28 4183static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4184 PyObject *resultobj;
4185 wxGauge *arg1 = (wxGauge *) 0 ;
4186 int arg2 ;
4187 PyObject * obj0 = 0 ;
994141e6 4188 PyObject * obj1 = 0 ;
d14a1e28
RD
4189 char *kwnames[] = {
4190 (char *) "self",(char *) "range", NULL
4191 };
4192
994141e6 4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4196 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4197 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 (arg1)->SetRange(arg2);
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 Py_INCREF(Py_None); resultobj = Py_None;
4206 return resultobj;
4207 fail:
4208 return NULL;
4209}
4210
4211
c32bde28 4212static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4213 PyObject *resultobj;
4214 wxGauge *arg1 = (wxGauge *) 0 ;
4215 int result;
4216 PyObject * obj0 = 0 ;
4217 char *kwnames[] = {
4218 (char *) "self", NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
4222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (int)((wxGauge const *)arg1)->GetRange();
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
c32bde28 4231 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4232 return resultobj;
4233 fail:
4234 return NULL;
4235}
4236
4237
c32bde28 4238static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4239 PyObject *resultobj;
4240 wxGauge *arg1 = (wxGauge *) 0 ;
4241 int arg2 ;
4242 PyObject * obj0 = 0 ;
994141e6 4243 PyObject * obj1 = 0 ;
d14a1e28
RD
4244 char *kwnames[] = {
4245 (char *) "self",(char *) "pos", NULL
4246 };
4247
994141e6 4248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4251 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4252 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 (arg1)->SetValue(arg2);
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 Py_INCREF(Py_None); resultobj = Py_None;
4261 return resultobj;
4262 fail:
4263 return NULL;
4264}
4265
4266
c32bde28 4267static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4268 PyObject *resultobj;
4269 wxGauge *arg1 = (wxGauge *) 0 ;
4270 int result;
4271 PyObject * obj0 = 0 ;
4272 char *kwnames[] = {
4273 (char *) "self", NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
4277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4279 {
4280 PyThreadState* __tstate = wxPyBeginAllowThreads();
4281 result = (int)((wxGauge const *)arg1)->GetValue();
4282
4283 wxPyEndAllowThreads(__tstate);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 }
c32bde28 4286 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4287 return resultobj;
4288 fail:
4289 return NULL;
4290}
4291
4292
c32bde28 4293static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4294 PyObject *resultobj;
4295 wxGauge *arg1 = (wxGauge *) 0 ;
4296 bool result;
4297 PyObject * obj0 = 0 ;
4298 char *kwnames[] = {
4299 (char *) "self", NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
4303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 result = (bool)((wxGauge const *)arg1)->IsVertical();
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4f89f6a3
RD
4312 {
4313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4314 }
d14a1e28
RD
4315 return resultobj;
4316 fail:
4317 return NULL;
4318}
4319
4320
c32bde28 4321static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4322 PyObject *resultobj;
4323 wxGauge *arg1 = (wxGauge *) 0 ;
4324 int arg2 ;
4325 PyObject * obj0 = 0 ;
994141e6 4326 PyObject * obj1 = 0 ;
d14a1e28
RD
4327 char *kwnames[] = {
4328 (char *) "self",(char *) "w", NULL
4329 };
4330
994141e6 4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4334 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 (arg1)->SetShadowWidth(arg2);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 Py_INCREF(Py_None); resultobj = Py_None;
4344 return resultobj;
4345 fail:
4346 return NULL;
4347}
4348
4349
c32bde28 4350static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4351 PyObject *resultobj;
4352 wxGauge *arg1 = (wxGauge *) 0 ;
4353 int result;
4354 PyObject * obj0 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
4360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
c32bde28 4369 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4370 return resultobj;
4371 fail:
4372 return NULL;
4373}
4374
4375
c32bde28 4376static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4377 PyObject *resultobj;
4378 wxGauge *arg1 = (wxGauge *) 0 ;
4379 int arg2 ;
4380 PyObject * obj0 = 0 ;
994141e6 4381 PyObject * obj1 = 0 ;
d14a1e28
RD
4382 char *kwnames[] = {
4383 (char *) "self",(char *) "w", NULL
4384 };
4385
994141e6 4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4389 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 (arg1)->SetBezelFace(arg2);
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 Py_INCREF(Py_None); resultobj = Py_None;
4399 return resultobj;
4400 fail:
4401 return NULL;
4402}
4403
4404
c32bde28 4405static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4406 PyObject *resultobj;
4407 wxGauge *arg1 = (wxGauge *) 0 ;
4408 int result;
4409 PyObject * obj0 = 0 ;
4410 char *kwnames[] = {
4411 (char *) "self", NULL
4412 };
4413
4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
15afbcd0
RD
4415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
c32bde28 4424 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4425 return resultobj;
4426 fail:
4427 return NULL;
4428}
4429
4430
c32bde28 4431static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
4432 PyObject *resultobj;
4433 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4434 wxVisualAttributes result;
4435 PyObject * obj0 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "variant", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4441 if (obj0) {
c32bde28 4442 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 {
110da5b0 4446 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4449
4450 wxPyEndAllowThreads(__tstate);
dfbb5885 4451 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4452 }
4453 {
4454 wxVisualAttributes * resultptr;
4455 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4457 }
4458 return resultobj;
4459 fail:
4460 return NULL;
4461}
4462
4463
c32bde28 4464static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4465 PyObject *obj;
4466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4467 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4468 Py_INCREF(obj);
4469 return Py_BuildValue((char *)"");
4470}
c32bde28 4471static int _wrap_StaticBitmapNameStr_set(PyObject *) {
b2dc1044
RD
4472 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4473 return 1;
4474}
4475
4476
4477static PyObject *_wrap_StaticBitmapNameStr_get() {
4478 PyObject *pyobj;
4479
4480 {
4481#if wxUSE_UNICODE
4482 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4483#else
4484 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4485#endif
4486 }
4487 return pyobj;
4488}
4489
4490
c32bde28 4491static int _wrap_StaticBoxNameStr_set(PyObject *) {
b2dc1044
RD
4492 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4493 return 1;
4494}
4495
4496
4497static PyObject *_wrap_StaticBoxNameStr_get() {
4498 PyObject *pyobj;
4499
4500 {
4501#if wxUSE_UNICODE
4502 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4503#else
4504 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4505#endif
4506 }
4507 return pyobj;
4508}
4509
4510
c32bde28 4511static int _wrap_StaticTextNameStr_set(PyObject *) {
b2dc1044
RD
4512 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4513 return 1;
4514}
4515
4516
4517static PyObject *_wrap_StaticTextNameStr_get() {
4518 PyObject *pyobj;
4519
4520 {
4521#if wxUSE_UNICODE
4522 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4523#else
4524 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4525#endif
4526 }
4527 return pyobj;
4528}
4529
4530
c32bde28 4531static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4532 PyObject *resultobj;
4533 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4534 int arg2 = (int) -1 ;
4535 wxString const &arg3_defvalue = wxPyEmptyString ;
4536 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4539 wxSize const &arg5_defvalue = wxDefaultSize ;
4540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4541 long arg6 = (long) 0 ;
4542 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4543 wxString *arg7 = (wxString *) &arg7_defvalue ;
4544 wxStaticBox *result;
ae8162c8 4545 bool temp3 = false ;
d14a1e28
RD
4546 wxPoint temp4 ;
4547 wxSize temp5 ;
ae8162c8 4548 bool temp7 = false ;
d14a1e28 4549 PyObject * obj0 = 0 ;
994141e6 4550 PyObject * obj1 = 0 ;
d14a1e28
RD
4551 PyObject * obj2 = 0 ;
4552 PyObject * obj3 = 0 ;
4553 PyObject * obj4 = 0 ;
994141e6 4554 PyObject * obj5 = 0 ;
d14a1e28
RD
4555 PyObject * obj6 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4558 };
4559
248ed943 4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4563 if (obj1) {
c32bde28 4564 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 if (obj2) {
4568 {
4569 arg3 = wxString_in_helper(obj2);
4570 if (arg3 == NULL) SWIG_fail;
ae8162c8 4571 temp3 = true;
248ed943 4572 }
d14a1e28
RD
4573 }
4574 if (obj3) {
4575 {
4576 arg4 = &temp4;
4577 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4578 }
4579 }
4580 if (obj4) {
4581 {
4582 arg5 = &temp5;
4583 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4584 }
4585 }
994141e6 4586 if (obj5) {
c32bde28 4587 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 4588 if (PyErr_Occurred()) SWIG_fail;
994141e6 4589 }
d14a1e28
RD
4590 if (obj6) {
4591 {
4592 arg7 = wxString_in_helper(obj6);
4593 if (arg7 == NULL) SWIG_fail;
ae8162c8 4594 temp7 = true;
d14a1e28
RD
4595 }
4596 }
4597 {
e3b71cb8 4598 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4601
4602 wxPyEndAllowThreads(__tstate);
110da5b0 4603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4604 }
b0f7404b 4605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
4606 {
4607 if (temp3)
4608 delete arg3;
4609 }
4610 {
4611 if (temp7)
4612 delete arg7;
4613 }
4614 return resultobj;
4615 fail:
4616 {
4617 if (temp3)
4618 delete arg3;
4619 }
4620 {
4621 if (temp7)
4622 delete arg7;
4623 }
4624 return NULL;
4625}
4626
4627
c32bde28 4628static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4629 PyObject *resultobj;
4630 wxStaticBox *result;
4631 char *kwnames[] = {
4632 NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4636 {
e3b71cb8 4637 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 result = (wxStaticBox *)new wxStaticBox();
4640
4641 wxPyEndAllowThreads(__tstate);
110da5b0 4642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4643 }
b0f7404b 4644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
4645 return resultobj;
4646 fail:
4647 return NULL;
4648}
4649
4650
c32bde28 4651static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4652 PyObject *resultobj;
4653 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4654 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4655 int arg3 = (int) -1 ;
4656 wxString const &arg4_defvalue = wxPyEmptyString ;
4657 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4658 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4659 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4660 wxSize const &arg6_defvalue = wxDefaultSize ;
4661 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4662 long arg7 = (long) 0 ;
4663 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4664 wxString *arg8 = (wxString *) &arg8_defvalue ;
4665 bool result;
ae8162c8 4666 bool temp4 = false ;
d14a1e28
RD
4667 wxPoint temp5 ;
4668 wxSize temp6 ;
ae8162c8 4669 bool temp8 = false ;
d14a1e28
RD
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
994141e6 4672 PyObject * obj2 = 0 ;
d14a1e28
RD
4673 PyObject * obj3 = 0 ;
4674 PyObject * obj4 = 0 ;
4675 PyObject * obj5 = 0 ;
994141e6 4676 PyObject * obj6 = 0 ;
d14a1e28
RD
4677 PyObject * obj7 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4680 };
4681
248ed943 4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4687 if (obj2) {
c32bde28 4688 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4689 if (PyErr_Occurred()) SWIG_fail;
4690 }
4691 if (obj3) {
4692 {
4693 arg4 = wxString_in_helper(obj3);
4694 if (arg4 == NULL) SWIG_fail;
ae8162c8 4695 temp4 = true;
248ed943 4696 }
d14a1e28
RD
4697 }
4698 if (obj4) {
4699 {
4700 arg5 = &temp5;
4701 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4702 }
4703 }
4704 if (obj5) {
4705 {
4706 arg6 = &temp6;
4707 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4708 }
4709 }
994141e6 4710 if (obj6) {
c32bde28 4711 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 4712 if (PyErr_Occurred()) SWIG_fail;
994141e6 4713 }
d14a1e28
RD
4714 if (obj7) {
4715 {
4716 arg8 = wxString_in_helper(obj7);
4717 if (arg8 == NULL) SWIG_fail;
ae8162c8 4718 temp8 = true;
d14a1e28
RD
4719 }
4720 }
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4f89f6a3
RD
4728 {
4729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4730 }
d14a1e28
RD
4731 {
4732 if (temp4)
4733 delete arg4;
4734 }
4735 {
4736 if (temp8)
4737 delete arg8;
4738 }
4739 return resultobj;
4740 fail:
4741 {
4742 if (temp4)
4743 delete arg4;
4744 }
4745 {
4746 if (temp8)
4747 delete arg8;
4748 }
4749 return NULL;
4750}
4751
4752
c32bde28 4753static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
4754 PyObject *resultobj;
4755 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4756 wxVisualAttributes result;
4757 PyObject * obj0 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "variant", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4763 if (obj0) {
c32bde28 4764 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 {
110da5b0 4768 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4771
4772 wxPyEndAllowThreads(__tstate);
dfbb5885 4773 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4774 }
4775 {
4776 wxVisualAttributes * resultptr;
4777 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4779 }
4780 return resultobj;
4781 fail:
4782 return NULL;
4783}
4784
4785
c32bde28 4786static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4787 PyObject *obj;
4788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4789 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4790 Py_INCREF(obj);
4791 return Py_BuildValue((char *)"");
4792}
c32bde28 4793static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4794 PyObject *resultobj;
4795 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 4796 int arg2 = (int) -1 ;
d14a1e28
RD
4797 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4798 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4799 wxSize const &arg4_defvalue = wxDefaultSize ;
4800 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4801 long arg5 = (long) wxLI_HORIZONTAL ;
4802 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4803 wxString *arg6 = (wxString *) &arg6_defvalue ;
4804 wxStaticLine *result;
4805 wxPoint temp3 ;
4806 wxSize temp4 ;
ae8162c8 4807 bool temp6 = false ;
d14a1e28 4808 PyObject * obj0 = 0 ;
994141e6 4809 PyObject * obj1 = 0 ;
d14a1e28
RD
4810 PyObject * obj2 = 0 ;
4811 PyObject * obj3 = 0 ;
994141e6 4812 PyObject * obj4 = 0 ;
d14a1e28
RD
4813 PyObject * obj5 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4816 };
4817
248ed943 4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
4819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4821 if (obj1) {
c32bde28 4822 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
d14a1e28
RD
4825 if (obj2) {
4826 {
4827 arg3 = &temp3;
4828 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4829 }
4830 }
4831 if (obj3) {
4832 {
4833 arg4 = &temp4;
4834 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4835 }
4836 }
994141e6 4837 if (obj4) {
c32bde28 4838 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 4839 if (PyErr_Occurred()) SWIG_fail;
994141e6 4840 }
d14a1e28
RD
4841 if (obj5) {
4842 {
4843 arg6 = wxString_in_helper(obj5);
4844 if (arg6 == NULL) SWIG_fail;
ae8162c8 4845 temp6 = true;
d14a1e28
RD
4846 }
4847 }
4848 {
e3b71cb8 4849 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4851 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4852
4853 wxPyEndAllowThreads(__tstate);
110da5b0 4854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4855 }
15afbcd0 4856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4857 {
4858 if (temp6)
4859 delete arg6;
4860 }
4861 return resultobj;
4862 fail:
4863 {
4864 if (temp6)
4865 delete arg6;
4866 }
4867 return NULL;
4868}
4869
4870
c32bde28 4871static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4872 PyObject *resultobj;
4873 wxStaticLine *result;
4874 char *kwnames[] = {
4875 NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4879 {
e3b71cb8 4880 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 result = (wxStaticLine *)new wxStaticLine();
4883
4884 wxPyEndAllowThreads(__tstate);
110da5b0 4885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4886 }
15afbcd0 4887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4888 return resultobj;
4889 fail:
4890 return NULL;
4891}
4892
4893
c32bde28 4894static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4895 PyObject *resultobj;
4896 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4897 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 4898 int arg3 = (int) -1 ;
d14a1e28
RD
4899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4901 wxSize const &arg5_defvalue = wxDefaultSize ;
4902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4903 long arg6 = (long) wxLI_HORIZONTAL ;
4904 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4905 wxString *arg7 = (wxString *) &arg7_defvalue ;
4906 bool result;
4907 wxPoint temp4 ;
4908 wxSize temp5 ;
ae8162c8 4909 bool temp7 = false ;
d14a1e28
RD
4910 PyObject * obj0 = 0 ;
4911 PyObject * obj1 = 0 ;
994141e6 4912 PyObject * obj2 = 0 ;
d14a1e28
RD
4913 PyObject * obj3 = 0 ;
4914 PyObject * obj4 = 0 ;
994141e6 4915 PyObject * obj5 = 0 ;
d14a1e28
RD
4916 PyObject * obj6 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4919 };
4920
248ed943 4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4926 if (obj2) {
c32bde28 4927 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
d14a1e28
RD
4930 if (obj3) {
4931 {
4932 arg4 = &temp4;
4933 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4934 }
4935 }
4936 if (obj4) {
4937 {
4938 arg5 = &temp5;
4939 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4940 }
4941 }
994141e6 4942 if (obj5) {
c32bde28 4943 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 4944 if (PyErr_Occurred()) SWIG_fail;
994141e6 4945 }
d14a1e28
RD
4946 if (obj6) {
4947 {
4948 arg7 = wxString_in_helper(obj6);
4949 if (arg7 == NULL) SWIG_fail;
ae8162c8 4950 temp7 = true;
d14a1e28
RD
4951 }
4952 }
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4f89f6a3
RD
4960 {
4961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4962 }
d14a1e28
RD
4963 {
4964 if (temp7)
4965 delete arg7;
4966 }
4967 return resultobj;
4968 fail:
4969 {
4970 if (temp7)
4971 delete arg7;
4972 }
4973 return NULL;
4974}
4975
4976
c32bde28 4977static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4978 PyObject *resultobj;
4979 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4980 bool result;
4981 PyObject * obj0 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "self", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
4987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4989 {
4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
4991 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4992
4993 wxPyEndAllowThreads(__tstate);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 }
4f89f6a3
RD
4996 {
4997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4998 }
d14a1e28
RD
4999 return resultobj;
5000 fail:
5001 return NULL;
5002}
5003
5004
c32bde28 5005static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5006 PyObject *resultobj;
5007 int result;
5008 char *kwnames[] = {
5009 NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 result = (int)wxStaticLine::GetDefaultSize();
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
c32bde28 5020 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5021 return resultobj;
5022 fail:
5023 return NULL;
5024}
5025
5026
c32bde28 5027static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
5028 PyObject *resultobj;
5029 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5030 wxVisualAttributes result;
5031 PyObject * obj0 = 0 ;
5032 char *kwnames[] = {
5033 (char *) "variant", NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5037 if (obj0) {
c32bde28 5038 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 {
110da5b0 5042 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
5045
5046 wxPyEndAllowThreads(__tstate);
dfbb5885 5047 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5048 }
5049 {
5050 wxVisualAttributes * resultptr;
5051 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5053 }
5054 return resultobj;
5055 fail:
5056 return NULL;
5057}
5058
5059
c32bde28 5060static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5061 PyObject *obj;
5062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5063 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
5064 Py_INCREF(obj);
5065 return Py_BuildValue((char *)"");
5066}
c32bde28 5067static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5068 PyObject *resultobj;
5069 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5070 int arg2 = (int) -1 ;
5071 wxString const &arg3_defvalue = wxPyEmptyString ;
5072 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
5073 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5074 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5075 wxSize const &arg5_defvalue = wxDefaultSize ;
5076 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5077 long arg6 = (long) 0 ;
5078 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
5079 wxString *arg7 = (wxString *) &arg7_defvalue ;
5080 wxStaticText *result;
ae8162c8 5081 bool temp3 = false ;
d14a1e28
RD
5082 wxPoint temp4 ;
5083 wxSize temp5 ;
ae8162c8 5084 bool temp7 = false ;
d14a1e28 5085 PyObject * obj0 = 0 ;
994141e6 5086 PyObject * obj1 = 0 ;
d14a1e28
RD
5087 PyObject * obj2 = 0 ;
5088 PyObject * obj3 = 0 ;
5089 PyObject * obj4 = 0 ;
994141e6 5090 PyObject * obj5 = 0 ;
d14a1e28
RD
5091 PyObject * obj6 = 0 ;
5092 char *kwnames[] = {
5093 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5094 };
5095
248ed943 5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
5097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5099 if (obj1) {
c32bde28 5100 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 if (obj2) {
5104 {
5105 arg3 = wxString_in_helper(obj2);
5106 if (arg3 == NULL) SWIG_fail;
ae8162c8 5107 temp3 = true;
248ed943 5108 }
d14a1e28
RD
5109 }
5110 if (obj3) {
5111 {
5112 arg4 = &temp4;
5113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5114 }
5115 }
5116 if (obj4) {
5117 {
5118 arg5 = &temp5;
5119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5120 }
5121 }
994141e6 5122 if (obj5) {
c32bde28 5123 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 5124 if (PyErr_Occurred()) SWIG_fail;
994141e6 5125 }
d14a1e28
RD
5126 if (obj6) {
5127 {
5128 arg7 = wxString_in_helper(obj6);
5129 if (arg7 == NULL) SWIG_fail;
ae8162c8 5130 temp7 = true;
d14a1e28
RD
5131 }
5132 }
5133 {
e3b71cb8 5134 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5137
5138 wxPyEndAllowThreads(__tstate);
110da5b0 5139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5140 }
15afbcd0 5141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
5142 {
5143 if (temp3)
5144 delete arg3;
5145 }
5146 {
5147 if (temp7)
5148 delete arg7;
5149 }
5150 return resultobj;
5151 fail:
5152 {
5153 if (temp3)
5154 delete arg3;
5155 }
5156 {
5157 if (temp7)
5158 delete arg7;
5159 }
5160 return NULL;
5161}
5162
5163
c32bde28 5164static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5165 PyObject *resultobj;
5166 wxStaticText *result;
5167 char *kwnames[] = {
5168 NULL
5169 };
5170
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5172 {
e3b71cb8 5173 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 result = (wxStaticText *)new wxStaticText();
5176
5177 wxPyEndAllowThreads(__tstate);
110da5b0 5178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5179 }
15afbcd0 5180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
5181 return resultobj;
5182 fail:
5183 return NULL;
5184}
5185
5186
c32bde28 5187static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5188 PyObject *resultobj;
5189 wxStaticText *arg1 = (wxStaticText *) 0 ;
5190 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5191 int arg3 = (int) -1 ;
5192 wxString const &arg4_defvalue = wxPyEmptyString ;
5193 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
5194 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5195 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5196 wxSize const &arg6_defvalue = wxDefaultSize ;
5197 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5198 long arg7 = (long) 0 ;
5199 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5200 wxString *arg8 = (wxString *) &arg8_defvalue ;
5201 bool result;
ae8162c8 5202 bool temp4 = false ;
d14a1e28
RD
5203 wxPoint temp5 ;
5204 wxSize temp6 ;
ae8162c8 5205 bool temp8 = false ;
d14a1e28
RD
5206 PyObject * obj0 = 0 ;
5207 PyObject * obj1 = 0 ;
994141e6 5208 PyObject * obj2 = 0 ;
d14a1e28
RD
5209 PyObject * obj3 = 0 ;
5210 PyObject * obj4 = 0 ;
5211 PyObject * obj5 = 0 ;
994141e6 5212 PyObject * obj6 = 0 ;
d14a1e28
RD
5213 PyObject * obj7 = 0 ;
5214 char *kwnames[] = {
5215 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5216 };
5217
248ed943 5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5223 if (obj2) {
c32bde28 5224 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 if (obj3) {
5228 {
5229 arg4 = wxString_in_helper(obj3);
5230 if (arg4 == NULL) SWIG_fail;
ae8162c8 5231 temp4 = true;
248ed943 5232 }
d14a1e28
RD
5233 }
5234 if (obj4) {
5235 {
5236 arg5 = &temp5;
5237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5238 }
5239 }
5240 if (obj5) {
5241 {
5242 arg6 = &temp6;
5243 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5244 }
5245 }
994141e6 5246 if (obj6) {
c32bde28 5247 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 5248 if (PyErr_Occurred()) SWIG_fail;
994141e6 5249 }
d14a1e28
RD
5250 if (obj7) {
5251 {
5252 arg8 = wxString_in_helper(obj7);
5253 if (arg8 == NULL) SWIG_fail;
ae8162c8 5254 temp8 = true;
d14a1e28
RD
5255 }
5256 }
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
4f89f6a3
RD
5264 {
5265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5266 }
d14a1e28
RD
5267 {
5268 if (temp4)
5269 delete arg4;
5270 }
5271 {
5272 if (temp8)
5273 delete arg8;
5274 }
5275 return resultobj;
5276 fail:
5277 {
5278 if (temp4)
5279 delete arg4;
5280 }
5281 {
5282 if (temp8)
5283 delete arg8;
5284 }
5285 return NULL;
5286}
5287
5288
c32bde28 5289static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
5290 PyObject *resultobj;
5291 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5292 wxVisualAttributes result;
5293 PyObject * obj0 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "variant", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5299 if (obj0) {
c32bde28 5300 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
5303 {
110da5b0 5304 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5307
5308 wxPyEndAllowThreads(__tstate);
dfbb5885 5309 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5310 }
5311 {
5312 wxVisualAttributes * resultptr;
5313 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5314 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5315 }
5316 return resultobj;
5317 fail:
5318 return NULL;
5319}
5320
5321
c32bde28 5322static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5323 PyObject *obj;
5324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5325 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5326 Py_INCREF(obj);
5327 return Py_BuildValue((char *)"");
5328}
c32bde28 5329static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5330 PyObject *resultobj;
5331 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5332 int arg2 = (int) -1 ;
5333 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5334 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
5335 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5336 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5337 wxSize const &arg5_defvalue = wxDefaultSize ;
5338 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5339 long arg6 = (long) 0 ;
5340 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5341 wxString *arg7 = (wxString *) &arg7_defvalue ;
5342 wxStaticBitmap *result;
5343 wxPoint temp4 ;
5344 wxSize temp5 ;
ae8162c8 5345 bool temp7 = false ;
d14a1e28 5346 PyObject * obj0 = 0 ;
994141e6 5347 PyObject * obj1 = 0 ;
d14a1e28
RD
5348 PyObject * obj2 = 0 ;
5349 PyObject * obj3 = 0 ;
5350 PyObject * obj4 = 0 ;
994141e6 5351 PyObject * obj5 = 0 ;
d14a1e28
RD
5352 PyObject * obj6 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5355 };
5356
248ed943 5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
5358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5360 if (obj1) {
c32bde28 5361 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 if (obj2) {
5365 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5366 SWIG_POINTER_EXCEPTION | 0)) == -1)
15afbcd0 5367 SWIG_fail;
248ed943
RD
5368 if (arg3 == NULL) {
5369 PyErr_SetString(PyExc_TypeError,"null reference");
5370 SWIG_fail;
5371 }
d14a1e28
RD
5372 }
5373 if (obj3) {
5374 {
5375 arg4 = &temp4;
5376 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5377 }
5378 }
5379 if (obj4) {
5380 {
5381 arg5 = &temp5;
5382 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5383 }
5384 }
994141e6 5385 if (obj5) {
c32bde28 5386 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 5387 if (PyErr_Occurred()) SWIG_fail;
994141e6 5388 }
d14a1e28
RD
5389 if (obj6) {
5390 {
5391 arg7 = wxString_in_helper(obj6);
5392 if (arg7 == NULL) SWIG_fail;
ae8162c8 5393 temp7 = true;
d14a1e28
RD
5394 }
5395 }
5396 {
e3b71cb8 5397 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5400
5401 wxPyEndAllowThreads(__tstate);
110da5b0 5402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5403 }
15afbcd0 5404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
5405 {
5406 if (temp7)
5407 delete arg7;
5408 }
5409 return resultobj;
5410 fail:
5411 {
5412 if (temp7)
5413 delete arg7;
5414 }
5415 return NULL;
5416}
5417
5418
c32bde28 5419static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5420 PyObject *resultobj;
5421 wxStaticBitmap *result;
5422 char *kwnames[] = {
5423 NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5427 {
e3b71cb8 5428 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (wxStaticBitmap *)new wxStaticBitmap();
5431
5432 wxPyEndAllowThreads(__tstate);
110da5b0 5433 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5434 }
15afbcd0 5435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
5436 return resultobj;
5437 fail:
5438 return NULL;
5439}
5440
5441
c32bde28 5442static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5443 PyObject *resultobj;
5444 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5445 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5446 int arg3 = (int) -1 ;
5447 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5448 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
5449 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5450 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5451 wxSize const &arg6_defvalue = wxDefaultSize ;
5452 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5453 long arg7 = (long) 0 ;
5454 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5455 wxString *arg8 = (wxString *) &arg8_defvalue ;
5456 bool result;
5457 wxPoint temp5 ;
5458 wxSize temp6 ;
ae8162c8 5459 bool temp8 = false ;
d14a1e28
RD
5460 PyObject * obj0 = 0 ;
5461 PyObject * obj1 = 0 ;
994141e6 5462 PyObject * obj2 = 0 ;
d14a1e28
RD
5463 PyObject * obj3 = 0 ;
5464 PyObject * obj4 = 0 ;
5465 PyObject * obj5 = 0 ;
994141e6 5466 PyObject * obj6 = 0 ;
d14a1e28
RD
5467 PyObject * obj7 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5470 };
5471
248ed943 5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5477 if (obj2) {
c32bde28 5478 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 if (obj3) {
5482 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5483 SWIG_POINTER_EXCEPTION | 0)) == -1)
15afbcd0 5484 SWIG_fail;
248ed943
RD
5485 if (arg4 == NULL) {
5486 PyErr_SetString(PyExc_TypeError,"null reference");
5487 SWIG_fail;
5488 }
d14a1e28
RD
5489 }
5490 if (obj4) {
5491 {
5492 arg5 = &temp5;
5493 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5494 }
5495 }
5496 if (obj5) {
5497 {
5498 arg6 = &temp6;
5499 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5500 }
5501 }
994141e6 5502 if (obj6) {
c32bde28 5503 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 5504 if (PyErr_Occurred()) SWIG_fail;
994141e6 5505 }
d14a1e28
RD
5506 if (obj7) {
5507 {
5508 arg8 = wxString_in_helper(obj7);
5509 if (arg8 == NULL) SWIG_fail;
ae8162c8 5510 temp8 = true;
d14a1e28
RD
5511 }
5512 }
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
4f89f6a3
RD
5520 {
5521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5522 }
d14a1e28
RD
5523 {
5524 if (temp8)
5525 delete arg8;
5526 }
5527 return resultobj;
5528 fail:
5529 {
5530 if (temp8)
5531 delete arg8;
5532 }
5533 return NULL;
5534}
5535
5536
c32bde28 5537static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5538 PyObject *resultobj;
5539 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5540 wxBitmap result;
5541 PyObject * obj0 = 0 ;
5542 char *kwnames[] = {
5543 (char *) "self", NULL
5544 };
5545
5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
5547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (arg1)->GetBitmap();
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 {
5557 wxBitmap * resultptr;
5558 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 5559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
5560 }
5561 return resultobj;
5562 fail:
5563 return NULL;
5564}
5565
5566
c32bde28 5567static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5568 PyObject *resultobj;
5569 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5570 wxBitmap *arg2 = 0 ;
5571 PyObject * obj0 = 0 ;
5572 PyObject * obj1 = 0 ;
5573 char *kwnames[] = {
5574 (char *) "self",(char *) "bitmap", NULL
5575 };
5576
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5581 SWIG_POINTER_EXCEPTION | 0)) == -1)
5582 SWIG_fail;
d14a1e28 5583 if (arg2 == NULL) {
15afbcd0
RD
5584 PyErr_SetString(PyExc_TypeError,"null reference");
5585 SWIG_fail;
d14a1e28
RD
5586 }
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 Py_INCREF(Py_None); resultobj = Py_None;
5595 return resultobj;
5596 fail:
5597 return NULL;
5598}
5599
5600
c32bde28 5601static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5602 PyObject *resultobj;
5603 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5604 wxIcon *arg2 = 0 ;
5605 PyObject * obj0 = 0 ;
5606 PyObject * obj1 = 0 ;
5607 char *kwnames[] = {
5608 (char *) "self",(char *) "icon", NULL
5609 };
5610
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5615 SWIG_POINTER_EXCEPTION | 0)) == -1)
5616 SWIG_fail;
d14a1e28 5617 if (arg2 == NULL) {
15afbcd0
RD
5618 PyErr_SetString(PyExc_TypeError,"null reference");
5619 SWIG_fail;
d14a1e28
RD
5620 }
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 (arg1)->SetIcon((wxIcon const &)*arg2);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 Py_INCREF(Py_None); resultobj = Py_None;
5629 return resultobj;
5630 fail:
5631 return NULL;
5632}
5633
5634
c32bde28 5635static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
5636 PyObject *resultobj;
5637 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5638 wxVisualAttributes result;
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "variant", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5645 if (obj0) {
c32bde28 5646 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 {
110da5b0 5650 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5653
5654 wxPyEndAllowThreads(__tstate);
dfbb5885 5655 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5656 }
5657 {
5658 wxVisualAttributes * resultptr;
5659 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5661 }
5662 return resultobj;
5663 fail:
5664 return NULL;
5665}
5666
5667
c32bde28 5668static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5669 PyObject *obj;
5670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5671 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5672 Py_INCREF(obj);
5673 return Py_BuildValue((char *)"");
5674}
c32bde28 5675static int _wrap_ListBoxNameStr_set(PyObject *) {
b2dc1044
RD
5676 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5677 return 1;
5678}
5679
5680
5681static PyObject *_wrap_ListBoxNameStr_get() {
5682 PyObject *pyobj;
5683
5684 {
5685#if wxUSE_UNICODE
5686 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5687#else
5688 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5689#endif
5690 }
5691 return pyobj;
5692}
5693
5694
c32bde28 5695static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5696 PyObject *resultobj;
5697 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 5698 int arg2 = (int) -1 ;
d14a1e28
RD
5699 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5700 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5701 wxSize const &arg4_defvalue = wxDefaultSize ;
5702 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
5703 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5704 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5705 long arg6 = (long) 0 ;
5706 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5707 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5708 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5709 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
5710 wxListBox *result;
5711 wxPoint temp3 ;
5712 wxSize temp4 ;
ae8162c8
RD
5713 bool temp5 = false ;
5714 bool temp8 = false ;
d14a1e28 5715 PyObject * obj0 = 0 ;
994141e6 5716 PyObject * obj1 = 0 ;
d14a1e28
RD
5717 PyObject * obj2 = 0 ;
5718 PyObject * obj3 = 0 ;
5719 PyObject * obj4 = 0 ;
994141e6 5720 PyObject * obj5 = 0 ;
d14a1e28
RD
5721 PyObject * obj6 = 0 ;
5722 PyObject * obj7 = 0 ;
5723 char *kwnames[] = {
5724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5725 };
5726
248ed943 5727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5730 if (obj1) {
c32bde28 5731 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
d14a1e28
RD
5734 if (obj2) {
5735 {
5736 arg3 = &temp3;
5737 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5738 }
5739 }
5740 if (obj3) {
5741 {
5742 arg4 = &temp4;
5743 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5744 }
5745 }
5746 if (obj4) {
5747 {
4d5c3d91
RD
5748 if (! PySequence_Check(obj4)) {
5749 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5750 SWIG_fail;
5751 }
5752 arg5 = new wxArrayString;
ae8162c8 5753 temp5 = true;
4d5c3d91
RD
5754 int i, len=PySequence_Length(obj4);
5755 for (i=0; i<len; i++) {
5756 PyObject* item = PySequence_GetItem(obj4, i);
5757#if wxUSE_UNICODE
5758 PyObject* str = PyObject_Unicode(item);
5759#else
5760 PyObject* str = PyObject_Str(item);
5761#endif
74a57fcd 5762 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
5763 arg5->Add(Py2wxString(str));
5764 Py_DECREF(item);
5765 Py_DECREF(str);
5766 }
d14a1e28
RD
5767 }
5768 }
994141e6 5769 if (obj5) {
c32bde28 5770 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 5771 if (PyErr_Occurred()) SWIG_fail;
994141e6 5772 }
d14a1e28 5773 if (obj6) {
15afbcd0
RD
5774 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5775 SWIG_POINTER_EXCEPTION | 0)) == -1)
5776 SWIG_fail;
4d5c3d91 5777 if (arg7 == NULL) {
15afbcd0
RD
5778 PyErr_SetString(PyExc_TypeError,"null reference");
5779 SWIG_fail;
d14a1e28
RD
5780 }
5781 }
5782 if (obj7) {
5783 {
4d5c3d91
RD
5784 arg8 = wxString_in_helper(obj7);
5785 if (arg8 == NULL) SWIG_fail;
ae8162c8 5786 temp8 = true;
d14a1e28
RD
5787 }
5788 }
5789 {
e3b71cb8 5790 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5792 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
5793
5794 wxPyEndAllowThreads(__tstate);
110da5b0 5795 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5796 }
15afbcd0 5797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 5798 {
3adfb63b 5799 if (temp5) delete arg5;
d14a1e28
RD
5800 }
5801 {
5802 if (temp8)
4d5c3d91 5803 delete arg8;
d14a1e28
RD
5804 }
5805 return resultobj;
5806 fail:
5807 {
3adfb63b 5808 if (temp5) delete arg5;
d14a1e28
RD
5809 }
5810 {
5811 if (temp8)
4d5c3d91 5812 delete arg8;
d14a1e28
RD
5813 }
5814 return NULL;
5815}
5816
5817
c32bde28 5818static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5819 PyObject *resultobj;
5820 wxListBox *result;
5821 char *kwnames[] = {
5822 NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5826 {
e3b71cb8 5827 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 result = (wxListBox *)new wxListBox();
5830
5831 wxPyEndAllowThreads(__tstate);
110da5b0 5832 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5833 }
15afbcd0 5834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
5835 return resultobj;
5836 fail:
5837 return NULL;
5838}
5839
5840
c32bde28 5841static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5842 PyObject *resultobj;
5843 wxListBox *arg1 = (wxListBox *) 0 ;
5844 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 5845 int arg3 = (int) -1 ;
d14a1e28
RD
5846 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5847 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5848 wxSize const &arg5_defvalue = wxDefaultSize ;
5849 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
5850 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5851 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5852 long arg7 = (long) 0 ;
5853 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5854 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5855 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5856 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
5857 bool result;
5858 wxPoint temp4 ;
5859 wxSize temp5 ;
ae8162c8
RD
5860 bool temp6 = false ;
5861 bool temp9 = false ;
d14a1e28
RD
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
994141e6 5864 PyObject * obj2 = 0 ;
d14a1e28
RD
5865 PyObject * obj3 = 0 ;
5866 PyObject * obj4 = 0 ;
5867 PyObject * obj5 = 0 ;
994141e6 5868 PyObject * obj6 = 0 ;
d14a1e28
RD
5869 PyObject * obj7 = 0 ;
5870 PyObject * obj8 = 0 ;
5871 char *kwnames[] = {
5872 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5873 };
5874
248ed943 5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
5876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5880 if (obj2) {
c32bde28 5881 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
d14a1e28
RD
5884 if (obj3) {
5885 {
5886 arg4 = &temp4;
5887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5888 }
5889 }
5890 if (obj4) {
5891 {
5892 arg5 = &temp5;
5893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5894 }
5895 }
5896 if (obj5) {
5897 {
4d5c3d91
RD
5898 if (! PySequence_Check(obj5)) {
5899 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5900 SWIG_fail;
5901 }
5902 arg6 = new wxArrayString;
ae8162c8 5903 temp6 = true;
4d5c3d91
RD
5904 int i, len=PySequence_Length(obj5);
5905 for (i=0; i<len; i++) {
5906 PyObject* item = PySequence_GetItem(obj5, i);
5907#if wxUSE_UNICODE
5908 PyObject* str = PyObject_Unicode(item);
5909#else
5910 PyObject* str = PyObject_Str(item);
5911#endif
74a57fcd 5912 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
5913 arg6->Add(Py2wxString(str));
5914 Py_DECREF(item);
5915 Py_DECREF(str);
5916 }
d14a1e28
RD
5917 }
5918 }
994141e6 5919 if (obj6) {
c32bde28 5920 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 5921 if (PyErr_Occurred()) SWIG_fail;
994141e6 5922 }
d14a1e28 5923 if (obj7) {
15afbcd0
RD
5924 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5925 SWIG_POINTER_EXCEPTION | 0)) == -1)
5926 SWIG_fail;
4d5c3d91 5927 if (arg8 == NULL) {
15afbcd0
RD
5928 PyErr_SetString(PyExc_TypeError,"null reference");
5929 SWIG_fail;
d14a1e28
RD
5930 }
5931 }
5932 if (obj8) {
5933 {
4d5c3d91
RD
5934 arg9 = wxString_in_helper(obj8);
5935 if (arg9 == NULL) SWIG_fail;
ae8162c8 5936 temp9 = true;
d14a1e28
RD
5937 }
5938 }
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5941 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
5942
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
4f89f6a3
RD
5946 {
5947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5948 }
d14a1e28 5949 {
3adfb63b 5950 if (temp6) delete arg6;
d14a1e28
RD
5951 }
5952 {
5953 if (temp9)
4d5c3d91 5954 delete arg9;
d14a1e28
RD
5955 }
5956 return resultobj;
5957 fail:
5958 {
3adfb63b 5959 if (temp6) delete arg6;
d14a1e28
RD
5960 }
5961 {
5962 if (temp9)
4d5c3d91 5963 delete arg9;
d14a1e28
RD
5964 }
5965 return NULL;
5966}
5967
5968
c32bde28 5969static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5970 PyObject *resultobj;
5971 wxListBox *arg1 = (wxListBox *) 0 ;
5972 wxString *arg2 = 0 ;
5973 int arg3 ;
5974 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 5975 bool temp2 = false ;
d14a1e28
RD
5976 PyObject * obj0 = 0 ;
5977 PyObject * obj1 = 0 ;
994141e6 5978 PyObject * obj2 = 0 ;
d14a1e28
RD
5979 PyObject * obj3 = 0 ;
5980 char *kwnames[] = {
5981 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5982 };
5983
994141e6 5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5987 {
5988 arg2 = wxString_in_helper(obj1);
5989 if (arg2 == NULL) SWIG_fail;
ae8162c8 5990 temp2 = true;
d14a1e28 5991 }
c32bde28 5992 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5993 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5994 if (obj3) {
5995 arg4 = obj3;
5996 }
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 Py_INCREF(Py_None); resultobj = Py_None;
6005 {
6006 if (temp2)
6007 delete arg2;
6008 }
6009 return resultobj;
6010 fail:
6011 {
6012 if (temp2)
6013 delete arg2;
6014 }
6015 return NULL;
6016}
6017
6018
c32bde28 6019static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6020 PyObject *resultobj;
6021 wxListBox *arg1 = (wxListBox *) 0 ;
6022 wxArrayString *arg2 = 0 ;
6023 int arg3 ;
ae8162c8 6024 bool temp2 = false ;
d14a1e28
RD
6025 PyObject * obj0 = 0 ;
6026 PyObject * obj1 = 0 ;
994141e6 6027 PyObject * obj2 = 0 ;
d14a1e28
RD
6028 char *kwnames[] = {
6029 (char *) "self",(char *) "items",(char *) "pos", NULL
6030 };
6031
994141e6 6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6035 {
6036 if (! PySequence_Check(obj1)) {
6037 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6038 SWIG_fail;
6039 }
6040 arg2 = new wxArrayString;
ae8162c8 6041 temp2 = true;
d14a1e28
RD
6042 int i, len=PySequence_Length(obj1);
6043 for (i=0; i<len; i++) {
6044 PyObject* item = PySequence_GetItem(obj1, i);
6045#if wxUSE_UNICODE
6046 PyObject* str = PyObject_Unicode(item);
6047#else
6048 PyObject* str = PyObject_Str(item);
6049#endif
74a57fcd 6050 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6051 arg2->Add(Py2wxString(str));
6052 Py_DECREF(item);
6053 Py_DECREF(str);
6054 }
6055 }
c32bde28 6056 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 Py_INCREF(Py_None); resultobj = Py_None;
6066 {
3adfb63b 6067 if (temp2) delete arg2;
d14a1e28
RD
6068 }
6069 return resultobj;
6070 fail:
6071 {
3adfb63b 6072 if (temp2) delete arg2;
d14a1e28
RD
6073 }
6074 return NULL;
6075}
6076
6077
c32bde28 6078static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6079 PyObject *resultobj;
6080 wxListBox *arg1 = (wxListBox *) 0 ;
6081 wxArrayString *arg2 = 0 ;
ae8162c8 6082 bool temp2 = false ;
d14a1e28
RD
6083 PyObject * obj0 = 0 ;
6084 PyObject * obj1 = 0 ;
6085 char *kwnames[] = {
6086 (char *) "self",(char *) "items", NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6092 {
6093 if (! PySequence_Check(obj1)) {
6094 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6095 SWIG_fail;
6096 }
6097 arg2 = new wxArrayString;
ae8162c8 6098 temp2 = true;
d14a1e28
RD
6099 int i, len=PySequence_Length(obj1);
6100 for (i=0; i<len; i++) {
6101 PyObject* item = PySequence_GetItem(obj1, i);
6102#if wxUSE_UNICODE
6103 PyObject* str = PyObject_Unicode(item);
6104#else
6105 PyObject* str = PyObject_Str(item);
6106#endif
74a57fcd 6107 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6108 arg2->Add(Py2wxString(str));
6109 Py_DECREF(item);
6110 Py_DECREF(str);
6111 }
6112 }
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 (arg1)->Set((wxArrayString const &)*arg2);
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 Py_INCREF(Py_None); resultobj = Py_None;
6121 {
3adfb63b 6122 if (temp2) delete arg2;
d14a1e28
RD
6123 }
6124 return resultobj;
6125 fail:
6126 {
3adfb63b 6127 if (temp2) delete arg2;
d14a1e28
RD
6128 }
6129 return NULL;
6130}
6131
6132
c32bde28 6133static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6134 PyObject *resultobj;
6135 wxListBox *arg1 = (wxListBox *) 0 ;
6136 int arg2 ;
6137 bool result;
6138 PyObject * obj0 = 0 ;
994141e6 6139 PyObject * obj1 = 0 ;
d14a1e28
RD
6140 char *kwnames[] = {
6141 (char *) "self",(char *) "n", NULL
6142 };
6143
994141e6 6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6147 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6148 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6149 {
6150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6151 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6152
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
4f89f6a3
RD
6156 {
6157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6158 }
d14a1e28
RD
6159 return resultobj;
6160 fail:
6161 return NULL;
6162}
6163
6164
c32bde28 6165static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6166 PyObject *resultobj;
6167 wxListBox *arg1 = (wxListBox *) 0 ;
6168 int arg2 ;
ae8162c8 6169 bool arg3 = (bool) true ;
d14a1e28 6170 PyObject * obj0 = 0 ;
994141e6 6171 PyObject * obj1 = 0 ;
d14a1e28
RD
6172 PyObject * obj2 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self",(char *) "n",(char *) "select", NULL
6175 };
6176
994141e6 6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6180 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6182 if (obj2) {
c32bde28 6183 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 6184 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6185 }
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 (arg1)->SetSelection(arg2,arg3);
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 Py_INCREF(Py_None); resultobj = Py_None;
6194 return resultobj;
6195 fail:
6196 return NULL;
6197}
6198
6199
c32bde28 6200static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6201 PyObject *resultobj;
6202 wxListBox *arg1 = (wxListBox *) 0 ;
6203 int arg2 ;
6204 PyObject * obj0 = 0 ;
994141e6 6205 PyObject * obj1 = 0 ;
d14a1e28
RD
6206 char *kwnames[] = {
6207 (char *) "self",(char *) "n", NULL
6208 };
6209
994141e6 6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6213 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 (arg1)->Select(arg2);
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 Py_INCREF(Py_None); resultobj = Py_None;
6223 return resultobj;
6224 fail:
6225 return NULL;
6226}
6227
6228
c32bde28 6229static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6230 PyObject *resultobj;
6231 wxListBox *arg1 = (wxListBox *) 0 ;
6232 int arg2 ;
6233 PyObject * obj0 = 0 ;
994141e6 6234 PyObject * obj1 = 0 ;
d14a1e28
RD
6235 char *kwnames[] = {
6236 (char *) "self",(char *) "n", NULL
6237 };
6238
994141e6 6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6242 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6243 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 (arg1)->Deselect(arg2);
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 Py_INCREF(Py_None); resultobj = Py_None;
6252 return resultobj;
6253 fail:
6254 return NULL;
6255}
6256
6257
c32bde28 6258static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6259 PyObject *resultobj;
6260 wxListBox *arg1 = (wxListBox *) 0 ;
6261 int arg2 = (int) -1 ;
6262 PyObject * obj0 = 0 ;
994141e6 6263 PyObject * obj1 = 0 ;
d14a1e28
RD
6264 char *kwnames[] = {
6265 (char *) "self",(char *) "itemToLeaveSelected", NULL
6266 };
6267
994141e6 6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6271 if (obj1) {
c32bde28 6272 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6273 if (PyErr_Occurred()) SWIG_fail;
994141e6 6274 }
d14a1e28
RD
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 (arg1)->DeselectAll(arg2);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 Py_INCREF(Py_None); resultobj = Py_None;
6283 return resultobj;
6284 fail:
6285 return NULL;
6286}
6287
6288
c32bde28 6289static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6290 PyObject *resultobj;
6291 wxListBox *arg1 = (wxListBox *) 0 ;
6292 wxString *arg2 = 0 ;
ae8162c8 6293 bool arg3 = (bool) true ;
d14a1e28 6294 bool result;
ae8162c8 6295 bool temp2 = false ;
d14a1e28
RD
6296 PyObject * obj0 = 0 ;
6297 PyObject * obj1 = 0 ;
6298 PyObject * obj2 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self",(char *) "s",(char *) "select", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6306 {
6307 arg2 = wxString_in_helper(obj1);
6308 if (arg2 == NULL) SWIG_fail;
ae8162c8 6309 temp2 = true;
d14a1e28
RD
6310 }
6311 if (obj2) {
c32bde28 6312 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 6313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6314 }
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
4f89f6a3
RD
6322 {
6323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6324 }
d14a1e28
RD
6325 {
6326 if (temp2)
6327 delete arg2;
6328 }
6329 return resultobj;
6330 fail:
6331 {
6332 if (temp2)
6333 delete arg2;
6334 }
6335 return NULL;
6336}
6337
6338
c32bde28 6339static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6340 PyObject *resultobj;
6341 wxListBox *arg1 = (wxListBox *) 0 ;
6342 PyObject *result;
6343 PyObject * obj0 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
6349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (PyObject *)wxListBox_GetSelections(arg1);
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 resultobj = result;
6359 return resultobj;
6360 fail:
6361 return NULL;
6362}
6363
6364
c32bde28 6365static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6366 PyObject *resultobj;
6367 wxListBox *arg1 = (wxListBox *) 0 ;
6368 int arg2 ;
6369 PyObject * obj0 = 0 ;
994141e6 6370 PyObject * obj1 = 0 ;
d14a1e28
RD
6371 char *kwnames[] = {
6372 (char *) "self",(char *) "n", NULL
6373 };
6374
994141e6 6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6378 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 (arg1)->SetFirstItem(arg2);
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 Py_INCREF(Py_None); resultobj = Py_None;
6388 return resultobj;
6389 fail:
6390 return NULL;
6391}
6392
6393
c32bde28 6394static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6395 PyObject *resultobj;
6396 wxListBox *arg1 = (wxListBox *) 0 ;
6397 wxString *arg2 = 0 ;
ae8162c8 6398 bool temp2 = false ;
d14a1e28
RD
6399 PyObject * obj0 = 0 ;
6400 PyObject * obj1 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "self",(char *) "s", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6408 {
6409 arg2 = wxString_in_helper(obj1);
6410 if (arg2 == NULL) SWIG_fail;
ae8162c8 6411 temp2 = true;
d14a1e28
RD
6412 }
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->SetFirstItem((wxString const &)*arg2);
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 Py_INCREF(Py_None); resultobj = Py_None;
6421 {
6422 if (temp2)
6423 delete arg2;
6424 }
6425 return resultobj;
6426 fail:
6427 {
6428 if (temp2)
6429 delete arg2;
6430 }
6431 return NULL;
6432}
6433
6434
c32bde28 6435static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6436 PyObject *resultobj;
6437 wxListBox *arg1 = (wxListBox *) 0 ;
6438 int arg2 ;
6439 PyObject * obj0 = 0 ;
994141e6 6440 PyObject * obj1 = 0 ;
d14a1e28
RD
6441 char *kwnames[] = {
6442 (char *) "self",(char *) "n", NULL
6443 };
6444
994141e6 6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6448 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6449 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 (arg1)->EnsureVisible(arg2);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 Py_INCREF(Py_None); resultobj = Py_None;
6458 return resultobj;
6459 fail:
6460 return NULL;
6461}
6462
6463
c32bde28 6464static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6465 PyObject *resultobj;
6466 wxListBox *arg1 = (wxListBox *) 0 ;
6467 wxString *arg2 = 0 ;
ae8162c8 6468 bool temp2 = false ;
d14a1e28
RD
6469 PyObject * obj0 = 0 ;
6470 PyObject * obj1 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "self",(char *) "s", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6478 {
6479 arg2 = wxString_in_helper(obj1);
6480 if (arg2 == NULL) SWIG_fail;
ae8162c8 6481 temp2 = true;
d14a1e28
RD
6482 }
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 Py_INCREF(Py_None); resultobj = Py_None;
6491 {
6492 if (temp2)
6493 delete arg2;
6494 }
6495 return resultobj;
6496 fail:
6497 {
6498 if (temp2)
6499 delete arg2;
6500 }
6501 return NULL;
6502}
6503
6504
c32bde28 6505static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6506 PyObject *resultobj;
6507 wxListBox *arg1 = (wxListBox *) 0 ;
6508 bool result;
6509 PyObject * obj0 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
15afbcd0
RD
6515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 result = (bool)((wxListBox const *)arg1)->IsSorted();
6520
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
4f89f6a3
RD
6524 {
6525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6526 }
d14a1e28
RD
6527 return resultobj;
6528 fail:
6529 return NULL;
6530}
6531
6532
c32bde28 6533static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
6534 PyObject *resultobj;
6535 wxListBox *arg1 = (wxListBox *) 0 ;
6536 int arg2 ;
6537 wxColour *arg3 = 0 ;
6538 wxColour temp3 ;
6539 PyObject * obj0 = 0 ;
6540 PyObject * obj1 = 0 ;
6541 PyObject * obj2 = 0 ;
6542 char *kwnames[] = {
6543 (char *) "self",(char *) "item",(char *) "c", NULL
6544 };
6545
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6549 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6550 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
6551 {
6552 arg3 = &temp3;
6553 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566}
6567
6568
c32bde28 6569static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
6570 PyObject *resultobj;
6571 wxListBox *arg1 = (wxListBox *) 0 ;
6572 int arg2 ;
6573 wxColour *arg3 = 0 ;
6574 wxColour temp3 ;
6575 PyObject * obj0 = 0 ;
6576 PyObject * obj1 = 0 ;
6577 PyObject * obj2 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self",(char *) "item",(char *) "c", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6585 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6586 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
6587 {
6588 arg3 = &temp3;
6589 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6590 }
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 Py_INCREF(Py_None); resultobj = Py_None;
6599 return resultobj;
6600 fail:
6601 return NULL;
6602}
6603
6604
c32bde28 6605static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
6606 PyObject *resultobj;
6607 wxListBox *arg1 = (wxListBox *) 0 ;
6608 int arg2 ;
6609 wxFont *arg3 = 0 ;
6610 PyObject * obj0 = 0 ;
6611 PyObject * obj1 = 0 ;
6612 PyObject * obj2 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self",(char *) "item",(char *) "f", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6620 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
6621 if (PyErr_Occurred()) SWIG_fail;
6622 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6623 SWIG_POINTER_EXCEPTION | 0)) == -1)
6624 SWIG_fail;
c3eb6258 6625 if (arg3 == NULL) {
15afbcd0
RD
6626 PyErr_SetString(PyExc_TypeError,"null reference");
6627 SWIG_fail;
c3eb6258
RD
6628 }
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6632
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 Py_INCREF(Py_None); resultobj = Py_None;
6637 return resultobj;
6638 fail:
6639 return NULL;
6640}
6641
6642
c32bde28 6643static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
6644 PyObject *resultobj;
6645 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6646 wxVisualAttributes result;
6647 PyObject * obj0 = 0 ;
6648 char *kwnames[] = {
6649 (char *) "variant", NULL
6650 };
6651
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6653 if (obj0) {
c32bde28 6654 arg1 = (int)SWIG_As_int(obj0);
74a57fcd
RD
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
6657 {
110da5b0 6658 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6661
6662 wxPyEndAllowThreads(__tstate);
dfbb5885 6663 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
6664 }
6665 {
6666 wxVisualAttributes * resultptr;
6667 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6668 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6669 }
6670 return resultobj;
6671 fail:
6672 return NULL;
6673}
6674
6675
c32bde28 6676static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6677 PyObject *obj;
6678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6679 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6680 Py_INCREF(obj);
6681 return Py_BuildValue((char *)"");
6682}
c32bde28 6683static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6684 PyObject *resultobj;
6685 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6686 int arg2 = (int) -1 ;
d14a1e28
RD
6687 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6688 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6689 wxSize const &arg4_defvalue = wxDefaultSize ;
6690 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
6691 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6692 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6693 long arg6 = (long) 0 ;
6694 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6695 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6696 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6697 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
6698 wxCheckListBox *result;
6699 wxPoint temp3 ;
6700 wxSize temp4 ;
ae8162c8
RD
6701 bool temp5 = false ;
6702 bool temp8 = false ;
d14a1e28 6703 PyObject * obj0 = 0 ;
994141e6 6704 PyObject * obj1 = 0 ;
d14a1e28
RD
6705 PyObject * obj2 = 0 ;
6706 PyObject * obj3 = 0 ;
6707 PyObject * obj4 = 0 ;
994141e6 6708 PyObject * obj5 = 0 ;
d14a1e28
RD
6709 PyObject * obj6 = 0 ;
6710 PyObject * obj7 = 0 ;
6711 char *kwnames[] = {
6712 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6713 };
6714
248ed943 6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
6716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 6718 if (obj1) {
c32bde28 6719 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
d14a1e28
RD
6722 if (obj2) {
6723 {
6724 arg3 = &temp3;
6725 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6726 }
6727 }
6728 if (obj3) {
6729 {
6730 arg4 = &temp4;
6731 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6732 }
6733 }
6734 if (obj4) {
6735 {
4d5c3d91
RD
6736 if (! PySequence_Check(obj4)) {
6737 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6738 SWIG_fail;
6739 }
6740 arg5 = new wxArrayString;
ae8162c8 6741 temp5 = true;
4d5c3d91
RD
6742 int i, len=PySequence_Length(obj4);
6743 for (i=0; i<len; i++) {
6744 PyObject* item = PySequence_GetItem(obj4, i);
6745#if wxUSE_UNICODE
6746 PyObject* str = PyObject_Unicode(item);
6747#else
6748 PyObject* str = PyObject_Str(item);
6749#endif
74a57fcd 6750 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
6751 arg5->Add(Py2wxString(str));
6752 Py_DECREF(item);
6753 Py_DECREF(str);
6754 }
d14a1e28
RD
6755 }
6756 }
994141e6 6757 if (obj5) {
c32bde28 6758 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 6759 if (PyErr_Occurred()) SWIG_fail;
994141e6 6760 }
d14a1e28 6761 if (obj6) {
15afbcd0
RD
6762 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6763 SWIG_POINTER_EXCEPTION | 0)) == -1)
6764 SWIG_fail;
4d5c3d91 6765 if (arg7 == NULL) {
15afbcd0
RD
6766 PyErr_SetString(PyExc_TypeError,"null reference");
6767 SWIG_fail;
d14a1e28
RD
6768 }
6769 }
6770 if (obj7) {
6771 {
4d5c3d91
RD
6772 arg8 = wxString_in_helper(obj7);
6773 if (arg8 == NULL) SWIG_fail;
ae8162c8 6774 temp8 = true;
d14a1e28
RD
6775 }
6776 }
6777 {
e3b71cb8 6778 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6780 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
6781
6782 wxPyEndAllowThreads(__tstate);
110da5b0 6783 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6784 }
15afbcd0 6785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 6786 {
3adfb63b 6787 if (temp5) delete arg5;
d14a1e28
RD
6788 }
6789 {
6790 if (temp8)
4d5c3d91 6791 delete arg8;
d14a1e28
RD
6792 }
6793 return resultobj;
6794 fail:
6795 {
3adfb63b 6796 if (temp5) delete arg5;
d14a1e28
RD
6797 }
6798 {
6799 if (temp8)
4d5c3d91 6800 delete arg8;
d14a1e28
RD
6801 }
6802 return NULL;
6803}
6804
6805
c32bde28 6806static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6807 PyObject *resultobj;
6808 wxCheckListBox *result;
6809 char *kwnames[] = {
6810 NULL
6811 };
6812
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6814 {
e3b71cb8 6815 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 result = (wxCheckListBox *)new wxCheckListBox();
6818
6819 wxPyEndAllowThreads(__tstate);
110da5b0 6820 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6821 }
15afbcd0 6822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
6823 return resultobj;
6824 fail:
6825 return NULL;
6826}
6827
6828
c32bde28 6829static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6830 PyObject *resultobj;
6831 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6832 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6833 int arg3 = (int) -1 ;
d14a1e28
RD
6834 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6835 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6836 wxSize const &arg5_defvalue = wxDefaultSize ;
6837 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
6838 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6839 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6840 long arg7 = (long) 0 ;
6841 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6842 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6843 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6844 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
6845 bool result;
6846 wxPoint temp4 ;
6847 wxSize temp5 ;
ae8162c8
RD
6848 bool temp6 = false ;
6849 bool temp9 = false ;
d14a1e28
RD
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
994141e6 6852 PyObject * obj2 = 0 ;
d14a1e28
RD
6853 PyObject * obj3 = 0 ;
6854 PyObject * obj4 = 0 ;
6855 PyObject * obj5 = 0 ;
994141e6 6856 PyObject * obj6 = 0 ;
d14a1e28
RD
6857 PyObject * obj7 = 0 ;
6858 PyObject * obj8 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6861 };
6862
248ed943 6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
6864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 6868 if (obj2) {
c32bde28 6869 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
d14a1e28
RD
6872 if (obj3) {
6873 {
6874 arg4 = &temp4;
6875 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6876 }
6877 }
6878 if (obj4) {
6879 {
6880 arg5 = &temp5;
6881 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6882 }
6883 }
6884 if (obj5) {
6885 {
4d5c3d91
RD
6886 if (! PySequence_Check(obj5)) {
6887 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6888 SWIG_fail;
6889 }
6890 arg6 = new wxArrayString;
ae8162c8 6891 temp6 = true;
4d5c3d91
RD
6892 int i, len=PySequence_Length(obj5);
6893 for (i=0; i<len; i++) {
6894 PyObject* item = PySequence_GetItem(obj5, i);
6895#if wxUSE_UNICODE
6896 PyObject* str = PyObject_Unicode(item);
6897#else
6898 PyObject* str = PyObject_Str(item);
6899#endif
74a57fcd 6900 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
6901 arg6->Add(Py2wxString(str));
6902 Py_DECREF(item);
6903 Py_DECREF(str);
6904 }
d14a1e28
RD
6905 }
6906 }
994141e6 6907 if (obj6) {
c32bde28 6908 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 6909 if (PyErr_Occurred()) SWIG_fail;
994141e6 6910 }
d14a1e28 6911 if (obj7) {
15afbcd0
RD
6912 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6913 SWIG_POINTER_EXCEPTION | 0)) == -1)
6914 SWIG_fail;
4d5c3d91 6915 if (arg8 == NULL) {
15afbcd0
RD
6916 PyErr_SetString(PyExc_TypeError,"null reference");
6917 SWIG_fail;
d14a1e28
RD
6918 }
6919 }
6920 if (obj8) {
6921 {
4d5c3d91
RD
6922 arg9 = wxString_in_helper(obj8);
6923 if (arg9 == NULL) SWIG_fail;
ae8162c8 6924 temp9 = true;
d14a1e28
RD
6925 }
6926 }
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6929 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
4f89f6a3
RD
6934 {
6935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6936 }
d14a1e28 6937 {
3adfb63b 6938 if (temp6) delete arg6;
d14a1e28
RD
6939 }
6940 {
6941 if (temp9)
4d5c3d91 6942 delete arg9;
d14a1e28
RD
6943 }
6944 return resultobj;
6945 fail:
6946 {
3adfb63b 6947 if (temp6) delete arg6;
d14a1e28
RD
6948 }
6949 {
6950 if (temp9)
4d5c3d91 6951 delete arg9;
d14a1e28
RD
6952 }
6953 return NULL;
6954}
6955
6956
c32bde28 6957static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6958 PyObject *resultobj;
6959 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6960 int arg2 ;
6961 bool result;
6962 PyObject * obj0 = 0 ;
994141e6 6963 PyObject * obj1 = 0 ;
d14a1e28
RD
6964 char *kwnames[] = {
6965 (char *) "self",(char *) "index", NULL
6966 };
6967
994141e6 6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6971 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (bool)(arg1)->IsChecked(arg2);
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
4f89f6a3
RD
6980 {
6981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6982 }
d14a1e28
RD
6983 return resultobj;
6984 fail:
6985 return NULL;
6986}
6987
6988
c32bde28 6989static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6990 PyObject *resultobj;
6991 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6992 int arg2 ;
ae8162c8 6993 int arg3 = (int) true ;
d14a1e28 6994 PyObject * obj0 = 0 ;
994141e6
RD
6995 PyObject * obj1 = 0 ;
6996 PyObject * obj2 = 0 ;
d14a1e28
RD
6997 char *kwnames[] = {
6998 (char *) "self",(char *) "index",(char *) "check", NULL
6999 };
7000
994141e6 7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7004 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7005 if (PyErr_Occurred()) SWIG_fail;
994141e6 7006 if (obj2) {
c32bde28 7007 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7008 if (PyErr_Occurred()) SWIG_fail;
994141e6 7009 }
d14a1e28
RD
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 (arg1)->Check(arg2,arg3);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 Py_INCREF(Py_None); resultobj = Py_None;
7018 return resultobj;
7019 fail:
7020 return NULL;
7021}
7022
7023
c32bde28 7024static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7025 PyObject *resultobj;
7026 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7027 int result;
7028 PyObject * obj0 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "self", NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
7034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7036 {
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 result = (int)(arg1)->GetItemHeight();
7039
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
c32bde28 7043 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7044 return resultobj;
7045 fail:
7046 return NULL;
7047}
7048
7049
c32bde28 7050static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7051 PyObject *resultobj;
7052 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7053 wxPoint *arg2 = 0 ;
7054 int result;
7055 wxPoint temp2 ;
7056 PyObject * obj0 = 0 ;
7057 PyObject * obj1 = 0 ;
7058 char *kwnames[] = {
7059 (char *) "self",(char *) "pt", NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7065 {
7066 arg2 = &temp2;
7067 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
c32bde28 7076 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7077 return resultobj;
7078 fail:
7079 return NULL;
7080}
7081
7082
c32bde28 7083static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7084 PyObject *resultobj;
7085 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
7086 int arg2 ;
7087 int arg3 ;
d14a1e28
RD
7088 int result;
7089 PyObject * obj0 = 0 ;
994141e6
RD
7090 PyObject * obj1 = 0 ;
7091 PyObject * obj2 = 0 ;
d14a1e28
RD
7092 char *kwnames[] = {
7093 (char *) "self",(char *) "x",(char *) "y", NULL
7094 };
7095
994141e6 7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7099 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7100 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7101 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
c32bde28 7110 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7111 return resultobj;
7112 fail:
7113 return NULL;
7114}
7115
7116
c32bde28 7117static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7118 PyObject *obj;
7119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7120 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
7121 Py_INCREF(obj);
7122 return Py_BuildValue((char *)"");
7123}
c32bde28 7124static int _wrap_TextCtrlNameStr_set(PyObject *) {
b2dc1044
RD
7125 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
7126 return 1;
7127}
7128
7129
7130static PyObject *_wrap_TextCtrlNameStr_get() {
7131 PyObject *pyobj;
7132
7133 {
7134#if wxUSE_UNICODE
7135 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7136#else
7137 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7138#endif
7139 }
7140 return pyobj;
7141}
7142
7143
c32bde28 7144static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 7145 PyObject *resultobj;
908b74cd
RD
7146 wxColour const &arg1_defvalue = wxNullColour ;
7147 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d14a1e28
RD
7148 wxColour const &arg2_defvalue = wxNullColour ;
7149 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7150 wxFont const &arg3_defvalue = wxNullFont ;
7151 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7152 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7153 wxTextAttr *result;
7154 wxColour temp1 ;
7155 wxColour temp2 ;
7156 PyObject * obj0 = 0 ;
7157 PyObject * obj1 = 0 ;
7158 PyObject * obj2 = 0 ;
994141e6 7159 PyObject * obj3 = 0 ;
908b74cd
RD
7160 char *kwnames[] = {
7161 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7162 };
d14a1e28 7163
908b74cd
RD
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7165 if (obj0) {
7166 {
7167 arg1 = &temp1;
7168 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7169 }
d14a1e28
RD
7170 }
7171 if (obj1) {
7172 {
7173 arg2 = &temp2;
7174 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7175 }
7176 }
7177 if (obj2) {
15afbcd0
RD
7178 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7179 SWIG_POINTER_EXCEPTION | 0)) == -1)
7180 SWIG_fail;
d14a1e28 7181 if (arg3 == NULL) {
15afbcd0
RD
7182 PyErr_SetString(PyExc_TypeError,"null reference");
7183 SWIG_fail;
d14a1e28
RD
7184 }
7185 }
994141e6 7186 if (obj3) {
c32bde28 7187 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 7188 if (PyErr_Occurred()) SWIG_fail;
994141e6 7189 }
d14a1e28
RD
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
15afbcd0 7197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
7198 return resultobj;
7199 fail:
7200 return NULL;
7201}
7202
7203
c32bde28 7204static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7205 PyObject *resultobj;
7206 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7207 PyObject * obj0 = 0 ;
7208 char *kwnames[] = {
7209 (char *) "self", NULL
7210 };
7211
994141e6 7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
15afbcd0
RD
7213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
994141e6 7217 delete arg1;
d14a1e28
RD
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 return resultobj;
7224 fail:
7225 return NULL;
7226}
7227
7228
c32bde28 7229static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
7230 PyObject *resultobj;
7231 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7232 PyObject * obj0 = 0 ;
7233 char *kwnames[] = {
7234 (char *) "self", NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
15afbcd0
RD
7238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 (arg1)->Init();
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 Py_INCREF(Py_None); resultobj = Py_None;
7248 return resultobj;
7249 fail:
7250 return NULL;
7251}
7252
7253
c32bde28 7254static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7255 PyObject *resultobj;
7256 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7257 wxColour *arg2 = 0 ;
7258 wxColour temp2 ;
7259 PyObject * obj0 = 0 ;
7260 PyObject * obj1 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self",(char *) "colText", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7268 {
7269 arg2 = &temp2;
7270 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7271 }
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 (arg1)->SetTextColour((wxColour const &)*arg2);
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 Py_INCREF(Py_None); resultobj = Py_None;
7280 return resultobj;
7281 fail:
7282 return NULL;
7283}
7284
7285
c32bde28 7286static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7287 PyObject *resultobj;
7288 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7289 wxColour *arg2 = 0 ;
7290 wxColour temp2 ;
7291 PyObject * obj0 = 0 ;
7292 PyObject * obj1 = 0 ;
7293 char *kwnames[] = {
7294 (char *) "self",(char *) "colBack", NULL
7295 };
7296
7297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
7302 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7303 }
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 Py_INCREF(Py_None); resultobj = Py_None;
7312 return resultobj;
7313 fail:
7314 return NULL;
7315}
7316
7317
c32bde28 7318static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7319 PyObject *resultobj;
7320 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7321 wxFont *arg2 = 0 ;
7322 long arg3 = (long) wxTEXT_ATTR_FONT ;
7323 PyObject * obj0 = 0 ;
7324 PyObject * obj1 = 0 ;
994141e6 7325 PyObject * obj2 = 0 ;
d14a1e28
RD
7326 char *kwnames[] = {
7327 (char *) "self",(char *) "font",(char *) "flags", NULL
7328 };
7329
994141e6 7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7334 SWIG_POINTER_EXCEPTION | 0)) == -1)
7335 SWIG_fail;
d14a1e28 7336 if (arg2 == NULL) {
15afbcd0
RD
7337 PyErr_SetString(PyExc_TypeError,"null reference");
7338 SWIG_fail;
d14a1e28 7339 }
994141e6 7340 if (obj2) {
c32bde28 7341 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 7342 if (PyErr_Occurred()) SWIG_fail;
994141e6 7343 }
d14a1e28
RD
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 Py_INCREF(Py_None); resultobj = Py_None;
7352 return resultobj;
7353 fail:
7354 return NULL;
7355}
7356
7357
c32bde28 7358static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7359 PyObject *resultobj;
7360 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7361 int arg2 ;
7362 PyObject * obj0 = 0 ;
994141e6 7363 PyObject * obj1 = 0 ;
d14a1e28
RD
7364 char *kwnames[] = {
7365 (char *) "self",(char *) "alignment", NULL
7366 };
7367
994141e6 7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7371 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7372 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7376
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 Py_INCREF(Py_None); resultobj = Py_None;
7381 return resultobj;
7382 fail:
7383 return NULL;
7384}
7385
7386
c32bde28 7387static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7388 PyObject *resultobj;
7389 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7390 wxArrayInt *arg2 = 0 ;
ae8162c8 7391 bool temp2 = false ;
d14a1e28
RD
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 char *kwnames[] = {
7395 (char *) "self",(char *) "tabs", NULL
7396 };
7397
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7401 {
7402 if (! PySequence_Check(obj1)) {
7403 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7404 SWIG_fail;
7405 }
7406 arg2 = new wxArrayInt;
ae8162c8 7407 temp2 = true;
d14a1e28
RD
7408 int i, len=PySequence_Length(obj1);
7409 for (i=0; i<len; i++) {
7410 PyObject* item = PySequence_GetItem(obj1, i);
7411 PyObject* number = PyNumber_Int(item);
7412 arg2->Add(PyInt_AS_LONG(number));
7413 Py_DECREF(item);
7414 Py_DECREF(number);
7415 }
7416 }
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 {
3adfb63b 7426 if (temp2) delete arg2;
d14a1e28
RD
7427 }
7428 return resultobj;
7429 fail:
7430 {
3adfb63b 7431 if (temp2) delete arg2;
d14a1e28
RD
7432 }
7433 return NULL;
7434}
7435
7436
c32bde28 7437static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7438 PyObject *resultobj;
7439 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7440 int arg2 ;
5e4ca4a8 7441 int arg3 = (int) 0 ;
d14a1e28 7442 PyObject * obj0 = 0 ;
994141e6 7443 PyObject * obj1 = 0 ;
5e4ca4a8 7444 PyObject * obj2 = 0 ;
d14a1e28 7445 char *kwnames[] = {
5e4ca4a8 7446 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d14a1e28
RD
7447 };
7448
5e4ca4a8 7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7452 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7453 if (PyErr_Occurred()) SWIG_fail;
5e4ca4a8 7454 if (obj2) {
c32bde28 7455 arg3 = (int)SWIG_As_int(obj2);
5e4ca4a8
RD
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
d14a1e28
RD
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e4ca4a8 7460 (arg1)->SetLeftIndent(arg2,arg3);
d14a1e28
RD
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 Py_INCREF(Py_None); resultobj = Py_None;
7466 return resultobj;
7467 fail:
7468 return NULL;
7469}
7470
7471
c32bde28 7472static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7473 PyObject *resultobj;
7474 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7475 int arg2 ;
7476 PyObject * obj0 = 0 ;
994141e6 7477 PyObject * obj1 = 0 ;
d14a1e28
RD
7478 char *kwnames[] = {
7479 (char *) "self",(char *) "indent", NULL
7480 };
7481
994141e6 7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7485 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7486 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 (arg1)->SetRightIndent(arg2);
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 Py_INCREF(Py_None); resultobj = Py_None;
7495 return resultobj;
7496 fail:
7497 return NULL;
7498}
7499
7500
c32bde28 7501static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7502 PyObject *resultobj;
7503 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7504 long arg2 ;
7505 PyObject * obj0 = 0 ;
994141e6 7506 PyObject * obj1 = 0 ;
d14a1e28
RD
7507 char *kwnames[] = {
7508 (char *) "self",(char *) "flags", NULL
7509 };
7510
994141e6 7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7514 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 7515 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7516 {
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 (arg1)->SetFlags(arg2);
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 }
7523 Py_INCREF(Py_None); resultobj = Py_None;
7524 return resultobj;
7525 fail:
7526 return NULL;
7527}
7528
7529
c32bde28 7530static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7531 PyObject *resultobj;
7532 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7533 bool result;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
4f89f6a3
RD
7549 {
7550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7551 }
d14a1e28
RD
7552 return resultobj;
7553 fail:
7554 return NULL;
7555}
7556
7557
c32bde28 7558static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7559 PyObject *resultobj;
7560 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7561 bool result;
7562 PyObject * obj0 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
4f89f6a3
RD
7577 {
7578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7579 }
d14a1e28
RD
7580 return resultobj;
7581 fail:
7582 return NULL;
7583}
7584
7585
c32bde28 7586static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7587 PyObject *resultobj;
7588 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7589 bool result;
7590 PyObject * obj0 = 0 ;
7591 char *kwnames[] = {
7592 (char *) "self", NULL
7593 };
7594
7595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
7596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
4f89f6a3
RD
7605 {
7606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7607 }
d14a1e28
RD
7608 return resultobj;
7609 fail:
7610 return NULL;
7611}
7612
7613
c32bde28 7614static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7615 PyObject *resultobj;
7616 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7617 bool result;
7618 PyObject * obj0 = 0 ;
7619 char *kwnames[] = {
7620 (char *) "self", NULL
7621 };
7622
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
4f89f6a3
RD
7633 {
7634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7635 }
d14a1e28
RD
7636 return resultobj;
7637 fail:
7638 return NULL;
7639}
7640
7641
c32bde28 7642static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7643 PyObject *resultobj;
7644 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7645 bool result;
7646 PyObject * obj0 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
4f89f6a3
RD
7661 {
7662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7663 }
d14a1e28
RD
7664 return resultobj;
7665 fail:
7666 return NULL;
7667}
7668
7669
c32bde28 7670static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7671 PyObject *resultobj;
7672 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7673 bool result;
7674 PyObject * obj0 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
4f89f6a3
RD
7689 {
7690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7691 }
d14a1e28
RD
7692 return resultobj;
7693 fail:
7694 return NULL;
7695}
7696
7697
c32bde28 7698static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7699 PyObject *resultobj;
7700 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7701 bool result;
7702 PyObject * obj0 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
4f89f6a3
RD
7717 {
7718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7719 }
d14a1e28
RD
7720 return resultobj;
7721 fail:
7722 return NULL;
7723}
7724
7725
c32bde28 7726static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7727 PyObject *resultobj;
7728 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7729 long arg2 ;
7730 bool result;
7731 PyObject * obj0 = 0 ;
994141e6 7732 PyObject * obj1 = 0 ;
d14a1e28
RD
7733 char *kwnames[] = {
7734 (char *) "self",(char *) "flag", NULL
7735 };
7736
994141e6 7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7740 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 7741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
4f89f6a3
RD
7749 {
7750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7751 }
d14a1e28
RD
7752 return resultobj;
7753 fail:
7754 return NULL;
7755}
7756
7757
c32bde28 7758static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7759 PyObject *resultobj;
7760 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7761 wxColour *result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 {
7773 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7774 result = (wxColour *) &_result_ref;
7775 }
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
15afbcd0 7780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7781 return resultobj;
7782 fail:
7783 return NULL;
7784}
7785
7786
c32bde28 7787static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7788 PyObject *resultobj;
7789 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7790 wxColour *result;
7791 PyObject * obj0 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "self", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 {
7802 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7803 result = (wxColour *) &_result_ref;
7804 }
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
15afbcd0 7809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7810 return resultobj;
7811 fail:
7812 return NULL;
7813}
7814
7815
c32bde28 7816static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7817 PyObject *resultobj;
7818 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7819 wxFont *result;
7820 PyObject * obj0 = 0 ;
7821 char *kwnames[] = {
7822 (char *) "self", NULL
7823 };
7824
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
7826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 {
7831 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7832 result = (wxFont *) &_result_ref;
7833 }
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
4276dc52
RD
7838 {
7839 wxFont* resultptr = new wxFont(*result);
7840 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7841 }
d14a1e28
RD
7842 return resultobj;
7843 fail:
7844 return NULL;
7845}
7846
7847
c32bde28 7848static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7849 PyObject *resultobj;
7850 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7851 int result;
7852 PyObject * obj0 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "self", NULL
7855 };
7856
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7860 {
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
c32bde28 7867 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7868 return resultobj;
7869 fail:
7870 return NULL;
7871}
7872
7873
c32bde28 7874static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7875 PyObject *resultobj;
7876 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7877 wxArrayInt *result;
7878 PyObject * obj0 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "self", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 {
7889 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7890 result = (wxArrayInt *) &_result_ref;
7891 }
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 {
7897 resultobj = PyList_New(0);
7898 size_t idx;
7899 for (idx = 0; idx < result->GetCount(); idx += 1) {
7900 PyObject* val = PyInt_FromLong( result->Item(idx) );
7901 PyList_Append(resultobj, val);
7902 Py_DECREF(val);
7903 }
7904 }
7905 return resultobj;
7906 fail:
7907 return NULL;
7908}
7909
7910
c32bde28 7911static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7912 PyObject *resultobj;
7913 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7914 long result;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
c32bde28 7930 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
7931 return resultobj;
7932 fail:
7933 return NULL;
7934}
7935
7936
c32bde28 7937static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5e4ca4a8
RD
7938 PyObject *resultobj;
7939 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7940 long result;
7941 PyObject * obj0 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
c32bde28 7956 resultobj = SWIG_From_long((long)result);
5e4ca4a8
RD
7957 return resultobj;
7958 fail:
7959 return NULL;
7960}
7961
7962
c32bde28 7963static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7964 PyObject *resultobj;
7965 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7966 long result;
7967 PyObject * obj0 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
c32bde28 7982 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
7983 return resultobj;
7984 fail:
7985 return NULL;
7986}
7987
7988
c32bde28 7989static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7990 PyObject *resultobj;
7991 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7992 long result;
7993 PyObject * obj0 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
7999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
8000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 result = (long)((wxTextAttr const *)arg1)->GetFlags();
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 }
c32bde28 8008 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
8009 return resultobj;
8010 fail:
8011 return NULL;
8012}
8013
8014
c32bde28 8015static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8016 PyObject *resultobj;
8017 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8018 bool result;
8019 PyObject * obj0 = 0 ;
8020 char *kwnames[] = {
8021 (char *) "self", NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
8025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
8026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
4f89f6a3
RD
8034 {
8035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8036 }
d14a1e28
RD
8037 return resultobj;
8038 fail:
8039 return NULL;
8040}
8041
8042
c32bde28 8043static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8044 PyObject *resultobj;
8045 wxTextAttr *arg1 = 0 ;
8046 wxTextAttr *arg2 = 0 ;
8047 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
8048 wxTextAttr result;
8049 PyObject * obj0 = 0 ;
8050 PyObject * obj1 = 0 ;
8051 PyObject * obj2 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
8058 SWIG_POINTER_EXCEPTION | 0)) == -1)
8059 SWIG_fail;
d14a1e28 8060 if (arg1 == NULL) {
15afbcd0
RD
8061 PyErr_SetString(PyExc_TypeError,"null reference");
8062 SWIG_fail;
d14a1e28 8063 }
15afbcd0
RD
8064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8065 SWIG_POINTER_EXCEPTION | 0)) == -1)
8066 SWIG_fail;
d14a1e28 8067 if (arg2 == NULL) {
15afbcd0
RD
8068 PyErr_SetString(PyExc_TypeError,"null reference");
8069 SWIG_fail;
d14a1e28 8070 }
15afbcd0
RD
8071 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
8072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8073 {
8074 PyThreadState* __tstate = wxPyBeginAllowThreads();
8075 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
8076
8077 wxPyEndAllowThreads(__tstate);
8078 if (PyErr_Occurred()) SWIG_fail;
8079 }
8080 {
8081 wxTextAttr * resultptr;
8082 resultptr = new wxTextAttr((wxTextAttr &) result);
15afbcd0 8083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
8084 }
8085 return resultobj;
8086 fail:
8087 return NULL;
8088}
8089
8090
c32bde28 8091static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8092 PyObject *obj;
8093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8094 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
8095 Py_INCREF(obj);
8096 return Py_BuildValue((char *)"");
8097}
c32bde28 8098static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8099 PyObject *resultobj;
8100 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8101 int arg2 = (int) -1 ;
d14a1e28
RD
8102 wxString const &arg3_defvalue = wxPyEmptyString ;
8103 wxString *arg3 = (wxString *) &arg3_defvalue ;
8104 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8105 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8106 wxSize const &arg5_defvalue = wxDefaultSize ;
8107 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8108 long arg6 = (long) 0 ;
8109 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8110 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8111 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
8112 wxString *arg8 = (wxString *) &arg8_defvalue ;
8113 wxTextCtrl *result;
ae8162c8 8114 bool temp3 = false ;
d14a1e28
RD
8115 wxPoint temp4 ;
8116 wxSize temp5 ;
ae8162c8 8117 bool temp8 = false ;
d14a1e28 8118 PyObject * obj0 = 0 ;
994141e6 8119 PyObject * obj1 = 0 ;
d14a1e28
RD
8120 PyObject * obj2 = 0 ;
8121 PyObject * obj3 = 0 ;
8122 PyObject * obj4 = 0 ;
994141e6 8123 PyObject * obj5 = 0 ;
d14a1e28
RD
8124 PyObject * obj6 = 0 ;
8125 PyObject * obj7 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8128 };
8129
248ed943 8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
8131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8133 if (obj1) {
c32bde28 8134 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
d14a1e28
RD
8137 if (obj2) {
8138 {
8139 arg3 = wxString_in_helper(obj2);
8140 if (arg3 == NULL) SWIG_fail;
ae8162c8 8141 temp3 = true;
d14a1e28
RD
8142 }
8143 }
8144 if (obj3) {
8145 {
8146 arg4 = &temp4;
8147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8148 }
8149 }
8150 if (obj4) {
8151 {
8152 arg5 = &temp5;
8153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8154 }
8155 }
994141e6 8156 if (obj5) {
c32bde28 8157 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 8158 if (PyErr_Occurred()) SWIG_fail;
994141e6 8159 }
d14a1e28 8160 if (obj6) {
15afbcd0
RD
8161 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8162 SWIG_POINTER_EXCEPTION | 0)) == -1)
8163 SWIG_fail;
d14a1e28 8164 if (arg7 == NULL) {
15afbcd0
RD
8165 PyErr_SetString(PyExc_TypeError,"null reference");
8166 SWIG_fail;
d14a1e28
RD
8167 }
8168 }
8169 if (obj7) {
8170 {
8171 arg8 = wxString_in_helper(obj7);
8172 if (arg8 == NULL) SWIG_fail;
ae8162c8 8173 temp8 = true;
d14a1e28
RD
8174 }
8175 }
8176 {
e3b71cb8 8177 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8180
8181 wxPyEndAllowThreads(__tstate);
110da5b0 8182 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8183 }
b0f7404b 8184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
8185 {
8186 if (temp3)
8187 delete arg3;
8188 }
8189 {
8190 if (temp8)
8191 delete arg8;
8192 }
8193 return resultobj;
8194 fail:
8195 {
8196 if (temp3)
8197 delete arg3;
8198 }
8199 {
8200 if (temp8)
8201 delete arg8;
8202 }
8203 return NULL;
8204}
8205
8206
c32bde28 8207static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8208 PyObject *resultobj;
8209 wxTextCtrl *result;
8210 char *kwnames[] = {
8211 NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8215 {
e3b71cb8 8216 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 result = (wxTextCtrl *)new wxTextCtrl();
8219
8220 wxPyEndAllowThreads(__tstate);
110da5b0 8221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8222 }
b0f7404b 8223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
8224 return resultobj;
8225 fail:
8226 return NULL;
8227}
8228
8229
c32bde28 8230static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8231 PyObject *resultobj;
8232 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8233 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8234 int arg3 = (int) -1 ;
d14a1e28
RD
8235 wxString const &arg4_defvalue = wxPyEmptyString ;
8236 wxString *arg4 = (wxString *) &arg4_defvalue ;
8237 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8238 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8239 wxSize const &arg6_defvalue = wxDefaultSize ;
8240 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8241 long arg7 = (long) 0 ;
8242 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8243 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8244 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8245 wxString *arg9 = (wxString *) &arg9_defvalue ;
8246 bool result;
ae8162c8 8247 bool temp4 = false ;
d14a1e28
RD
8248 wxPoint temp5 ;
8249 wxSize temp6 ;
ae8162c8 8250 bool temp9 = false ;
d14a1e28
RD
8251 PyObject * obj0 = 0 ;
8252 PyObject * obj1 = 0 ;
994141e6 8253 PyObject * obj2 = 0 ;
d14a1e28
RD
8254 PyObject * obj3 = 0 ;
8255 PyObject * obj4 = 0 ;
8256 PyObject * obj5 = 0 ;
994141e6 8257 PyObject * obj6 = 0 ;
d14a1e28
RD
8258 PyObject * obj7 = 0 ;
8259 PyObject * obj8 = 0 ;
8260 char *kwnames[] = {
8261 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8262 };
8263
248ed943 8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
8265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8269 if (obj2) {
c32bde28 8270 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
d14a1e28
RD
8273 if (obj3) {
8274 {
8275 arg4 = wxString_in_helper(obj3);
8276 if (arg4 == NULL) SWIG_fail;
ae8162c8 8277 temp4 = true;
d14a1e28
RD
8278 }
8279 }
8280 if (obj4) {
8281 {
8282 arg5 = &temp5;
8283 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8284 }
8285 }
8286 if (obj5) {
8287 {
8288 arg6 = &temp6;
8289 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8290 }
8291 }
994141e6 8292 if (obj6) {
c32bde28 8293 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 8294 if (PyErr_Occurred()) SWIG_fail;
994141e6 8295 }
d14a1e28 8296 if (obj7) {
15afbcd0
RD
8297 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8298 SWIG_POINTER_EXCEPTION | 0)) == -1)
8299 SWIG_fail;
d14a1e28 8300 if (arg8 == NULL) {
15afbcd0
RD
8301 PyErr_SetString(PyExc_TypeError,"null reference");
8302 SWIG_fail;
d14a1e28
RD
8303 }
8304 }
8305 if (obj8) {
8306 {
8307 arg9 = wxString_in_helper(obj8);
8308 if (arg9 == NULL) SWIG_fail;
ae8162c8 8309 temp9 = true;
d14a1e28
RD
8310 }
8311 }
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
4f89f6a3
RD
8319 {
8320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8321 }
d14a1e28
RD
8322 {
8323 if (temp4)
8324 delete arg4;
8325 }
8326 {
8327 if (temp9)
8328 delete arg9;
8329 }
8330 return resultobj;
8331 fail:
8332 {
8333 if (temp4)
8334 delete arg4;
8335 }
8336 {
8337 if (temp9)
8338 delete arg9;
8339 }
8340 return NULL;
8341}
8342
8343
c32bde28 8344static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8345 PyObject *resultobj;
8346 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8347 wxString result;
8348 PyObject * obj0 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "self", NULL
8351 };
8352
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
8354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = ((wxTextCtrl const *)arg1)->GetValue();
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 {
8364#if wxUSE_UNICODE
8365 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8366#else
8367 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8368#endif
8369 }
8370 return resultobj;
8371 fail:
8372 return NULL;
8373}
8374
8375
c32bde28 8376static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8377 PyObject *resultobj;
8378 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8379 wxString *arg2 = 0 ;
ae8162c8 8380 bool temp2 = false ;
d14a1e28
RD
8381 PyObject * obj0 = 0 ;
8382 PyObject * obj1 = 0 ;
8383 char *kwnames[] = {
8384 (char *) "self",(char *) "value", NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8390 {
8391 arg2 = wxString_in_helper(obj1);
8392 if (arg2 == NULL) SWIG_fail;
ae8162c8 8393 temp2 = true;
d14a1e28
RD
8394 }
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 (arg1)->SetValue((wxString const &)*arg2);
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 Py_INCREF(Py_None); resultobj = Py_None;
8403 {
8404 if (temp2)
8405 delete arg2;
8406 }
8407 return resultobj;
8408 fail:
8409 {
8410 if (temp2)
8411 delete arg2;
8412 }
8413 return NULL;
8414}
8415
8416
c32bde28 8417static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8418 PyObject *resultobj;
8419 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8420 long arg2 ;
8421 long arg3 ;
8422 wxString result;
8423 PyObject * obj0 = 0 ;
994141e6
RD
8424 PyObject * obj1 = 0 ;
8425 PyObject * obj2 = 0 ;
d14a1e28
RD
8426 char *kwnames[] = {
8427 (char *) "self",(char *) "from",(char *) "to", NULL
8428 };
8429
994141e6 8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8433 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 8434 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8435 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 8436 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 {
8445#if wxUSE_UNICODE
8446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8447#else
8448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8449#endif
8450 }
8451 return resultobj;
8452 fail:
8453 return NULL;
8454}
8455
8456
c32bde28 8457static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8458 PyObject *resultobj;
8459 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8460 long arg2 ;
8461 int result;
8462 PyObject * obj0 = 0 ;
994141e6 8463 PyObject * obj1 = 0 ;
d14a1e28
RD
8464 char *kwnames[] = {
8465 (char *) "self",(char *) "lineNo", NULL
8466 };
8467
994141e6 8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8471 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 8472 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
c32bde28 8480 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8481 return resultobj;
8482 fail:
8483 return NULL;
8484}
8485
8486
c32bde28 8487static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8488 PyObject *resultobj;
8489 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8490 long arg2 ;
8491 wxString result;
8492 PyObject * obj0 = 0 ;
994141e6 8493 PyObject * obj1 = 0 ;
d14a1e28
RD
8494 char *kwnames[] = {
8495 (char *) "self",(char *) "lineNo", NULL
8496 };
8497
994141e6 8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8501 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 8502 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8506
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 {
8511#if wxUSE_UNICODE
8512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8513#else
8514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8515#endif
8516 }
8517 return resultobj;
8518 fail:
8519 return NULL;
8520}
8521
8522
c32bde28 8523static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8524 PyObject *resultobj;
8525 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8526 int result;
8527 PyObject * obj0 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
15afbcd0
RD
8533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
c32bde28 8542 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8543 return resultobj;
8544 fail:
8545 return NULL;
8546}
8547
8548
c32bde28 8549static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8550 PyObject *resultobj;
8551 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8552 bool result;
8553 PyObject * obj0 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "self", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
15afbcd0
RD
8559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
4f89f6a3
RD
8568 {
8569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8570 }
d14a1e28
RD
8571 return resultobj;
8572 fail:
8573 return NULL;
8574}
8575
8576
c32bde28 8577static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8578 PyObject *resultobj;
8579 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8580 bool result;
8581 PyObject * obj0 = 0 ;
8582 char *kwnames[] = {
8583 (char *) "self", NULL
8584 };
8585
8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
15afbcd0
RD
8587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
4f89f6a3
RD
8596 {
8597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8598 }
d14a1e28
RD
8599 return resultobj;
8600 fail:
8601 return NULL;
8602}
8603
8604
c32bde28 8605static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8606 PyObject *resultobj;
8607 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8608 bool result;
8609 PyObject * obj0 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
4f89f6a3
RD
8624 {
8625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8626 }
d14a1e28
RD
8627 return resultobj;
8628 fail:
8629 return NULL;
8630}
8631
8632
c32bde28 8633static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8634 PyObject *resultobj;
8635 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8636 bool result;
8637 PyObject * obj0 = 0 ;
8638 char *kwnames[] = {
8639 (char *) "self", NULL
8640 };
8641
8642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
4f89f6a3
RD
8652 {
8653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8654 }
d14a1e28
RD
8655 return resultobj;
8656 fail:
8657 return NULL;
8658}
8659
8660
c32bde28 8661static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8662 PyObject *resultobj;
8663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8664 long *arg2 = (long *) 0 ;
8665 long *arg3 = (long *) 0 ;
8666 long temp2 ;
c32bde28 8667 int res2 = 0 ;
d14a1e28 8668 long temp3 ;
c32bde28 8669 int res3 = 0 ;
d14a1e28
RD
8670 PyObject * obj0 = 0 ;
8671 char *kwnames[] = {
8672 (char *) "self", NULL
8673 };
8674
c32bde28
RD
8675 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8676 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
8688 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8689 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
8690 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8691 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
8692 return resultobj;
8693 fail:
8694 return NULL;
8695}
8696
8697
c32bde28 8698static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8699 PyObject *resultobj;
8700 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8701 wxString result;
8702 PyObject * obj0 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 {
8718#if wxUSE_UNICODE
8719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8720#else
8721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8722#endif
8723 }
8724 return resultobj;
8725 fail:
8726 return NULL;
8727}
8728
8729
c32bde28 8730static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8731 PyObject *resultobj;
8732 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8733 PyObject * obj0 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
8739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 (arg1)->Clear();
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 Py_INCREF(Py_None); resultobj = Py_None;
8749 return resultobj;
8750 fail:
8751 return NULL;
8752}
8753
8754
c32bde28 8755static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8756 PyObject *resultobj;
8757 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8758 long arg2 ;
8759 long arg3 ;
8760 wxString *arg4 = 0 ;
ae8162c8 8761 bool temp4 = false ;
d14a1e28 8762 PyObject * obj0 = 0 ;
994141e6
RD
8763 PyObject * obj1 = 0 ;
8764 PyObject * obj2 = 0 ;
d14a1e28
RD
8765 PyObject * obj3 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8768 };
8769
994141e6 8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8773 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 8774 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8775 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 8776 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8777 {
8778 arg4 = wxString_in_helper(obj3);
8779 if (arg4 == NULL) SWIG_fail;
ae8162c8 8780 temp4 = true;
d14a1e28
RD
8781 }
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 Py_INCREF(Py_None); resultobj = Py_None;
8790 {
8791 if (temp4)
8792 delete arg4;
8793 }
8794 return resultobj;
8795 fail:
8796 {
8797 if (temp4)
8798 delete arg4;
8799 }
8800 return NULL;
8801}
8802
8803
c32bde28 8804static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8805 PyObject *resultobj;
8806 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8807 long arg2 ;
8808 long arg3 ;
8809 PyObject * obj0 = 0 ;
994141e6
RD
8810 PyObject * obj1 = 0 ;
8811 PyObject * obj2 = 0 ;
d14a1e28
RD
8812 char *kwnames[] = {
8813 (char *) "self",(char *) "from",(char *) "to", NULL
8814 };
8815
994141e6 8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8819 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 8820 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8821 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 8822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 (arg1)->Remove(arg2,arg3);
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 Py_INCREF(Py_None); resultobj = Py_None;
8831 return resultobj;
8832 fail:
8833 return NULL;
8834}
8835
8836
c32bde28 8837static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8838 PyObject *resultobj;
8839 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8840 wxString *arg2 = 0 ;
8841 bool result;
ae8162c8 8842 bool temp2 = false ;
d14a1e28
RD
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self",(char *) "file", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8852 {
8853 arg2 = wxString_in_helper(obj1);
8854 if (arg2 == NULL) SWIG_fail;
ae8162c8 8855 temp2 = true;
d14a1e28
RD
8856 }
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8859 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
4f89f6a3
RD
8864 {
8865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8866 }
d14a1e28
RD
8867 {
8868 if (temp2)
8869 delete arg2;
8870 }
8871 return resultobj;
8872 fail:
8873 {
8874 if (temp2)
8875 delete arg2;
8876 }
8877 return NULL;
8878}
8879
8880
c32bde28 8881static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8882 PyObject *resultobj;
8883 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8884 wxString const &arg2_defvalue = wxPyEmptyString ;
8885 wxString *arg2 = (wxString *) &arg2_defvalue ;
8886 bool result;
ae8162c8 8887 bool temp2 = false ;
d14a1e28
RD
8888 PyObject * obj0 = 0 ;
8889 PyObject * obj1 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self",(char *) "file", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) 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 if (obj1) {
8898 {
8899 arg2 = wxString_in_helper(obj1);
8900 if (arg2 == NULL) SWIG_fail;
ae8162c8 8901 temp2 = true;
d14a1e28
RD
8902 }
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
4f89f6a3
RD
8911 {
8912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8913 }
d14a1e28
RD
8914 {
8915 if (temp2)
8916 delete arg2;
8917 }
8918 return resultobj;
8919 fail:
8920 {
8921 if (temp2)
8922 delete arg2;
8923 }
8924 return NULL;
8925}
8926
8927
c32bde28 8928static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8929 PyObject *resultobj;
8930 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8931 PyObject * obj0 = 0 ;
8932 char *kwnames[] = {
8933 (char *) "self", NULL
8934 };
8935
8936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
15afbcd0
RD
8937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 (arg1)->MarkDirty();
8942
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 Py_INCREF(Py_None); resultobj = Py_None;
8947 return resultobj;
8948 fail:
8949 return NULL;
8950}
8951
8952
c32bde28 8953static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8954 PyObject *resultobj;
8955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8956 PyObject * obj0 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "self", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
15afbcd0
RD
8962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->DiscardEdits();
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 return resultobj;
8973 fail:
8974 return NULL;
8975}
8976
8977
c32bde28 8978static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8979 PyObject *resultobj;
8980 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8981 unsigned long arg2 ;
8982 PyObject * obj0 = 0 ;
8983 PyObject * obj1 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self",(char *) "len", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8991 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 8992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8993 {
8994 PyThreadState* __tstate = wxPyBeginAllowThreads();
8995 (arg1)->SetMaxLength(arg2);
8996
8997 wxPyEndAllowThreads(__tstate);
8998 if (PyErr_Occurred()) SWIG_fail;
8999 }
9000 Py_INCREF(Py_None); resultobj = Py_None;
9001 return resultobj;
9002 fail:
9003 return NULL;
9004}
9005
9006
c32bde28 9007static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9008 PyObject *resultobj;
9009 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9010 wxString *arg2 = 0 ;
ae8162c8 9011 bool temp2 = false ;
d14a1e28
RD
9012 PyObject * obj0 = 0 ;
9013 PyObject * obj1 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self",(char *) "text", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9021 {
9022 arg2 = wxString_in_helper(obj1);
9023 if (arg2 == NULL) SWIG_fail;
ae8162c8 9024 temp2 = true;
d14a1e28
RD
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 (arg1)->WriteText((wxString const &)*arg2);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 Py_INCREF(Py_None); resultobj = Py_None;
9034 {
9035 if (temp2)
9036 delete arg2;
9037 }
9038 return resultobj;
9039 fail:
9040 {
9041 if (temp2)
9042 delete arg2;
9043 }
9044 return NULL;
9045}
9046
9047
c32bde28 9048static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9049 PyObject *resultobj;
9050 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9051 wxString *arg2 = 0 ;
ae8162c8 9052 bool temp2 = false ;
d14a1e28
RD
9053 PyObject * obj0 = 0 ;
9054 PyObject * obj1 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "self",(char *) "text", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9062 {
9063 arg2 = wxString_in_helper(obj1);
9064 if (arg2 == NULL) SWIG_fail;
ae8162c8 9065 temp2 = true;
d14a1e28
RD
9066 }
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 (arg1)->AppendText((wxString const &)*arg2);
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 Py_INCREF(Py_None); resultobj = Py_None;
9075 {
9076 if (temp2)
9077 delete arg2;
9078 }
9079 return resultobj;
9080 fail:
9081 {
9082 if (temp2)
9083 delete arg2;
9084 }
9085 return NULL;
9086}
9087
9088
c32bde28 9089static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9090 PyObject *resultobj;
9091 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9092 wxKeyEvent *arg2 = 0 ;
9093 bool result;
9094 PyObject * obj0 = 0 ;
9095 PyObject * obj1 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "self",(char *) "event", NULL
9098 };
9099
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
9104 SWIG_POINTER_EXCEPTION | 0)) == -1)
9105 SWIG_fail;
d14a1e28 9106 if (arg2 == NULL) {
15afbcd0
RD
9107 PyErr_SetString(PyExc_TypeError,"null reference");
9108 SWIG_fail;
d14a1e28
RD
9109 }
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
4f89f6a3
RD
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
d14a1e28
RD
9120 return resultobj;
9121 fail:
9122 return NULL;
9123}
9124
9125
c32bde28 9126static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9127 PyObject *resultobj;
9128 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9129 long arg2 ;
9130 long arg3 ;
9131 wxTextAttr *arg4 = 0 ;
9132 bool result;
9133 PyObject * obj0 = 0 ;
994141e6
RD
9134 PyObject * obj1 = 0 ;
9135 PyObject * obj2 = 0 ;
d14a1e28
RD
9136 PyObject * obj3 = 0 ;
9137 char *kwnames[] = {
9138 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9139 };
9140
994141e6 9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9144 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9145 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9146 arg3 = (long)SWIG_As_long(obj2);
15afbcd0
RD
9147 if (PyErr_Occurred()) SWIG_fail;
9148 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9149 SWIG_POINTER_EXCEPTION | 0)) == -1)
9150 SWIG_fail;
d14a1e28 9151 if (arg4 == NULL) {
15afbcd0
RD
9152 PyErr_SetString(PyExc_TypeError,"null reference");
9153 SWIG_fail;
d14a1e28
RD
9154 }
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
4f89f6a3
RD
9162 {
9163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9164 }
d14a1e28
RD
9165 return resultobj;
9166 fail:
9167 return NULL;
9168}
9169
9170
c32bde28 9171static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9172 PyObject *resultobj;
9173 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9174 long arg2 ;
9175 wxTextAttr *arg3 = 0 ;
9176 bool result;
9177 PyObject * obj0 = 0 ;
994141e6 9178 PyObject * obj1 = 0 ;
d14a1e28
RD
9179 PyObject * obj2 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self",(char *) "position",(char *) "style", NULL
9182 };
9183
994141e6 9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9187 arg2 = (long)SWIG_As_long(obj1);
15afbcd0
RD
9188 if (PyErr_Occurred()) SWIG_fail;
9189 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9190 SWIG_POINTER_EXCEPTION | 0)) == -1)
9191 SWIG_fail;
d14a1e28 9192 if (arg3 == NULL) {
15afbcd0
RD
9193 PyErr_SetString(PyExc_TypeError,"null reference");
9194 SWIG_fail;
d14a1e28
RD
9195 }
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
4f89f6a3
RD
9203 {
9204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9205 }
d14a1e28
RD
9206 return resultobj;
9207 fail:
9208 return NULL;
9209}
9210
9211
c32bde28 9212static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9213 PyObject *resultobj;
9214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9215 wxTextAttr *arg2 = 0 ;
9216 bool result;
9217 PyObject * obj0 = 0 ;
9218 PyObject * obj1 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self",(char *) "style", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9227 SWIG_POINTER_EXCEPTION | 0)) == -1)
9228 SWIG_fail;
d14a1e28 9229 if (arg2 == NULL) {
15afbcd0
RD
9230 PyErr_SetString(PyExc_TypeError,"null reference");
9231 SWIG_fail;
d14a1e28
RD
9232 }
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
4f89f6a3
RD
9240 {
9241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9242 }
d14a1e28
RD
9243 return resultobj;
9244 fail:
9245 return NULL;
9246}
9247
9248
c32bde28 9249static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9250 PyObject *resultobj;
9251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9252 wxTextAttr *result;
9253 PyObject * obj0 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
9259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 {
9264 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9265 result = (wxTextAttr *) &_result_ref;
9266 }
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
15afbcd0 9271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
9272 return resultobj;
9273 fail:
9274 return NULL;
9275}
9276
9277
c32bde28 9278static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9279 PyObject *resultobj;
9280 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9281 long arg2 ;
9282 long arg3 ;
9283 long result;
9284 PyObject * obj0 = 0 ;
994141e6
RD
9285 PyObject * obj1 = 0 ;
9286 PyObject * obj2 = 0 ;
d14a1e28
RD
9287 char *kwnames[] = {
9288 (char *) "self",(char *) "x",(char *) "y", NULL
9289 };
9290
994141e6 9291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9294 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9295 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9296 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 9297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
c32bde28 9305 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
9306 return resultobj;
9307 fail:
9308 return NULL;
9309}
9310
9311
c32bde28 9312static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9313 PyObject *resultobj;
9314 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9315 long arg2 ;
9316 long *arg3 = (long *) 0 ;
9317 long *arg4 = (long *) 0 ;
9318 long temp3 ;
c32bde28 9319 int res3 = 0 ;
d14a1e28 9320 long temp4 ;
c32bde28 9321 int res4 = 0 ;
d14a1e28 9322 PyObject * obj0 = 0 ;
994141e6 9323 PyObject * obj1 = 0 ;
d14a1e28
RD
9324 char *kwnames[] = {
9325 (char *) "self",(char *) "pos", NULL
9326 };
9327
c32bde28
RD
9328 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9329 arg4 = &temp4; res4 = SWIG_NEWOBJ;
994141e6 9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9333 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9334 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
9343 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9344 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9345 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9346 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d14a1e28
RD
9347 return resultobj;
9348 fail:
9349 return NULL;
9350}
9351
9352
c32bde28 9353static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9354 PyObject *resultobj;
9355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9356 long arg2 ;
9357 PyObject * obj0 = 0 ;
994141e6 9358 PyObject * obj1 = 0 ;
d14a1e28
RD
9359 char *kwnames[] = {
9360 (char *) "self",(char *) "pos", NULL
9361 };
9362
994141e6 9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9366 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9367 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->ShowPosition(arg2);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 Py_INCREF(Py_None); resultobj = Py_None;
9376 return resultobj;
9377 fail:
9378 return NULL;
9379}
9380
9381
c32bde28 9382static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
9383 PyObject *resultobj;
9384 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9385 wxPoint *arg2 = 0 ;
9386 long *arg3 = (long *) 0 ;
9387 long *arg4 = (long *) 0 ;
9388 int result;
9389 wxPoint temp2 ;
9390 long temp3 ;
c32bde28 9391 int res3 = 0 ;
4d5c3d91 9392 long temp4 ;
c32bde28 9393 int res4 = 0 ;
4d5c3d91
RD
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self",(char *) "pt", NULL
9398 };
9399
c32bde28
RD
9400 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9401 arg4 = &temp4; res4 = SWIG_NEWOBJ;
4d5c3d91 9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
9405 {
9406 arg2 = &temp2;
9407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9408 }
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
c32bde28
RD
9416 resultobj = SWIG_From_int((int)result);
9417 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9418 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9419 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9420 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
4d5c3d91
RD
9421 return resultobj;
9422 fail:
9423 return NULL;
9424}
9425
9426
c32bde28 9427static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
9428 PyObject *resultobj;
9429 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9430 wxPoint *arg2 = 0 ;
9431 long *arg3 = (long *) 0 ;
9432 int result;
9433 wxPoint temp2 ;
9434 long temp3 ;
c32bde28 9435 int res3 = 0 ;
4896ac9e
RD
9436 PyObject * obj0 = 0 ;
9437 PyObject * obj1 = 0 ;
9438 char *kwnames[] = {
9439 (char *) "self",(char *) "pt", NULL
9440 };
9441
c32bde28 9442 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e
RD
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
9444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9446 {
9447 arg2 = &temp2;
9448 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9449 }
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
c32bde28
RD
9457 resultobj = SWIG_From_int((int)result);
9458 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9459 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
9460 return resultobj;
9461 fail:
9462 return NULL;
9463}
9464
9465
c32bde28 9466static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9467 PyObject *resultobj;
9468 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9469 PyObject * obj0 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "self", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 (arg1)->Copy();
9480
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 Py_INCREF(Py_None); resultobj = Py_None;
9485 return resultobj;
9486 fail:
9487 return NULL;
9488}
9489
9490
c32bde28 9491static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9492 PyObject *resultobj;
9493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9494 PyObject * obj0 = 0 ;
9495 char *kwnames[] = {
9496 (char *) "self", NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 (arg1)->Cut();
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 Py_INCREF(Py_None); resultobj = Py_None;
9510 return resultobj;
9511 fail:
9512 return NULL;
9513}
9514
9515
c32bde28 9516static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9517 PyObject *resultobj;
9518 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9519 PyObject * obj0 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
9525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 (arg1)->Paste();
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 Py_INCREF(Py_None); resultobj = Py_None;
9535 return resultobj;
9536 fail:
9537 return NULL;
9538}
9539
9540
c32bde28 9541static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9542 PyObject *resultobj;
9543 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9544 bool result;
9545 PyObject * obj0 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "self", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9553 {
9554 PyThreadState* __tstate = wxPyBeginAllowThreads();
9555 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9556
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
4f89f6a3
RD
9560 {
9561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9562 }
d14a1e28
RD
9563 return resultobj;
9564 fail:
9565 return NULL;
9566}
9567
9568
c32bde28 9569static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9570 PyObject *resultobj;
9571 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9572 bool result;
9573 PyObject * obj0 = 0 ;
9574 char *kwnames[] = {
9575 (char *) "self", NULL
9576 };
9577
9578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9581 {
9582 PyThreadState* __tstate = wxPyBeginAllowThreads();
9583 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9584
9585 wxPyEndAllowThreads(__tstate);
9586 if (PyErr_Occurred()) SWIG_fail;
9587 }
4f89f6a3
RD
9588 {
9589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9590 }
d14a1e28
RD
9591 return resultobj;
9592 fail:
9593 return NULL;
9594}
9595
9596
c32bde28 9597static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9598 PyObject *resultobj;
9599 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9600 bool result;
9601 PyObject * obj0 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
15afbcd0
RD
9607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
4f89f6a3
RD
9616 {
9617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9618 }
d14a1e28
RD
9619 return resultobj;
9620 fail:
9621 return NULL;
9622}
9623
9624
c32bde28 9625static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9626 PyObject *resultobj;
9627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9628 PyObject * obj0 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->Undo();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 Py_INCREF(Py_None); resultobj = Py_None;
9644 return resultobj;
9645 fail:
9646 return NULL;
9647}
9648
9649
c32bde28 9650static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9651 PyObject *resultobj;
9652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9653 PyObject * obj0 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 (arg1)->Redo();
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 Py_INCREF(Py_None); resultobj = Py_None;
9669 return resultobj;
9670 fail:
9671 return NULL;
9672}
9673
9674
c32bde28 9675static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9676 PyObject *resultobj;
9677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9678 bool result;
9679 PyObject * obj0 = 0 ;
9680 char *kwnames[] = {
9681 (char *) "self", NULL
9682 };
9683
9684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
4f89f6a3
RD
9694 {
9695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9696 }
d14a1e28
RD
9697 return resultobj;
9698 fail:
9699 return NULL;
9700}
9701
9702
c32bde28 9703static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9704 PyObject *resultobj;
9705 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9706 bool result;
9707 PyObject * obj0 = 0 ;
9708 char *kwnames[] = {
9709 (char *) "self", NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
4f89f6a3
RD
9722 {
9723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9724 }
d14a1e28
RD
9725 return resultobj;
9726 fail:
9727 return NULL;
9728}
9729
9730
c32bde28 9731static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9732 PyObject *resultobj;
9733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9734 long arg2 ;
9735 PyObject * obj0 = 0 ;
994141e6 9736 PyObject * obj1 = 0 ;
d14a1e28
RD
9737 char *kwnames[] = {
9738 (char *) "self",(char *) "pos", NULL
9739 };
9740
994141e6 9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9744 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9745 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 (arg1)->SetInsertionPoint(arg2);
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 Py_INCREF(Py_None); resultobj = Py_None;
9754 return resultobj;
9755 fail:
9756 return NULL;
9757}
9758
9759
c32bde28 9760static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9761 PyObject *resultobj;
9762 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9763 PyObject * obj0 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 (arg1)->SetInsertionPointEnd();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 Py_INCREF(Py_None); resultobj = Py_None;
9779 return resultobj;
9780 fail:
9781 return NULL;
9782}
9783
9784
c32bde28 9785static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9786 PyObject *resultobj;
9787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9788 long result;
9789 PyObject * obj0 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
9795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
c32bde28 9804 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
9805 return resultobj;
9806 fail:
9807 return NULL;
9808}
9809
9810
c32bde28 9811static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9812 PyObject *resultobj;
9813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9814 long result;
9815 PyObject * obj0 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9826
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
c32bde28 9830 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
9831 return resultobj;
9832 fail:
9833 return NULL;
9834}
9835
9836
c32bde28 9837static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9838 PyObject *resultobj;
9839 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9840 long arg2 ;
9841 long arg3 ;
9842 PyObject * obj0 = 0 ;
994141e6
RD
9843 PyObject * obj1 = 0 ;
9844 PyObject * obj2 = 0 ;
d14a1e28
RD
9845 char *kwnames[] = {
9846 (char *) "self",(char *) "from",(char *) "to", NULL
9847 };
9848
994141e6 9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9852 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9853 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9854 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 9855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 (arg1)->SetSelection(arg2,arg3);
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 Py_INCREF(Py_None); resultobj = Py_None;
9864 return resultobj;
9865 fail:
9866 return NULL;
9867}
9868
9869
c32bde28 9870static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9871 PyObject *resultobj;
9872 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9873 PyObject * obj0 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 (arg1)->SelectAll();
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 Py_INCREF(Py_None); resultobj = Py_None;
9889 return resultobj;
9890 fail:
9891 return NULL;
9892}
9893
9894
c32bde28 9895static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9896 PyObject *resultobj;
9897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9898 bool arg2 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self",(char *) "editable", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9908 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 9909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 (arg1)->SetEditable(arg2);
9913
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 Py_INCREF(Py_None); resultobj = Py_None;
9918 return resultobj;
9919 fail:
9920 return NULL;
9921}
9922
9923
c32bde28 9924static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9925 PyObject *resultobj;
9926 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9927 wxString *arg2 = 0 ;
ae8162c8 9928 bool temp2 = false ;
d14a1e28
RD
9929 PyObject * obj0 = 0 ;
9930 PyObject * obj1 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self",(char *) "text", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9938 {
9939 arg2 = wxString_in_helper(obj1);
9940 if (arg2 == NULL) SWIG_fail;
ae8162c8 9941 temp2 = true;
d14a1e28
RD
9942 }
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9946
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 Py_INCREF(Py_None); resultobj = Py_None;
9951 {
9952 if (temp2)
9953 delete arg2;
9954 }
9955 return resultobj;
9956 fail:
9957 {
9958 if (temp2)
9959 delete arg2;
9960 }
9961 return NULL;
9962}
9963
9964
c32bde28 9965static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9966 PyObject *resultobj;
9967 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9968 long arg2 ;
9969 long arg3 ;
9970 wxString result;
9971 PyObject * obj0 = 0 ;
994141e6
RD
9972 PyObject * obj1 = 0 ;
9973 PyObject * obj2 = 0 ;
d14a1e28
RD
9974 char *kwnames[] = {
9975 (char *) "self",(char *) "from",(char *) "to", NULL
9976 };
9977
994141e6 9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9981 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9982 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9983 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 9984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9988
9989 wxPyEndAllowThreads(__tstate);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 }
9992 {
9993#if wxUSE_UNICODE
9994 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9995#else
9996 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9997#endif
9998 }
9999 return resultobj;
10000 fail:
10001 return NULL;
10002}
10003
10004
c32bde28 10005static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
10006 PyObject *resultobj;
10007 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10008 wxVisualAttributes result;
10009 PyObject * obj0 = 0 ;
10010 char *kwnames[] = {
10011 (char *) "variant", NULL
10012 };
10013
10014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10015 if (obj0) {
c32bde28 10016 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 {
110da5b0 10020 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
10023
10024 wxPyEndAllowThreads(__tstate);
dfbb5885 10025 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
10026 }
10027 {
10028 wxVisualAttributes * resultptr;
10029 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035}
10036
10037
c32bde28 10038static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10039 PyObject *obj;
10040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10041 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
10042 Py_INCREF(obj);
10043 return Py_BuildValue((char *)"");
10044}
c32bde28 10045static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10046 PyObject *resultobj;
10047 int arg1 ;
10048 wxMouseEvent *arg2 = 0 ;
10049 long arg3 ;
10050 long arg4 ;
10051 wxTextUrlEvent *result;
994141e6 10052 PyObject * obj0 = 0 ;
d14a1e28 10053 PyObject * obj1 = 0 ;
994141e6
RD
10054 PyObject * obj2 = 0 ;
10055 PyObject * obj3 = 0 ;
d14a1e28
RD
10056 char *kwnames[] = {
10057 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10058 };
10059
994141e6 10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
c32bde28 10061 arg1 = (int)SWIG_As_int(obj0);
15afbcd0
RD
10062 if (PyErr_Occurred()) SWIG_fail;
10063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
10064 SWIG_POINTER_EXCEPTION | 0)) == -1)
10065 SWIG_fail;
d14a1e28 10066 if (arg2 == NULL) {
15afbcd0
RD
10067 PyErr_SetString(PyExc_TypeError,"null reference");
10068 SWIG_fail;
994141e6 10069 }
c32bde28 10070 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 10071 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10072 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 10073 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
15afbcd0 10081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
10082 return resultobj;
10083 fail:
10084 return NULL;
10085}
10086
10087
c32bde28 10088static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10089 PyObject *resultobj;
10090 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10091 wxMouseEvent *result;
10092 PyObject * obj0 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
10098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 {
10103 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
10104 result = (wxMouseEvent *) &_result_ref;
10105 }
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
15afbcd0 10110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
10111 return resultobj;
10112 fail:
10113 return NULL;
10114}
10115
10116
c32bde28 10117static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10118 PyObject *resultobj;
10119 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10120 long result;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
10127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
c32bde28 10136 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
10137 return resultobj;
10138 fail:
10139 return NULL;
10140}
10141
10142
c32bde28 10143static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10144 PyObject *resultobj;
10145 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10146 long result;
10147 PyObject * obj0 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
10153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
c32bde28 10162 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
10163 return resultobj;
10164 fail:
10165 return NULL;
10166}
10167
10168
c32bde28 10169static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10170 PyObject *obj;
10171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10172 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10173 Py_INCREF(obj);
10174 return Py_BuildValue((char *)"");
10175}
c32bde28 10176static int _wrap_ScrollBarNameStr_set(PyObject *) {
b2dc1044
RD
10177 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10178 return 1;
10179}
10180
10181
10182static PyObject *_wrap_ScrollBarNameStr_get() {
10183 PyObject *pyobj;
10184
10185 {
10186#if wxUSE_UNICODE
10187 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10188#else
10189 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10190#endif
10191 }
10192 return pyobj;
10193}
10194
10195
c32bde28 10196static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10197 PyObject *resultobj;
10198 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10199 int arg2 = (int) -1 ;
d14a1e28
RD
10200 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10201 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10202 wxSize const &arg4_defvalue = wxDefaultSize ;
10203 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10204 long arg5 = (long) wxSB_HORIZONTAL ;
10205 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10206 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10207 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10208 wxString *arg7 = (wxString *) &arg7_defvalue ;
10209 wxScrollBar *result;
10210 wxPoint temp3 ;
10211 wxSize temp4 ;
ae8162c8 10212 bool temp7 = false ;
d14a1e28 10213 PyObject * obj0 = 0 ;
994141e6 10214 PyObject * obj1 = 0 ;
d14a1e28
RD
10215 PyObject * obj2 = 0 ;
10216 PyObject * obj3 = 0 ;
994141e6 10217 PyObject * obj4 = 0 ;
d14a1e28
RD
10218 PyObject * obj5 = 0 ;
10219 PyObject * obj6 = 0 ;
10220 char *kwnames[] = {
10221 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10222 };
10223
994141e6 10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10227 if (obj1) {
c32bde28 10228 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10229 if (PyErr_Occurred()) SWIG_fail;
994141e6 10230 }
d14a1e28
RD
10231 if (obj2) {
10232 {
10233 arg3 = &temp3;
10234 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10235 }
10236 }
10237 if (obj3) {
10238 {
10239 arg4 = &temp4;
10240 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10241 }
10242 }
994141e6 10243 if (obj4) {
c32bde28 10244 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 10245 if (PyErr_Occurred()) SWIG_fail;
994141e6 10246 }
d14a1e28 10247 if (obj5) {
15afbcd0
RD
10248 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10249 SWIG_POINTER_EXCEPTION | 0)) == -1)
10250 SWIG_fail;
d14a1e28 10251 if (arg6 == NULL) {
15afbcd0
RD
10252 PyErr_SetString(PyExc_TypeError,"null reference");
10253 SWIG_fail;
d14a1e28
RD
10254 }
10255 }
10256 if (obj6) {
10257 {
10258 arg7 = wxString_in_helper(obj6);
10259 if (arg7 == NULL) SWIG_fail;
ae8162c8 10260 temp7 = true;
d14a1e28
RD
10261 }
10262 }
10263 {
e3b71cb8 10264 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10267
10268 wxPyEndAllowThreads(__tstate);
110da5b0 10269 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10270 }
15afbcd0 10271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
10272 {
10273 if (temp7)
10274 delete arg7;
10275 }
10276 return resultobj;
10277 fail:
10278 {
10279 if (temp7)
10280 delete arg7;
10281 }
10282 return NULL;
10283}
10284
10285
c32bde28 10286static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10287 PyObject *resultobj;
10288 wxScrollBar *result;
10289 char *kwnames[] = {
10290 NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10294 {
e3b71cb8 10295 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 result = (wxScrollBar *)new wxScrollBar();
10298
10299 wxPyEndAllowThreads(__tstate);
110da5b0 10300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10301 }
15afbcd0 10302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
10303 return resultobj;
10304 fail:
10305 return NULL;
10306}
10307
10308
c32bde28 10309static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10310 PyObject *resultobj;
10311 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10312 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10313 int arg3 = (int) -1 ;
d14a1e28
RD
10314 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10315 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10316 wxSize const &arg5_defvalue = wxDefaultSize ;
10317 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10318 long arg6 = (long) wxSB_HORIZONTAL ;
10319 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10320 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10321 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10322 wxString *arg8 = (wxString *) &arg8_defvalue ;
10323 bool result;
10324 wxPoint temp4 ;
10325 wxSize temp5 ;
ae8162c8 10326 bool temp8 = false ;
d14a1e28
RD
10327 PyObject * obj0 = 0 ;
10328 PyObject * obj1 = 0 ;
994141e6 10329 PyObject * obj2 = 0 ;
d14a1e28
RD
10330 PyObject * obj3 = 0 ;
10331 PyObject * obj4 = 0 ;
994141e6 10332 PyObject * obj5 = 0 ;
d14a1e28
RD
10333 PyObject * obj6 = 0 ;
10334 PyObject * obj7 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10337 };
10338
994141e6 10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10344 if (obj2) {
c32bde28 10345 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10346 if (PyErr_Occurred()) SWIG_fail;
994141e6 10347 }
d14a1e28
RD
10348 if (obj3) {
10349 {
10350 arg4 = &temp4;
10351 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10352 }
10353 }
10354 if (obj4) {
10355 {
10356 arg5 = &temp5;
10357 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10358 }
10359 }
994141e6 10360 if (obj5) {
c32bde28 10361 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 10362 if (PyErr_Occurred()) SWIG_fail;
994141e6 10363 }
d14a1e28 10364 if (obj6) {
15afbcd0
RD
10365 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10366 SWIG_POINTER_EXCEPTION | 0)) == -1)
10367 SWIG_fail;
d14a1e28 10368 if (arg7 == NULL) {
15afbcd0
RD
10369 PyErr_SetString(PyExc_TypeError,"null reference");
10370 SWIG_fail;
d14a1e28
RD
10371 }
10372 }
10373 if (obj7) {
10374 {
10375 arg8 = wxString_in_helper(obj7);
10376 if (arg8 == NULL) SWIG_fail;
ae8162c8 10377 temp8 = true;
d14a1e28
RD
10378 }
10379 }
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10383
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
4f89f6a3
RD
10387 {
10388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10389 }
d14a1e28
RD
10390 {
10391 if (temp8)
10392 delete arg8;
10393 }
10394 return resultobj;
10395 fail:
10396 {
10397 if (temp8)
10398 delete arg8;
10399 }
10400 return NULL;
10401}
10402
10403
c32bde28 10404static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10405 PyObject *resultobj;
10406 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10407 int result;
10408 PyObject * obj0 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
c32bde28 10423 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10424 return resultobj;
10425 fail:
10426 return NULL;
10427}
10428
10429
c32bde28 10430static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10431 PyObject *resultobj;
10432 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10433 int result;
10434 PyObject * obj0 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10445
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
c32bde28 10449 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10450 return resultobj;
10451 fail:
10452 return NULL;
10453}
10454
10455
c32bde28 10456static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10457 PyObject *resultobj;
10458 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10459 int result;
10460 PyObject * obj0 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
c32bde28 10475 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10476 return resultobj;
10477 fail:
10478 return NULL;
10479}
10480
10481
c32bde28 10482static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10483 PyObject *resultobj;
10484 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10485 int result;
10486 PyObject * obj0 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
10492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 result = (int)((wxScrollBar const *)arg1)->GetRange();
10497
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
c32bde28 10501 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10502 return resultobj;
10503 fail:
10504 return NULL;
10505}
10506
10507
c32bde28 10508static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10509 PyObject *resultobj;
10510 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10511 bool result;
10512 PyObject * obj0 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
10518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
4f89f6a3
RD
10527 {
10528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10529 }
d14a1e28
RD
10530 return resultobj;
10531 fail:
10532 return NULL;
10533}
10534
10535
c32bde28 10536static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10537 PyObject *resultobj;
10538 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10539 int arg2 ;
10540 PyObject * obj0 = 0 ;
994141e6 10541 PyObject * obj1 = 0 ;
d14a1e28
RD
10542 char *kwnames[] = {
10543 (char *) "self",(char *) "viewStart", NULL
10544 };
10545
994141e6 10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10549 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10550 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 (arg1)->SetThumbPosition(arg2);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562}
10563
10564
c32bde28 10565static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10566 PyObject *resultobj;
10567 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10568 int arg2 ;
10569 int arg3 ;
10570 int arg4 ;
10571 int arg5 ;
ae8162c8 10572 bool arg6 = (bool) true ;
d14a1e28 10573 PyObject * obj0 = 0 ;
994141e6
RD
10574 PyObject * obj1 = 0 ;
10575 PyObject * obj2 = 0 ;
10576 PyObject * obj3 = 0 ;
10577 PyObject * obj4 = 0 ;
d14a1e28
RD
10578 PyObject * obj5 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10581 };
10582
994141e6 10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10586 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10587 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10588 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10589 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10590 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10591 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10592 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 10593 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10594 if (obj5) {
c32bde28 10595 arg6 = (bool)SWIG_As_bool(obj5);
15afbcd0 10596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10597 }
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 Py_INCREF(Py_None); resultobj = Py_None;
10606 return resultobj;
10607 fail:
10608 return NULL;
10609}
10610
10611
c32bde28 10612static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
10613 PyObject *resultobj;
10614 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10615 wxVisualAttributes result;
10616 PyObject * obj0 = 0 ;
10617 char *kwnames[] = {
10618 (char *) "variant", NULL
10619 };
10620
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10622 if (obj0) {
c32bde28 10623 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 {
110da5b0 10627 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
10628 PyThreadState* __tstate = wxPyBeginAllowThreads();
10629 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10630
10631 wxPyEndAllowThreads(__tstate);
dfbb5885 10632 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
10633 }
10634 {
10635 wxVisualAttributes * resultptr;
10636 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10638 }
10639 return resultobj;
10640 fail:
10641 return NULL;
10642}
10643
10644
c32bde28 10645static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10646 PyObject *obj;
10647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10648 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10649 Py_INCREF(obj);
10650 return Py_BuildValue((char *)"");
10651}
c32bde28 10652static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
b2dc1044
RD
10653 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10654 return 1;
10655}
10656
10657
10658static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10659 PyObject *pyobj;
10660
10661 {
10662#if wxUSE_UNICODE
10663 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10664#else
10665 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10666#endif
10667 }
10668 return pyobj;
10669}
10670
10671
c32bde28 10672static int _wrap_SpinCtrlNameStr_set(PyObject *) {
b2dc1044
RD
10673 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10674 return 1;
10675}
10676
10677
10678static PyObject *_wrap_SpinCtrlNameStr_get() {
10679 PyObject *pyobj;
10680
10681 {
10682#if wxUSE_UNICODE
10683 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10684#else
10685 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10686#endif
10687 }
10688 return pyobj;
10689}
10690
10691
c32bde28 10692static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10693 PyObject *resultobj;
10694 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10695 int arg2 = (int) -1 ;
d14a1e28
RD
10696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10698 wxSize const &arg4_defvalue = wxDefaultSize ;
10699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10700 long arg5 = (long) wxSP_HORIZONTAL ;
10701 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10702 wxString *arg6 = (wxString *) &arg6_defvalue ;
10703 wxSpinButton *result;
10704 wxPoint temp3 ;
10705 wxSize temp4 ;
ae8162c8 10706 bool temp6 = false ;
d14a1e28 10707 PyObject * obj0 = 0 ;
994141e6 10708 PyObject * obj1 = 0 ;
d14a1e28
RD
10709 PyObject * obj2 = 0 ;
10710 PyObject * obj3 = 0 ;
994141e6 10711 PyObject * obj4 = 0 ;
d14a1e28
RD
10712 PyObject * obj5 = 0 ;
10713 char *kwnames[] = {
10714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10715 };
10716
994141e6 10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10720 if (obj1) {
c32bde28 10721 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10722 if (PyErr_Occurred()) SWIG_fail;
994141e6 10723 }
d14a1e28
RD
10724 if (obj2) {
10725 {
10726 arg3 = &temp3;
10727 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10728 }
10729 }
10730 if (obj3) {
10731 {
10732 arg4 = &temp4;
10733 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10734 }
10735 }
994141e6 10736 if (obj4) {
c32bde28 10737 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 10738 if (PyErr_Occurred()) SWIG_fail;
994141e6 10739 }
d14a1e28
RD
10740 if (obj5) {
10741 {
10742 arg6 = wxString_in_helper(obj5);
10743 if (arg6 == NULL) SWIG_fail;
ae8162c8 10744 temp6 = true;
d14a1e28
RD
10745 }
10746 }
10747 {
e3b71cb8 10748 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10751
10752 wxPyEndAllowThreads(__tstate);
110da5b0 10753 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10754 }
15afbcd0 10755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10756 {
10757 if (temp6)
10758 delete arg6;
10759 }
10760 return resultobj;
10761 fail:
10762 {
10763 if (temp6)
10764 delete arg6;
10765 }
10766 return NULL;
10767}
10768
10769
c32bde28 10770static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10771 PyObject *resultobj;
10772 wxSpinButton *result;
10773 char *kwnames[] = {
10774 NULL
10775 };
10776
10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10778 {
e3b71cb8 10779 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 result = (wxSpinButton *)new wxSpinButton();
10782
10783 wxPyEndAllowThreads(__tstate);
110da5b0 10784 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10785 }
15afbcd0 10786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10787 return resultobj;
10788 fail:
10789 return NULL;
10790}
10791
10792
c32bde28 10793static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10794 PyObject *resultobj;
10795 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10796 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10797 int arg3 = (int) -1 ;
d14a1e28
RD
10798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10800 wxSize const &arg5_defvalue = wxDefaultSize ;
10801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10802 long arg6 = (long) wxSP_HORIZONTAL ;
10803 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10804 wxString *arg7 = (wxString *) &arg7_defvalue ;
10805 bool result;
10806 wxPoint temp4 ;
10807 wxSize temp5 ;
ae8162c8 10808 bool temp7 = false ;
d14a1e28
RD
10809 PyObject * obj0 = 0 ;
10810 PyObject * obj1 = 0 ;
994141e6 10811 PyObject * obj2 = 0 ;
d14a1e28
RD
10812 PyObject * obj3 = 0 ;
10813 PyObject * obj4 = 0 ;
994141e6 10814 PyObject * obj5 = 0 ;
d14a1e28
RD
10815 PyObject * obj6 = 0 ;
10816 char *kwnames[] = {
10817 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10818 };
10819
994141e6 10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10825 if (obj2) {
c32bde28 10826 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10827 if (PyErr_Occurred()) SWIG_fail;
994141e6 10828 }
d14a1e28
RD
10829 if (obj3) {
10830 {
10831 arg4 = &temp4;
10832 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10833 }
10834 }
10835 if (obj4) {
10836 {
10837 arg5 = &temp5;
10838 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10839 }
10840 }
994141e6 10841 if (obj5) {
c32bde28 10842 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 10843 if (PyErr_Occurred()) SWIG_fail;
994141e6 10844 }
d14a1e28
RD
10845 if (obj6) {
10846 {
10847 arg7 = wxString_in_helper(obj6);
10848 if (arg7 == NULL) SWIG_fail;
ae8162c8 10849 temp7 = true;
d14a1e28
RD
10850 }
10851 }
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
4f89f6a3
RD
10859 {
10860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10861 }
d14a1e28
RD
10862 {
10863 if (temp7)
10864 delete arg7;
10865 }
10866 return resultobj;
10867 fail:
10868 {
10869 if (temp7)
10870 delete arg7;
10871 }
10872 return NULL;
10873}
10874
10875
c32bde28 10876static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10877 PyObject *resultobj;
10878 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10879 int result;
10880 PyObject * obj0 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 result = (int)((wxSpinButton const *)arg1)->GetValue();
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
c32bde28 10895 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10896 return resultobj;
10897 fail:
10898 return NULL;
10899}
10900
10901
c32bde28 10902static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10903 PyObject *resultobj;
10904 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10905 int result;
10906 PyObject * obj0 = 0 ;
10907 char *kwnames[] = {
10908 (char *) "self", NULL
10909 };
10910
10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 result = (int)((wxSpinButton const *)arg1)->GetMin();
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
c32bde28 10921 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10922 return resultobj;
10923 fail:
10924 return NULL;
10925}
10926
10927
c32bde28 10928static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10929 PyObject *resultobj;
10930 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10931 int result;
10932 PyObject * obj0 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (int)((wxSpinButton const *)arg1)->GetMax();
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
c32bde28 10947 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10948 return resultobj;
10949 fail:
10950 return NULL;
10951}
10952
10953
c32bde28 10954static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10955 PyObject *resultobj;
10956 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10957 int arg2 ;
10958 PyObject * obj0 = 0 ;
994141e6 10959 PyObject * obj1 = 0 ;
d14a1e28
RD
10960 char *kwnames[] = {
10961 (char *) "self",(char *) "val", NULL
10962 };
10963
994141e6 10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10967 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10968 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 (arg1)->SetValue(arg2);
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 Py_INCREF(Py_None); resultobj = Py_None;
10977 return resultobj;
10978 fail:
10979 return NULL;
10980}
10981
10982
c32bde28 10983static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10984 PyObject *resultobj;
10985 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10986 int arg2 ;
10987 PyObject * obj0 = 0 ;
994141e6 10988 PyObject * obj1 = 0 ;
d14a1e28
RD
10989 char *kwnames[] = {
10990 (char *) "self",(char *) "minVal", NULL
10991 };
10992
994141e6 10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10996 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10997 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 (arg1)->SetMin(arg2);
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 Py_INCREF(Py_None); resultobj = Py_None;
11006 return resultobj;
11007 fail:
11008 return NULL;
11009}
11010
11011
c32bde28 11012static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11013 PyObject *resultobj;
11014 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11015 int arg2 ;
11016 PyObject * obj0 = 0 ;
994141e6 11017 PyObject * obj1 = 0 ;
d14a1e28
RD
11018 char *kwnames[] = {
11019 (char *) "self",(char *) "maxVal", NULL
11020 };
11021
994141e6 11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11025 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
11029 (arg1)->SetMax(arg2);
11030
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 Py_INCREF(Py_None); resultobj = Py_None;
11035 return resultobj;
11036 fail:
11037 return NULL;
11038}
11039
11040
c32bde28 11041static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11042 PyObject *resultobj;
11043 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11044 int arg2 ;
11045 int arg3 ;
11046 PyObject * obj0 = 0 ;
994141e6
RD
11047 PyObject * obj1 = 0 ;
11048 PyObject * obj2 = 0 ;
d14a1e28
RD
11049 char *kwnames[] = {
11050 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11051 };
11052
994141e6 11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11056 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11057 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11058 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11059 if (PyErr_Occurred()) SWIG_fail;
994141e6 11060 {
15afbcd0
RD
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 (arg1)->SetRange(arg2,arg3);
11063
11064 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
22bfe96c
RD
11067 Py_INCREF(Py_None); resultobj = Py_None;
11068 return resultobj;
11069 fail:
11070 return NULL;
11071}
11072
11073
c32bde28 11074static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
11075 PyObject *resultobj;
11076 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11077 bool result;
11078 PyObject * obj0 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "self", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
11084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 {
11094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11095 }
d14a1e28
RD
11096 return resultobj;
11097 fail:
11098 return NULL;
11099}
11100
11101
c32bde28 11102static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11103 PyObject *resultobj;
22bfe96c
RD
11104 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11105 wxVisualAttributes result;
d14a1e28
RD
11106 PyObject * obj0 = 0 ;
11107 char *kwnames[] = {
22bfe96c 11108 (char *) "variant", NULL
d14a1e28
RD
11109 };
11110
22bfe96c
RD
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11112 if (obj0) {
c32bde28 11113 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
d14a1e28 11116 {
110da5b0 11117 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22bfe96c 11119 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d14a1e28
RD
11120
11121 wxPyEndAllowThreads(__tstate);
dfbb5885 11122 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11123 }
4f89f6a3 11124 {
22bfe96c
RD
11125 wxVisualAttributes * resultptr;
11126 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4f89f6a3 11128 }
d14a1e28
RD
11129 return resultobj;
11130 fail:
11131 return NULL;
11132}
11133
11134
c32bde28 11135static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11136 PyObject *obj;
11137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11138 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
11139 Py_INCREF(obj);
11140 return Py_BuildValue((char *)"");
11141}
c32bde28 11142static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11143 PyObject *resultobj;
11144 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11145 int arg2 = (int) -1 ;
d14a1e28
RD
11146 wxString const &arg3_defvalue = wxPyEmptyString ;
11147 wxString *arg3 = (wxString *) &arg3_defvalue ;
11148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11150 wxSize const &arg5_defvalue = wxDefaultSize ;
11151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11152 long arg6 = (long) wxSP_ARROW_KEYS ;
11153 int arg7 = (int) 0 ;
11154 int arg8 = (int) 100 ;
11155 int arg9 = (int) 0 ;
11156 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
11157 wxString *arg10 = (wxString *) &arg10_defvalue ;
11158 wxSpinCtrl *result;
ae8162c8 11159 bool temp3 = false ;
d14a1e28
RD
11160 wxPoint temp4 ;
11161 wxSize temp5 ;
ae8162c8 11162 bool temp10 = false ;
d14a1e28 11163 PyObject * obj0 = 0 ;
994141e6 11164 PyObject * obj1 = 0 ;
d14a1e28
RD
11165 PyObject * obj2 = 0 ;
11166 PyObject * obj3 = 0 ;
11167 PyObject * obj4 = 0 ;
994141e6
RD
11168 PyObject * obj5 = 0 ;
11169 PyObject * obj6 = 0 ;
11170 PyObject * obj7 = 0 ;
11171 PyObject * obj8 = 0 ;
d14a1e28
RD
11172 PyObject * obj9 = 0 ;
11173 char *kwnames[] = {
11174 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11175 };
11176
994141e6 11177 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
11178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11180 if (obj1) {
c32bde28 11181 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11182 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11183 }
11184 if (obj2) {
d14a1e28
RD
11185 {
11186 arg3 = wxString_in_helper(obj2);
11187 if (arg3 == NULL) SWIG_fail;
ae8162c8 11188 temp3 = true;
d14a1e28
RD
11189 }
11190 }
11191 if (obj3) {
11192 {
11193 arg4 = &temp4;
11194 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11195 }
11196 }
11197 if (obj4) {
11198 {
11199 arg5 = &temp5;
11200 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11201 }
11202 }
994141e6 11203 if (obj5) {
c32bde28 11204 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 11205 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11206 }
11207 if (obj6) {
c32bde28 11208 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 11209 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11210 }
11211 if (obj7) {
c32bde28 11212 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 11213 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11214 }
11215 if (obj8) {
c32bde28 11216 arg9 = (int)SWIG_As_int(obj8);
15afbcd0 11217 if (PyErr_Occurred()) SWIG_fail;
994141e6 11218 }
d14a1e28
RD
11219 if (obj9) {
11220 {
11221 arg10 = wxString_in_helper(obj9);
11222 if (arg10 == NULL) SWIG_fail;
ae8162c8 11223 temp10 = true;
d14a1e28
RD
11224 }
11225 }
11226 {
e3b71cb8 11227 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11230
11231 wxPyEndAllowThreads(__tstate);
110da5b0 11232 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11233 }
15afbcd0 11234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
11235 {
11236 if (temp3)
11237 delete arg3;
11238 }
11239 {
11240 if (temp10)
11241 delete arg10;
11242 }
11243 return resultobj;
11244 fail:
11245 {
11246 if (temp3)
11247 delete arg3;
11248 }
11249 {
11250 if (temp10)
11251 delete arg10;
11252 }
11253 return NULL;
11254}
11255
11256
c32bde28 11257static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11258 PyObject *resultobj;
11259 wxSpinCtrl *result;
11260 char *kwnames[] = {
11261 NULL
11262 };
11263
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11265 {
e3b71cb8 11266 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (wxSpinCtrl *)new wxSpinCtrl();
11269
11270 wxPyEndAllowThreads(__tstate);
110da5b0 11271 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11272 }
15afbcd0 11273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
11274 return resultobj;
11275 fail:
11276 return NULL;
11277}
11278
11279
c32bde28 11280static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11281 PyObject *resultobj;
11282 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11283 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11284 int arg3 = (int) -1 ;
d14a1e28
RD
11285 wxString const &arg4_defvalue = wxPyEmptyString ;
11286 wxString *arg4 = (wxString *) &arg4_defvalue ;
11287 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11288 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11289 wxSize const &arg6_defvalue = wxDefaultSize ;
11290 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11291 long arg7 = (long) wxSP_ARROW_KEYS ;
11292 int arg8 = (int) 0 ;
11293 int arg9 = (int) 100 ;
11294 int arg10 = (int) 0 ;
11295 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11296 wxString *arg11 = (wxString *) &arg11_defvalue ;
11297 bool result;
ae8162c8 11298 bool temp4 = false ;
d14a1e28
RD
11299 wxPoint temp5 ;
11300 wxSize temp6 ;
ae8162c8 11301 bool temp11 = false ;
d14a1e28
RD
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
994141e6 11304 PyObject * obj2 = 0 ;
d14a1e28
RD
11305 PyObject * obj3 = 0 ;
11306 PyObject * obj4 = 0 ;
11307 PyObject * obj5 = 0 ;
994141e6
RD
11308 PyObject * obj6 = 0 ;
11309 PyObject * obj7 = 0 ;
11310 PyObject * obj8 = 0 ;
11311 PyObject * obj9 = 0 ;
d14a1e28
RD
11312 PyObject * obj10 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11315 };
11316
994141e6 11317 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
11318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11322 if (obj2) {
c32bde28 11323 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11324 if (PyErr_Occurred()) SWIG_fail;
994141e6 11325 }
d14a1e28
RD
11326 if (obj3) {
11327 {
11328 arg4 = wxString_in_helper(obj3);
11329 if (arg4 == NULL) SWIG_fail;
ae8162c8 11330 temp4 = true;
d14a1e28
RD
11331 }
11332 }
11333 if (obj4) {
11334 {
11335 arg5 = &temp5;
11336 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11337 }
11338 }
11339 if (obj5) {
11340 {
11341 arg6 = &temp6;
11342 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11343 }
11344 }
994141e6 11345 if (obj6) {
c32bde28 11346 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 11347 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11348 }
11349 if (obj7) {
c32bde28 11350 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 11351 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11352 }
11353 if (obj8) {
c32bde28 11354 arg9 = (int)SWIG_As_int(obj8);
15afbcd0 11355 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11356 }
11357 if (obj9) {
c32bde28 11358 arg10 = (int)SWIG_As_int(obj9);
15afbcd0 11359 if (PyErr_Occurred()) SWIG_fail;
994141e6 11360 }
d14a1e28
RD
11361 if (obj10) {
11362 {
11363 arg11 = wxString_in_helper(obj10);
11364 if (arg11 == NULL) SWIG_fail;
ae8162c8 11365 temp11 = true;
d14a1e28
RD
11366 }
11367 }
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
4f89f6a3
RD
11375 {
11376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11377 }
d14a1e28
RD
11378 {
11379 if (temp4)
11380 delete arg4;
11381 }
11382 {
11383 if (temp11)
11384 delete arg11;
11385 }
11386 return resultobj;
11387 fail:
11388 {
11389 if (temp4)
11390 delete arg4;
11391 }
11392 {
11393 if (temp11)
11394 delete arg11;
11395 }
11396 return NULL;
11397}
11398
11399
c32bde28 11400static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11401 PyObject *resultobj;
11402 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11403 int result;
11404 PyObject * obj0 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
11410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11415
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
c32bde28 11419 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11420 return resultobj;
11421 fail:
11422 return NULL;
11423}
11424
11425
c32bde28 11426static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11427 PyObject *resultobj;
11428 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11429 int arg2 ;
11430 PyObject * obj0 = 0 ;
994141e6 11431 PyObject * obj1 = 0 ;
d14a1e28
RD
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "value", NULL
11434 };
11435
994141e6 11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11439 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11440 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 (arg1)->SetValue(arg2);
11444
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 Py_INCREF(Py_None); resultobj = Py_None;
11449 return resultobj;
11450 fail:
11451 return NULL;
11452}
11453
11454
c32bde28 11455static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11456 PyObject *resultobj;
11457 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11458 wxString *arg2 = 0 ;
ae8162c8 11459 bool temp2 = false ;
d14a1e28
RD
11460 PyObject * obj0 = 0 ;
11461 PyObject * obj1 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self",(char *) "text", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11469 {
11470 arg2 = wxString_in_helper(obj1);
11471 if (arg2 == NULL) SWIG_fail;
ae8162c8 11472 temp2 = true;
d14a1e28
RD
11473 }
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 (arg1)->SetValue((wxString const &)*arg2);
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 Py_INCREF(Py_None); resultobj = Py_None;
11482 {
11483 if (temp2)
11484 delete arg2;
11485 }
11486 return resultobj;
11487 fail:
11488 {
11489 if (temp2)
11490 delete arg2;
11491 }
11492 return NULL;
11493}
11494
11495
c32bde28 11496static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11497 PyObject *resultobj;
11498 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11499 int arg2 ;
11500 int arg3 ;
11501 PyObject * obj0 = 0 ;
994141e6
RD
11502 PyObject * obj1 = 0 ;
11503 PyObject * obj2 = 0 ;
d14a1e28
RD
11504 char *kwnames[] = {
11505 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11506 };
11507
994141e6 11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11511 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11512 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11513 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11514 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 (arg1)->SetRange(arg2,arg3);
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 Py_INCREF(Py_None); resultobj = Py_None;
11523 return resultobj;
11524 fail:
11525 return NULL;
11526}
11527
11528
c32bde28 11529static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11530 PyObject *resultobj;
11531 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11532 int result;
11533 PyObject * obj0 = 0 ;
11534 char *kwnames[] = {
11535 (char *) "self", NULL
11536 };
11537
11538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
11539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
c32bde28 11548 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11549 return resultobj;
11550 fail:
11551 return NULL;
11552}
11553
11554
c32bde28 11555static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11556 PyObject *resultobj;
11557 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11558 int result;
11559 PyObject * obj0 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "self", NULL
11562 };
11563
11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
11565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
c32bde28 11574 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11575 return resultobj;
11576 fail:
11577 return NULL;
11578}
11579
11580
c32bde28 11581static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11582 PyObject *resultobj;
11583 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11584 long arg2 ;
11585 long arg3 ;
11586 PyObject * obj0 = 0 ;
994141e6
RD
11587 PyObject * obj1 = 0 ;
11588 PyObject * obj2 = 0 ;
d14a1e28
RD
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "from",(char *) "to", NULL
11591 };
11592
994141e6 11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11596 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 11597 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11598 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 11599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 11602 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 Py_INCREF(Py_None); resultobj = Py_None;
11608 return resultobj;
11609 fail:
11610 return NULL;
11611}
11612
11613
c32bde28 11614static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
11615 PyObject *resultobj;
11616 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11617 wxVisualAttributes result;
11618 PyObject * obj0 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "variant", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11624 if (obj0) {
c32bde28 11625 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
11626 if (PyErr_Occurred()) SWIG_fail;
11627 }
11628 {
110da5b0 11629 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11632
11633 wxPyEndAllowThreads(__tstate);
dfbb5885 11634 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
11635 }
11636 {
11637 wxVisualAttributes * resultptr;
11638 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11640 }
11641 return resultobj;
11642 fail:
11643 return NULL;
11644}
11645
11646
c32bde28 11647static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11648 PyObject *obj;
11649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11650 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11651 Py_INCREF(obj);
11652 return Py_BuildValue((char *)"");
11653}
c32bde28 11654static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
11655 PyObject *resultobj;
11656 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11657 int arg2 = (int) 0 ;
11658 wxSpinEvent *result;
994141e6
RD
11659 PyObject * obj0 = 0 ;
11660 PyObject * obj1 = 0 ;
d1e20054
RD
11661 char *kwnames[] = {
11662 (char *) "commandType",(char *) "winid", NULL
11663 };
11664
994141e6
RD
11665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11666 if (obj0) {
c32bde28 11667 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 11668 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11669 }
11670 if (obj1) {
c32bde28 11671 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11672 if (PyErr_Occurred()) SWIG_fail;
994141e6 11673 }
d1e20054
RD
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11677
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
15afbcd0 11681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
d1e20054
RD
11682 return resultobj;
11683 fail:
11684 return NULL;
11685}
11686
11687
c32bde28 11688static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
11689 PyObject *resultobj;
11690 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11691 int result;
11692 PyObject * obj0 = 0 ;
11693 char *kwnames[] = {
11694 (char *) "self", NULL
11695 };
11696
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
11698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d1e20054
RD
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
c32bde28 11707 resultobj = SWIG_From_int((int)result);
d1e20054
RD
11708 return resultobj;
11709 fail:
11710 return NULL;
11711}
11712
11713
c32bde28 11714static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
11715 PyObject *resultobj;
11716 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11717 int arg2 ;
11718 PyObject * obj0 = 0 ;
994141e6 11719 PyObject * obj1 = 0 ;
d1e20054
RD
11720 char *kwnames[] = {
11721 (char *) "self",(char *) "pos", NULL
11722 };
11723
994141e6 11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11727 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11728 if (PyErr_Occurred()) SWIG_fail;
d1e20054
RD
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 (arg1)->SetPosition(arg2);
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 Py_INCREF(Py_None); resultobj = Py_None;
11737 return resultobj;
11738 fail:
11739 return NULL;
11740}
11741
11742
c32bde28 11743static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d1e20054
RD
11744 PyObject *obj;
11745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11746 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11747 Py_INCREF(obj);
11748 return Py_BuildValue((char *)"");
11749}
c32bde28 11750static int _wrap_RadioBoxNameStr_set(PyObject *) {
b2dc1044
RD
11751 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11752 return 1;
11753}
11754
11755
11756static PyObject *_wrap_RadioBoxNameStr_get() {
11757 PyObject *pyobj;
11758
11759 {
11760#if wxUSE_UNICODE
11761 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11762#else
11763 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11764#endif
11765 }
11766 return pyobj;
11767}
11768
11769
c32bde28 11770static int _wrap_RadioButtonNameStr_set(PyObject *) {
b2dc1044
RD
11771 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11772 return 1;
11773}
11774
11775
11776static PyObject *_wrap_RadioButtonNameStr_get() {
11777 PyObject *pyobj;
11778
11779 {
11780#if wxUSE_UNICODE
11781 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11782#else
11783 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11784#endif
11785 }
11786 return pyobj;
11787}
11788
11789
c32bde28 11790static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11791 PyObject *resultobj;
11792 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
11793 int arg2 = (int) -1 ;
11794 wxString const &arg3_defvalue = wxPyEmptyString ;
11795 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
11796 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11797 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11798 wxSize const &arg5_defvalue = wxDefaultSize ;
11799 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
11800 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11801 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11802 int arg7 = (int) 0 ;
11803 long arg8 = (long) wxRA_HORIZONTAL ;
11804 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11805 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11806 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11807 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 11808 wxRadioBox *result;
ae8162c8 11809 bool temp3 = false ;
d14a1e28
RD
11810 wxPoint temp4 ;
11811 wxSize temp5 ;
ae8162c8
RD
11812 bool temp6 = false ;
11813 bool temp10 = false ;
d14a1e28 11814 PyObject * obj0 = 0 ;
994141e6 11815 PyObject * obj1 = 0 ;
d14a1e28
RD
11816 PyObject * obj2 = 0 ;
11817 PyObject * obj3 = 0 ;
11818 PyObject * obj4 = 0 ;
11819 PyObject * obj5 = 0 ;
994141e6
RD
11820 PyObject * obj6 = 0 ;
11821 PyObject * obj7 = 0 ;
d14a1e28
RD
11822 PyObject * obj8 = 0 ;
11823 PyObject * obj9 = 0 ;
11824 char *kwnames[] = {
994141e6 11825 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
11826 };
11827
248ed943 11828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
11829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 11831 if (obj1) {
c32bde28 11832 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 if (obj2) {
11836 {
11837 arg3 = wxString_in_helper(obj2);
11838 if (arg3 == NULL) SWIG_fail;
ae8162c8 11839 temp3 = true;
248ed943 11840 }
d14a1e28
RD
11841 }
11842 if (obj3) {
11843 {
11844 arg4 = &temp4;
11845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11846 }
11847 }
11848 if (obj4) {
11849 {
11850 arg5 = &temp5;
11851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11852 }
11853 }
11854 if (obj5) {
11855 {
4d5c3d91
RD
11856 if (! PySequence_Check(obj5)) {
11857 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11858 SWIG_fail;
11859 }
11860 arg6 = new wxArrayString;
ae8162c8 11861 temp6 = true;
4d5c3d91
RD
11862 int i, len=PySequence_Length(obj5);
11863 for (i=0; i<len; i++) {
11864 PyObject* item = PySequence_GetItem(obj5, i);
11865#if wxUSE_UNICODE
11866 PyObject* str = PyObject_Unicode(item);
11867#else
11868 PyObject* str = PyObject_Str(item);
11869#endif
74a57fcd 11870 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
11871 arg6->Add(Py2wxString(str));
11872 Py_DECREF(item);
11873 Py_DECREF(str);
11874 }
d14a1e28
RD
11875 }
11876 }
994141e6 11877 if (obj6) {
c32bde28 11878 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 11879 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11880 }
11881 if (obj7) {
c32bde28 11882 arg8 = (long)SWIG_As_long(obj7);
15afbcd0 11883 if (PyErr_Occurred()) SWIG_fail;
994141e6 11884 }
d14a1e28 11885 if (obj8) {
15afbcd0
RD
11886 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11887 SWIG_POINTER_EXCEPTION | 0)) == -1)
11888 SWIG_fail;
4d5c3d91 11889 if (arg9 == NULL) {
15afbcd0
RD
11890 PyErr_SetString(PyExc_TypeError,"null reference");
11891 SWIG_fail;
d14a1e28
RD
11892 }
11893 }
11894 if (obj9) {
11895 {
4d5c3d91
RD
11896 arg10 = wxString_in_helper(obj9);
11897 if (arg10 == NULL) SWIG_fail;
ae8162c8 11898 temp10 = true;
d14a1e28
RD
11899 }
11900 }
11901 {
e3b71cb8 11902 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11904 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
11905
11906 wxPyEndAllowThreads(__tstate);
110da5b0 11907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11908 }
15afbcd0 11909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11910 {
11911 if (temp3)
11912 delete arg3;
11913 }
11914 {
3adfb63b 11915 if (temp6) delete arg6;
d14a1e28
RD
11916 }
11917 {
11918 if (temp10)
4d5c3d91 11919 delete arg10;
d14a1e28
RD
11920 }
11921 return resultobj;
11922 fail:
11923 {
11924 if (temp3)
11925 delete arg3;
11926 }
11927 {
3adfb63b 11928 if (temp6) delete arg6;
d14a1e28
RD
11929 }
11930 {
11931 if (temp10)
4d5c3d91 11932 delete arg10;
d14a1e28
RD
11933 }
11934 return NULL;
11935}
11936
11937
c32bde28 11938static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11939 PyObject *resultobj;
11940 wxRadioBox *result;
11941 char *kwnames[] = {
11942 NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11946 {
e3b71cb8 11947 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 result = (wxRadioBox *)new wxRadioBox();
11950
11951 wxPyEndAllowThreads(__tstate);
110da5b0 11952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11953 }
15afbcd0 11954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11955 return resultobj;
11956 fail:
11957 return NULL;
11958}
11959
11960
c32bde28 11961static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11962 PyObject *resultobj;
11963 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11964 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
11965 int arg3 = (int) -1 ;
11966 wxString const &arg4_defvalue = wxPyEmptyString ;
11967 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
11968 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11969 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11970 wxSize const &arg6_defvalue = wxDefaultSize ;
11971 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
11972 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11973 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11974 int arg8 = (int) 0 ;
11975 long arg9 = (long) wxRA_HORIZONTAL ;
11976 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11977 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11978 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11979 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 11980 bool result;
ae8162c8 11981 bool temp4 = false ;
d14a1e28
RD
11982 wxPoint temp5 ;
11983 wxSize temp6 ;
ae8162c8
RD
11984 bool temp7 = false ;
11985 bool temp11 = false ;
d14a1e28
RD
11986 PyObject * obj0 = 0 ;
11987 PyObject * obj1 = 0 ;
994141e6 11988 PyObject * obj2 = 0 ;
d14a1e28
RD
11989 PyObject * obj3 = 0 ;
11990 PyObject * obj4 = 0 ;
11991 PyObject * obj5 = 0 ;
11992 PyObject * obj6 = 0 ;
994141e6
RD
11993 PyObject * obj7 = 0 ;
11994 PyObject * obj8 = 0 ;
d14a1e28
RD
11995 PyObject * obj9 = 0 ;
11996 PyObject * obj10 = 0 ;
11997 char *kwnames[] = {
994141e6 11998 (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
11999 };
12000
248ed943 12001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
12002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 12006 if (obj2) {
c32bde28 12007 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
12008 if (PyErr_Occurred()) SWIG_fail;
12009 }
12010 if (obj3) {
12011 {
12012 arg4 = wxString_in_helper(obj3);
12013 if (arg4 == NULL) SWIG_fail;
ae8162c8 12014 temp4 = true;
248ed943 12015 }
d14a1e28
RD
12016 }
12017 if (obj4) {
12018 {
12019 arg5 = &temp5;
12020 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12021 }
12022 }
12023 if (obj5) {
12024 {
12025 arg6 = &temp6;
12026 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12027 }
12028 }
12029 if (obj6) {
12030 {
4d5c3d91
RD
12031 if (! PySequence_Check(obj6)) {
12032 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12033 SWIG_fail;
12034 }
12035 arg7 = new wxArrayString;
ae8162c8 12036 temp7 = true;
4d5c3d91
RD
12037 int i, len=PySequence_Length(obj6);
12038 for (i=0; i<len; i++) {
12039 PyObject* item = PySequence_GetItem(obj6, i);
12040#if wxUSE_UNICODE
12041 PyObject* str = PyObject_Unicode(item);
12042#else
12043 PyObject* str = PyObject_Str(item);
12044#endif
74a57fcd 12045 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
12046 arg7->Add(Py2wxString(str));
12047 Py_DECREF(item);
12048 Py_DECREF(str);
12049 }
d14a1e28
RD
12050 }
12051 }
994141e6 12052 if (obj7) {
c32bde28 12053 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 12054 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12055 }
12056 if (obj8) {
c32bde28 12057 arg9 = (long)SWIG_As_long(obj8);
15afbcd0 12058 if (PyErr_Occurred()) SWIG_fail;
994141e6 12059 }
d14a1e28 12060 if (obj9) {
15afbcd0
RD
12061 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12062 SWIG_POINTER_EXCEPTION | 0)) == -1)
12063 SWIG_fail;
4d5c3d91 12064 if (arg10 == NULL) {
15afbcd0
RD
12065 PyErr_SetString(PyExc_TypeError,"null reference");
12066 SWIG_fail;
d14a1e28
RD
12067 }
12068 }
12069 if (obj10) {
12070 {
4d5c3d91
RD
12071 arg11 = wxString_in_helper(obj10);
12072 if (arg11 == NULL) SWIG_fail;
ae8162c8 12073 temp11 = true;
d14a1e28
RD
12074 }
12075 }
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 12078 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
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
4f89f6a3
RD
12083 {
12084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12085 }
d14a1e28
RD
12086 {
12087 if (temp4)
12088 delete arg4;
12089 }
12090 {
3adfb63b 12091 if (temp7) delete arg7;
d14a1e28
RD
12092 }
12093 {
12094 if (temp11)
4d5c3d91 12095 delete arg11;
d14a1e28
RD
12096 }
12097 return resultobj;
12098 fail:
12099 {
12100 if (temp4)
12101 delete arg4;
12102 }
12103 {
3adfb63b 12104 if (temp7) delete arg7;
d14a1e28
RD
12105 }
12106 {
12107 if (temp11)
4d5c3d91 12108 delete arg11;
d14a1e28
RD
12109 }
12110 return NULL;
12111}
12112
12113
c32bde28 12114static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12115 PyObject *resultobj;
12116 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12117 int arg2 ;
12118 PyObject * obj0 = 0 ;
994141e6 12119 PyObject * obj1 = 0 ;
d14a1e28
RD
12120 char *kwnames[] = {
12121 (char *) "self",(char *) "n", NULL
12122 };
12123
994141e6 12124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12127 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12128 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12129 {
12130 PyThreadState* __tstate = wxPyBeginAllowThreads();
12131 (arg1)->SetSelection(arg2);
12132
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 Py_INCREF(Py_None); resultobj = Py_None;
12137 return resultobj;
12138 fail:
12139 return NULL;
12140}
12141
12142
c32bde28 12143static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12144 PyObject *resultobj;
12145 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12146 int result;
12147 PyObject * obj0 = 0 ;
12148 char *kwnames[] = {
12149 (char *) "self", NULL
12150 };
12151
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 result = (int)((wxRadioBox const *)arg1)->GetSelection();
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
c32bde28 12162 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12163 return resultobj;
12164 fail:
12165 return NULL;
12166}
12167
12168
c32bde28 12169static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12170 PyObject *resultobj;
12171 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12172 wxString result;
12173 PyObject * obj0 = 0 ;
12174 char *kwnames[] = {
12175 (char *) "self", NULL
12176 };
12177
12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12184
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 {
12189#if wxUSE_UNICODE
12190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12191#else
12192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12193#endif
12194 }
12195 return resultobj;
12196 fail:
12197 return NULL;
12198}
12199
12200
c32bde28 12201static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12202 PyObject *resultobj;
12203 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12204 wxString *arg2 = 0 ;
12205 bool result;
ae8162c8 12206 bool temp2 = false ;
d14a1e28
RD
12207 PyObject * obj0 = 0 ;
12208 PyObject * obj1 = 0 ;
12209 char *kwnames[] = {
12210 (char *) "self",(char *) "s", NULL
12211 };
12212
12213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12216 {
12217 arg2 = wxString_in_helper(obj1);
12218 if (arg2 == NULL) SWIG_fail;
ae8162c8 12219 temp2 = true;
d14a1e28
RD
12220 }
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12224
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
4f89f6a3
RD
12228 {
12229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12230 }
d14a1e28
RD
12231 {
12232 if (temp2)
12233 delete arg2;
12234 }
12235 return resultobj;
12236 fail:
12237 {
12238 if (temp2)
12239 delete arg2;
12240 }
12241 return NULL;
12242}
12243
12244
c32bde28 12245static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12246 PyObject *resultobj;
12247 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12248 int result;
12249 PyObject * obj0 = 0 ;
12250 char *kwnames[] = {
12251 (char *) "self", NULL
12252 };
12253
12254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (int)((wxRadioBox const *)arg1)->GetCount();
12260
12261 wxPyEndAllowThreads(__tstate);
12262 if (PyErr_Occurred()) SWIG_fail;
12263 }
c32bde28 12264 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12265 return resultobj;
12266 fail:
12267 return NULL;
12268}
12269
12270
c32bde28 12271static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12272 PyObject *resultobj;
12273 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12274 wxString *arg2 = 0 ;
12275 int result;
ae8162c8 12276 bool temp2 = false ;
d14a1e28
RD
12277 PyObject * obj0 = 0 ;
12278 PyObject * obj1 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self",(char *) "s", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12286 {
12287 arg2 = wxString_in_helper(obj1);
12288 if (arg2 == NULL) SWIG_fail;
ae8162c8 12289 temp2 = true;
d14a1e28
RD
12290 }
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
c32bde28 12298 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12299 {
12300 if (temp2)
12301 delete arg2;
12302 }
12303 return resultobj;
12304 fail:
12305 {
12306 if (temp2)
12307 delete arg2;
12308 }
12309 return NULL;
12310}
12311
12312
c32bde28 12313static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12314 PyObject *resultobj;
12315 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12316 int arg2 ;
12317 wxString result;
12318 PyObject * obj0 = 0 ;
994141e6 12319 PyObject * obj1 = 0 ;
d14a1e28
RD
12320 char *kwnames[] = {
12321 (char *) "self",(char *) "n", NULL
12322 };
12323
994141e6 12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12327 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 {
12337#if wxUSE_UNICODE
12338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12339#else
12340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12341#endif
12342 }
12343 return resultobj;
12344 fail:
12345 return NULL;
12346}
12347
12348
c32bde28 12349static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12350 PyObject *resultobj;
12351 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12352 int arg2 ;
12353 wxString *arg3 = 0 ;
ae8162c8 12354 bool temp3 = false ;
d14a1e28 12355 PyObject * obj0 = 0 ;
994141e6 12356 PyObject * obj1 = 0 ;
d14a1e28
RD
12357 PyObject * obj2 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self",(char *) "n",(char *) "label", NULL
12360 };
12361
994141e6 12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12365 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12366 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12367 {
12368 arg3 = wxString_in_helper(obj2);
12369 if (arg3 == NULL) SWIG_fail;
ae8162c8 12370 temp3 = true;
d14a1e28
RD
12371 }
12372 {
12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
12374 (arg1)->SetString(arg2,(wxString const &)*arg3);
12375
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 Py_INCREF(Py_None); resultobj = Py_None;
12380 {
12381 if (temp3)
12382 delete arg3;
12383 }
12384 return resultobj;
12385 fail:
12386 {
12387 if (temp3)
12388 delete arg3;
12389 }
12390 return NULL;
12391}
12392
12393
c32bde28 12394static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12395 PyObject *resultobj;
12396 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12397 int arg2 ;
ae8162c8 12398 bool arg3 = (bool) true ;
d14a1e28 12399 PyObject * obj0 = 0 ;
994141e6 12400 PyObject * obj1 = 0 ;
d14a1e28
RD
12401 PyObject * obj2 = 0 ;
12402 char *kwnames[] = {
12403 (char *) "self",(char *) "n",(char *) "enable", NULL
12404 };
12405
994141e6 12406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12409 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12411 if (obj2) {
c32bde28 12412 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 12413 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12414 }
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 (arg1)->Enable(arg2,arg3);
12418
12419 wxPyEndAllowThreads(__tstate);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 Py_INCREF(Py_None); resultobj = Py_None;
12423 return resultobj;
12424 fail:
12425 return NULL;
12426}
12427
12428
c32bde28 12429static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12430 PyObject *resultobj;
12431 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12432 int arg2 ;
ae8162c8 12433 bool arg3 = (bool) true ;
d14a1e28 12434 PyObject * obj0 = 0 ;
994141e6 12435 PyObject * obj1 = 0 ;
d14a1e28
RD
12436 PyObject * obj2 = 0 ;
12437 char *kwnames[] = {
12438 (char *) "self",(char *) "n",(char *) "show", NULL
12439 };
12440
994141e6 12441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12444 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12446 if (obj2) {
c32bde28 12447 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 12448 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12449 }
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 (arg1)->Show(arg2,arg3);
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 Py_INCREF(Py_None); resultobj = Py_None;
12458 return resultobj;
12459 fail:
12460 return NULL;
12461}
12462
12463
c32bde28 12464static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12465 PyObject *resultobj;
12466 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12467 int result;
12468 PyObject * obj0 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "self", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
c32bde28 12483 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12484 return resultobj;
12485 fail:
12486 return NULL;
12487}
12488
12489
c32bde28 12490static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12491 PyObject *resultobj;
12492 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12493 int result;
12494 PyObject * obj0 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
12505
12506 wxPyEndAllowThreads(__tstate);
12507 if (PyErr_Occurred()) SWIG_fail;
12508 }
c32bde28 12509 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12510 return resultobj;
12511 fail:
12512 return NULL;
12513}
12514
12515
c32bde28 12516static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12517 PyObject *resultobj;
12518 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12519 int arg2 ;
12520 int arg3 ;
12521 long arg4 ;
12522 int result;
12523 PyObject * obj0 = 0 ;
994141e6
RD
12524 PyObject * obj1 = 0 ;
12525 PyObject * obj2 = 0 ;
12526 PyObject * obj3 = 0 ;
d14a1e28
RD
12527 char *kwnames[] = {
12528 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12529 };
12530
994141e6 12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12534 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12535 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12536 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12537 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12538 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 12539 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
c32bde28 12547 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12548 return resultobj;
12549 fail:
12550 return NULL;
12551}
12552
12553
c32bde28 12554static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
12555 PyObject *resultobj;
12556 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12557 wxVisualAttributes result;
12558 PyObject * obj0 = 0 ;
12559 char *kwnames[] = {
12560 (char *) "variant", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12564 if (obj0) {
c32bde28 12565 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 {
110da5b0 12569 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12572
12573 wxPyEndAllowThreads(__tstate);
dfbb5885 12574 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
12575 }
12576 {
12577 wxVisualAttributes * resultptr;
12578 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12580 }
12581 return resultobj;
12582 fail:
12583 return NULL;
12584}
12585
12586
c32bde28 12587static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12588 PyObject *obj;
12589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12590 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12591 Py_INCREF(obj);
12592 return Py_BuildValue((char *)"");
12593}
c32bde28 12594static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12595 PyObject *resultobj;
12596 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
12597 int arg2 = (int) -1 ;
12598 wxString const &arg3_defvalue = wxPyEmptyString ;
12599 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
12600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12602 wxSize const &arg5_defvalue = wxDefaultSize ;
12603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12604 long arg6 = (long) 0 ;
12605 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12606 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12607 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12608 wxString *arg8 = (wxString *) &arg8_defvalue ;
12609 wxRadioButton *result;
ae8162c8 12610 bool temp3 = false ;
d14a1e28
RD
12611 wxPoint temp4 ;
12612 wxSize temp5 ;
ae8162c8 12613 bool temp8 = false ;
d14a1e28 12614 PyObject * obj0 = 0 ;
994141e6 12615 PyObject * obj1 = 0 ;
d14a1e28
RD
12616 PyObject * obj2 = 0 ;
12617 PyObject * obj3 = 0 ;
12618 PyObject * obj4 = 0 ;
994141e6 12619 PyObject * obj5 = 0 ;
d14a1e28
RD
12620 PyObject * obj6 = 0 ;
12621 PyObject * obj7 = 0 ;
12622 char *kwnames[] = {
12623 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12624 };
12625
248ed943 12626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
12627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 12629 if (obj1) {
c32bde28 12630 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 if (obj2) {
12634 {
12635 arg3 = wxString_in_helper(obj2);
12636 if (arg3 == NULL) SWIG_fail;
ae8162c8 12637 temp3 = true;
248ed943 12638 }
d14a1e28
RD
12639 }
12640 if (obj3) {
12641 {
12642 arg4 = &temp4;
12643 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12644 }
12645 }
12646 if (obj4) {
12647 {
12648 arg5 = &temp5;
12649 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12650 }
12651 }
994141e6 12652 if (obj5) {
c32bde28 12653 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 12654 if (PyErr_Occurred()) SWIG_fail;
994141e6 12655 }
d14a1e28 12656 if (obj6) {
15afbcd0
RD
12657 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1)
12659 SWIG_fail;
d14a1e28 12660 if (arg7 == NULL) {
15afbcd0
RD
12661 PyErr_SetString(PyExc_TypeError,"null reference");
12662 SWIG_fail;
d14a1e28
RD
12663 }
12664 }
12665 if (obj7) {
12666 {
12667 arg8 = wxString_in_helper(obj7);
12668 if (arg8 == NULL) SWIG_fail;
ae8162c8 12669 temp8 = true;
d14a1e28
RD
12670 }
12671 }
12672 {
e3b71cb8 12673 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12676
12677 wxPyEndAllowThreads(__tstate);
110da5b0 12678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12679 }
15afbcd0 12680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
12681 {
12682 if (temp3)
12683 delete arg3;
12684 }
12685 {
12686 if (temp8)
12687 delete arg8;
12688 }
12689 return resultobj;
12690 fail:
12691 {
12692 if (temp3)
12693 delete arg3;
12694 }
12695 {
12696 if (temp8)
12697 delete arg8;
12698 }
12699 return NULL;
12700}
12701
12702
c32bde28 12703static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12704 PyObject *resultobj;
12705 wxRadioButton *result;
12706 char *kwnames[] = {
12707 NULL
12708 };
12709
12710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12711 {
e3b71cb8 12712 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
12714 result = (wxRadioButton *)new wxRadioButton();
12715
12716 wxPyEndAllowThreads(__tstate);
110da5b0 12717 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12718 }
15afbcd0 12719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
12720 return resultobj;
12721 fail:
12722 return NULL;
12723}
12724
12725
c32bde28 12726static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12727 PyObject *resultobj;
12728 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12729 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
12730 int arg3 = (int) -1 ;
12731 wxString const &arg4_defvalue = wxPyEmptyString ;
12732 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
12733 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12734 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12735 wxSize const &arg6_defvalue = wxDefaultSize ;
12736 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12737 long arg7 = (long) 0 ;
12738 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12739 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12740 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12741 wxString *arg9 = (wxString *) &arg9_defvalue ;
12742 bool result;
ae8162c8 12743 bool temp4 = false ;
d14a1e28
RD
12744 wxPoint temp5 ;
12745 wxSize temp6 ;
ae8162c8 12746 bool temp9 = false ;
d14a1e28
RD
12747 PyObject * obj0 = 0 ;
12748 PyObject * obj1 = 0 ;
994141e6 12749 PyObject * obj2 = 0 ;
d14a1e28
RD
12750 PyObject * obj3 = 0 ;
12751 PyObject * obj4 = 0 ;
12752 PyObject * obj5 = 0 ;
994141e6 12753 PyObject * obj6 = 0 ;
d14a1e28
RD
12754 PyObject * obj7 = 0 ;
12755 PyObject * obj8 = 0 ;
12756 char *kwnames[] = {
12757 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12758 };
12759
248ed943 12760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
12761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 12765 if (obj2) {
c32bde28 12766 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 if (obj3) {
12770 {
12771 arg4 = wxString_in_helper(obj3);
12772 if (arg4 == NULL) SWIG_fail;
ae8162c8 12773 temp4 = true;
248ed943 12774 }
d14a1e28
RD
12775 }
12776 if (obj4) {
12777 {
12778 arg5 = &temp5;
12779 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12780 }
12781 }
12782 if (obj5) {
12783 {
12784 arg6 = &temp6;
12785 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12786 }
12787 }
994141e6 12788 if (obj6) {
c32bde28 12789 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 12790 if (PyErr_Occurred()) SWIG_fail;
994141e6 12791 }
d14a1e28 12792 if (obj7) {
15afbcd0
RD
12793 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12794 SWIG_POINTER_EXCEPTION | 0)) == -1)
12795 SWIG_fail;
d14a1e28 12796 if (arg8 == NULL) {
15afbcd0
RD
12797 PyErr_SetString(PyExc_TypeError,"null reference");
12798 SWIG_fail;
d14a1e28
RD
12799 }
12800 }
12801 if (obj8) {
12802 {
12803 arg9 = wxString_in_helper(obj8);
12804 if (arg9 == NULL) SWIG_fail;
ae8162c8 12805 temp9 = true;
d14a1e28
RD
12806 }
12807 }
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
4f89f6a3
RD
12815 {
12816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12817 }
d14a1e28
RD
12818 {
12819 if (temp4)
12820 delete arg4;
12821 }
12822 {
12823 if (temp9)
12824 delete arg9;
12825 }
12826 return resultobj;
12827 fail:
12828 {
12829 if (temp4)
12830 delete arg4;
12831 }
12832 {
12833 if (temp9)
12834 delete arg9;
12835 }
12836 return NULL;
12837}
12838
12839
c32bde28 12840static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12841 PyObject *resultobj;
12842 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12843 bool result;
12844 PyObject * obj0 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
12850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (bool)(arg1)->GetValue();
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
4f89f6a3
RD
12859 {
12860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12861 }
d14a1e28
RD
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
c32bde28 12868static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12869 PyObject *resultobj;
12870 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12871 bool arg2 ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 char *kwnames[] = {
12875 (char *) "self",(char *) "value", NULL
12876 };
12877
12878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12881 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 12882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 (arg1)->SetValue(arg2);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 Py_INCREF(Py_None); resultobj = Py_None;
12891 return resultobj;
12892 fail:
12893 return NULL;
12894}
12895
12896
c32bde28 12897static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
12898 PyObject *resultobj;
12899 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12900 wxVisualAttributes result;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "variant", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12907 if (obj0) {
c32bde28 12908 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 {
110da5b0 12912 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12915
12916 wxPyEndAllowThreads(__tstate);
dfbb5885 12917 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
12918 }
12919 {
12920 wxVisualAttributes * resultptr;
12921 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12922 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12923 }
12924 return resultobj;
12925 fail:
12926 return NULL;
12927}
12928
12929
c32bde28 12930static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12931 PyObject *obj;
12932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12933 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12934 Py_INCREF(obj);
12935 return Py_BuildValue((char *)"");
12936}
c32bde28 12937static int _wrap_SliderNameStr_set(PyObject *) {
b2dc1044
RD
12938 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12939 return 1;
12940}
12941
12942
12943static PyObject *_wrap_SliderNameStr_get() {
12944 PyObject *pyobj;
12945
12946 {
12947#if wxUSE_UNICODE
12948 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12949#else
12950 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12951#endif
12952 }
12953 return pyobj;
12954}
12955
12956
c32bde28 12957static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12958 PyObject *resultobj;
12959 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
12960 int arg2 = (int) -1 ;
12961 int arg3 = (int) 0 ;
12962 int arg4 = (int) 0 ;
12963 int arg5 = (int) 100 ;
d14a1e28
RD
12964 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12965 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12966 wxSize const &arg7_defvalue = wxDefaultSize ;
12967 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12968 long arg8 = (long) wxSL_HORIZONTAL ;
12969 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12970 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12971 wxString const &arg10_defvalue = wxPySliderNameStr ;
12972 wxString *arg10 = (wxString *) &arg10_defvalue ;
12973 wxSlider *result;
12974 wxPoint temp6 ;
12975 wxSize temp7 ;
ae8162c8 12976 bool temp10 = false ;
d14a1e28 12977 PyObject * obj0 = 0 ;
994141e6
RD
12978 PyObject * obj1 = 0 ;
12979 PyObject * obj2 = 0 ;
12980 PyObject * obj3 = 0 ;
12981 PyObject * obj4 = 0 ;
d14a1e28
RD
12982 PyObject * obj5 = 0 ;
12983 PyObject * obj6 = 0 ;
994141e6 12984 PyObject * obj7 = 0 ;
d14a1e28
RD
12985 PyObject * obj8 = 0 ;
12986 PyObject * obj9 = 0 ;
12987 char *kwnames[] = {
994141e6 12988 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
12989 };
12990
248ed943 12991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
12992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 12994 if (obj1) {
c32bde28 12995 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
12996 if (PyErr_Occurred()) SWIG_fail;
12997 }
12998 if (obj2) {
c32bde28 12999 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 if (obj3) {
c32bde28 13003 arg4 = (int)SWIG_As_int(obj3);
248ed943
RD
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 if (obj4) {
c32bde28 13007 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
d14a1e28
RD
13010 if (obj5) {
13011 {
13012 arg6 = &temp6;
13013 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13014 }
13015 }
13016 if (obj6) {
13017 {
13018 arg7 = &temp7;
13019 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
13020 }
13021 }
994141e6 13022 if (obj7) {
c32bde28 13023 arg8 = (long)SWIG_As_long(obj7);
15afbcd0 13024 if (PyErr_Occurred()) SWIG_fail;
994141e6 13025 }
d14a1e28 13026 if (obj8) {
15afbcd0
RD
13027 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
13028 SWIG_POINTER_EXCEPTION | 0)) == -1)
13029 SWIG_fail;
d14a1e28 13030 if (arg9 == NULL) {
15afbcd0
RD
13031 PyErr_SetString(PyExc_TypeError,"null reference");
13032 SWIG_fail;
d14a1e28
RD
13033 }
13034 }
13035 if (obj9) {
13036 {
13037 arg10 = wxString_in_helper(obj9);
13038 if (arg10 == NULL) SWIG_fail;
ae8162c8 13039 temp10 = true;
d14a1e28
RD
13040 }
13041 }
13042 {
e3b71cb8 13043 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
13046
13047 wxPyEndAllowThreads(__tstate);
110da5b0 13048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13049 }
15afbcd0 13050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
13051 {
13052 if (temp10)
13053 delete arg10;
13054 }
13055 return resultobj;
13056 fail:
13057 {
13058 if (temp10)
13059 delete arg10;
13060 }
13061 return NULL;
13062}
13063
13064
c32bde28 13065static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13066 PyObject *resultobj;
13067 wxSlider *result;
13068 char *kwnames[] = {
13069 NULL
13070 };
13071
13072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
13073 {
e3b71cb8 13074 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13075 PyThreadState* __tstate = wxPyBeginAllowThreads();
13076 result = (wxSlider *)new wxSlider();
13077
13078 wxPyEndAllowThreads(__tstate);
110da5b0 13079 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13080 }
15afbcd0 13081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
13082 return resultobj;
13083 fail:
13084 return NULL;
13085}
13086
13087
c32bde28 13088static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13089 PyObject *resultobj;
13090 wxSlider *arg1 = (wxSlider *) 0 ;
13091 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13092 int arg3 = (int) -1 ;
13093 int arg4 = (int) 0 ;
13094 int arg5 = (int) 0 ;
13095 int arg6 = (int) 100 ;
d14a1e28
RD
13096 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13097 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13098 wxSize const &arg8_defvalue = wxDefaultSize ;
13099 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
13100 long arg9 = (long) wxSL_HORIZONTAL ;
13101 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13102 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13103 wxString const &arg11_defvalue = wxPySliderNameStr ;
13104 wxString *arg11 = (wxString *) &arg11_defvalue ;
13105 bool result;
13106 wxPoint temp7 ;
13107 wxSize temp8 ;
ae8162c8 13108 bool temp11 = false ;
d14a1e28
RD
13109 PyObject * obj0 = 0 ;
13110 PyObject * obj1 = 0 ;
994141e6
RD
13111 PyObject * obj2 = 0 ;
13112 PyObject * obj3 = 0 ;
13113 PyObject * obj4 = 0 ;
13114 PyObject * obj5 = 0 ;
d14a1e28
RD
13115 PyObject * obj6 = 0 ;
13116 PyObject * obj7 = 0 ;
994141e6 13117 PyObject * obj8 = 0 ;
d14a1e28
RD
13118 PyObject * obj9 = 0 ;
13119 PyObject * obj10 = 0 ;
13120 char *kwnames[] = {
994141e6 13121 (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
13122 };
13123
248ed943 13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 13129 if (obj2) {
c32bde28 13130 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 if (obj3) {
c32bde28 13134 arg4 = (int)SWIG_As_int(obj3);
248ed943
RD
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 if (obj4) {
c32bde28 13138 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 if (obj5) {
c32bde28 13142 arg6 = (int)SWIG_As_int(obj5);
248ed943
RD
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
d14a1e28
RD
13145 if (obj6) {
13146 {
13147 arg7 = &temp7;
13148 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13149 }
13150 }
13151 if (obj7) {
13152 {
13153 arg8 = &temp8;
13154 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
13155 }
13156 }
994141e6 13157 if (obj8) {
c32bde28 13158 arg9 = (long)SWIG_As_long(obj8);
15afbcd0 13159 if (PyErr_Occurred()) SWIG_fail;
994141e6 13160 }
d14a1e28 13161 if (obj9) {
15afbcd0
RD
13162 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
13163 SWIG_POINTER_EXCEPTION | 0)) == -1)
13164 SWIG_fail;
d14a1e28 13165 if (arg10 == NULL) {
15afbcd0
RD
13166 PyErr_SetString(PyExc_TypeError,"null reference");
13167 SWIG_fail;
d14a1e28
RD
13168 }
13169 }
13170 if (obj10) {
13171 {
13172 arg11 = wxString_in_helper(obj10);
13173 if (arg11 == NULL) SWIG_fail;
ae8162c8 13174 temp11 = true;
d14a1e28
RD
13175 }
13176 }
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
4f89f6a3
RD
13184 {
13185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13186 }
d14a1e28
RD
13187 {
13188 if (temp11)
13189 delete arg11;
13190 }
13191 return resultobj;
13192 fail:
13193 {
13194 if (temp11)
13195 delete arg11;
13196 }
13197 return NULL;
13198}
13199
13200
c32bde28 13201static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13202 PyObject *resultobj;
13203 wxSlider *arg1 = (wxSlider *) 0 ;
13204 int result;
13205 PyObject * obj0 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
13211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (int)((wxSlider const *)arg1)->GetValue();
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
c32bde28 13220 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13221 return resultobj;
13222 fail:
13223 return NULL;
13224}
13225
13226
c32bde28 13227static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13228 PyObject *resultobj;
13229 wxSlider *arg1 = (wxSlider *) 0 ;
13230 int arg2 ;
13231 PyObject * obj0 = 0 ;
994141e6 13232 PyObject * obj1 = 0 ;
d14a1e28
RD
13233 char *kwnames[] = {
13234 (char *) "self",(char *) "value", NULL
13235 };
13236
994141e6 13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13240 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->SetValue(arg2);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 return resultobj;
13251 fail:
13252 return NULL;
13253}
13254
13255
c32bde28 13256static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13257 PyObject *resultobj;
13258 wxSlider *arg1 = (wxSlider *) 0 ;
13259 int arg2 ;
13260 int arg3 ;
13261 PyObject * obj0 = 0 ;
994141e6
RD
13262 PyObject * obj1 = 0 ;
13263 PyObject * obj2 = 0 ;
d14a1e28
RD
13264 char *kwnames[] = {
13265 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13266 };
13267
994141e6 13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13271 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13272 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13273 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 (arg1)->SetRange(arg2,arg3);
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 Py_INCREF(Py_None); resultobj = Py_None;
13283 return resultobj;
13284 fail:
13285 return NULL;
13286}
13287
13288
c32bde28 13289static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13290 PyObject *resultobj;
13291 wxSlider *arg1 = (wxSlider *) 0 ;
13292 int result;
13293 PyObject * obj0 = 0 ;
13294 char *kwnames[] = {
13295 (char *) "self", NULL
13296 };
13297
13298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
13299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 result = (int)((wxSlider const *)arg1)->GetMin();
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
c32bde28 13308 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13309 return resultobj;
13310 fail:
13311 return NULL;
13312}
13313
13314
c32bde28 13315static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13316 PyObject *resultobj;
13317 wxSlider *arg1 = (wxSlider *) 0 ;
13318 int result;
13319 PyObject * obj0 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "self", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
13325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 result = (int)((wxSlider const *)arg1)->GetMax();
13330
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
c32bde28 13334 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13335 return resultobj;
13336 fail:
13337 return NULL;
13338}
13339
13340
c32bde28 13341static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13342 PyObject *resultobj;
13343 wxSlider *arg1 = (wxSlider *) 0 ;
13344 int arg2 ;
13345 PyObject * obj0 = 0 ;
994141e6 13346 PyObject * obj1 = 0 ;
d14a1e28
RD
13347 char *kwnames[] = {
13348 (char *) "self",(char *) "minValue", NULL
13349 };
13350
994141e6 13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13354 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13355 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13356 {
13357 PyThreadState* __tstate = wxPyBeginAllowThreads();
13358 (arg1)->SetMin(arg2);
13359
13360 wxPyEndAllowThreads(__tstate);
13361 if (PyErr_Occurred()) SWIG_fail;
13362 }
13363 Py_INCREF(Py_None); resultobj = Py_None;
13364 return resultobj;
13365 fail:
13366 return NULL;
13367}
13368
13369
c32bde28 13370static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13371 PyObject *resultobj;
13372 wxSlider *arg1 = (wxSlider *) 0 ;
13373 int arg2 ;
13374 PyObject * obj0 = 0 ;
994141e6 13375 PyObject * obj1 = 0 ;
d14a1e28
RD
13376 char *kwnames[] = {
13377 (char *) "self",(char *) "maxValue", NULL
13378 };
13379
994141e6 13380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13383 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13384 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 (arg1)->SetMax(arg2);
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 Py_INCREF(Py_None); resultobj = Py_None;
13393 return resultobj;
13394 fail:
13395 return NULL;
13396}
13397
13398
c32bde28 13399static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13400 PyObject *resultobj;
13401 wxSlider *arg1 = (wxSlider *) 0 ;
13402 int arg2 ;
13403 PyObject * obj0 = 0 ;
994141e6 13404 PyObject * obj1 = 0 ;
d14a1e28
RD
13405 char *kwnames[] = {
13406 (char *) "self",(char *) "lineSize", NULL
13407 };
13408
994141e6 13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13412 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13413 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 (arg1)->SetLineSize(arg2);
13417
13418 wxPyEndAllowThreads(__tstate);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 Py_INCREF(Py_None); resultobj = Py_None;
13422 return resultobj;
13423 fail:
13424 return NULL;
13425}
13426
13427
c32bde28 13428static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13429 PyObject *resultobj;
13430 wxSlider *arg1 = (wxSlider *) 0 ;
13431 int arg2 ;
13432 PyObject * obj0 = 0 ;
994141e6 13433 PyObject * obj1 = 0 ;
d14a1e28
RD
13434 char *kwnames[] = {
13435 (char *) "self",(char *) "pageSize", NULL
13436 };
13437
994141e6 13438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13441 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->SetPageSize(arg2);
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 Py_INCREF(Py_None); resultobj = Py_None;
13451 return resultobj;
13452 fail:
13453 return NULL;
13454}
13455
13456
c32bde28 13457static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13458 PyObject *resultobj;
13459 wxSlider *arg1 = (wxSlider *) 0 ;
13460 int result;
13461 PyObject * obj0 = 0 ;
13462 char *kwnames[] = {
13463 (char *) "self", NULL
13464 };
13465
13466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (int)((wxSlider const *)arg1)->GetLineSize();
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
c32bde28 13476 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13477 return resultobj;
13478 fail:
13479 return NULL;
13480}
13481
13482
c32bde28 13483static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13484 PyObject *resultobj;
13485 wxSlider *arg1 = (wxSlider *) 0 ;
13486 int result;
13487 PyObject * obj0 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 result = (int)((wxSlider const *)arg1)->GetPageSize();
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
c32bde28 13502 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13503 return resultobj;
13504 fail:
13505 return NULL;
13506}
13507
13508
c32bde28 13509static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13510 PyObject *resultobj;
13511 wxSlider *arg1 = (wxSlider *) 0 ;
13512 int arg2 ;
13513 PyObject * obj0 = 0 ;
994141e6 13514 PyObject * obj1 = 0 ;
d14a1e28
RD
13515 char *kwnames[] = {
13516 (char *) "self",(char *) "lenPixels", NULL
13517 };
13518
994141e6 13519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13522 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 (arg1)->SetThumbLength(arg2);
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 Py_INCREF(Py_None); resultobj = Py_None;
13532 return resultobj;
13533 fail:
13534 return NULL;
13535}
13536
13537
c32bde28 13538static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13539 PyObject *resultobj;
13540 wxSlider *arg1 = (wxSlider *) 0 ;
13541 int result;
13542 PyObject * obj0 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
13548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
c32bde28 13557 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13558 return resultobj;
13559 fail:
13560 return NULL;
13561}
13562
13563
c32bde28 13564static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13565 PyObject *resultobj;
13566 wxSlider *arg1 = (wxSlider *) 0 ;
13567 int arg2 ;
994141e6 13568 int arg3 = (int) 1 ;
d14a1e28 13569 PyObject * obj0 = 0 ;
994141e6
RD
13570 PyObject * obj1 = 0 ;
13571 PyObject * obj2 = 0 ;
d14a1e28
RD
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "n",(char *) "pos", NULL
13574 };
13575
994141e6 13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13579 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13580 if (PyErr_Occurred()) SWIG_fail;
994141e6 13581 if (obj2) {
c32bde28 13582 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13583 if (PyErr_Occurred()) SWIG_fail;
994141e6 13584 }
d14a1e28
RD
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 (arg1)->SetTickFreq(arg2,arg3);
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 Py_INCREF(Py_None); resultobj = Py_None;
13593 return resultobj;
13594 fail:
13595 return NULL;
13596}
13597
13598
c32bde28 13599static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13600 PyObject *resultobj;
13601 wxSlider *arg1 = (wxSlider *) 0 ;
13602 int result;
13603 PyObject * obj0 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15afbcd0
RD
13609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13611 {
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13614
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
c32bde28 13618 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13619 return resultobj;
13620 fail:
13621 return NULL;
13622}
13623
13624
c32bde28 13625static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13626 PyObject *resultobj;
13627 wxSlider *arg1 = (wxSlider *) 0 ;
13628 PyObject * obj0 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self", NULL
13631 };
13632
13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15afbcd0
RD
13634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 (arg1)->ClearTicks();
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 Py_INCREF(Py_None); resultobj = Py_None;
13644 return resultobj;
13645 fail:
13646 return NULL;
13647}
13648
13649
c32bde28 13650static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13651 PyObject *resultobj;
13652 wxSlider *arg1 = (wxSlider *) 0 ;
13653 int arg2 ;
13654 PyObject * obj0 = 0 ;
994141e6 13655 PyObject * obj1 = 0 ;
d14a1e28
RD
13656 char *kwnames[] = {
13657 (char *) "self",(char *) "tickPos", NULL
13658 };
13659
994141e6 13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13663 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13664 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 (arg1)->SetTick(arg2);
13668
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
13672 Py_INCREF(Py_None); resultobj = Py_None;
13673 return resultobj;
13674 fail:
13675 return NULL;
13676}
13677
13678
c32bde28 13679static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13680 PyObject *resultobj;
13681 wxSlider *arg1 = (wxSlider *) 0 ;
13682 PyObject * obj0 = 0 ;
13683 char *kwnames[] = {
13684 (char *) "self", NULL
13685 };
13686
13687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15afbcd0
RD
13688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13690 {
13691 PyThreadState* __tstate = wxPyBeginAllowThreads();
13692 (arg1)->ClearSel();
13693
13694 wxPyEndAllowThreads(__tstate);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 }
13697 Py_INCREF(Py_None); resultobj = Py_None;
13698 return resultobj;
13699 fail:
13700 return NULL;
13701}
13702
13703
c32bde28 13704static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13705 PyObject *resultobj;
13706 wxSlider *arg1 = (wxSlider *) 0 ;
13707 int result;
13708 PyObject * obj0 = 0 ;
13709 char *kwnames[] = {
13710 (char *) "self", NULL
13711 };
13712
13713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
13714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13716 {
13717 PyThreadState* __tstate = wxPyBeginAllowThreads();
13718 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13719
13720 wxPyEndAllowThreads(__tstate);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 }
c32bde28 13723 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13724 return resultobj;
13725 fail:
13726 return NULL;
13727}
13728
13729
c32bde28 13730static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13731 PyObject *resultobj;
13732 wxSlider *arg1 = (wxSlider *) 0 ;
13733 int result;
13734 PyObject * obj0 = 0 ;
13735 char *kwnames[] = {
13736 (char *) "self", NULL
13737 };
13738
13739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
13740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13742 {
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
13744 result = (int)((wxSlider const *)arg1)->GetSelStart();
13745
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
c32bde28 13749 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13750 return resultobj;
13751 fail:
13752 return NULL;
13753}
13754
13755
c32bde28 13756static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13757 PyObject *resultobj;
13758 wxSlider *arg1 = (wxSlider *) 0 ;
13759 int arg2 ;
13760 int arg3 ;
13761 PyObject * obj0 = 0 ;
994141e6
RD
13762 PyObject * obj1 = 0 ;
13763 PyObject * obj2 = 0 ;
d14a1e28
RD
13764 char *kwnames[] = {
13765 (char *) "self",(char *) "min",(char *) "max", NULL
13766 };
13767
994141e6 13768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13771 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13772 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13773 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13774 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 (arg1)->SetSelection(arg2,arg3);
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 Py_INCREF(Py_None); resultobj = Py_None;
13783 return resultobj;
13784 fail:
13785 return NULL;
13786}
13787
13788
c32bde28 13789static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
13790 PyObject *resultobj;
13791 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13792 wxVisualAttributes result;
13793 PyObject * obj0 = 0 ;
13794 char *kwnames[] = {
13795 (char *) "variant", NULL
13796 };
13797
13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13799 if (obj0) {
c32bde28 13800 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 {
110da5b0 13804 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13807
13808 wxPyEndAllowThreads(__tstate);
dfbb5885 13809 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
13810 }
13811 {
13812 wxVisualAttributes * resultptr;
13813 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13815 }
13816 return resultobj;
13817 fail:
13818 return NULL;
13819}
13820
13821
c32bde28 13822static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13823 PyObject *obj;
13824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13825 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13826 Py_INCREF(obj);
13827 return Py_BuildValue((char *)"");
13828}
c32bde28 13829static int _wrap_ToggleButtonNameStr_set(PyObject *) {
b2dc1044
RD
13830 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13831 return 1;
13832}
13833
13834
13835static PyObject *_wrap_ToggleButtonNameStr_get() {
13836 PyObject *pyobj;
13837
13838 {
13839#if wxUSE_UNICODE
13840 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13841#else
13842 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13843#endif
13844 }
13845 return pyobj;
13846}
13847
13848
c32bde28 13849static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13850 PyObject *resultobj;
13851 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13852 int arg2 = (int) -1 ;
13853 wxString const &arg3_defvalue = wxPyEmptyString ;
13854 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
13855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13857 wxSize const &arg5_defvalue = wxDefaultSize ;
13858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13859 long arg6 = (long) 0 ;
13860 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13861 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13862 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13863 wxString *arg8 = (wxString *) &arg8_defvalue ;
13864 wxToggleButton *result;
ae8162c8 13865 bool temp3 = false ;
d14a1e28
RD
13866 wxPoint temp4 ;
13867 wxSize temp5 ;
ae8162c8 13868 bool temp8 = false ;
d14a1e28 13869 PyObject * obj0 = 0 ;
994141e6 13870 PyObject * obj1 = 0 ;
d14a1e28
RD
13871 PyObject * obj2 = 0 ;
13872 PyObject * obj3 = 0 ;
13873 PyObject * obj4 = 0 ;
994141e6 13874 PyObject * obj5 = 0 ;
d14a1e28
RD
13875 PyObject * obj6 = 0 ;
13876 PyObject * obj7 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13879 };
13880
248ed943 13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
13882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 13884 if (obj1) {
c32bde28 13885 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
13886 if (PyErr_Occurred()) SWIG_fail;
13887 }
13888 if (obj2) {
13889 {
13890 arg3 = wxString_in_helper(obj2);
13891 if (arg3 == NULL) SWIG_fail;
ae8162c8 13892 temp3 = true;
248ed943 13893 }
d14a1e28
RD
13894 }
13895 if (obj3) {
13896 {
13897 arg4 = &temp4;
13898 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13899 }
13900 }
13901 if (obj4) {
13902 {
13903 arg5 = &temp5;
13904 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13905 }
13906 }
994141e6 13907 if (obj5) {
c32bde28 13908 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 13909 if (PyErr_Occurred()) SWIG_fail;
994141e6 13910 }
d14a1e28 13911 if (obj6) {
15afbcd0
RD
13912 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13913 SWIG_POINTER_EXCEPTION | 0)) == -1)
13914 SWIG_fail;
d14a1e28 13915 if (arg7 == NULL) {
15afbcd0
RD
13916 PyErr_SetString(PyExc_TypeError,"null reference");
13917 SWIG_fail;
d14a1e28
RD
13918 }
13919 }
13920 if (obj7) {
13921 {
13922 arg8 = wxString_in_helper(obj7);
13923 if (arg8 == NULL) SWIG_fail;
ae8162c8 13924 temp8 = true;
d14a1e28
RD
13925 }
13926 }
13927 {
e3b71cb8 13928 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13931
13932 wxPyEndAllowThreads(__tstate);
110da5b0 13933 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13934 }
15afbcd0 13935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
13936 {
13937 if (temp3)
13938 delete arg3;
13939 }
13940 {
13941 if (temp8)
13942 delete arg8;
13943 }
13944 return resultobj;
13945 fail:
13946 {
13947 if (temp3)
13948 delete arg3;
13949 }
13950 {
13951 if (temp8)
13952 delete arg8;
13953 }
13954 return NULL;
13955}
13956
13957
c32bde28 13958static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13959 PyObject *resultobj;
13960 wxToggleButton *result;
13961 char *kwnames[] = {
13962 NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13966 {
e3b71cb8 13967 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 result = (wxToggleButton *)new wxToggleButton();
13970
13971 wxPyEndAllowThreads(__tstate);
110da5b0 13972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13973 }
15afbcd0 13974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
13975 return resultobj;
13976 fail:
13977 return NULL;
13978}
13979
13980
c32bde28 13981static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13982 PyObject *resultobj;
13983 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13984 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13985 int arg3 = (int) -1 ;
13986 wxString const &arg4_defvalue = wxPyEmptyString ;
13987 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
13988 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13989 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13990 wxSize const &arg6_defvalue = wxDefaultSize ;
13991 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13992 long arg7 = (long) 0 ;
13993 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13994 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13995 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13996 wxString *arg9 = (wxString *) &arg9_defvalue ;
13997 bool result;
ae8162c8 13998 bool temp4 = false ;
d14a1e28
RD
13999 wxPoint temp5 ;
14000 wxSize temp6 ;
ae8162c8 14001 bool temp9 = false ;
d14a1e28
RD
14002 PyObject * obj0 = 0 ;
14003 PyObject * obj1 = 0 ;
994141e6 14004 PyObject * obj2 = 0 ;
d14a1e28
RD
14005 PyObject * obj3 = 0 ;
14006 PyObject * obj4 = 0 ;
14007 PyObject * obj5 = 0 ;
994141e6 14008 PyObject * obj6 = 0 ;
d14a1e28
RD
14009 PyObject * obj7 = 0 ;
14010 PyObject * obj8 = 0 ;
14011 char *kwnames[] = {
14012 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14013 };
14014
248ed943 14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
14016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 14020 if (obj2) {
c32bde28 14021 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
14024 if (obj3) {
14025 {
14026 arg4 = wxString_in_helper(obj3);
14027 if (arg4 == NULL) SWIG_fail;
ae8162c8 14028 temp4 = true;
248ed943 14029 }
d14a1e28
RD
14030 }
14031 if (obj4) {
14032 {
14033 arg5 = &temp5;
14034 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14035 }
14036 }
14037 if (obj5) {
14038 {
14039 arg6 = &temp6;
14040 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14041 }
14042 }
994141e6 14043 if (obj6) {
c32bde28 14044 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 14045 if (PyErr_Occurred()) SWIG_fail;
994141e6 14046 }
d14a1e28 14047 if (obj7) {
15afbcd0
RD
14048 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
14049 SWIG_POINTER_EXCEPTION | 0)) == -1)
14050 SWIG_fail;
d14a1e28 14051 if (arg8 == NULL) {
15afbcd0
RD
14052 PyErr_SetString(PyExc_TypeError,"null reference");
14053 SWIG_fail;
d14a1e28
RD
14054 }
14055 }
14056 if (obj8) {
14057 {
14058 arg9 = wxString_in_helper(obj8);
14059 if (arg9 == NULL) SWIG_fail;
ae8162c8 14060 temp9 = true;
d14a1e28
RD
14061 }
14062 }
14063 {
14064 PyThreadState* __tstate = wxPyBeginAllowThreads();
14065 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14066
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
4f89f6a3
RD
14070 {
14071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14072 }
d14a1e28
RD
14073 {
14074 if (temp4)
14075 delete arg4;
14076 }
14077 {
14078 if (temp9)
14079 delete arg9;
14080 }
14081 return resultobj;
14082 fail:
14083 {
14084 if (temp4)
14085 delete arg4;
14086 }
14087 {
14088 if (temp9)
14089 delete arg9;
14090 }
14091 return NULL;
14092}
14093
14094
c32bde28 14095static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14096 PyObject *resultobj;
14097 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14098 bool arg2 ;
14099 PyObject * obj0 = 0 ;
14100 PyObject * obj1 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "self",(char *) "value", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14108 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 14109 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14110 {
14111 PyThreadState* __tstate = wxPyBeginAllowThreads();
14112 (arg1)->SetValue(arg2);
14113
14114 wxPyEndAllowThreads(__tstate);
14115 if (PyErr_Occurred()) SWIG_fail;
14116 }
14117 Py_INCREF(Py_None); resultobj = Py_None;
14118 return resultobj;
14119 fail:
14120 return NULL;
14121}
14122
14123
c32bde28 14124static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14125 PyObject *resultobj;
14126 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14127 bool result;
14128 PyObject * obj0 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
14134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 result = (bool)((wxToggleButton const *)arg1)->GetValue();
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
4f89f6a3
RD
14143 {
14144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14145 }
d14a1e28
RD
14146 return resultobj;
14147 fail:
14148 return NULL;
14149}
14150
14151
c32bde28 14152static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14153 PyObject *resultobj;
14154 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14155 wxString *arg2 = 0 ;
ae8162c8 14156 bool temp2 = false ;
d14a1e28
RD
14157 PyObject * obj0 = 0 ;
14158 PyObject * obj1 = 0 ;
14159 char *kwnames[] = {
14160 (char *) "self",(char *) "label", NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14166 {
14167 arg2 = wxString_in_helper(obj1);
14168 if (arg2 == NULL) SWIG_fail;
ae8162c8 14169 temp2 = true;
d14a1e28
RD
14170 }
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 (arg1)->SetLabel((wxString const &)*arg2);
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 Py_INCREF(Py_None); resultobj = Py_None;
14179 {
14180 if (temp2)
14181 delete arg2;
14182 }
14183 return resultobj;
14184 fail:
14185 {
14186 if (temp2)
14187 delete arg2;
14188 }
14189 return NULL;
14190}
14191
14192
c32bde28 14193static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
14194 PyObject *resultobj;
14195 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14196 wxVisualAttributes result;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "variant", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14203 if (obj0) {
c32bde28 14204 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 {
110da5b0 14208 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14209 PyThreadState* __tstate = wxPyBeginAllowThreads();
14210 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14211
14212 wxPyEndAllowThreads(__tstate);
dfbb5885 14213 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14214 }
14215 {
14216 wxVisualAttributes * resultptr;
14217 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14219 }
14220 return resultobj;
14221 fail:
14222 return NULL;
14223}
14224
14225
c32bde28 14226static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14227 PyObject *obj;
14228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14229 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14230 Py_INCREF(obj);
14231 return Py_BuildValue((char *)"");
14232}
c32bde28 14233static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
b2dc1044
RD
14234 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14235 return 1;
14236}
14237
14238
14239static PyObject *_wrap_NOTEBOOK_NAME_get() {
14240 PyObject *pyobj;
14241
14242 {
14243#if wxUSE_UNICODE
14244 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14245#else
14246 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14247#endif
14248 }
14249 return pyobj;
14250}
14251
14252
c32bde28 14253static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14254 PyObject *resultobj;
14255 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14256 size_t result;
14257 PyObject * obj0 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
14263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14265 {
14266 PyThreadState* __tstate = wxPyBeginAllowThreads();
14267 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14268
14269 wxPyEndAllowThreads(__tstate);
14270 if (PyErr_Occurred()) SWIG_fail;
14271 }
c32bde28 14272 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
14273 return resultobj;
14274 fail:
14275 return NULL;
14276}
14277
14278
c32bde28 14279static PyObject *_wrap_BookCtrl_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14280 PyObject *resultobj;
14281 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14282 size_t arg2 ;
14283 wxWindow *result;
14284 PyObject * obj0 = 0 ;
14285 PyObject * obj1 = 0 ;
14286 char *kwnames[] = {
14287 (char *) "self",(char *) "n", NULL
14288 };
14289
14290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14293 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 14294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 result = (wxWindow *)(arg1)->GetPage(arg2);
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 {
412d302d 14303 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14304 }
14305 return resultobj;
14306 fail:
14307 return NULL;
14308}
14309
14310
c32bde28 14311static PyObject *_wrap_BookCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14312 PyObject *resultobj;
14313 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14314 int result;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
c32bde28 14330 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14331 return resultobj;
14332 fail:
14333 return NULL;
14334}
14335
14336
c32bde28 14337static PyObject *_wrap_BookCtrl_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14338 PyObject *resultobj;
14339 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14340 size_t arg2 ;
14341 wxString *arg3 = 0 ;
14342 bool result;
ae8162c8 14343 bool temp3 = false ;
d14a1e28
RD
14344 PyObject * obj0 = 0 ;
14345 PyObject * obj1 = 0 ;
14346 PyObject * obj2 = 0 ;
14347 char *kwnames[] = {
14348 (char *) "self",(char *) "n",(char *) "strText", NULL
14349 };
14350
14351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14354 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 14355 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14356 {
14357 arg3 = wxString_in_helper(obj2);
14358 if (arg3 == NULL) SWIG_fail;
ae8162c8 14359 temp3 = true;
d14a1e28
RD
14360 }
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
4f89f6a3
RD
14368 {
14369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14370 }
d14a1e28
RD
14371 {
14372 if (temp3)
14373 delete arg3;
14374 }
14375 return resultobj;
14376 fail:
14377 {
14378 if (temp3)
14379 delete arg3;
14380 }
14381 return NULL;
14382}
14383
14384
c32bde28 14385static PyObject *_wrap_BookCtrl_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14386 PyObject *resultobj;
14387 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14388 size_t arg2 ;
14389 wxString result;
14390 PyObject * obj0 = 0 ;
14391 PyObject * obj1 = 0 ;
14392 char *kwnames[] = {
14393 (char *) "self",(char *) "n", NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14399 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 14400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 {
14409#if wxUSE_UNICODE
14410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14411#else
14412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14413#endif
14414 }
14415 return resultobj;
14416 fail:
14417 return NULL;
14418}
14419
14420
c32bde28 14421static PyObject *_wrap_BookCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14422 PyObject *resultobj;
14423 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14424 wxImageList *arg2 = (wxImageList *) 0 ;
14425 PyObject * obj0 = 0 ;
14426 PyObject * obj1 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self",(char *) "imageList", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 (arg1)->SetImageList(arg2);
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 Py_INCREF(Py_None); resultobj = Py_None;
14444 return resultobj;
14445 fail:
14446 return NULL;
14447}
14448
14449
c32bde28 14450static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14451 PyObject *resultobj;
14452 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14453 wxImageList *arg2 = (wxImageList *) 0 ;
14454 PyObject * obj0 = 0 ;
14455 PyObject * obj1 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "imageList", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14464 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 (arg1)->AssignImageList(arg2);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 Py_INCREF(Py_None); resultobj = Py_None;
14473 return resultobj;
14474 fail:
14475 return NULL;
14476}
14477
14478
c32bde28 14479static PyObject *_wrap_BookCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14480 PyObject *resultobj;
14481 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14482 wxImageList *result;
14483 PyObject * obj0 = 0 ;
14484 char *kwnames[] = {
14485 (char *) "self", NULL
14486 };
14487
14488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
14489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 {
412d302d 14499 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14500 }
14501 return resultobj;
14502 fail:
14503 return NULL;
14504}
14505
14506
c32bde28 14507static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14508 PyObject *resultobj;
14509 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14510 size_t arg2 ;
14511 int result;
14512 PyObject * obj0 = 0 ;
14513 PyObject * obj1 = 0 ;
14514 char *kwnames[] = {
14515 (char *) "self",(char *) "n", NULL
14516 };
14517
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14521 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 14522 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14526
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
c32bde28 14530 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14531 return resultobj;
14532 fail:
14533 return NULL;
14534}
14535
14536
c32bde28 14537static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14538 PyObject *resultobj;
14539 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14540 size_t arg2 ;
14541 int arg3 ;
14542 bool result;
14543 PyObject * obj0 = 0 ;
14544 PyObject * obj1 = 0 ;
994141e6 14545 PyObject * obj2 = 0 ;
d14a1e28
RD
14546 char *kwnames[] = {
14547 (char *) "self",(char *) "n",(char *) "imageId", NULL
14548 };
14549
994141e6 14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14553 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 14554 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14555 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14556 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14560
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
4f89f6a3
RD
14564 {
14565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14566 }
d14a1e28
RD
14567 return resultobj;
14568 fail:
14569 return NULL;
14570}
14571
14572
c32bde28 14573static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14574 PyObject *resultobj;
14575 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14576 wxSize *arg2 = 0 ;
14577 wxSize temp2 ;
14578 PyObject * obj0 = 0 ;
14579 PyObject * obj1 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "self",(char *) "size", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14587 {
14588 arg2 = &temp2;
14589 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14590 }
14591 {
14592 PyThreadState* __tstate = wxPyBeginAllowThreads();
14593 (arg1)->SetPageSize((wxSize const &)*arg2);
14594
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
14598 Py_INCREF(Py_None); resultobj = Py_None;
14599 return resultobj;
14600 fail:
14601 return NULL;
14602}
14603
14604
c32bde28 14605static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14606 PyObject *resultobj;
14607 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14608 wxSize *arg2 = 0 ;
14609 wxSize result;
14610 wxSize temp2 ;
14611 PyObject * obj0 = 0 ;
14612 PyObject * obj1 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self",(char *) "sizePage", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14620 {
14621 arg2 = &temp2;
14622 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14623 }
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14627
14628 wxPyEndAllowThreads(__tstate);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 {
14632 wxSize * resultptr;
14633 resultptr = new wxSize((wxSize &) result);
15afbcd0 14634 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14635 }
14636 return resultobj;
14637 fail:
14638 return NULL;
14639}
14640
14641
c32bde28 14642static PyObject *_wrap_BookCtrl_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14643 PyObject *resultobj;
14644 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14645 size_t arg2 ;
14646 bool result;
14647 PyObject * obj0 = 0 ;
14648 PyObject * obj1 = 0 ;
14649 char *kwnames[] = {
14650 (char *) "self",(char *) "n", NULL
14651 };
14652
14653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14656 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 14657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (bool)(arg1)->DeletePage(arg2);
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
4f89f6a3
RD
14665 {
14666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14667 }
d14a1e28
RD
14668 return resultobj;
14669 fail:
14670 return NULL;
14671}
14672
14673
c32bde28 14674static PyObject *_wrap_BookCtrl_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14675 PyObject *resultobj;
14676 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14677 size_t arg2 ;
14678 bool result;
14679 PyObject * obj0 = 0 ;
14680 PyObject * obj1 = 0 ;
14681 char *kwnames[] = {
14682 (char *) "self",(char *) "n", NULL
14683 };
14684
14685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14688 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 14689 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14690 {
14691 PyThreadState* __tstate = wxPyBeginAllowThreads();
14692 result = (bool)(arg1)->RemovePage(arg2);
14693
14694 wxPyEndAllowThreads(__tstate);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
4f89f6a3
RD
14697 {
14698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14699 }
d14a1e28
RD
14700 return resultobj;
14701 fail:
14702 return NULL;
14703}
14704
14705
c32bde28 14706static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14707 PyObject *resultobj;
14708 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14709 bool result;
14710 PyObject * obj0 = 0 ;
14711 char *kwnames[] = {
14712 (char *) "self", NULL
14713 };
14714
14715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
15afbcd0
RD
14716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14718 {
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 result = (bool)(arg1)->DeleteAllPages();
14721
14722 wxPyEndAllowThreads(__tstate);
14723 if (PyErr_Occurred()) SWIG_fail;
14724 }
4f89f6a3
RD
14725 {
14726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14727 }
d14a1e28
RD
14728 return resultobj;
14729 fail:
14730 return NULL;
14731}
14732
14733
c32bde28 14734static PyObject *_wrap_BookCtrl_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14735 PyObject *resultobj;
14736 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14737 wxWindow *arg2 = (wxWindow *) 0 ;
14738 wxString *arg3 = 0 ;
ae8162c8 14739 bool arg4 = (bool) false ;
d14a1e28
RD
14740 int arg5 = (int) -1 ;
14741 bool result;
ae8162c8 14742 bool temp3 = false ;
d14a1e28
RD
14743 PyObject * obj0 = 0 ;
14744 PyObject * obj1 = 0 ;
14745 PyObject * obj2 = 0 ;
14746 PyObject * obj3 = 0 ;
994141e6 14747 PyObject * obj4 = 0 ;
d14a1e28
RD
14748 char *kwnames[] = {
14749 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14750 };
14751
994141e6 14752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
14753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14757 {
14758 arg3 = wxString_in_helper(obj2);
14759 if (arg3 == NULL) SWIG_fail;
ae8162c8 14760 temp3 = true;
d14a1e28
RD
14761 }
14762 if (obj3) {
c32bde28 14763 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 14764 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14765 }
14766 if (obj4) {
c32bde28 14767 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 14768 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14769 }
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
4f89f6a3
RD
14777 {
14778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14779 }
d14a1e28
RD
14780 {
14781 if (temp3)
14782 delete arg3;
14783 }
14784 return resultobj;
14785 fail:
14786 {
14787 if (temp3)
14788 delete arg3;
14789 }
14790 return NULL;
14791}
14792
14793
c32bde28 14794static PyObject *_wrap_BookCtrl_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14795 PyObject *resultobj;
14796 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14797 size_t arg2 ;
14798 wxWindow *arg3 = (wxWindow *) 0 ;
14799 wxString *arg4 = 0 ;
ae8162c8 14800 bool arg5 = (bool) false ;
d14a1e28
RD
14801 int arg6 = (int) -1 ;
14802 bool result;
ae8162c8 14803 bool temp4 = false ;
d14a1e28
RD
14804 PyObject * obj0 = 0 ;
14805 PyObject * obj1 = 0 ;
14806 PyObject * obj2 = 0 ;
14807 PyObject * obj3 = 0 ;
14808 PyObject * obj4 = 0 ;
994141e6 14809 PyObject * obj5 = 0 ;
d14a1e28
RD
14810 char *kwnames[] = {
14811 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14812 };
14813
994141e6 14814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
14815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14817 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
14818 if (PyErr_Occurred()) SWIG_fail;
14819 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14821 {
14822 arg4 = wxString_in_helper(obj3);
14823 if (arg4 == NULL) SWIG_fail;
ae8162c8 14824 temp4 = true;
d14a1e28
RD
14825 }
14826 if (obj4) {
c32bde28 14827 arg5 = (bool)SWIG_As_bool(obj4);
15afbcd0 14828 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14829 }
14830 if (obj5) {
c32bde28 14831 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 14832 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14833 }
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
4f89f6a3
RD
14841 {
14842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14843 }
d14a1e28
RD
14844 {
14845 if (temp4)
14846 delete arg4;
14847 }
14848 return resultobj;
14849 fail:
14850 {
14851 if (temp4)
14852 delete arg4;
14853 }
14854 return NULL;
14855}
14856
14857
c32bde28 14858static PyObject *_wrap_BookCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14859 PyObject *resultobj;
14860 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14861 size_t arg2 ;
14862 int result;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self",(char *) "n", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14872 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 14873 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 result = (int)(arg1)->SetSelection(arg2);
14877
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
c32bde28 14881 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14882 return resultobj;
14883 fail:
14884 return NULL;
14885}
14886
14887
c32bde28 14888static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14889 PyObject *resultobj;
14890 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
ae8162c8 14891 bool arg2 = (bool) true ;
d14a1e28
RD
14892 PyObject * obj0 = 0 ;
14893 PyObject * obj1 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "self",(char *) "forward", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14901 if (obj1) {
c32bde28 14902 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 14903 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14904 }
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 (arg1)->AdvanceSelection(arg2);
14908
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 Py_INCREF(Py_None); resultobj = Py_None;
14913 return resultobj;
14914 fail:
14915 return NULL;
14916}
14917
14918
c32bde28 14919static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
14920 PyObject *resultobj;
14921 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14922 wxVisualAttributes result;
14923 PyObject * obj0 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "variant", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14929 if (obj0) {
c32bde28 14930 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 {
110da5b0 14934 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14937
14938 wxPyEndAllowThreads(__tstate);
dfbb5885 14939 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14940 }
14941 {
14942 wxVisualAttributes * resultptr;
14943 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14945 }
14946 return resultobj;
14947 fail:
14948 return NULL;
14949}
14950
14951
c32bde28 14952static PyObject * BookCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14953 PyObject *obj;
14954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14955 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14956 Py_INCREF(obj);
14957 return Py_BuildValue((char *)"");
14958}
c32bde28 14959static PyObject *_wrap_new_BookCtrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14960 PyObject *resultobj;
14961 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14962 int arg2 = (int) 0 ;
14963 int arg3 = (int) -1 ;
14964 int arg4 = (int) -1 ;
14965 wxBookCtrlEvent *result;
994141e6
RD
14966 PyObject * obj0 = 0 ;
14967 PyObject * obj1 = 0 ;
14968 PyObject * obj2 = 0 ;
14969 PyObject * obj3 = 0 ;
d14a1e28
RD
14970 char *kwnames[] = {
14971 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14972 };
14973
994141e6
RD
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14975 if (obj0) {
c32bde28 14976 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 14977 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14978 }
14979 if (obj1) {
c32bde28 14980 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14981 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14982 }
14983 if (obj2) {
c32bde28 14984 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14985 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14986 }
14987 if (obj3) {
c32bde28 14988 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 14989 if (PyErr_Occurred()) SWIG_fail;
994141e6 14990 }
d14a1e28
RD
14991 {
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14994
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 }
15afbcd0 14998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
d14a1e28
RD
14999 return resultobj;
15000 fail:
15001 return NULL;
15002}
15003
15004
c32bde28 15005static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15006 PyObject *resultobj;
15007 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15008 int result;
15009 PyObject * obj0 = 0 ;
15010 char *kwnames[] = {
15011 (char *) "self", NULL
15012 };
15013
15014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
15015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15017 {
15018 PyThreadState* __tstate = wxPyBeginAllowThreads();
15019 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
15020
15021 wxPyEndAllowThreads(__tstate);
15022 if (PyErr_Occurred()) SWIG_fail;
15023 }
c32bde28 15024 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15025 return resultobj;
15026 fail:
15027 return NULL;
15028}
15029
15030
c32bde28 15031static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15032 PyObject *resultobj;
15033 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15034 int arg2 ;
15035 PyObject * obj0 = 0 ;
994141e6 15036 PyObject * obj1 = 0 ;
d14a1e28
RD
15037 char *kwnames[] = {
15038 (char *) "self",(char *) "nSel", NULL
15039 };
15040
994141e6 15041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15044 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15046 {
15047 PyThreadState* __tstate = wxPyBeginAllowThreads();
15048 (arg1)->SetSelection(arg2);
15049
15050 wxPyEndAllowThreads(__tstate);
15051 if (PyErr_Occurred()) SWIG_fail;
15052 }
15053 Py_INCREF(Py_None); resultobj = Py_None;
15054 return resultobj;
15055 fail:
15056 return NULL;
15057}
15058
15059
c32bde28 15060static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15061 PyObject *resultobj;
15062 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15063 int result;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
15070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
c32bde28 15079 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15080 return resultobj;
15081 fail:
15082 return NULL;
15083}
15084
15085
c32bde28 15086static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15087 PyObject *resultobj;
15088 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15089 int arg2 ;
15090 PyObject * obj0 = 0 ;
994141e6 15091 PyObject * obj1 = 0 ;
d14a1e28
RD
15092 char *kwnames[] = {
15093 (char *) "self",(char *) "nOldSel", NULL
15094 };
15095
994141e6 15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15099 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15100 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 (arg1)->SetOldSelection(arg2);
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 Py_INCREF(Py_None); resultobj = Py_None;
15109 return resultobj;
15110 fail:
15111 return NULL;
15112}
15113
15114
c32bde28 15115static PyObject * BookCtrlEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15116 PyObject *obj;
15117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15118 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
15119 Py_INCREF(obj);
15120 return Py_BuildValue((char *)"");
15121}
c32bde28 15122static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15123 PyObject *resultobj;
15124 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 15125 int arg2 = (int) -1 ;
d14a1e28
RD
15126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15128 wxSize const &arg4_defvalue = wxDefaultSize ;
15129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15130 long arg5 = (long) 0 ;
15131 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15132 wxString *arg6 = (wxString *) &arg6_defvalue ;
15133 wxNotebook *result;
15134 wxPoint temp3 ;
15135 wxSize temp4 ;
ae8162c8 15136 bool temp6 = false ;
d14a1e28 15137 PyObject * obj0 = 0 ;
994141e6 15138 PyObject * obj1 = 0 ;
d14a1e28
RD
15139 PyObject * obj2 = 0 ;
15140 PyObject * obj3 = 0 ;
994141e6 15141 PyObject * obj4 = 0 ;
d14a1e28
RD
15142 PyObject * obj5 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15145 };
15146
4f89f6a3 15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3 15150 if (obj1) {
c32bde28 15151 arg2 = (int)SWIG_As_int(obj1);
4f89f6a3
RD
15152 if (PyErr_Occurred()) SWIG_fail;
15153 }
d14a1e28
RD
15154 if (obj2) {
15155 {
15156 arg3 = &temp3;
15157 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15158 }
15159 }
15160 if (obj3) {
15161 {
15162 arg4 = &temp4;
15163 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15164 }
15165 }
994141e6 15166 if (obj4) {
c32bde28 15167 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 15168 if (PyErr_Occurred()) SWIG_fail;
994141e6 15169 }
d14a1e28
RD
15170 if (obj5) {
15171 {
15172 arg6 = wxString_in_helper(obj5);
15173 if (arg6 == NULL) SWIG_fail;
ae8162c8 15174 temp6 = true;
d14a1e28
RD
15175 }
15176 }
15177 {
e3b71cb8 15178 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15181
15182 wxPyEndAllowThreads(__tstate);
110da5b0 15183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15184 }
b0f7404b 15185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
15186 {
15187 if (temp6)
15188 delete arg6;
15189 }
15190 return resultobj;
15191 fail:
15192 {
15193 if (temp6)
15194 delete arg6;
15195 }
15196 return NULL;
15197}
15198
15199
c32bde28 15200static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15201 PyObject *resultobj;
15202 wxNotebook *result;
15203 char *kwnames[] = {
15204 NULL
15205 };
15206
15207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15208 {
e3b71cb8 15209 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 result = (wxNotebook *)new wxNotebook();
15212
15213 wxPyEndAllowThreads(__tstate);
110da5b0 15214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15215 }
b0f7404b 15216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
15217 return resultobj;
15218 fail:
15219 return NULL;
15220}
15221
15222
c32bde28 15223static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15224 PyObject *resultobj;
15225 wxNotebook *arg1 = (wxNotebook *) 0 ;
15226 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 15227 int arg3 = (int) -1 ;
d14a1e28
RD
15228 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15229 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15230 wxSize const &arg5_defvalue = wxDefaultSize ;
15231 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15232 long arg6 = (long) 0 ;
15233 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15234 wxString *arg7 = (wxString *) &arg7_defvalue ;
15235 bool result;
15236 wxPoint temp4 ;
15237 wxSize temp5 ;
ae8162c8 15238 bool temp7 = false ;
d14a1e28
RD
15239 PyObject * obj0 = 0 ;
15240 PyObject * obj1 = 0 ;
994141e6 15241 PyObject * obj2 = 0 ;
d14a1e28
RD
15242 PyObject * obj3 = 0 ;
15243 PyObject * obj4 = 0 ;
994141e6 15244 PyObject * obj5 = 0 ;
d14a1e28
RD
15245 PyObject * obj6 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15248 };
15249
248ed943 15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
15251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15255 if (obj2) {
c32bde28 15256 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15257 if (PyErr_Occurred()) SWIG_fail;
15258 }
d14a1e28
RD
15259 if (obj3) {
15260 {
15261 arg4 = &temp4;
15262 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15263 }
15264 }
15265 if (obj4) {
15266 {
15267 arg5 = &temp5;
15268 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15269 }
15270 }
994141e6 15271 if (obj5) {
c32bde28 15272 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 15273 if (PyErr_Occurred()) SWIG_fail;
994141e6 15274 }
d14a1e28
RD
15275 if (obj6) {
15276 {
15277 arg7 = wxString_in_helper(obj6);
15278 if (arg7 == NULL) SWIG_fail;
ae8162c8 15279 temp7 = true;
d14a1e28
RD
15280 }
15281 }
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15285
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
4f89f6a3
RD
15289 {
15290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15291 }
d14a1e28
RD
15292 {
15293 if (temp7)
15294 delete arg7;
15295 }
15296 return resultobj;
15297 fail:
15298 {
15299 if (temp7)
15300 delete arg7;
15301 }
15302 return NULL;
15303}
15304
15305
c32bde28 15306static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15307 PyObject *resultobj;
15308 wxNotebook *arg1 = (wxNotebook *) 0 ;
15309 int result;
15310 PyObject * obj0 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
15316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
c32bde28 15325 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15326 return resultobj;
15327 fail:
15328 return NULL;
15329}
15330
15331
c32bde28 15332static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15333 PyObject *resultobj;
15334 wxNotebook *arg1 = (wxNotebook *) 0 ;
15335 wxSize *arg2 = 0 ;
15336 wxSize temp2 ;
15337 PyObject * obj0 = 0 ;
15338 PyObject * obj1 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self",(char *) "padding", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15346 {
15347 arg2 = &temp2;
15348 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15349 }
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 (arg1)->SetPadding((wxSize const &)*arg2);
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 Py_INCREF(Py_None); resultobj = Py_None;
15358 return resultobj;
15359 fail:
15360 return NULL;
15361}
15362
15363
c32bde28 15364static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15365 PyObject *resultobj;
15366 wxNotebook *arg1 = (wxNotebook *) 0 ;
15367 wxSize *arg2 = 0 ;
15368 wxSize temp2 ;
15369 PyObject * obj0 = 0 ;
15370 PyObject * obj1 = 0 ;
15371 char *kwnames[] = {
15372 (char *) "self",(char *) "sz", NULL
15373 };
15374
15375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15378 {
15379 arg2 = &temp2;
15380 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15381 }
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 (arg1)->SetTabSize((wxSize const &)*arg2);
15385
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 Py_INCREF(Py_None); resultobj = Py_None;
15390 return resultobj;
15391 fail:
15392 return NULL;
15393}
15394
15395
c32bde28 15396static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15397 PyObject *resultobj;
15398 wxNotebook *arg1 = (wxNotebook *) 0 ;
15399 wxPoint *arg2 = 0 ;
15400 long *arg3 = (long *) 0 ;
15401 int result;
15402 wxPoint temp2 ;
15403 long temp3 ;
c32bde28 15404 int res3 = 0 ;
d14a1e28
RD
15405 PyObject * obj0 = 0 ;
15406 PyObject * obj1 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self",(char *) "pt", NULL
15409 };
15410
c32bde28 15411 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15415 {
15416 arg2 = &temp2;
15417 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15418 }
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
c32bde28
RD
15426 resultobj = SWIG_From_int((int)result);
15427 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15428 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
15429 return resultobj;
15430 fail:
15431 return NULL;
15432}
15433
15434
c32bde28 15435static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15436 PyObject *resultobj;
15437 wxNotebook *arg1 = (wxNotebook *) 0 ;
15438 wxSize *arg2 = 0 ;
15439 wxSize result;
15440 wxSize temp2 ;
15441 PyObject * obj0 = 0 ;
15442 PyObject * obj1 = 0 ;
15443 char *kwnames[] = {
15444 (char *) "self",(char *) "sizePage", NULL
15445 };
15446
15447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15450 {
15451 arg2 = &temp2;
15452 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15453 }
15454 {
15455 PyThreadState* __tstate = wxPyBeginAllowThreads();
15456 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15457
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
15461 {
15462 wxSize * resultptr;
15463 resultptr = new wxSize((wxSize &) result);
15afbcd0 15464 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15465 }
15466 return resultobj;
15467 fail:
15468 return NULL;
15469}
15470
15471
c32bde28 15472static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
15473 PyObject *resultobj;
15474 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15475 wxVisualAttributes result;
15476 PyObject * obj0 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "variant", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15482 if (obj0) {
c32bde28 15483 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 {
110da5b0 15487 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15490
15491 wxPyEndAllowThreads(__tstate);
dfbb5885 15492 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
15493 }
15494 {
15495 wxVisualAttributes * resultptr;
15496 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15498 }
15499 return resultobj;
15500 fail:
15501 return NULL;
15502}
15503
15504
c32bde28 15505static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15506 PyObject *obj;
15507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15508 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15509 Py_INCREF(obj);
15510 return Py_BuildValue((char *)"");
15511}
c32bde28 15512static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15513 PyObject *resultobj;
15514 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15515 int arg2 = (int) 0 ;
15516 int arg3 = (int) -1 ;
15517 int arg4 = (int) -1 ;
15518 wxNotebookEvent *result;
994141e6
RD
15519 PyObject * obj0 = 0 ;
15520 PyObject * obj1 = 0 ;
15521 PyObject * obj2 = 0 ;
15522 PyObject * obj3 = 0 ;
d14a1e28
RD
15523 char *kwnames[] = {
15524 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15525 };
15526
994141e6
RD
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15528 if (obj0) {
c32bde28 15529 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 15530 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15531 }
15532 if (obj1) {
c32bde28 15533 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15534 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15535 }
15536 if (obj2) {
c32bde28 15537 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15538 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15539 }
15540 if (obj3) {
c32bde28 15541 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 15542 if (PyErr_Occurred()) SWIG_fail;
994141e6 15543 }
d14a1e28
RD
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15547
15548 wxPyEndAllowThreads(__tstate);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 }
15afbcd0 15551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
15552 return resultobj;
15553 fail:
15554 return NULL;
15555}
15556
15557
c32bde28 15558static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15559 PyObject *obj;
15560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15561 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15562 Py_INCREF(obj);
15563 return Py_BuildValue((char *)"");
15564}
c32bde28 15565static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15566 PyObject *resultobj;
15567 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 15568 int arg2 = (int) -1 ;
d14a1e28
RD
15569 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15570 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15571 wxSize const &arg4_defvalue = wxDefaultSize ;
15572 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15573 long arg5 = (long) 0 ;
15574 wxString const &arg6_defvalue = wxPyEmptyString ;
15575 wxString *arg6 = (wxString *) &arg6_defvalue ;
15576 wxListbook *result;
15577 wxPoint temp3 ;
15578 wxSize temp4 ;
ae8162c8 15579 bool temp6 = false ;
d14a1e28 15580 PyObject * obj0 = 0 ;
994141e6 15581 PyObject * obj1 = 0 ;
d14a1e28
RD
15582 PyObject * obj2 = 0 ;
15583 PyObject * obj3 = 0 ;
994141e6 15584 PyObject * obj4 = 0 ;
d14a1e28
RD
15585 PyObject * obj5 = 0 ;
15586 char *kwnames[] = {
15587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15588 };
15589
4f89f6a3 15590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3 15593 if (obj1) {
c32bde28 15594 arg2 = (int)SWIG_As_int(obj1);
4f89f6a3
RD
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
d14a1e28
RD
15597 if (obj2) {
15598 {
15599 arg3 = &temp3;
15600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15601 }
15602 }
15603 if (obj3) {
15604 {
15605 arg4 = &temp4;
15606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15607 }
15608 }
994141e6 15609 if (obj4) {
c32bde28 15610 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 15611 if (PyErr_Occurred()) SWIG_fail;
994141e6 15612 }
d14a1e28
RD
15613 if (obj5) {
15614 {
15615 arg6 = wxString_in_helper(obj5);
15616 if (arg6 == NULL) SWIG_fail;
ae8162c8 15617 temp6 = true;
d14a1e28
RD
15618 }
15619 }
15620 {
e3b71cb8 15621 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15622 PyThreadState* __tstate = wxPyBeginAllowThreads();
15623 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15624
15625 wxPyEndAllowThreads(__tstate);
110da5b0 15626 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15627 }
15afbcd0 15628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
15629 {
15630 if (temp6)
15631 delete arg6;
15632 }
15633 return resultobj;
15634 fail:
15635 {
15636 if (temp6)
15637 delete arg6;
15638 }
15639 return NULL;
15640}
15641
15642
c32bde28 15643static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15644 PyObject *resultobj;
15645 wxListbook *result;
15646 char *kwnames[] = {
15647 NULL
15648 };
15649
15650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15651 {
e3b71cb8 15652 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 result = (wxListbook *)new wxListbook();
15655
15656 wxPyEndAllowThreads(__tstate);
110da5b0 15657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15658 }
15afbcd0 15659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
15660 return resultobj;
15661 fail:
15662 return NULL;
15663}
15664
15665
c32bde28 15666static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15667 PyObject *resultobj;
15668 wxListbook *arg1 = (wxListbook *) 0 ;
15669 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 15670 int arg3 = (int) -1 ;
d14a1e28
RD
15671 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15672 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15673 wxSize const &arg5_defvalue = wxDefaultSize ;
15674 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15675 long arg6 = (long) 0 ;
15676 wxString const &arg7_defvalue = wxPyEmptyString ;
15677 wxString *arg7 = (wxString *) &arg7_defvalue ;
15678 bool result;
15679 wxPoint temp4 ;
15680 wxSize temp5 ;
ae8162c8 15681 bool temp7 = false ;
d14a1e28
RD
15682 PyObject * obj0 = 0 ;
15683 PyObject * obj1 = 0 ;
994141e6 15684 PyObject * obj2 = 0 ;
d14a1e28
RD
15685 PyObject * obj3 = 0 ;
15686 PyObject * obj4 = 0 ;
994141e6 15687 PyObject * obj5 = 0 ;
d14a1e28
RD
15688 PyObject * obj6 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15691 };
15692
248ed943 15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
15694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15698 if (obj2) {
c32bde28 15699 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
d14a1e28
RD
15702 if (obj3) {
15703 {
15704 arg4 = &temp4;
15705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15706 }
15707 }
15708 if (obj4) {
15709 {
15710 arg5 = &temp5;
15711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15712 }
15713 }
994141e6 15714 if (obj5) {
c32bde28 15715 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 15716 if (PyErr_Occurred()) SWIG_fail;
994141e6 15717 }
d14a1e28
RD
15718 if (obj6) {
15719 {
15720 arg7 = wxString_in_helper(obj6);
15721 if (arg7 == NULL) SWIG_fail;
ae8162c8 15722 temp7 = true;
d14a1e28
RD
15723 }
15724 }
15725 {
15726 PyThreadState* __tstate = wxPyBeginAllowThreads();
15727 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15728
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
4f89f6a3
RD
15732 {
15733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15734 }
d14a1e28
RD
15735 {
15736 if (temp7)
15737 delete arg7;
15738 }
15739 return resultobj;
15740 fail:
15741 {
15742 if (temp7)
15743 delete arg7;
15744 }
15745 return NULL;
15746}
15747
15748
c32bde28 15749static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15750 PyObject *resultobj;
15751 wxListbook *arg1 = (wxListbook *) 0 ;
15752 bool result;
15753 PyObject * obj0 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
15759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 result = (bool)((wxListbook const *)arg1)->IsVertical();
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
4f89f6a3
RD
15768 {
15769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15770 }
d14a1e28
RD
15771 return resultobj;
15772 fail:
15773 return NULL;
15774}
15775
15776
1fbf26be
RD
15777static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj;
15779 wxListbook *arg1 = (wxListbook *) 0 ;
15780 wxListView *result;
15781 PyObject * obj0 = 0 ;
15782 char *kwnames[] = {
15783 (char *) "self", NULL
15784 };
15785
15786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
15787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 result = (wxListView *)(arg1)->GetListView();
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
15797 return resultobj;
15798 fail:
15799 return NULL;
15800}
15801
15802
c32bde28 15803static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15804 PyObject *obj;
15805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15806 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15807 Py_INCREF(obj);
15808 return Py_BuildValue((char *)"");
15809}
c32bde28 15810static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15811 PyObject *resultobj;
15812 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15813 int arg2 = (int) 0 ;
15814 int arg3 = (int) -1 ;
15815 int arg4 = (int) -1 ;
15816 wxListbookEvent *result;
994141e6
RD
15817 PyObject * obj0 = 0 ;
15818 PyObject * obj1 = 0 ;
15819 PyObject * obj2 = 0 ;
15820 PyObject * obj3 = 0 ;
d14a1e28
RD
15821 char *kwnames[] = {
15822 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15823 };
15824
994141e6
RD
15825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15826 if (obj0) {
c32bde28 15827 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 15828 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15829 }
15830 if (obj1) {
c32bde28 15831 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15832 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15833 }
15834 if (obj2) {
c32bde28 15835 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15836 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15837 }
15838 if (obj3) {
c32bde28 15839 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 15840 if (PyErr_Occurred()) SWIG_fail;
994141e6 15841 }
d14a1e28
RD
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15845
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15afbcd0 15849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
d14a1e28
RD
15850 return resultobj;
15851 fail:
15852 return NULL;
15853}
15854
15855
c32bde28 15856static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15857 PyObject *obj;
15858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15859 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15860 Py_INCREF(obj);
15861 return Py_BuildValue((char *)"");
15862}
2ef75293
RD
15863static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxWindow *arg1 = (wxWindow *) 0 ;
15866 int arg2 ;
15867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15869 wxSize const &arg4_defvalue = wxDefaultSize ;
15870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15871 long arg5 = (long) 0 ;
15872 wxString const &arg6_defvalue = wxPyEmptyString ;
15873 wxString *arg6 = (wxString *) &arg6_defvalue ;
15874 wxChoicebook *result;
15875 wxPoint temp3 ;
15876 wxSize temp4 ;
ae8162c8 15877 bool temp6 = false ;
2ef75293
RD
15878 PyObject * obj0 = 0 ;
15879 PyObject * obj1 = 0 ;
15880 PyObject * obj2 = 0 ;
15881 PyObject * obj3 = 0 ;
15882 PyObject * obj4 = 0 ;
15883 PyObject * obj5 = 0 ;
15884 char *kwnames[] = {
15885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15886 };
15887
15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15891 arg2 = (int)SWIG_As_int(obj1);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 if (obj2) {
15894 {
15895 arg3 = &temp3;
15896 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15897 }
15898 }
15899 if (obj3) {
15900 {
15901 arg4 = &temp4;
15902 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15903 }
15904 }
15905 if (obj4) {
15906 arg5 = (long)SWIG_As_long(obj4);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 if (obj5) {
15910 {
15911 arg6 = wxString_in_helper(obj5);
15912 if (arg6 == NULL) SWIG_fail;
ae8162c8 15913 temp6 = true;
2ef75293
RD
15914 }
15915 }
15916 {
15917 if (!wxPyCheckForApp()) SWIG_fail;
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15920
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
15925 {
15926 if (temp6)
15927 delete arg6;
15928 }
15929 return resultobj;
15930 fail:
15931 {
15932 if (temp6)
15933 delete arg6;
15934 }
15935 return NULL;
15936}
15937
15938
15939static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj;
15941 wxChoicebook *result;
15942 char *kwnames[] = {
15943 NULL
15944 };
15945
15946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
15947 {
15948 if (!wxPyCheckForApp()) SWIG_fail;
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 result = (wxChoicebook *)new wxChoicebook();
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
15956 return resultobj;
15957 fail:
15958 return NULL;
15959}
15960
15961
15962static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
15965 wxWindow *arg2 = (wxWindow *) 0 ;
15966 int arg3 ;
15967 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15968 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15969 wxSize const &arg5_defvalue = wxDefaultSize ;
15970 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15971 long arg6 = (long) 0 ;
15972 wxString const &arg7_defvalue = wxPyEmptyString ;
15973 wxString *arg7 = (wxString *) &arg7_defvalue ;
15974 bool result;
15975 wxPoint temp4 ;
15976 wxSize temp5 ;
ae8162c8 15977 bool temp7 = false ;
2ef75293
RD
15978 PyObject * obj0 = 0 ;
15979 PyObject * obj1 = 0 ;
15980 PyObject * obj2 = 0 ;
15981 PyObject * obj3 = 0 ;
15982 PyObject * obj4 = 0 ;
15983 PyObject * obj5 = 0 ;
15984 PyObject * obj6 = 0 ;
15985 char *kwnames[] = {
15986 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15987 };
15988
15989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
15991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15994 arg3 = (int)SWIG_As_int(obj2);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 if (obj3) {
15997 {
15998 arg4 = &temp4;
15999 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16000 }
16001 }
16002 if (obj4) {
16003 {
16004 arg5 = &temp5;
16005 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16006 }
16007 }
16008 if (obj5) {
16009 arg6 = (long)SWIG_As_long(obj5);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 if (obj6) {
16013 {
16014 arg7 = wxString_in_helper(obj6);
16015 if (arg7 == NULL) SWIG_fail;
ae8162c8 16016 temp7 = true;
2ef75293
RD
16017 }
16018 }
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 {
16027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16028 }
16029 {
16030 if (temp7)
16031 delete arg7;
16032 }
16033 return resultobj;
16034 fail:
16035 {
16036 if (temp7)
16037 delete arg7;
16038 }
16039 return NULL;
16040}
16041
16042
16043static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16044 PyObject *resultobj;
16045 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16046 bool result;
16047 PyObject * obj0 = 0 ;
16048 char *kwnames[] = {
16049 (char *) "self", NULL
16050 };
16051
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
16053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 {
16063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16064 }
16065 return resultobj;
16066 fail:
16067 return NULL;
16068}
16069
16070
16071static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16074 bool result;
16075 PyObject * obj0 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
16081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 result = (bool)(arg1)->DeleteAllPages();
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 {
16091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16092 }
16093 return resultobj;
16094 fail:
16095 return NULL;
16096}
16097
16098
16099static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
16100 PyObject *obj;
16101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16102 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
16103 Py_INCREF(obj);
16104 return Py_BuildValue((char *)"");
16105}
16106static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj;
16108 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16109 int arg2 = (int) 0 ;
16110 int arg3 = (int) -1 ;
16111 int arg4 = (int) -1 ;
16112 wxChoicebookEvent *result;
16113 PyObject * obj0 = 0 ;
16114 PyObject * obj1 = 0 ;
16115 PyObject * obj2 = 0 ;
16116 PyObject * obj3 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16122 if (obj0) {
16123 arg1 = (wxEventType)SWIG_As_int(obj0);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 if (obj1) {
16127 arg2 = (int)SWIG_As_int(obj1);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 if (obj2) {
16131 arg3 = (int)SWIG_As_int(obj2);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 }
16134 if (obj3) {
16135 arg4 = (int)SWIG_As_int(obj3);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
16146 return resultobj;
16147 fail:
16148 return NULL;
16149}
16150
16151
16152static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
16153 PyObject *obj;
16154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16155 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
16156 Py_INCREF(obj);
16157 return Py_BuildValue((char *)"");
16158}
c32bde28 16159static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16160 PyObject *resultobj;
16161 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
16162 wxBookCtrlSizer *result;
16163 PyObject * obj0 = 0 ;
16164 char *kwnames[] = {
16165 (char *) "nb", NULL
16166 };
16167
16168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
16169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
16170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
15afbcd0 16178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
d14a1e28
RD
16179 return resultobj;
16180 fail:
16181 return NULL;
16182}
16183
16184
c32bde28 16185static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16186 PyObject *resultobj;
16187 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16188 PyObject * obj0 = 0 ;
16189 char *kwnames[] = {
16190 (char *) "self", NULL
16191 };
16192
16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
16194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 (arg1)->RecalcSizes();
16199
16200 wxPyEndAllowThreads(__tstate);
16201 if (PyErr_Occurred()) SWIG_fail;
16202 }
16203 Py_INCREF(Py_None); resultobj = Py_None;
16204 return resultobj;
16205 fail:
16206 return NULL;
16207}
16208
16209
c32bde28 16210static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16211 PyObject *resultobj;
16212 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16213 wxSize result;
16214 PyObject * obj0 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
16220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 result = (arg1)->CalcMin();
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 {
16230 wxSize * resultptr;
16231 resultptr = new wxSize((wxSize &) result);
15afbcd0 16232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16233 }
16234 return resultobj;
16235 fail:
16236 return NULL;
16237}
16238
16239
c32bde28 16240static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16241 PyObject *resultobj;
16242 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16243 wxBookCtrl *result;
16244 PyObject * obj0 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "self", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
16250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 result = (wxBookCtrl *)(arg1)->GetControl();
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
15afbcd0 16259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
d14a1e28
RD
16260 return resultobj;
16261 fail:
16262 return NULL;
16263}
16264
16265
c32bde28 16266static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16267 PyObject *obj;
16268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16269 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
16270 Py_INCREF(obj);
16271 return Py_BuildValue((char *)"");
16272}
c32bde28 16273static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16274 PyObject *resultobj;
16275 wxNotebook *arg1 = (wxNotebook *) 0 ;
16276 wxNotebookSizer *result;
16277 PyObject * obj0 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "nb", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
16283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
15afbcd0 16292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
d14a1e28
RD
16293 return resultobj;
16294 fail:
16295 return NULL;
16296}
16297
16298
c32bde28 16299static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16300 PyObject *resultobj;
16301 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16302 PyObject * obj0 = 0 ;
16303 char *kwnames[] = {
16304 (char *) "self", NULL
16305 };
16306
16307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
16308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 (arg1)->RecalcSizes();
16313
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 Py_INCREF(Py_None); resultobj = Py_None;
16318 return resultobj;
16319 fail:
16320 return NULL;
16321}
16322
16323
c32bde28 16324static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16325 PyObject *resultobj;
16326 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16327 wxSize result;
16328 PyObject * obj0 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "self", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
16334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16336 {
16337 PyThreadState* __tstate = wxPyBeginAllowThreads();
16338 result = (arg1)->CalcMin();
16339
16340 wxPyEndAllowThreads(__tstate);
16341 if (PyErr_Occurred()) SWIG_fail;
16342 }
16343 {
16344 wxSize * resultptr;
16345 resultptr = new wxSize((wxSize &) result);
15afbcd0 16346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16347 }
16348 return resultobj;
16349 fail:
16350 return NULL;
16351}
16352
16353
c32bde28 16354static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16355 PyObject *resultobj;
16356 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16357 wxNotebook *result;
16358 PyObject * obj0 = 0 ;
16359 char *kwnames[] = {
16360 (char *) "self", NULL
16361 };
16362
16363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15afbcd0
RD
16364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16366 {
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 result = (wxNotebook *)(arg1)->GetNotebook();
16369
16370 wxPyEndAllowThreads(__tstate);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 {
412d302d 16374 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16375 }
16376 return resultobj;
16377 fail:
16378 return NULL;
16379}
16380
16381
c32bde28 16382static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16383 PyObject *obj;
16384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16385 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
16386 Py_INCREF(obj);
16387 return Py_BuildValue((char *)"");
16388}
c32bde28 16389static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16390 PyObject *resultobj;
16391 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16392 int result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
16399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (int)(arg1)->GetId();
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
c32bde28 16408 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16409 return resultobj;
16410 fail:
16411 return NULL;
16412}
16413
16414
c32bde28 16415static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16416 PyObject *resultobj;
16417 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16418 wxControl *result;
16419 PyObject * obj0 = 0 ;
16420 char *kwnames[] = {
16421 (char *) "self", NULL
16422 };
16423
16424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
16425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16427 {
16428 PyThreadState* __tstate = wxPyBeginAllowThreads();
16429 result = (wxControl *)(arg1)->GetControl();
16430
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 {
412d302d 16435 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16436 }
16437 return resultobj;
16438 fail:
16439 return NULL;
16440}
16441
16442
c32bde28 16443static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16444 PyObject *resultobj;
16445 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16446 wxToolBarBase *result;
16447 PyObject * obj0 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self", NULL
16450 };
16451
16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
16453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16455 {
16456 PyThreadState* __tstate = wxPyBeginAllowThreads();
16457 result = (wxToolBarBase *)(arg1)->GetToolBar();
16458
16459 wxPyEndAllowThreads(__tstate);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 }
16462 {
412d302d 16463 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16464 }
16465 return resultobj;
16466 fail:
16467 return NULL;
16468}
16469
16470
c32bde28 16471static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16472 PyObject *resultobj;
16473 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16474 int result;
16475 PyObject * obj0 = 0 ;
16476 char *kwnames[] = {
16477 (char *) "self", NULL
16478 };
16479
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
16481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = (int)(arg1)->IsButton();
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
c32bde28 16490 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16491 return resultobj;
16492 fail:
16493 return NULL;
16494}
16495
16496
c32bde28 16497static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16498 PyObject *resultobj;
16499 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16500 int result;
16501 PyObject * obj0 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
16507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 result = (int)(arg1)->IsControl();
16512
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
c32bde28 16516 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16517 return resultobj;
16518 fail:
16519 return NULL;
16520}
16521
16522
c32bde28 16523static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16524 PyObject *resultobj;
16525 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16526 int result;
16527 PyObject * obj0 = 0 ;
16528 char *kwnames[] = {
16529 (char *) "self", NULL
16530 };
16531
16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
16533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16535 {
16536 PyThreadState* __tstate = wxPyBeginAllowThreads();
16537 result = (int)(arg1)->IsSeparator();
16538
16539 wxPyEndAllowThreads(__tstate);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 }
c32bde28 16542 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16543 return resultobj;
16544 fail:
16545 return NULL;
16546}
16547
16548
c32bde28 16549static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16550 PyObject *resultobj;
16551 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16552 int result;
16553 PyObject * obj0 = 0 ;
16554 char *kwnames[] = {
16555 (char *) "self", NULL
16556 };
16557
16558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
16559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 result = (int)(arg1)->GetStyle();
16564
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
c32bde28 16568 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16569 return resultobj;
16570 fail:
16571 return NULL;
16572}
16573
16574
c32bde28 16575static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16576 PyObject *resultobj;
16577 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16578 int result;
16579 PyObject * obj0 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
16585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16587 {
16588 PyThreadState* __tstate = wxPyBeginAllowThreads();
16589 result = (int)(arg1)->GetKind();
16590
16591 wxPyEndAllowThreads(__tstate);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
c32bde28 16594 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16595 return resultobj;
16596 fail:
16597 return NULL;
16598}
16599
16600
c32bde28 16601static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16602 PyObject *resultobj;
16603 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16604 bool result;
16605 PyObject * obj0 = 0 ;
16606 char *kwnames[] = {
16607 (char *) "self", NULL
16608 };
16609
16610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
16611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16613 {
16614 PyThreadState* __tstate = wxPyBeginAllowThreads();
16615 result = (bool)(arg1)->IsEnabled();
16616
16617 wxPyEndAllowThreads(__tstate);
16618 if (PyErr_Occurred()) SWIG_fail;
16619 }
4f89f6a3
RD
16620 {
16621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16622 }
d14a1e28
RD
16623 return resultobj;
16624 fail:
16625 return NULL;
16626}
16627
16628
c32bde28 16629static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16630 PyObject *resultobj;
16631 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16632 bool result;
16633 PyObject * obj0 = 0 ;
16634 char *kwnames[] = {
16635 (char *) "self", NULL
16636 };
16637
16638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
16639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 result = (bool)(arg1)->IsToggled();
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
4f89f6a3
RD
16648 {
16649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16650 }
d14a1e28
RD
16651 return resultobj;
16652 fail:
16653 return NULL;
16654}
16655
16656
c32bde28 16657static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16658 PyObject *resultobj;
16659 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16660 bool result;
16661 PyObject * obj0 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
16667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 result = (bool)(arg1)->CanBeToggled();
16672
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
4f89f6a3
RD
16676 {
16677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16678 }
d14a1e28
RD
16679 return resultobj;
16680 fail:
16681 return NULL;
16682}
16683
16684
c32bde28 16685static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16686 PyObject *resultobj;
16687 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16688 wxBitmap *result;
16689 PyObject * obj0 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
16695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16697 {
16698 PyThreadState* __tstate = wxPyBeginAllowThreads();
16699 {
16700 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16701 result = (wxBitmap *) &_result_ref;
16702 }
16703
16704 wxPyEndAllowThreads(__tstate);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
4276dc52
RD
16707 {
16708 wxBitmap* resultptr = new wxBitmap(*result);
16709 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16710 }
d14a1e28
RD
16711 return resultobj;
16712 fail:
16713 return NULL;
16714}
16715
16716
c32bde28 16717static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16718 PyObject *resultobj;
16719 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16720 wxBitmap *result;
16721 PyObject * obj0 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "self", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
16727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 {
16732 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16733 result = (wxBitmap *) &_result_ref;
16734 }
16735
16736 wxPyEndAllowThreads(__tstate);
16737 if (PyErr_Occurred()) SWIG_fail;
16738 }
4276dc52
RD
16739 {
16740 wxBitmap* resultptr = new wxBitmap(*result);
16741 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16742 }
d14a1e28
RD
16743 return resultobj;
16744 fail:
16745 return NULL;
16746}
16747
16748
c32bde28 16749static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16750 PyObject *resultobj;
16751 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16752 wxBitmap result;
16753 PyObject * obj0 = 0 ;
16754 char *kwnames[] = {
16755 (char *) "self", NULL
16756 };
16757
16758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
16759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16761 {
16762 PyThreadState* __tstate = wxPyBeginAllowThreads();
16763 result = (arg1)->GetBitmap();
16764
16765 wxPyEndAllowThreads(__tstate);
16766 if (PyErr_Occurred()) SWIG_fail;
16767 }
16768 {
16769 wxBitmap * resultptr;
16770 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 16771 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
16772 }
16773 return resultobj;
16774 fail:
16775 return NULL;
16776}
16777
16778
c32bde28 16779static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16780 PyObject *resultobj;
16781 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16782 wxString result;
16783 PyObject * obj0 = 0 ;
16784 char *kwnames[] = {
16785 (char *) "self", NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
16789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (arg1)->GetLabel();
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 {
16799#if wxUSE_UNICODE
16800 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16801#else
16802 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16803#endif
16804 }
16805 return resultobj;
16806 fail:
16807 return NULL;
16808}
16809
16810
c32bde28 16811static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16812 PyObject *resultobj;
16813 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16814 wxString result;
16815 PyObject * obj0 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "self", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
16821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (arg1)->GetShortHelp();
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 {
16831#if wxUSE_UNICODE
16832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16833#else
16834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16835#endif
16836 }
16837 return resultobj;
16838 fail:
16839 return NULL;
16840}
16841
16842
c32bde28 16843static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16844 PyObject *resultobj;
16845 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16846 wxString result;
16847 PyObject * obj0 = 0 ;
16848 char *kwnames[] = {
16849 (char *) "self", NULL
16850 };
16851
16852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
16853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16855 {
16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
16857 result = (arg1)->GetLongHelp();
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 {
16863#if wxUSE_UNICODE
16864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16865#else
16866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16867#endif
16868 }
16869 return resultobj;
16870 fail:
16871 return NULL;
16872}
16873
16874
c32bde28 16875static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16876 PyObject *resultobj;
16877 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16878 bool arg2 ;
16879 bool result;
16880 PyObject * obj0 = 0 ;
16881 PyObject * obj1 = 0 ;
16882 char *kwnames[] = {
16883 (char *) "self",(char *) "enable", NULL
16884 };
16885
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16889 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16890 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 result = (bool)(arg1)->Enable(arg2);
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
4f89f6a3
RD
16898 {
16899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16900 }
d14a1e28
RD
16901 return resultobj;
16902 fail:
16903 return NULL;
16904}
16905
16906
c32bde28 16907static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16908 PyObject *resultobj;
16909 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16910 PyObject * obj0 = 0 ;
16911 char *kwnames[] = {
16912 (char *) "self", NULL
16913 };
16914
16915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
16916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16918 {
16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
16920 (arg1)->Toggle();
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 Py_INCREF(Py_None); resultobj = Py_None;
16926 return resultobj;
16927 fail:
16928 return NULL;
16929}
16930
16931
c32bde28 16932static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16933 PyObject *resultobj;
16934 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16935 bool arg2 ;
16936 bool result;
16937 PyObject * obj0 = 0 ;
16938 PyObject * obj1 = 0 ;
16939 char *kwnames[] = {
16940 (char *) "self",(char *) "toggle", NULL
16941 };
16942
16943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16946 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16947 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
16950 result = (bool)(arg1)->SetToggle(arg2);
16951
16952 wxPyEndAllowThreads(__tstate);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 }
4f89f6a3
RD
16955 {
16956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16957 }
d14a1e28
RD
16958 return resultobj;
16959 fail:
16960 return NULL;
16961}
16962
16963
c32bde28 16964static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16965 PyObject *resultobj;
16966 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16967 wxString *arg2 = 0 ;
16968 bool result;
ae8162c8 16969 bool temp2 = false ;
d14a1e28
RD
16970 PyObject * obj0 = 0 ;
16971 PyObject * obj1 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self",(char *) "help", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16979 {
16980 arg2 = wxString_in_helper(obj1);
16981 if (arg2 == NULL) SWIG_fail;
ae8162c8 16982 temp2 = true;
d14a1e28
RD
16983 }
16984 {
16985 PyThreadState* __tstate = wxPyBeginAllowThreads();
16986 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16987
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
4f89f6a3
RD
16991 {
16992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16993 }
d14a1e28
RD
16994 {
16995 if (temp2)
16996 delete arg2;
16997 }
16998 return resultobj;
16999 fail:
17000 {
17001 if (temp2)
17002 delete arg2;
17003 }
17004 return NULL;
17005}
17006
17007
c32bde28 17008static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17009 PyObject *resultobj;
17010 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17011 wxString *arg2 = 0 ;
17012 bool result;
ae8162c8 17013 bool temp2 = false ;
d14a1e28
RD
17014 PyObject * obj0 = 0 ;
17015 PyObject * obj1 = 0 ;
17016 char *kwnames[] = {
17017 (char *) "self",(char *) "help", NULL
17018 };
17019
17020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17023 {
17024 arg2 = wxString_in_helper(obj1);
17025 if (arg2 == NULL) SWIG_fail;
ae8162c8 17026 temp2 = true;
d14a1e28
RD
17027 }
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
4f89f6a3
RD
17035 {
17036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17037 }
d14a1e28
RD
17038 {
17039 if (temp2)
17040 delete arg2;
17041 }
17042 return resultobj;
17043 fail:
17044 {
17045 if (temp2)
17046 delete arg2;
17047 }
17048 return NULL;
17049}
17050
17051
c32bde28 17052static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17053 PyObject *resultobj;
17054 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17055 wxBitmap *arg2 = 0 ;
17056 PyObject * obj0 = 0 ;
17057 PyObject * obj1 = 0 ;
17058 char *kwnames[] = {
17059 (char *) "self",(char *) "bmp", NULL
17060 };
17061
17062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17066 SWIG_POINTER_EXCEPTION | 0)) == -1)
17067 SWIG_fail;
d14a1e28 17068 if (arg2 == NULL) {
15afbcd0
RD
17069 PyErr_SetString(PyExc_TypeError,"null reference");
17070 SWIG_fail;
d14a1e28
RD
17071 }
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
17075
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 Py_INCREF(Py_None); resultobj = Py_None;
17080 return resultobj;
17081 fail:
17082 return NULL;
17083}
17084
17085
c32bde28 17086static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17087 PyObject *resultobj;
17088 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17089 wxBitmap *arg2 = 0 ;
17090 PyObject * obj0 = 0 ;
17091 PyObject * obj1 = 0 ;
17092 char *kwnames[] = {
17093 (char *) "self",(char *) "bmp", NULL
17094 };
17095
17096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17100 SWIG_POINTER_EXCEPTION | 0)) == -1)
17101 SWIG_fail;
d14a1e28 17102 if (arg2 == NULL) {
15afbcd0
RD
17103 PyErr_SetString(PyExc_TypeError,"null reference");
17104 SWIG_fail;
d14a1e28
RD
17105 }
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
17113 Py_INCREF(Py_None); resultobj = Py_None;
17114 return resultobj;
17115 fail:
17116 return NULL;
17117}
17118
17119
c32bde28 17120static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17121 PyObject *resultobj;
17122 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17123 wxString *arg2 = 0 ;
ae8162c8 17124 bool temp2 = false ;
d14a1e28
RD
17125 PyObject * obj0 = 0 ;
17126 PyObject * obj1 = 0 ;
17127 char *kwnames[] = {
17128 (char *) "self",(char *) "label", NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17134 {
17135 arg2 = wxString_in_helper(obj1);
17136 if (arg2 == NULL) SWIG_fail;
ae8162c8 17137 temp2 = true;
d14a1e28
RD
17138 }
17139 {
17140 PyThreadState* __tstate = wxPyBeginAllowThreads();
17141 (arg1)->SetLabel((wxString const &)*arg2);
17142
17143 wxPyEndAllowThreads(__tstate);
17144 if (PyErr_Occurred()) SWIG_fail;
17145 }
17146 Py_INCREF(Py_None); resultobj = Py_None;
17147 {
17148 if (temp2)
17149 delete arg2;
17150 }
17151 return resultobj;
17152 fail:
17153 {
17154 if (temp2)
17155 delete arg2;
17156 }
17157 return NULL;
17158}
17159
17160
c32bde28 17161static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17162 PyObject *resultobj;
17163 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17164 PyObject * obj0 = 0 ;
17165 char *kwnames[] = {
17166 (char *) "self", NULL
17167 };
17168
17169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
17170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 (arg1)->Detach();
17175
17176 wxPyEndAllowThreads(__tstate);
17177 if (PyErr_Occurred()) SWIG_fail;
17178 }
17179 Py_INCREF(Py_None); resultobj = Py_None;
17180 return resultobj;
17181 fail:
17182 return NULL;
17183}
17184
17185
c32bde28 17186static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17187 PyObject *resultobj;
17188 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17189 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
17190 PyObject * obj0 = 0 ;
17191 PyObject * obj1 = 0 ;
17192 char *kwnames[] = {
17193 (char *) "self",(char *) "tbar", NULL
17194 };
17195
17196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
17200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17201 {
17202 PyThreadState* __tstate = wxPyBeginAllowThreads();
17203 (arg1)->Attach(arg2);
17204
17205 wxPyEndAllowThreads(__tstate);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 Py_INCREF(Py_None); resultobj = Py_None;
17209 return resultobj;
17210 fail:
17211 return NULL;
17212}
17213
17214
c32bde28 17215static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17216 PyObject *resultobj;
17217 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17218 PyObject *result;
17219 PyObject * obj0 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15afbcd0
RD
17225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 resultobj = result;
17235 return resultobj;
17236 fail:
17237 return NULL;
17238}
17239
17240
c32bde28 17241static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17242 PyObject *resultobj;
17243 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17244 PyObject *arg2 = (PyObject *) 0 ;
17245 PyObject * obj0 = 0 ;
17246 PyObject * obj1 = 0 ;
17247 char *kwnames[] = {
17248 (char *) "self",(char *) "clientData", NULL
17249 };
17250
17251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17254 arg2 = obj1;
17255 {
17256 PyThreadState* __tstate = wxPyBeginAllowThreads();
17257 wxToolBarToolBase_SetClientData(arg1,arg2);
17258
17259 wxPyEndAllowThreads(__tstate);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 Py_INCREF(Py_None); resultobj = Py_None;
17263 return resultobj;
17264 fail:
17265 return NULL;
17266}
17267
17268
c32bde28 17269static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17270 PyObject *obj;
17271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17272 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
17273 Py_INCREF(obj);
17274 return Py_BuildValue((char *)"");
17275}
c32bde28 17276static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17277 PyObject *resultobj;
17278 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17279 int arg2 ;
17280 wxString *arg3 = 0 ;
17281 wxBitmap *arg4 = 0 ;
17282 wxBitmap const &arg5_defvalue = wxNullBitmap ;
17283 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
17284 int arg6 = (int) wxITEM_NORMAL ;
17285 wxString const &arg7_defvalue = wxPyEmptyString ;
17286 wxString *arg7 = (wxString *) &arg7_defvalue ;
17287 wxString const &arg8_defvalue = wxPyEmptyString ;
17288 wxString *arg8 = (wxString *) &arg8_defvalue ;
17289 PyObject *arg9 = (PyObject *) NULL ;
17290 wxToolBarToolBase *result;
ae8162c8
RD
17291 bool temp3 = false ;
17292 bool temp7 = false ;
17293 bool temp8 = false ;
d14a1e28 17294 PyObject * obj0 = 0 ;
994141e6 17295 PyObject * obj1 = 0 ;
d14a1e28
RD
17296 PyObject * obj2 = 0 ;
17297 PyObject * obj3 = 0 ;
17298 PyObject * obj4 = 0 ;
994141e6 17299 PyObject * obj5 = 0 ;
d14a1e28
RD
17300 PyObject * obj6 = 0 ;
17301 PyObject * obj7 = 0 ;
17302 PyObject * obj8 = 0 ;
17303 char *kwnames[] = {
17304 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17305 };
17306
994141e6 17307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
17308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17310 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17312 {
17313 arg3 = wxString_in_helper(obj2);
17314 if (arg3 == NULL) SWIG_fail;
ae8162c8 17315 temp3 = true;
d14a1e28 17316 }
15afbcd0
RD
17317 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
17318 SWIG_POINTER_EXCEPTION | 0)) == -1)
17319 SWIG_fail;
d14a1e28 17320 if (arg4 == NULL) {
15afbcd0
RD
17321 PyErr_SetString(PyExc_TypeError,"null reference");
17322 SWIG_fail;
d14a1e28
RD
17323 }
17324 if (obj4) {
15afbcd0
RD
17325 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17326 SWIG_POINTER_EXCEPTION | 0)) == -1)
17327 SWIG_fail;
d14a1e28 17328 if (arg5 == NULL) {
15afbcd0
RD
17329 PyErr_SetString(PyExc_TypeError,"null reference");
17330 SWIG_fail;
d14a1e28
RD
17331 }
17332 }
994141e6 17333 if (obj5) {
c32bde28 17334 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 17335 if (PyErr_Occurred()) SWIG_fail;
994141e6 17336 }
d14a1e28
RD
17337 if (obj6) {
17338 {
17339 arg7 = wxString_in_helper(obj6);
17340 if (arg7 == NULL) SWIG_fail;
ae8162c8 17341 temp7 = true;
d14a1e28
RD
17342 }
17343 }
17344 if (obj7) {
17345 {
17346 arg8 = wxString_in_helper(obj7);
17347 if (arg8 == NULL) SWIG_fail;
ae8162c8 17348 temp8 = true;
d14a1e28
RD
17349 }
17350 }
17351 if (obj8) {
17352 arg9 = obj8;
17353 }
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 {
412d302d 17362 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17363 }
17364 {
17365 if (temp3)
17366 delete arg3;
17367 }
17368 {
17369 if (temp7)
17370 delete arg7;
17371 }
17372 {
17373 if (temp8)
17374 delete arg8;
17375 }
17376 return resultobj;
17377 fail:
17378 {
17379 if (temp3)
17380 delete arg3;
17381 }
17382 {
17383 if (temp7)
17384 delete arg7;
17385 }
17386 {
17387 if (temp8)
17388 delete arg8;
17389 }
17390 return NULL;
17391}
17392
17393
c32bde28 17394static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17395 PyObject *resultobj;
17396 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17397 size_t arg2 ;
17398 int arg3 ;
17399 wxString *arg4 = 0 ;
17400 wxBitmap *arg5 = 0 ;
17401 wxBitmap const &arg6_defvalue = wxNullBitmap ;
17402 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
17403 int arg7 = (int) wxITEM_NORMAL ;
17404 wxString const &arg8_defvalue = wxPyEmptyString ;
17405 wxString *arg8 = (wxString *) &arg8_defvalue ;
17406 wxString const &arg9_defvalue = wxPyEmptyString ;
17407 wxString *arg9 = (wxString *) &arg9_defvalue ;
17408 PyObject *arg10 = (PyObject *) NULL ;
17409 wxToolBarToolBase *result;
ae8162c8
RD
17410 bool temp4 = false ;
17411 bool temp8 = false ;
17412 bool temp9 = false ;
d14a1e28
RD
17413 PyObject * obj0 = 0 ;
17414 PyObject * obj1 = 0 ;
994141e6 17415 PyObject * obj2 = 0 ;
d14a1e28
RD
17416 PyObject * obj3 = 0 ;
17417 PyObject * obj4 = 0 ;
17418 PyObject * obj5 = 0 ;
994141e6 17419 PyObject * obj6 = 0 ;
d14a1e28
RD
17420 PyObject * obj7 = 0 ;
17421 PyObject * obj8 = 0 ;
17422 PyObject * obj9 = 0 ;
17423 char *kwnames[] = {
17424 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17425 };
17426
994141e6 17427 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
17428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17430 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 17431 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17432 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17433 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17434 {
17435 arg4 = wxString_in_helper(obj3);
17436 if (arg4 == NULL) SWIG_fail;
ae8162c8 17437 temp4 = true;
d14a1e28 17438 }
15afbcd0
RD
17439 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17440 SWIG_POINTER_EXCEPTION | 0)) == -1)
17441 SWIG_fail;
d14a1e28 17442 if (arg5 == NULL) {
15afbcd0
RD
17443 PyErr_SetString(PyExc_TypeError,"null reference");
17444 SWIG_fail;
d14a1e28
RD
17445 }
17446 if (obj5) {
15afbcd0
RD
17447 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17448 SWIG_POINTER_EXCEPTION | 0)) == -1)
17449 SWIG_fail;
d14a1e28 17450 if (arg6 == NULL) {
15afbcd0
RD
17451 PyErr_SetString(PyExc_TypeError,"null reference");
17452 SWIG_fail;
d14a1e28
RD
17453 }
17454 }
994141e6 17455 if (obj6) {
c32bde28 17456 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 17457 if (PyErr_Occurred()) SWIG_fail;
994141e6 17458 }
d14a1e28
RD
17459 if (obj7) {
17460 {
17461 arg8 = wxString_in_helper(obj7);
17462 if (arg8 == NULL) SWIG_fail;
ae8162c8 17463 temp8 = true;
d14a1e28
RD
17464 }
17465 }
17466 if (obj8) {
17467 {
17468 arg9 = wxString_in_helper(obj8);
17469 if (arg9 == NULL) SWIG_fail;
ae8162c8 17470 temp9 = true;
d14a1e28
RD
17471 }
17472 }
17473 if (obj9) {
17474 arg10 = obj9;
17475 }
17476 {
17477 PyThreadState* __tstate = wxPyBeginAllowThreads();
17478 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);
17479
17480 wxPyEndAllowThreads(__tstate);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
17483 {
412d302d 17484 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17485 }
17486 {
17487 if (temp4)
17488 delete arg4;
17489 }
17490 {
17491 if (temp8)
17492 delete arg8;
17493 }
17494 {
17495 if (temp9)
17496 delete arg9;
17497 }
17498 return resultobj;
17499 fail:
17500 {
17501 if (temp4)
17502 delete arg4;
17503 }
17504 {
17505 if (temp8)
17506 delete arg8;
17507 }
17508 {
17509 if (temp9)
17510 delete arg9;
17511 }
17512 return NULL;
17513}
17514
17515
c32bde28 17516static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
17517 PyObject *resultobj;
17518 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17519 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17520 wxToolBarToolBase *result;
17521 PyObject * obj0 = 0 ;
17522 PyObject * obj1 = 0 ;
17523 char *kwnames[] = {
17524 (char *) "self",(char *) "tool", NULL
17525 };
17526
17527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17535
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 {
412d302d 17540 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
17541 }
17542 return resultobj;
17543 fail:
17544 return NULL;
17545}
17546
17547
c32bde28 17548static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
17549 PyObject *resultobj;
17550 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17551 size_t arg2 ;
17552 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17553 wxToolBarToolBase *result;
17554 PyObject * obj0 = 0 ;
17555 PyObject * obj1 = 0 ;
17556 PyObject * obj2 = 0 ;
17557 char *kwnames[] = {
17558 (char *) "self",(char *) "pos",(char *) "tool", NULL
17559 };
17560
17561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17564 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
17565 if (PyErr_Occurred()) SWIG_fail;
17566 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 {
412d302d 17576 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
17577 }
17578 return resultobj;
17579 fail:
17580 return NULL;
17581}
17582
17583
c32bde28 17584static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17585 PyObject *resultobj;
17586 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17587 wxControl *arg2 = (wxControl *) 0 ;
17588 wxToolBarToolBase *result;
17589 PyObject * obj0 = 0 ;
17590 PyObject * obj1 = 0 ;
17591 char *kwnames[] = {
17592 (char *) "self",(char *) "control", NULL
17593 };
17594
17595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17600 {
17601 PyThreadState* __tstate = wxPyBeginAllowThreads();
17602 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17603
17604 wxPyEndAllowThreads(__tstate);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 {
412d302d 17608 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17609 }
17610 return resultobj;
17611 fail:
17612 return NULL;
17613}
17614
17615
c32bde28 17616static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17617 PyObject *resultobj;
17618 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17619 size_t arg2 ;
17620 wxControl *arg3 = (wxControl *) 0 ;
17621 wxToolBarToolBase *result;
17622 PyObject * obj0 = 0 ;
17623 PyObject * obj1 = 0 ;
17624 PyObject * obj2 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self",(char *) "pos",(char *) "control", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17632 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
17633 if (PyErr_Occurred()) SWIG_fail;
17634 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 {
412d302d 17644 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17645 }
17646 return resultobj;
17647 fail:
17648 return NULL;
17649}
17650
17651
c32bde28 17652static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17653 PyObject *resultobj;
17654 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17655 int arg2 ;
17656 wxControl *result;
17657 PyObject * obj0 = 0 ;
994141e6 17658 PyObject * obj1 = 0 ;
d14a1e28
RD
17659 char *kwnames[] = {
17660 (char *) "self",(char *) "id", NULL
17661 };
17662
994141e6 17663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17666 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17667 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (wxControl *)(arg1)->FindControl(arg2);
17671
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 {
412d302d 17676 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17677 }
17678 return resultobj;
17679 fail:
17680 return NULL;
17681}
17682
17683
c32bde28 17684static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17685 PyObject *resultobj;
17686 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17687 wxToolBarToolBase *result;
17688 PyObject * obj0 = 0 ;
17689 char *kwnames[] = {
17690 (char *) "self", NULL
17691 };
17692
17693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
17694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17699
17700 wxPyEndAllowThreads(__tstate);
17701 if (PyErr_Occurred()) SWIG_fail;
17702 }
17703 {
412d302d 17704 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17705 }
17706 return resultobj;
17707 fail:
17708 return NULL;
17709}
17710
17711
c32bde28 17712static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17713 PyObject *resultobj;
17714 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17715 size_t arg2 ;
17716 wxToolBarToolBase *result;
17717 PyObject * obj0 = 0 ;
17718 PyObject * obj1 = 0 ;
17719 char *kwnames[] = {
17720 (char *) "self",(char *) "pos", NULL
17721 };
17722
17723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17726 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 17727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17728 {
17729 PyThreadState* __tstate = wxPyBeginAllowThreads();
17730 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17731
17732 wxPyEndAllowThreads(__tstate);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 {
412d302d 17736 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17737 }
17738 return resultobj;
17739 fail:
17740 return NULL;
17741}
17742
17743
c32bde28 17744static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17745 PyObject *resultobj;
17746 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17747 int arg2 ;
17748 wxToolBarToolBase *result;
17749 PyObject * obj0 = 0 ;
994141e6 17750 PyObject * obj1 = 0 ;
d14a1e28
RD
17751 char *kwnames[] = {
17752 (char *) "self",(char *) "id", NULL
17753 };
17754
994141e6 17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17758 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 {
412d302d 17768 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17769 }
17770 return resultobj;
17771 fail:
17772 return NULL;
17773}
17774
17775
c32bde28 17776static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17777 PyObject *resultobj;
17778 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17779 size_t arg2 ;
17780 bool result;
17781 PyObject * obj0 = 0 ;
17782 PyObject * obj1 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self",(char *) "pos", NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17790 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 17791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17792 {
17793 PyThreadState* __tstate = wxPyBeginAllowThreads();
17794 result = (bool)(arg1)->DeleteToolByPos(arg2);
17795
17796 wxPyEndAllowThreads(__tstate);
17797 if (PyErr_Occurred()) SWIG_fail;
17798 }
4f89f6a3
RD
17799 {
17800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17801 }
d14a1e28
RD
17802 return resultobj;
17803 fail:
17804 return NULL;
17805}
17806
17807
c32bde28 17808static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17809 PyObject *resultobj;
17810 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17811 int arg2 ;
17812 bool result;
17813 PyObject * obj0 = 0 ;
994141e6 17814 PyObject * obj1 = 0 ;
d14a1e28
RD
17815 char *kwnames[] = {
17816 (char *) "self",(char *) "id", NULL
17817 };
17818
994141e6 17819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17822 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17824 {
17825 PyThreadState* __tstate = wxPyBeginAllowThreads();
17826 result = (bool)(arg1)->DeleteTool(arg2);
17827
17828 wxPyEndAllowThreads(__tstate);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 }
4f89f6a3
RD
17831 {
17832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17833 }
d14a1e28
RD
17834 return resultobj;
17835 fail:
17836 return NULL;
17837}
17838
17839
c32bde28 17840static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17841 PyObject *resultobj;
17842 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17843 PyObject * obj0 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
15afbcd0
RD
17849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17851 {
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 (arg1)->ClearTools();
17854
17855 wxPyEndAllowThreads(__tstate);
17856 if (PyErr_Occurred()) SWIG_fail;
17857 }
17858 Py_INCREF(Py_None); resultobj = Py_None;
17859 return resultobj;
17860 fail:
17861 return NULL;
17862}
17863
17864
c32bde28 17865static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17866 PyObject *resultobj;
17867 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17868 bool result;
17869 PyObject * obj0 = 0 ;
17870 char *kwnames[] = {
17871 (char *) "self", NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 result = (bool)(arg1)->Realize();
17880
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
4f89f6a3
RD
17884 {
17885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17886 }
d14a1e28
RD
17887 return resultobj;
17888 fail:
17889 return NULL;
17890}
17891
17892
c32bde28 17893static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17894 PyObject *resultobj;
17895 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17896 int arg2 ;
17897 bool arg3 ;
17898 PyObject * obj0 = 0 ;
994141e6 17899 PyObject * obj1 = 0 ;
d14a1e28
RD
17900 PyObject * obj2 = 0 ;
17901 char *kwnames[] = {
17902 (char *) "self",(char *) "id",(char *) "enable", NULL
17903 };
17904
994141e6 17905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17908 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17909 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17910 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 17911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 (arg1)->EnableTool(arg2,arg3);
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 Py_INCREF(Py_None); resultobj = Py_None;
17920 return resultobj;
17921 fail:
17922 return NULL;
17923}
17924
17925
c32bde28 17926static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17927 PyObject *resultobj;
17928 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17929 int arg2 ;
17930 bool arg3 ;
17931 PyObject * obj0 = 0 ;
994141e6 17932 PyObject * obj1 = 0 ;
d14a1e28
RD
17933 PyObject * obj2 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self",(char *) "id",(char *) "toggle", NULL
17936 };
17937
994141e6 17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17941 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17942 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17943 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 17944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17945 {
17946 PyThreadState* __tstate = wxPyBeginAllowThreads();
17947 (arg1)->ToggleTool(arg2,arg3);
17948
17949 wxPyEndAllowThreads(__tstate);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 }
17952 Py_INCREF(Py_None); resultobj = Py_None;
17953 return resultobj;
17954 fail:
17955 return NULL;
17956}
17957
17958
c32bde28 17959static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17960 PyObject *resultobj;
17961 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17962 int arg2 ;
17963 bool arg3 ;
17964 PyObject * obj0 = 0 ;
994141e6 17965 PyObject * obj1 = 0 ;
d14a1e28
RD
17966 PyObject * obj2 = 0 ;
17967 char *kwnames[] = {
17968 (char *) "self",(char *) "id",(char *) "toggle", NULL
17969 };
17970
994141e6 17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17974 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17975 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17976 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 17977 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 (arg1)->SetToggle(arg2,arg3);
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
17985 Py_INCREF(Py_None); resultobj = Py_None;
17986 return resultobj;
17987 fail:
17988 return NULL;
17989}
17990
17991
c32bde28 17992static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17993 PyObject *resultobj;
17994 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17995 int arg2 ;
17996 PyObject *result;
17997 PyObject * obj0 = 0 ;
994141e6 17998 PyObject * obj1 = 0 ;
d14a1e28
RD
17999 char *kwnames[] = {
18000 (char *) "self",(char *) "id", NULL
18001 };
18002
994141e6 18003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18006 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18007 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18008 {
18009 PyThreadState* __tstate = wxPyBeginAllowThreads();
18010 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
18011
18012 wxPyEndAllowThreads(__tstate);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 resultobj = result;
18016 return resultobj;
18017 fail:
18018 return NULL;
18019}
18020
18021
c32bde28 18022static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18023 PyObject *resultobj;
18024 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18025 int arg2 ;
18026 PyObject *arg3 = (PyObject *) 0 ;
18027 PyObject * obj0 = 0 ;
994141e6 18028 PyObject * obj1 = 0 ;
d14a1e28
RD
18029 PyObject * obj2 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self",(char *) "id",(char *) "clientData", NULL
18032 };
18033
994141e6 18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18037 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18038 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18039 arg3 = obj2;
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 Py_INCREF(Py_None); resultobj = Py_None;
18048 return resultobj;
18049 fail:
18050 return NULL;
18051}
18052
18053
c32bde28 18054static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18055 PyObject *resultobj;
18056 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18057 int arg2 ;
18058 int result;
18059 PyObject * obj0 = 0 ;
994141e6 18060 PyObject * obj1 = 0 ;
d14a1e28
RD
18061 char *kwnames[] = {
18062 (char *) "self",(char *) "id", NULL
18063 };
18064
994141e6 18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18068 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
c32bde28 18077 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18078 return resultobj;
18079 fail:
18080 return NULL;
18081}
18082
18083
c32bde28 18084static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18085 PyObject *resultobj;
18086 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18087 int arg2 ;
18088 bool result;
18089 PyObject * obj0 = 0 ;
994141e6 18090 PyObject * obj1 = 0 ;
d14a1e28
RD
18091 char *kwnames[] = {
18092 (char *) "self",(char *) "id", NULL
18093 };
18094
994141e6 18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18098 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 result = (bool)(arg1)->GetToolState(arg2);
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
4f89f6a3
RD
18107 {
18108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18109 }
d14a1e28
RD
18110 return resultobj;
18111 fail:
18112 return NULL;
18113}
18114
18115
c32bde28 18116static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18117 PyObject *resultobj;
18118 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18119 int arg2 ;
18120 bool result;
18121 PyObject * obj0 = 0 ;
994141e6 18122 PyObject * obj1 = 0 ;
d14a1e28
RD
18123 char *kwnames[] = {
18124 (char *) "self",(char *) "id", NULL
18125 };
18126
994141e6 18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18130 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18132 {
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 result = (bool)(arg1)->GetToolEnabled(arg2);
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
4f89f6a3
RD
18139 {
18140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18141 }
d14a1e28
RD
18142 return resultobj;
18143 fail:
18144 return NULL;
18145}
18146
18147
c32bde28 18148static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18149 PyObject *resultobj;
18150 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18151 int arg2 ;
18152 wxString *arg3 = 0 ;
ae8162c8 18153 bool temp3 = false ;
d14a1e28 18154 PyObject * obj0 = 0 ;
994141e6 18155 PyObject * obj1 = 0 ;
d14a1e28
RD
18156 PyObject * obj2 = 0 ;
18157 char *kwnames[] = {
18158 (char *) "self",(char *) "id",(char *) "helpString", NULL
18159 };
18160
994141e6 18161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18164 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18165 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18166 {
18167 arg3 = wxString_in_helper(obj2);
18168 if (arg3 == NULL) SWIG_fail;
ae8162c8 18169 temp3 = true;
d14a1e28
RD
18170 }
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 Py_INCREF(Py_None); resultobj = Py_None;
18179 {
18180 if (temp3)
18181 delete arg3;
18182 }
18183 return resultobj;
18184 fail:
18185 {
18186 if (temp3)
18187 delete arg3;
18188 }
18189 return NULL;
18190}
18191
18192
c32bde28 18193static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18194 PyObject *resultobj;
18195 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18196 int arg2 ;
18197 wxString result;
18198 PyObject * obj0 = 0 ;
994141e6 18199 PyObject * obj1 = 0 ;
d14a1e28
RD
18200 char *kwnames[] = {
18201 (char *) "self",(char *) "id", NULL
18202 };
18203
994141e6 18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18207 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18208 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 result = (arg1)->GetToolShortHelp(arg2);
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 {
18217#if wxUSE_UNICODE
18218 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18219#else
18220 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18221#endif
18222 }
18223 return resultobj;
18224 fail:
18225 return NULL;
18226}
18227
18228
c32bde28 18229static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18230 PyObject *resultobj;
18231 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18232 int arg2 ;
18233 wxString *arg3 = 0 ;
ae8162c8 18234 bool temp3 = false ;
d14a1e28 18235 PyObject * obj0 = 0 ;
994141e6 18236 PyObject * obj1 = 0 ;
d14a1e28
RD
18237 PyObject * obj2 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "self",(char *) "id",(char *) "helpString", NULL
18240 };
18241
994141e6 18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18245 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18247 {
18248 arg3 = wxString_in_helper(obj2);
18249 if (arg3 == NULL) SWIG_fail;
ae8162c8 18250 temp3 = true;
d14a1e28
RD
18251 }
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
18255
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 Py_INCREF(Py_None); resultobj = Py_None;
18260 {
18261 if (temp3)
18262 delete arg3;
18263 }
18264 return resultobj;
18265 fail:
18266 {
18267 if (temp3)
18268 delete arg3;
18269 }
18270 return NULL;
18271}
18272
18273
c32bde28 18274static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18275 PyObject *resultobj;
18276 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18277 int arg2 ;
18278 wxString result;
18279 PyObject * obj0 = 0 ;
994141e6 18280 PyObject * obj1 = 0 ;
d14a1e28
RD
18281 char *kwnames[] = {
18282 (char *) "self",(char *) "id", NULL
18283 };
18284
994141e6 18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18288 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18289 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18290 {
18291 PyThreadState* __tstate = wxPyBeginAllowThreads();
18292 result = (arg1)->GetToolLongHelp(arg2);
18293
18294 wxPyEndAllowThreads(__tstate);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 }
18297 {
18298#if wxUSE_UNICODE
18299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18300#else
18301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18302#endif
18303 }
18304 return resultobj;
18305 fail:
18306 return NULL;
18307}
18308
18309
c32bde28 18310static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18311 PyObject *resultobj;
18312 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18313 int arg2 ;
18314 int arg3 ;
18315 PyObject * obj0 = 0 ;
994141e6
RD
18316 PyObject * obj1 = 0 ;
18317 PyObject * obj2 = 0 ;
d14a1e28
RD
18318 char *kwnames[] = {
18319 (char *) "self",(char *) "x",(char *) "y", NULL
18320 };
18321
994141e6 18322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18325 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18326 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18327 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18329 {
18330 PyThreadState* __tstate = wxPyBeginAllowThreads();
18331 (arg1)->SetMargins(arg2,arg3);
18332
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 Py_INCREF(Py_None); resultobj = Py_None;
18337 return resultobj;
18338 fail:
18339 return NULL;
18340}
18341
18342
c32bde28 18343static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18344 PyObject *resultobj;
18345 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18346 wxSize *arg2 = 0 ;
18347 wxSize temp2 ;
18348 PyObject * obj0 = 0 ;
18349 PyObject * obj1 = 0 ;
18350 char *kwnames[] = {
18351 (char *) "self",(char *) "size", NULL
18352 };
18353
18354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18357 {
18358 arg2 = &temp2;
18359 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18360 }
18361 {
18362 PyThreadState* __tstate = wxPyBeginAllowThreads();
18363 (arg1)->SetMargins((wxSize const &)*arg2);
18364
18365 wxPyEndAllowThreads(__tstate);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 Py_INCREF(Py_None); resultobj = Py_None;
18369 return resultobj;
18370 fail:
18371 return NULL;
18372}
18373
18374
c32bde28 18375static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18376 PyObject *resultobj;
18377 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18378 int arg2 ;
18379 PyObject * obj0 = 0 ;
994141e6 18380 PyObject * obj1 = 0 ;
d14a1e28
RD
18381 char *kwnames[] = {
18382 (char *) "self",(char *) "packing", NULL
18383 };
18384
994141e6 18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18388 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18389 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 (arg1)->SetToolPacking(arg2);
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 Py_INCREF(Py_None); resultobj = Py_None;
18398 return resultobj;
18399 fail:
18400 return NULL;
18401}
18402
18403
c32bde28 18404static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18405 PyObject *resultobj;
18406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18407 int arg2 ;
18408 PyObject * obj0 = 0 ;
994141e6 18409 PyObject * obj1 = 0 ;
d14a1e28
RD
18410 char *kwnames[] = {
18411 (char *) "self",(char *) "separation", NULL
18412 };
18413
994141e6 18414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18417 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 (arg1)->SetToolSeparation(arg2);
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
18426 Py_INCREF(Py_None); resultobj = Py_None;
18427 return resultobj;
18428 fail:
18429 return NULL;
18430}
18431
18432
c32bde28 18433static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18434 PyObject *resultobj;
18435 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18436 wxSize result;
18437 PyObject * obj0 = 0 ;
18438 char *kwnames[] = {
18439 (char *) "self", NULL
18440 };
18441
18442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
18443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (arg1)->GetToolMargins();
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 {
18453 wxSize * resultptr;
18454 resultptr = new wxSize((wxSize &) result);
15afbcd0 18455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18456 }
18457 return resultobj;
18458 fail:
18459 return NULL;
18460}
18461
18462
c32bde28 18463static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18464 PyObject *resultobj;
18465 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18466 wxSize result;
18467 PyObject * obj0 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
18473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = (arg1)->GetMargins();
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 {
18483 wxSize * resultptr;
18484 resultptr = new wxSize((wxSize &) result);
15afbcd0 18485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18486 }
18487 return resultobj;
18488 fail:
18489 return NULL;
18490}
18491
18492
c32bde28 18493static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18494 PyObject *resultobj;
18495 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18496 int result;
18497 PyObject * obj0 = 0 ;
18498 char *kwnames[] = {
18499 (char *) "self", NULL
18500 };
18501
18502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15afbcd0
RD
18503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 result = (int)(arg1)->GetToolPacking();
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
c32bde28 18512 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18513 return resultobj;
18514 fail:
18515 return NULL;
18516}
18517
18518
c32bde28 18519static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18520 PyObject *resultobj;
18521 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18522 int result;
18523 PyObject * obj0 = 0 ;
18524 char *kwnames[] = {
18525 (char *) "self", NULL
18526 };
18527
18528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15afbcd0
RD
18529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 result = (int)(arg1)->GetToolSeparation();
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
c32bde28 18538 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18539 return resultobj;
18540 fail:
18541 return NULL;
18542}
18543
18544
c32bde28 18545static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18546 PyObject *resultobj;
18547 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18548 int arg2 ;
18549 PyObject * obj0 = 0 ;
994141e6 18550 PyObject * obj1 = 0 ;
d14a1e28
RD
18551 char *kwnames[] = {
18552 (char *) "self",(char *) "nRows", NULL
18553 };
18554
994141e6 18555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18558 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 (arg1)->SetRows(arg2);
18563
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 Py_INCREF(Py_None); resultobj = Py_None;
18568 return resultobj;
18569 fail:
18570 return NULL;
18571}
18572
18573
c32bde28 18574static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18575 PyObject *resultobj;
18576 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18577 int arg2 ;
18578 int arg3 ;
18579 PyObject * obj0 = 0 ;
994141e6
RD
18580 PyObject * obj1 = 0 ;
18581 PyObject * obj2 = 0 ;
d14a1e28
RD
18582 char *kwnames[] = {
18583 (char *) "self",(char *) "rows",(char *) "cols", NULL
18584 };
18585
994141e6 18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18589 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18590 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18591 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18592 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 (arg1)->SetMaxRowsCols(arg2,arg3);
18596
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
18600 Py_INCREF(Py_None); resultobj = Py_None;
18601 return resultobj;
18602 fail:
18603 return NULL;
18604}
18605
18606
c32bde28 18607static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18608 PyObject *resultobj;
18609 wxToolBarBase *arg1 = (wxToolBarBase *) 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:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
18617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 result = (int)(arg1)->GetMaxRows();
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
c32bde28 18626 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18627 return resultobj;
18628 fail:
18629 return NULL;
18630}
18631
18632
c32bde28 18633static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18634 PyObject *resultobj;
18635 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18636 int result;
18637 PyObject * obj0 = 0 ;
18638 char *kwnames[] = {
18639 (char *) "self", NULL
18640 };
18641
18642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
18643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 result = (int)(arg1)->GetMaxCols();
18648
18649 wxPyEndAllowThreads(__tstate);
18650 if (PyErr_Occurred()) SWIG_fail;
18651 }
c32bde28 18652 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18653 return resultobj;
18654 fail:
18655 return NULL;
18656}
18657
18658
c32bde28 18659static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18660 PyObject *resultobj;
18661 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18662 wxSize *arg2 = 0 ;
18663 wxSize temp2 ;
18664 PyObject * obj0 = 0 ;
18665 PyObject * obj1 = 0 ;
18666 char *kwnames[] = {
18667 (char *) "self",(char *) "size", NULL
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18673 {
18674 arg2 = &temp2;
18675 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18676 }
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 Py_INCREF(Py_None); resultobj = Py_None;
18685 return resultobj;
18686 fail:
18687 return NULL;
18688}
18689
18690
c32bde28 18691static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18692 PyObject *resultobj;
18693 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18694 wxSize result;
18695 PyObject * obj0 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
18701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 result = (arg1)->GetToolBitmapSize();
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 {
18711 wxSize * resultptr;
18712 resultptr = new wxSize((wxSize &) result);
15afbcd0 18713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18714 }
18715 return resultobj;
18716 fail:
18717 return NULL;
18718}
18719
18720
c32bde28 18721static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18722 PyObject *resultobj;
18723 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18724 wxSize result;
18725 PyObject * obj0 = 0 ;
18726 char *kwnames[] = {
18727 (char *) "self", NULL
18728 };
18729
18730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
18731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18733 {
18734 PyThreadState* __tstate = wxPyBeginAllowThreads();
18735 result = (arg1)->GetToolSize();
18736
18737 wxPyEndAllowThreads(__tstate);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
18740 {
18741 wxSize * resultptr;
18742 resultptr = new wxSize((wxSize &) result);
15afbcd0 18743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18744 }
18745 return resultobj;
18746 fail:
18747 return NULL;
18748}
18749
18750
c32bde28 18751static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18752 PyObject *resultobj;
18753 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
18754 int arg2 ;
18755 int arg3 ;
d14a1e28
RD
18756 wxToolBarToolBase *result;
18757 PyObject * obj0 = 0 ;
994141e6
RD
18758 PyObject * obj1 = 0 ;
18759 PyObject * obj2 = 0 ;
d14a1e28
RD
18760 char *kwnames[] = {
18761 (char *) "self",(char *) "x",(char *) "y", NULL
18762 };
18763
994141e6 18764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18767 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18768 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18769 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 {
412d302d 18779 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18780 }
18781 return resultobj;
18782 fail:
18783 return NULL;
18784}
18785
18786
c32bde28 18787static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
18788 PyObject *resultobj;
18789 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18790 int arg2 ;
18791 wxToolBarToolBase *result;
18792 PyObject * obj0 = 0 ;
994141e6 18793 PyObject * obj1 = 0 ;
3a04f143
RD
18794 char *kwnames[] = {
18795 (char *) "self",(char *) "toolid", NULL
18796 };
18797
994141e6 18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18801 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18802 if (PyErr_Occurred()) SWIG_fail;
3a04f143
RD
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 {
412d302d 18811 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
18812 }
18813 return resultobj;
18814 fail:
18815 return NULL;
18816}
18817
18818
c32bde28 18819static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18820 PyObject *resultobj;
18821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18822 bool result;
18823 PyObject * obj0 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
18829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 result = (bool)(arg1)->IsVertical();
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
4f89f6a3
RD
18838 {
18839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18840 }
d14a1e28
RD
18841 return resultobj;
18842 fail:
18843 return NULL;
18844}
18845
18846
c32bde28 18847static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18848 PyObject *obj;
18849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18850 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18851 Py_INCREF(obj);
18852 return Py_BuildValue((char *)"");
18853}
c32bde28 18854static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18855 PyObject *resultobj;
18856 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18857 int arg2 = (int) -1 ;
d14a1e28
RD
18858 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18859 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18860 wxSize const &arg4_defvalue = wxDefaultSize ;
18861 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18862 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18863 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18864 wxString *arg6 = (wxString *) &arg6_defvalue ;
18865 wxToolBar *result;
18866 wxPoint temp3 ;
18867 wxSize temp4 ;
ae8162c8 18868 bool temp6 = false ;
d14a1e28 18869 PyObject * obj0 = 0 ;
994141e6 18870 PyObject * obj1 = 0 ;
d14a1e28
RD
18871 PyObject * obj2 = 0 ;
18872 PyObject * obj3 = 0 ;
994141e6 18873 PyObject * obj4 = 0 ;
d14a1e28
RD
18874 PyObject * obj5 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18877 };
18878
248ed943 18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
18880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 18882 if (obj1) {
c32bde28 18883 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
d14a1e28
RD
18886 if (obj2) {
18887 {
18888 arg3 = &temp3;
18889 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18890 }
18891 }
18892 if (obj3) {
18893 {
18894 arg4 = &temp4;
18895 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18896 }
18897 }
994141e6 18898 if (obj4) {
c32bde28 18899 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 18900 if (PyErr_Occurred()) SWIG_fail;
994141e6 18901 }
d14a1e28
RD
18902 if (obj5) {
18903 {
18904 arg6 = wxString_in_helper(obj5);
18905 if (arg6 == NULL) SWIG_fail;
ae8162c8 18906 temp6 = true;
d14a1e28
RD
18907 }
18908 }
18909 {
e3b71cb8 18910 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18911 PyThreadState* __tstate = wxPyBeginAllowThreads();
18912 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18913
18914 wxPyEndAllowThreads(__tstate);
110da5b0 18915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 18916 }
b0f7404b 18917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
18918 {
18919 if (temp6)
18920 delete arg6;
18921 }
18922 return resultobj;
18923 fail:
18924 {
18925 if (temp6)
18926 delete arg6;
18927 }
18928 return NULL;
18929}
18930
18931
c32bde28 18932static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18933 PyObject *resultobj;
18934 wxToolBar *result;
18935 char *kwnames[] = {
18936 NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18940 {
e3b71cb8 18941 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 result = (wxToolBar *)new wxToolBar();
18944
18945 wxPyEndAllowThreads(__tstate);
110da5b0 18946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 18947 }
b0f7404b 18948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
18949 return resultobj;
18950 fail:
18951 return NULL;
18952}
18953
18954
c32bde28 18955static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18956 PyObject *resultobj;
18957 wxToolBar *arg1 = (wxToolBar *) 0 ;
18958 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 18959 int arg3 = (int) -1 ;
d14a1e28
RD
18960 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18961 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18962 wxSize const &arg5_defvalue = wxDefaultSize ;
18963 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18964 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18965 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18966 wxString *arg7 = (wxString *) &arg7_defvalue ;
18967 bool result;
18968 wxPoint temp4 ;
18969 wxSize temp5 ;
ae8162c8 18970 bool temp7 = false ;
d14a1e28
RD
18971 PyObject * obj0 = 0 ;
18972 PyObject * obj1 = 0 ;
994141e6 18973 PyObject * obj2 = 0 ;
d14a1e28
RD
18974 PyObject * obj3 = 0 ;
18975 PyObject * obj4 = 0 ;
994141e6 18976 PyObject * obj5 = 0 ;
d14a1e28
RD
18977 PyObject * obj6 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18980 };
18981
248ed943 18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
18983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 18987 if (obj2) {
c32bde28 18988 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
18989 if (PyErr_Occurred()) SWIG_fail;
18990 }
d14a1e28
RD
18991 if (obj3) {
18992 {
18993 arg4 = &temp4;
18994 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18995 }
18996 }
18997 if (obj4) {
18998 {
18999 arg5 = &temp5;
19000 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19001 }
19002 }
994141e6 19003 if (obj5) {
c32bde28 19004 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 19005 if (PyErr_Occurred()) SWIG_fail;
994141e6 19006 }
d14a1e28
RD
19007 if (obj6) {
19008 {
19009 arg7 = wxString_in_helper(obj6);
19010 if (arg7 == NULL) SWIG_fail;
ae8162c8 19011 temp7 = true;
d14a1e28
RD
19012 }
19013 }
19014 {
19015 PyThreadState* __tstate = wxPyBeginAllowThreads();
19016 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19017
19018 wxPyEndAllowThreads(__tstate);
19019 if (PyErr_Occurred()) SWIG_fail;
19020 }
4f89f6a3
RD
19021 {
19022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19023 }
d14a1e28
RD
19024 {
19025 if (temp7)
19026 delete arg7;
19027 }
19028 return resultobj;
19029 fail:
19030 {
19031 if (temp7)
19032 delete arg7;
19033 }
19034 return NULL;
19035}
19036
19037
c32bde28 19038static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19039 PyObject *resultobj;
19040 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
19041 int arg2 ;
19042 int arg3 ;
d14a1e28
RD
19043 wxToolBarToolBase *result;
19044 PyObject * obj0 = 0 ;
994141e6
RD
19045 PyObject * obj1 = 0 ;
19046 PyObject * obj2 = 0 ;
d14a1e28
RD
19047 char *kwnames[] = {
19048 (char *) "self",(char *) "x",(char *) "y", NULL
19049 };
19050
994141e6 19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
19053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19054 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19055 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19056 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 19057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 {
412d302d 19066 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19067 }
19068 return resultobj;
19069 fail:
19070 return NULL;
19071}
19072
19073
c32bde28 19074static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
19075 PyObject *resultobj;
19076 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
19077 wxVisualAttributes result;
19078 PyObject * obj0 = 0 ;
19079 char *kwnames[] = {
19080 (char *) "variant", NULL
19081 };
19082
19083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
19084 if (obj0) {
c32bde28 19085 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
19086 if (PyErr_Occurred()) SWIG_fail;
19087 }
19088 {
110da5b0 19089 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
19092
19093 wxPyEndAllowThreads(__tstate);
dfbb5885 19094 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
19095 }
19096 {
19097 wxVisualAttributes * resultptr;
19098 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
19099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19100 }
19101 return resultobj;
19102 fail:
19103 return NULL;
19104}
19105
19106
c32bde28 19107static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19108 PyObject *obj;
19109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19110 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
19111 Py_INCREF(obj);
19112 return Py_BuildValue((char *)"");
19113}
c32bde28 19114static int _wrap_ListCtrlNameStr_set(PyObject *) {
b2dc1044
RD
19115 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
19116 return 1;
19117}
19118
19119
19120static PyObject *_wrap_ListCtrlNameStr_get() {
19121 PyObject *pyobj;
19122
19123 {
19124#if wxUSE_UNICODE
19125 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19126#else
19127 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19128#endif
19129 }
19130 return pyobj;
19131}
19132
19133
c32bde28 19134static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19135 PyObject *resultobj;
19136 wxColour const &arg1_defvalue = wxNullColour ;
19137 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
19138 wxColour const &arg2_defvalue = wxNullColour ;
19139 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19140 wxFont const &arg3_defvalue = wxNullFont ;
19141 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
19142 wxListItemAttr *result;
19143 wxColour temp1 ;
19144 wxColour temp2 ;
19145 PyObject * obj0 = 0 ;
19146 PyObject * obj1 = 0 ;
19147 PyObject * obj2 = 0 ;
19148 char *kwnames[] = {
19149 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19150 };
19151
19152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
19153 if (obj0) {
19154 {
19155 arg1 = &temp1;
19156 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
19157 }
19158 }
19159 if (obj1) {
19160 {
19161 arg2 = &temp2;
19162 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19163 }
19164 }
19165 if (obj2) {
15afbcd0
RD
19166 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
19167 SWIG_POINTER_EXCEPTION | 0)) == -1)
19168 SWIG_fail;
d14a1e28 19169 if (arg3 == NULL) {
15afbcd0
RD
19170 PyErr_SetString(PyExc_TypeError,"null reference");
19171 SWIG_fail;
d14a1e28
RD
19172 }
19173 }
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
15afbcd0 19181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
19182 return resultobj;
19183 fail:
19184 return NULL;
19185}
19186
19187
c32bde28 19188static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19189 PyObject *resultobj;
19190 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19191 wxColour *arg2 = 0 ;
19192 wxColour temp2 ;
19193 PyObject * obj0 = 0 ;
19194 PyObject * obj1 = 0 ;
19195 char *kwnames[] = {
19196 (char *) "self",(char *) "colText", NULL
19197 };
19198
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19202 {
19203 arg2 = &temp2;
19204 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19205 }
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 (arg1)->SetTextColour((wxColour const &)*arg2);
19209
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 Py_INCREF(Py_None); resultobj = Py_None;
19214 return resultobj;
19215 fail:
19216 return NULL;
19217}
19218
19219
c32bde28 19220static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19221 PyObject *resultobj;
19222 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19223 wxColour *arg2 = 0 ;
19224 wxColour temp2 ;
19225 PyObject * obj0 = 0 ;
19226 PyObject * obj1 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self",(char *) "colBack", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19234 {
19235 arg2 = &temp2;
19236 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19237 }
19238 {
19239 PyThreadState* __tstate = wxPyBeginAllowThreads();
19240 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19241
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
19245 Py_INCREF(Py_None); resultobj = Py_None;
19246 return resultobj;
19247 fail:
19248 return NULL;
19249}
19250
19251
c32bde28 19252static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19253 PyObject *resultobj;
19254 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19255 wxFont *arg2 = 0 ;
19256 PyObject * obj0 = 0 ;
19257 PyObject * obj1 = 0 ;
19258 char *kwnames[] = {
19259 (char *) "self",(char *) "font", NULL
19260 };
19261
19262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19265 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19266 SWIG_POINTER_EXCEPTION | 0)) == -1)
19267 SWIG_fail;
d14a1e28 19268 if (arg2 == NULL) {
15afbcd0
RD
19269 PyErr_SetString(PyExc_TypeError,"null reference");
19270 SWIG_fail;
d14a1e28
RD
19271 }
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 (arg1)->SetFont((wxFont const &)*arg2);
19275
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 Py_INCREF(Py_None); resultobj = Py_None;
19280 return resultobj;
19281 fail:
19282 return NULL;
19283}
19284
19285
c32bde28 19286static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19287 PyObject *resultobj;
19288 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19289 bool result;
19290 PyObject * obj0 = 0 ;
19291 char *kwnames[] = {
19292 (char *) "self", NULL
19293 };
19294
19295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
19296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 result = (bool)(arg1)->HasTextColour();
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
4f89f6a3
RD
19305 {
19306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19307 }
d14a1e28
RD
19308 return resultobj;
19309 fail:
19310 return NULL;
19311}
19312
19313
c32bde28 19314static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19315 PyObject *resultobj;
19316 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19317 bool result;
19318 PyObject * obj0 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
19324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 result = (bool)(arg1)->HasBackgroundColour();
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
4f89f6a3
RD
19333 {
19334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19335 }
d14a1e28
RD
19336 return resultobj;
19337 fail:
19338 return NULL;
19339}
19340
19341
c32bde28 19342static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19343 PyObject *resultobj;
19344 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19345 bool result;
19346 PyObject * obj0 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
19352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 result = (bool)(arg1)->HasFont();
19357
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
4f89f6a3
RD
19361 {
19362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19363 }
d14a1e28
RD
19364 return resultobj;
19365 fail:
19366 return NULL;
19367}
19368
19369
c32bde28 19370static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19371 PyObject *resultobj;
19372 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19373 wxColour result;
19374 PyObject * obj0 = 0 ;
19375 char *kwnames[] = {
19376 (char *) "self", NULL
19377 };
19378
19379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
19380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 result = (arg1)->GetTextColour();
19385
19386 wxPyEndAllowThreads(__tstate);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
19389 {
19390 wxColour * resultptr;
19391 resultptr = new wxColour((wxColour &) result);
15afbcd0 19392 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
19393 }
19394 return resultobj;
19395 fail:
19396 return NULL;
19397}
19398
19399
c32bde28 19400static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19401 PyObject *resultobj;
19402 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19403 wxColour result;
19404 PyObject * obj0 = 0 ;
19405 char *kwnames[] = {
19406 (char *) "self", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
19410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19412 {
19413 PyThreadState* __tstate = wxPyBeginAllowThreads();
19414 result = (arg1)->GetBackgroundColour();
19415
19416 wxPyEndAllowThreads(__tstate);
19417 if (PyErr_Occurred()) SWIG_fail;
19418 }
19419 {
19420 wxColour * resultptr;
19421 resultptr = new wxColour((wxColour &) result);
15afbcd0 19422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
19423 }
19424 return resultobj;
19425 fail:
19426 return NULL;
19427}
19428
19429
c32bde28 19430static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19431 PyObject *resultobj;
19432 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19433 wxFont result;
19434 PyObject * obj0 = 0 ;
19435 char *kwnames[] = {
19436 (char *) "self", NULL
19437 };
19438
19439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
19440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 result = (arg1)->GetFont();
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 {
19450 wxFont * resultptr;
19451 resultptr = new wxFont((wxFont &) result);
15afbcd0 19452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
19453 }
19454 return resultobj;
19455 fail:
19456 return NULL;
19457}
19458
19459
c32bde28 19460static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19461 PyObject *resultobj;
19462 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19463 PyObject * obj0 = 0 ;
19464 char *kwnames[] = {
19465 (char *) "self", NULL
19466 };
19467
19468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
19469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 wxListItemAttr_Destroy(arg1);
19474
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 Py_INCREF(Py_None); resultobj = Py_None;
19479 return resultobj;
19480 fail:
19481 return NULL;
19482}
19483
19484
c32bde28 19485static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19486 PyObject *obj;
19487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19488 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19489 Py_INCREF(obj);
19490 return Py_BuildValue((char *)"");
19491}
c32bde28 19492static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19493 PyObject *resultobj;
19494 wxListItem *result;
19495 char *kwnames[] = {
19496 NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19500 {
19501 PyThreadState* __tstate = wxPyBeginAllowThreads();
19502 result = (wxListItem *)new wxListItem();
19503
19504 wxPyEndAllowThreads(__tstate);
19505 if (PyErr_Occurred()) SWIG_fail;
19506 }
19507 {
412d302d 19508 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
19509 }
19510 return resultobj;
19511 fail:
19512 return NULL;
19513}
19514
19515
c32bde28 19516static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19517 PyObject *resultobj;
19518 wxListItem *arg1 = (wxListItem *) 0 ;
19519 PyObject * obj0 = 0 ;
19520 char *kwnames[] = {
19521 (char *) "self", NULL
19522 };
19523
19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
19525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19527 {
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 delete arg1;
19530
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 Py_INCREF(Py_None); resultobj = Py_None;
19535 return resultobj;
19536 fail:
19537 return NULL;
19538}
19539
19540
c32bde28 19541static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19542 PyObject *resultobj;
19543 wxListItem *arg1 = (wxListItem *) 0 ;
19544 PyObject * obj0 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
19550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 (arg1)->Clear();
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 Py_INCREF(Py_None); resultobj = Py_None;
19560 return resultobj;
19561 fail:
19562 return NULL;
19563}
19564
19565
c32bde28 19566static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19567 PyObject *resultobj;
19568 wxListItem *arg1 = (wxListItem *) 0 ;
19569 PyObject * obj0 = 0 ;
19570 char *kwnames[] = {
19571 (char *) "self", NULL
19572 };
19573
19574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
19575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 (arg1)->ClearAttributes();
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 Py_INCREF(Py_None); resultobj = Py_None;
19585 return resultobj;
19586 fail:
19587 return NULL;
19588}
19589
19590
c32bde28 19591static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19592 PyObject *resultobj;
19593 wxListItem *arg1 = (wxListItem *) 0 ;
19594 long arg2 ;
19595 PyObject * obj0 = 0 ;
994141e6 19596 PyObject * obj1 = 0 ;
d14a1e28
RD
19597 char *kwnames[] = {
19598 (char *) "self",(char *) "mask", NULL
19599 };
19600
994141e6 19601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19604 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19605 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19606 {
19607 PyThreadState* __tstate = wxPyBeginAllowThreads();
19608 (arg1)->SetMask(arg2);
19609
19610 wxPyEndAllowThreads(__tstate);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 }
19613 Py_INCREF(Py_None); resultobj = Py_None;
19614 return resultobj;
19615 fail:
19616 return NULL;
19617}
19618
19619
c32bde28 19620static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19621 PyObject *resultobj;
19622 wxListItem *arg1 = (wxListItem *) 0 ;
19623 long arg2 ;
19624 PyObject * obj0 = 0 ;
994141e6 19625 PyObject * obj1 = 0 ;
d14a1e28
RD
19626 char *kwnames[] = {
19627 (char *) "self",(char *) "id", NULL
19628 };
19629
994141e6 19630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19633 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19634 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 (arg1)->SetId(arg2);
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 Py_INCREF(Py_None); resultobj = Py_None;
19643 return resultobj;
19644 fail:
19645 return NULL;
19646}
19647
19648
c32bde28 19649static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19650 PyObject *resultobj;
19651 wxListItem *arg1 = (wxListItem *) 0 ;
19652 int arg2 ;
19653 PyObject * obj0 = 0 ;
994141e6 19654 PyObject * obj1 = 0 ;
d14a1e28
RD
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "col", NULL
19657 };
19658
994141e6 19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19662 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 (arg1)->SetColumn(arg2);
19667
19668 wxPyEndAllowThreads(__tstate);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 }
19671 Py_INCREF(Py_None); resultobj = Py_None;
19672 return resultobj;
19673 fail:
19674 return NULL;
19675}
19676
19677
c32bde28 19678static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19679 PyObject *resultobj;
19680 wxListItem *arg1 = (wxListItem *) 0 ;
19681 long arg2 ;
19682 PyObject * obj0 = 0 ;
994141e6 19683 PyObject * obj1 = 0 ;
d14a1e28
RD
19684 char *kwnames[] = {
19685 (char *) "self",(char *) "state", NULL
19686 };
19687
994141e6 19688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19691 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 (arg1)->SetState(arg2);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 Py_INCREF(Py_None); resultobj = Py_None;
19701 return resultobj;
19702 fail:
19703 return NULL;
19704}
19705
19706
c32bde28 19707static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19708 PyObject *resultobj;
19709 wxListItem *arg1 = (wxListItem *) 0 ;
19710 long arg2 ;
19711 PyObject * obj0 = 0 ;
994141e6 19712 PyObject * obj1 = 0 ;
d14a1e28
RD
19713 char *kwnames[] = {
19714 (char *) "self",(char *) "stateMask", NULL
19715 };
19716
994141e6 19717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19720 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 (arg1)->SetStateMask(arg2);
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 Py_INCREF(Py_None); resultobj = Py_None;
19730 return resultobj;
19731 fail:
19732 return NULL;
19733}
19734
19735
c32bde28 19736static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19737 PyObject *resultobj;
19738 wxListItem *arg1 = (wxListItem *) 0 ;
19739 wxString *arg2 = 0 ;
ae8162c8 19740 bool temp2 = false ;
d14a1e28
RD
19741 PyObject * obj0 = 0 ;
19742 PyObject * obj1 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "self",(char *) "text", NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19750 {
19751 arg2 = wxString_in_helper(obj1);
19752 if (arg2 == NULL) SWIG_fail;
ae8162c8 19753 temp2 = true;
d14a1e28
RD
19754 }
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 (arg1)->SetText((wxString const &)*arg2);
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 Py_INCREF(Py_None); resultobj = Py_None;
19763 {
19764 if (temp2)
19765 delete arg2;
19766 }
19767 return resultobj;
19768 fail:
19769 {
19770 if (temp2)
19771 delete arg2;
19772 }
19773 return NULL;
19774}
19775
19776
c32bde28 19777static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19778 PyObject *resultobj;
19779 wxListItem *arg1 = (wxListItem *) 0 ;
19780 int arg2 ;
19781 PyObject * obj0 = 0 ;
994141e6 19782 PyObject * obj1 = 0 ;
d14a1e28
RD
19783 char *kwnames[] = {
19784 (char *) "self",(char *) "image", NULL
19785 };
19786
994141e6 19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19790 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 (arg1)->SetImage(arg2);
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 Py_INCREF(Py_None); resultobj = Py_None;
19800 return resultobj;
19801 fail:
19802 return NULL;
19803}
19804
19805
c32bde28 19806static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19807 PyObject *resultobj;
19808 wxListItem *arg1 = (wxListItem *) 0 ;
19809 long arg2 ;
19810 PyObject * obj0 = 0 ;
994141e6 19811 PyObject * obj1 = 0 ;
d14a1e28
RD
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "data", NULL
19814 };
19815
994141e6 19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19819 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19820 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 (arg1)->SetData(arg2);
19824
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
19828 Py_INCREF(Py_None); resultobj = Py_None;
19829 return resultobj;
19830 fail:
19831 return NULL;
19832}
19833
19834
c32bde28 19835static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19836 PyObject *resultobj;
19837 wxListItem *arg1 = (wxListItem *) 0 ;
19838 int arg2 ;
19839 PyObject * obj0 = 0 ;
994141e6 19840 PyObject * obj1 = 0 ;
d14a1e28
RD
19841 char *kwnames[] = {
19842 (char *) "self",(char *) "width", NULL
19843 };
19844
994141e6 19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19848 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19849 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 (arg1)->SetWidth(arg2);
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 Py_INCREF(Py_None); resultobj = Py_None;
19858 return resultobj;
19859 fail:
19860 return NULL;
19861}
19862
19863
c32bde28 19864static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19865 PyObject *resultobj;
19866 wxListItem *arg1 = (wxListItem *) 0 ;
19867 int arg2 ;
19868 PyObject * obj0 = 0 ;
994141e6 19869 PyObject * obj1 = 0 ;
d14a1e28
RD
19870 char *kwnames[] = {
19871 (char *) "self",(char *) "align", NULL
19872 };
19873
994141e6 19874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19877 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19878 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19879 {
19880 PyThreadState* __tstate = wxPyBeginAllowThreads();
19881 (arg1)->SetAlign((wxListColumnFormat )arg2);
19882
19883 wxPyEndAllowThreads(__tstate);
19884 if (PyErr_Occurred()) SWIG_fail;
19885 }
19886 Py_INCREF(Py_None); resultobj = Py_None;
19887 return resultobj;
19888 fail:
19889 return NULL;
19890}
19891
19892
c32bde28 19893static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19894 PyObject *resultobj;
19895 wxListItem *arg1 = (wxListItem *) 0 ;
19896 wxColour *arg2 = 0 ;
19897 wxColour temp2 ;
19898 PyObject * obj0 = 0 ;
19899 PyObject * obj1 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self",(char *) "colText", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19907 {
19908 arg2 = &temp2;
19909 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19910 }
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 (arg1)->SetTextColour((wxColour const &)*arg2);
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 Py_INCREF(Py_None); resultobj = Py_None;
19919 return resultobj;
19920 fail:
19921 return NULL;
19922}
19923
19924
c32bde28 19925static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19926 PyObject *resultobj;
19927 wxListItem *arg1 = (wxListItem *) 0 ;
19928 wxColour *arg2 = 0 ;
19929 wxColour temp2 ;
19930 PyObject * obj0 = 0 ;
19931 PyObject * obj1 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self",(char *) "colBack", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19939 {
19940 arg2 = &temp2;
19941 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19942 }
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 Py_INCREF(Py_None); resultobj = Py_None;
19951 return resultobj;
19952 fail:
19953 return NULL;
19954}
19955
19956
c32bde28 19957static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19958 PyObject *resultobj;
19959 wxListItem *arg1 = (wxListItem *) 0 ;
19960 wxFont *arg2 = 0 ;
19961 PyObject * obj0 = 0 ;
19962 PyObject * obj1 = 0 ;
19963 char *kwnames[] = {
19964 (char *) "self",(char *) "font", NULL
19965 };
19966
19967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1)
19972 SWIG_fail;
d14a1e28 19973 if (arg2 == NULL) {
15afbcd0
RD
19974 PyErr_SetString(PyExc_TypeError,"null reference");
19975 SWIG_fail;
d14a1e28
RD
19976 }
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 (arg1)->SetFont((wxFont const &)*arg2);
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 Py_INCREF(Py_None); resultobj = Py_None;
19985 return resultobj;
19986 fail:
19987 return NULL;
19988}
19989
19990
c32bde28 19991static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19992 PyObject *resultobj;
19993 wxListItem *arg1 = (wxListItem *) 0 ;
19994 long result;
19995 PyObject * obj0 = 0 ;
19996 char *kwnames[] = {
19997 (char *) "self", NULL
19998 };
19999
20000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
20001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 result = (long)(arg1)->GetMask();
20006
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
c32bde28 20010 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20011 return resultobj;
20012 fail:
20013 return NULL;
20014}
20015
20016
c32bde28 20017static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20018 PyObject *resultobj;
20019 wxListItem *arg1 = (wxListItem *) 0 ;
20020 long result;
20021 PyObject * obj0 = 0 ;
20022 char *kwnames[] = {
20023 (char *) "self", NULL
20024 };
20025
20026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 result = (long)(arg1)->GetId();
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
c32bde28 20036 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20037 return resultobj;
20038 fail:
20039 return NULL;
20040}
20041
20042
c32bde28 20043static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20044 PyObject *resultobj;
20045 wxListItem *arg1 = (wxListItem *) 0 ;
20046 int result;
20047 PyObject * obj0 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self", NULL
20050 };
20051
20052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
20053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 result = (int)(arg1)->GetColumn();
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
c32bde28 20062 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20063 return resultobj;
20064 fail:
20065 return NULL;
20066}
20067
20068
c32bde28 20069static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20070 PyObject *resultobj;
20071 wxListItem *arg1 = (wxListItem *) 0 ;
20072 long result;
20073 PyObject * obj0 = 0 ;
20074 char *kwnames[] = {
20075 (char *) "self", NULL
20076 };
20077
20078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15afbcd0
RD
20079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 result = (long)(arg1)->GetState();
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
c32bde28 20088 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20089 return resultobj;
20090 fail:
20091 return NULL;
20092}
20093
20094
c32bde28 20095static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20096 PyObject *resultobj;
20097 wxListItem *arg1 = (wxListItem *) 0 ;
20098 wxString *result;
20099 PyObject * obj0 = 0 ;
20100 char *kwnames[] = {
20101 (char *) "self", NULL
20102 };
20103
20104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
20105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 {
20110 wxString const &_result_ref = (arg1)->GetText();
20111 result = (wxString *) &_result_ref;
20112 }
20113
20114 wxPyEndAllowThreads(__tstate);
20115 if (PyErr_Occurred()) SWIG_fail;
20116 }
cc6dd355
RD
20117 {
20118#if wxUSE_UNICODE
20119 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20120#else
20121 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20122#endif
20123 }
d14a1e28
RD
20124 return resultobj;
20125 fail:
20126 return NULL;
20127}
20128
20129
c32bde28 20130static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20131 PyObject *resultobj;
20132 wxListItem *arg1 = (wxListItem *) 0 ;
20133 int result;
20134 PyObject * obj0 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self", NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = (int)(arg1)->GetImage();
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
c32bde28 20149 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20150 return resultobj;
20151 fail:
20152 return NULL;
20153}
20154
20155
c32bde28 20156static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20157 PyObject *resultobj;
20158 wxListItem *arg1 = (wxListItem *) 0 ;
20159 long result;
20160 PyObject * obj0 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 result = (long)(arg1)->GetData();
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
c32bde28 20175 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20176 return resultobj;
20177 fail:
20178 return NULL;
20179}
20180
20181
c32bde28 20182static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20183 PyObject *resultobj;
20184 wxListItem *arg1 = (wxListItem *) 0 ;
20185 int result;
20186 PyObject * obj0 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
20192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 result = (int)(arg1)->GetWidth();
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
c32bde28 20201 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20202 return resultobj;
20203 fail:
20204 return NULL;
20205}
20206
20207
c32bde28 20208static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20209 PyObject *resultobj;
20210 wxListItem *arg1 = (wxListItem *) 0 ;
20211 int result;
20212 PyObject * obj0 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15afbcd0
RD
20218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 result = (int)(arg1)->GetAlign();
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
c32bde28 20227 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20228 return resultobj;
20229 fail:
20230 return NULL;
20231}
20232
20233
c32bde28 20234static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20235 PyObject *resultobj;
20236 wxListItem *arg1 = (wxListItem *) 0 ;
20237 wxListItemAttr *result;
20238 PyObject * obj0 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
20244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = (wxListItemAttr *)(arg1)->GetAttributes();
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
15afbcd0 20253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
20254 return resultobj;
20255 fail:
20256 return NULL;
20257}
20258
20259
c32bde28 20260static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20261 PyObject *resultobj;
20262 wxListItem *arg1 = (wxListItem *) 0 ;
20263 bool result;
20264 PyObject * obj0 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
20270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = (bool)(arg1)->HasAttributes();
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
4f89f6a3
RD
20279 {
20280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20281 }
d14a1e28
RD
20282 return resultobj;
20283 fail:
20284 return NULL;
20285}
20286
20287
c32bde28 20288static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20289 PyObject *resultobj;
20290 wxListItem *arg1 = (wxListItem *) 0 ;
20291 wxColour result;
20292 PyObject * obj0 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
20298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 result = ((wxListItem const *)arg1)->GetTextColour();
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 {
20308 wxColour * resultptr;
20309 resultptr = new wxColour((wxColour &) result);
15afbcd0 20310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
20311 }
20312 return resultobj;
20313 fail:
20314 return NULL;
20315}
20316
20317
c32bde28 20318static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20319 PyObject *resultobj;
20320 wxListItem *arg1 = (wxListItem *) 0 ;
20321 wxColour result;
20322 PyObject * obj0 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
20328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 result = ((wxListItem const *)arg1)->GetBackgroundColour();
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 {
20338 wxColour * resultptr;
20339 resultptr = new wxColour((wxColour &) result);
15afbcd0 20340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
20341 }
20342 return resultobj;
20343 fail:
20344 return NULL;
20345}
20346
20347
c32bde28 20348static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20349 PyObject *resultobj;
20350 wxListItem *arg1 = (wxListItem *) 0 ;
20351 wxFont result;
20352 PyObject * obj0 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
20358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20360 {
20361 PyThreadState* __tstate = wxPyBeginAllowThreads();
20362 result = ((wxListItem const *)arg1)->GetFont();
20363
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 {
20368 wxFont * resultptr;
20369 resultptr = new wxFont((wxFont &) result);
15afbcd0 20370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
20371 }
20372 return resultobj;
20373 fail:
20374 return NULL;
20375}
20376
20377
c32bde28 20378static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20379 PyObject *resultobj;
20380 wxListItem *arg1 = (wxListItem *) 0 ;
20381 long arg2 ;
20382 PyObject * obj0 = 0 ;
994141e6 20383 PyObject * obj1 = 0 ;
d14a1e28
RD
20384 char *kwnames[] = {
20385 (char *) "self",(char *) "m_mask", NULL
20386 };
20387
994141e6 20388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20391 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 20392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20393 if (arg1) (arg1)->m_mask = arg2;
20394
20395 Py_INCREF(Py_None); resultobj = Py_None;
20396 return resultobj;
20397 fail:
20398 return NULL;
20399}
20400
20401
c32bde28 20402static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20403 PyObject *resultobj;
20404 wxListItem *arg1 = (wxListItem *) 0 ;
20405 long result;
20406 PyObject * obj0 = 0 ;
20407 char *kwnames[] = {
20408 (char *) "self", NULL
20409 };
20410
20411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20414 result = (long) ((arg1)->m_mask);
20415
c32bde28 20416 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20417 return resultobj;
20418 fail:
20419 return NULL;
20420}
20421
20422
c32bde28 20423static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20424 PyObject *resultobj;
20425 wxListItem *arg1 = (wxListItem *) 0 ;
20426 long arg2 ;
20427 PyObject * obj0 = 0 ;
994141e6 20428 PyObject * obj1 = 0 ;
d14a1e28
RD
20429 char *kwnames[] = {
20430 (char *) "self",(char *) "m_itemId", NULL
20431 };
20432
994141e6 20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20436 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 20437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20438 if (arg1) (arg1)->m_itemId = arg2;
20439
20440 Py_INCREF(Py_None); resultobj = Py_None;
20441 return resultobj;
20442 fail:
20443 return NULL;
20444}
20445
20446
c32bde28 20447static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20448 PyObject *resultobj;
20449 wxListItem *arg1 = (wxListItem *) 0 ;
20450 long result;
20451 PyObject * obj0 = 0 ;
20452 char *kwnames[] = {
20453 (char *) "self", NULL
20454 };
20455
20456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20459 result = (long) ((arg1)->m_itemId);
20460
c32bde28 20461 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20462 return resultobj;
20463 fail:
20464 return NULL;
20465}
20466
20467
c32bde28 20468static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20469 PyObject *resultobj;
20470 wxListItem *arg1 = (wxListItem *) 0 ;
20471 int arg2 ;
20472 PyObject * obj0 = 0 ;
994141e6 20473 PyObject * obj1 = 0 ;
d14a1e28
RD
20474 char *kwnames[] = {
20475 (char *) "self",(char *) "m_col", NULL
20476 };
20477
994141e6 20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20481 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20483 if (arg1) (arg1)->m_col = arg2;
20484
20485 Py_INCREF(Py_None); resultobj = Py_None;
20486 return resultobj;
20487 fail:
20488 return NULL;
20489}
20490
20491
c32bde28 20492static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20493 PyObject *resultobj;
20494 wxListItem *arg1 = (wxListItem *) 0 ;
20495 int result;
20496 PyObject * obj0 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20504 result = (int) ((arg1)->m_col);
20505
c32bde28 20506 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20507 return resultobj;
20508 fail:
20509 return NULL;
20510}
20511
20512
c32bde28 20513static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20514 PyObject *resultobj;
20515 wxListItem *arg1 = (wxListItem *) 0 ;
20516 long arg2 ;
20517 PyObject * obj0 = 0 ;
994141e6 20518 PyObject * obj1 = 0 ;
d14a1e28
RD
20519 char *kwnames[] = {
20520 (char *) "self",(char *) "m_state", NULL
20521 };
20522
994141e6 20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20526 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 20527 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20528 if (arg1) (arg1)->m_state = arg2;
20529
20530 Py_INCREF(Py_None); resultobj = Py_None;
20531 return resultobj;
20532 fail:
20533 return NULL;
20534}
20535
20536
c32bde28 20537static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20538 PyObject *resultobj;
20539 wxListItem *arg1 = (wxListItem *) 0 ;
20540 long result;
20541 PyObject * obj0 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "self", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20549 result = (long) ((arg1)->m_state);
20550
c32bde28 20551 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20552 return resultobj;
20553 fail:
20554 return NULL;
20555}
20556
20557
c32bde28 20558static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20559 PyObject *resultobj;
20560 wxListItem *arg1 = (wxListItem *) 0 ;
20561 long arg2 ;
20562 PyObject * obj0 = 0 ;
994141e6 20563 PyObject * obj1 = 0 ;
d14a1e28
RD
20564 char *kwnames[] = {
20565 (char *) "self",(char *) "m_stateMask", NULL
20566 };
20567
994141e6 20568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20571 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 20572 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20573 if (arg1) (arg1)->m_stateMask = arg2;
20574
20575 Py_INCREF(Py_None); resultobj = Py_None;
20576 return resultobj;
20577 fail:
20578 return NULL;
20579}
20580
20581
c32bde28 20582static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20583 PyObject *resultobj;
20584 wxListItem *arg1 = (wxListItem *) 0 ;
20585 long result;
20586 PyObject * obj0 = 0 ;
20587 char *kwnames[] = {
20588 (char *) "self", NULL
20589 };
20590
20591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20594 result = (long) ((arg1)->m_stateMask);
20595
c32bde28 20596 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20597 return resultobj;
20598 fail:
20599 return NULL;
20600}
20601
20602
c32bde28 20603static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20604 PyObject *resultobj;
20605 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 20606 wxString *arg2 = (wxString *) 0 ;
ae8162c8 20607 bool temp2 = false ;
d14a1e28
RD
20608 PyObject * obj0 = 0 ;
20609 PyObject * obj1 = 0 ;
20610 char *kwnames[] = {
20611 (char *) "self",(char *) "m_text", NULL
20612 };
20613
20614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
20617 {
20618 arg2 = wxString_in_helper(obj1);
20619 if (arg2 == NULL) SWIG_fail;
ae8162c8 20620 temp2 = true;
7eae615b 20621 }
196addbf 20622 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
20623
20624 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
20625 {
20626 if (temp2)
20627 delete arg2;
20628 }
d14a1e28
RD
20629 return resultobj;
20630 fail:
7eae615b
RD
20631 {
20632 if (temp2)
20633 delete arg2;
20634 }
d14a1e28
RD
20635 return NULL;
20636}
20637
20638
c32bde28 20639static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20640 PyObject *resultobj;
20641 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 20642 wxString *result;
d14a1e28
RD
20643 PyObject * obj0 = 0 ;
20644 char *kwnames[] = {
20645 (char *) "self", NULL
20646 };
20647
20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 20651 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
20652
20653 {
20654#if wxUSE_UNICODE
196addbf 20655 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 20656#else
196addbf 20657 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
20658#endif
20659 }
20660 return resultobj;
20661 fail:
20662 return NULL;
20663}
20664
20665
c32bde28 20666static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20667 PyObject *resultobj;
20668 wxListItem *arg1 = (wxListItem *) 0 ;
20669 int arg2 ;
20670 PyObject * obj0 = 0 ;
994141e6 20671 PyObject * obj1 = 0 ;
d14a1e28
RD
20672 char *kwnames[] = {
20673 (char *) "self",(char *) "m_image", NULL
20674 };
20675
994141e6 20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20679 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20680 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20681 if (arg1) (arg1)->m_image = arg2;
20682
20683 Py_INCREF(Py_None); resultobj = Py_None;
20684 return resultobj;
20685 fail:
20686 return NULL;
20687}
20688
20689
c32bde28 20690static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20691 PyObject *resultobj;
20692 wxListItem *arg1 = (wxListItem *) 0 ;
20693 int result;
20694 PyObject * obj0 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20702 result = (int) ((arg1)->m_image);
20703
c32bde28 20704 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20705 return resultobj;
20706 fail:
20707 return NULL;
20708}
20709
20710
c32bde28 20711static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20712 PyObject *resultobj;
20713 wxListItem *arg1 = (wxListItem *) 0 ;
20714 long arg2 ;
20715 PyObject * obj0 = 0 ;
994141e6 20716 PyObject * obj1 = 0 ;
d14a1e28
RD
20717 char *kwnames[] = {
20718 (char *) "self",(char *) "m_data", NULL
20719 };
20720
994141e6 20721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20724 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 20725 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20726 if (arg1) (arg1)->m_data = arg2;
20727
20728 Py_INCREF(Py_None); resultobj = Py_None;
20729 return resultobj;
20730 fail:
20731 return NULL;
20732}
20733
20734
c32bde28 20735static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20736 PyObject *resultobj;
20737 wxListItem *arg1 = (wxListItem *) 0 ;
20738 long result;
20739 PyObject * obj0 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20747 result = (long) ((arg1)->m_data);
20748
c32bde28 20749 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20750 return resultobj;
20751 fail:
20752 return NULL;
20753}
20754
20755
c32bde28 20756static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20757 PyObject *resultobj;
20758 wxListItem *arg1 = (wxListItem *) 0 ;
20759 int arg2 ;
20760 PyObject * obj0 = 0 ;
994141e6 20761 PyObject * obj1 = 0 ;
d14a1e28
RD
20762 char *kwnames[] = {
20763 (char *) "self",(char *) "m_format", NULL
20764 };
20765
994141e6 20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20769 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20771 if (arg1) (arg1)->m_format = arg2;
20772
20773 Py_INCREF(Py_None); resultobj = Py_None;
20774 return resultobj;
20775 fail:
20776 return NULL;
20777}
20778
20779
c32bde28 20780static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20781 PyObject *resultobj;
20782 wxListItem *arg1 = (wxListItem *) 0 ;
20783 int result;
20784 PyObject * obj0 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "self", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20792 result = (int) ((arg1)->m_format);
20793
c32bde28 20794 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20795 return resultobj;
20796 fail:
20797 return NULL;
20798}
20799
20800
c32bde28 20801static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20802 PyObject *resultobj;
20803 wxListItem *arg1 = (wxListItem *) 0 ;
20804 int arg2 ;
20805 PyObject * obj0 = 0 ;
994141e6 20806 PyObject * obj1 = 0 ;
d14a1e28
RD
20807 char *kwnames[] = {
20808 (char *) "self",(char *) "m_width", NULL
20809 };
20810
994141e6 20811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20814 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20816 if (arg1) (arg1)->m_width = arg2;
20817
20818 Py_INCREF(Py_None); resultobj = Py_None;
20819 return resultobj;
20820 fail:
20821 return NULL;
20822}
20823
20824
c32bde28 20825static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20826 PyObject *resultobj;
20827 wxListItem *arg1 = (wxListItem *) 0 ;
20828 int result;
20829 PyObject * obj0 = 0 ;
20830 char *kwnames[] = {
20831 (char *) "self", NULL
20832 };
20833
20834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20837 result = (int) ((arg1)->m_width);
20838
c32bde28 20839 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20840 return resultobj;
20841 fail:
20842 return NULL;
20843}
20844
20845
c32bde28 20846static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20847 PyObject *obj;
20848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20849 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20850 Py_INCREF(obj);
20851 return Py_BuildValue((char *)"");
20852}
c32bde28 20853static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20854 PyObject *resultobj;
20855 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20856 int arg2 = (int) 0 ;
20857 wxListEvent *result;
994141e6
RD
20858 PyObject * obj0 = 0 ;
20859 PyObject * obj1 = 0 ;
d14a1e28
RD
20860 char *kwnames[] = {
20861 (char *) "commandType",(char *) "id", NULL
20862 };
20863
994141e6
RD
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20865 if (obj0) {
c32bde28 20866 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 20867 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20868 }
20869 if (obj1) {
c32bde28 20870 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20871 if (PyErr_Occurred()) SWIG_fail;
994141e6 20872 }
d14a1e28
RD
20873 {
20874 PyThreadState* __tstate = wxPyBeginAllowThreads();
20875 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20876
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
15afbcd0 20880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
20881 return resultobj;
20882 fail:
20883 return NULL;
20884}
20885
20886
c32bde28 20887static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20888 PyObject *resultobj;
20889 wxListEvent *arg1 = (wxListEvent *) 0 ;
20890 int arg2 ;
20891 PyObject * obj0 = 0 ;
994141e6 20892 PyObject * obj1 = 0 ;
d14a1e28
RD
20893 char *kwnames[] = {
20894 (char *) "self",(char *) "m_code", NULL
20895 };
20896
994141e6 20897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20900 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20901 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20902 if (arg1) (arg1)->m_code = arg2;
20903
20904 Py_INCREF(Py_None); resultobj = Py_None;
20905 return resultobj;
20906 fail:
20907 return NULL;
20908}
20909
20910
c32bde28 20911static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20912 PyObject *resultobj;
20913 wxListEvent *arg1 = (wxListEvent *) 0 ;
20914 int result;
20915 PyObject * obj0 = 0 ;
20916 char *kwnames[] = {
20917 (char *) "self", NULL
20918 };
20919
20920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20923 result = (int) ((arg1)->m_code);
20924
c32bde28 20925 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20926 return resultobj;
20927 fail:
20928 return NULL;
20929}
20930
20931
c32bde28 20932static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20933 PyObject *resultobj;
20934 wxListEvent *arg1 = (wxListEvent *) 0 ;
20935 long arg2 ;
20936 PyObject * obj0 = 0 ;
994141e6 20937 PyObject * obj1 = 0 ;
d14a1e28
RD
20938 char *kwnames[] = {
20939 (char *) "self",(char *) "m_oldItemIndex", NULL
20940 };
20941
994141e6 20942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20945 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 20946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20947 if (arg1) (arg1)->m_oldItemIndex = arg2;
20948
20949 Py_INCREF(Py_None); resultobj = Py_None;
20950 return resultobj;
20951 fail:
20952 return NULL;
20953}
20954
20955
c32bde28 20956static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20957 PyObject *resultobj;
20958 wxListEvent *arg1 = (wxListEvent *) 0 ;
20959 long result;
20960 PyObject * obj0 = 0 ;
20961 char *kwnames[] = {
20962 (char *) "self", NULL
20963 };
20964
20965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20968 result = (long) ((arg1)->m_oldItemIndex);
20969
c32bde28 20970 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20971 return resultobj;
20972 fail:
20973 return NULL;
20974}
20975
20976
c32bde28 20977static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20978 PyObject *resultobj;
20979 wxListEvent *arg1 = (wxListEvent *) 0 ;
20980 long arg2 ;
20981 PyObject * obj0 = 0 ;
994141e6 20982 PyObject * obj1 = 0 ;
d14a1e28
RD
20983 char *kwnames[] = {
20984 (char *) "self",(char *) "m_itemIndex", NULL
20985 };
20986
994141e6 20987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20990 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 20991 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20992 if (arg1) (arg1)->m_itemIndex = arg2;
20993
20994 Py_INCREF(Py_None); resultobj = Py_None;
20995 return resultobj;
20996 fail:
20997 return NULL;
20998}
20999
21000
c32bde28 21001static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21002 PyObject *resultobj;
21003 wxListEvent *arg1 = (wxListEvent *) 0 ;
21004 long result;
21005 PyObject * obj0 = 0 ;
21006 char *kwnames[] = {
21007 (char *) "self", NULL
21008 };
21009
21010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
21011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21013 result = (long) ((arg1)->m_itemIndex);
21014
c32bde28 21015 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
21016 return resultobj;
21017 fail:
21018 return NULL;
21019}
21020
21021
c32bde28 21022static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21023 PyObject *resultobj;
21024 wxListEvent *arg1 = (wxListEvent *) 0 ;
21025 int arg2 ;
21026 PyObject * obj0 = 0 ;
994141e6 21027 PyObject * obj1 = 0 ;
d14a1e28
RD
21028 char *kwnames[] = {
21029 (char *) "self",(char *) "m_col", NULL
21030 };
21031
994141e6 21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21035 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21036 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21037 if (arg1) (arg1)->m_col = arg2;
21038
21039 Py_INCREF(Py_None); resultobj = Py_None;
21040 return resultobj;
21041 fail:
21042 return NULL;
21043}
21044
21045
c32bde28 21046static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21047 PyObject *resultobj;
21048 wxListEvent *arg1 = (wxListEvent *) 0 ;
21049 int result;
21050 PyObject * obj0 = 0 ;
21051 char *kwnames[] = {
21052 (char *) "self", NULL
21053 };
21054
21055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
21056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21058 result = (int) ((arg1)->m_col);
21059
c32bde28 21060 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21061 return resultobj;
21062 fail:
21063 return NULL;
21064}
21065
21066
c32bde28 21067static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21068 PyObject *resultobj;
21069 wxListEvent *arg1 = (wxListEvent *) 0 ;
21070 wxPoint *arg2 = (wxPoint *) 0 ;
21071 PyObject * obj0 = 0 ;
21072 PyObject * obj1 = 0 ;
21073 char *kwnames[] = {
21074 (char *) "self",(char *) "m_pointDrag", NULL
21075 };
21076
21077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
21081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21082 if (arg1) (arg1)->m_pointDrag = *arg2;
21083
21084 Py_INCREF(Py_None); resultobj = Py_None;
21085 return resultobj;
21086 fail:
21087 return NULL;
21088}
21089
21090
c32bde28 21091static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21092 PyObject *resultobj;
21093 wxListEvent *arg1 = (wxListEvent *) 0 ;
21094 wxPoint *result;
21095 PyObject * obj0 = 0 ;
21096 char *kwnames[] = {
21097 (char *) "self", NULL
21098 };
21099
21100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
21101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21103 result = (wxPoint *)& ((arg1)->m_pointDrag);
21104
15afbcd0 21105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
21106 return resultobj;
21107 fail:
21108 return NULL;
21109}
21110
21111
c32bde28 21112static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21113 PyObject *resultobj;
21114 wxListEvent *arg1 = (wxListEvent *) 0 ;
21115 wxListItem *result;
21116 PyObject * obj0 = 0 ;
21117 char *kwnames[] = {
21118 (char *) "self", NULL
21119 };
21120
21121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
21122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21124 result = (wxListItem *)& ((arg1)->m_item);
21125
21126 {
412d302d 21127 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
21128 }
21129 return resultobj;
21130 fail:
21131 return NULL;
21132}
21133
21134
c32bde28 21135static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21136 PyObject *resultobj;
21137 wxListEvent *arg1 = (wxListEvent *) 0 ;
21138 int result;
21139 PyObject * obj0 = 0 ;
21140 char *kwnames[] = {
21141 (char *) "self", NULL
21142 };
21143
21144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
21145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21147 {
21148 PyThreadState* __tstate = wxPyBeginAllowThreads();
21149 result = (int)(arg1)->GetKeyCode();
21150
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
c32bde28 21154 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21155 return resultobj;
21156 fail:
21157 return NULL;
21158}
21159
21160
c32bde28 21161static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21162 PyObject *resultobj;
21163 wxListEvent *arg1 = (wxListEvent *) 0 ;
21164 long result;
21165 PyObject * obj0 = 0 ;
21166 char *kwnames[] = {
21167 (char *) "self", NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
21171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = (long)(arg1)->GetIndex();
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
c32bde28 21180 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
21181 return resultobj;
21182 fail:
21183 return NULL;
21184}
21185
21186
c32bde28 21187static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21188 PyObject *resultobj;
21189 wxListEvent *arg1 = (wxListEvent *) 0 ;
21190 int result;
21191 PyObject * obj0 = 0 ;
21192 char *kwnames[] = {
21193 (char *) "self", NULL
21194 };
21195
21196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
21197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21199 {
21200 PyThreadState* __tstate = wxPyBeginAllowThreads();
21201 result = (int)(arg1)->GetColumn();
21202
21203 wxPyEndAllowThreads(__tstate);
21204 if (PyErr_Occurred()) SWIG_fail;
21205 }
c32bde28 21206 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21207 return resultobj;
21208 fail:
21209 return NULL;
21210}
21211
21212
c32bde28 21213static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21214 PyObject *resultobj;
21215 wxListEvent *arg1 = (wxListEvent *) 0 ;
21216 wxPoint result;
21217 PyObject * obj0 = 0 ;
21218 char *kwnames[] = {
21219 (char *) "self", NULL
21220 };
21221
21222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
21223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21225 {
21226 PyThreadState* __tstate = wxPyBeginAllowThreads();
21227 result = (arg1)->GetPoint();
21228
21229 wxPyEndAllowThreads(__tstate);
21230 if (PyErr_Occurred()) SWIG_fail;
21231 }
21232 {
21233 wxPoint * resultptr;
21234 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 21235 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
21236 }
21237 return resultobj;
21238 fail:
21239 return NULL;
21240}
21241
21242
c32bde28 21243static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21244 PyObject *resultobj;
21245 wxListEvent *arg1 = (wxListEvent *) 0 ;
21246 wxString *result;
21247 PyObject * obj0 = 0 ;
21248 char *kwnames[] = {
21249 (char *) "self", NULL
21250 };
21251
21252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
21253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 {
21258 wxString const &_result_ref = (arg1)->GetLabel();
21259 result = (wxString *) &_result_ref;
21260 }
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
cc6dd355
RD
21265 {
21266#if wxUSE_UNICODE
21267 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21268#else
21269 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21270#endif
21271 }
d14a1e28
RD
21272 return resultobj;
21273 fail:
21274 return NULL;
21275}
21276
21277
c32bde28 21278static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21279 PyObject *resultobj;
21280 wxListEvent *arg1 = (wxListEvent *) 0 ;
21281 wxString *result;
21282 PyObject * obj0 = 0 ;
21283 char *kwnames[] = {
21284 (char *) "self", NULL
21285 };
21286
21287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
21288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21290 {
21291 PyThreadState* __tstate = wxPyBeginAllowThreads();
21292 {
21293 wxString const &_result_ref = (arg1)->GetText();
21294 result = (wxString *) &_result_ref;
21295 }
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
cc6dd355
RD
21300 {
21301#if wxUSE_UNICODE
21302 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21303#else
21304 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21305#endif
21306 }
d14a1e28
RD
21307 return resultobj;
21308 fail:
21309 return NULL;
21310}
21311
21312
c32bde28 21313static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21314 PyObject *resultobj;
21315 wxListEvent *arg1 = (wxListEvent *) 0 ;
21316 int result;
21317 PyObject * obj0 = 0 ;
21318 char *kwnames[] = {
21319 (char *) "self", NULL
21320 };
21321
21322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
21323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 result = (int)(arg1)->GetImage();
21328
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
c32bde28 21332 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21333 return resultobj;
21334 fail:
21335 return NULL;
21336}
21337
21338
c32bde28 21339static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21340 PyObject *resultobj;
21341 wxListEvent *arg1 = (wxListEvent *) 0 ;
21342 long result;
21343 PyObject * obj0 = 0 ;
21344 char *kwnames[] = {
21345 (char *) "self", NULL
21346 };
21347
21348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 result = (long)(arg1)->GetData();
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
c32bde28 21358 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
21359 return resultobj;
21360 fail:
21361 return NULL;
21362}
21363
21364
c32bde28 21365static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21366 PyObject *resultobj;
21367 wxListEvent *arg1 = (wxListEvent *) 0 ;
21368 long result;
21369 PyObject * obj0 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
21375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 result = (long)(arg1)->GetMask();
21380
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
c32bde28 21384 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
21385 return resultobj;
21386 fail:
21387 return NULL;
21388}
21389
21390
c32bde28 21391static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21392 PyObject *resultobj;
21393 wxListEvent *arg1 = (wxListEvent *) 0 ;
21394 wxListItem *result;
21395 PyObject * obj0 = 0 ;
21396 char *kwnames[] = {
21397 (char *) "self", NULL
21398 };
21399
21400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
21401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 {
21406 wxListItem const &_result_ref = (arg1)->GetItem();
21407 result = (wxListItem *) &_result_ref;
21408 }
21409
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
15afbcd0 21413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
21414 return resultobj;
21415 fail:
21416 return NULL;
21417}
21418
21419
c32bde28 21420static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21421 PyObject *resultobj;
21422 wxListEvent *arg1 = (wxListEvent *) 0 ;
21423 long result;
21424 PyObject * obj0 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
15afbcd0
RD
21430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21432 {
21433 PyThreadState* __tstate = wxPyBeginAllowThreads();
21434 result = (long)(arg1)->GetCacheFrom();
21435
21436 wxPyEndAllowThreads(__tstate);
21437 if (PyErr_Occurred()) SWIG_fail;
21438 }
c32bde28 21439 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
21440 return resultobj;
21441 fail:
21442 return NULL;
21443}
21444
21445
c32bde28 21446static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21447 PyObject *resultobj;
21448 wxListEvent *arg1 = (wxListEvent *) 0 ;
21449 long result;
21450 PyObject * obj0 = 0 ;
21451 char *kwnames[] = {
21452 (char *) "self", NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
15afbcd0
RD
21456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 result = (long)(arg1)->GetCacheTo();
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
c32bde28 21465 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
21466 return resultobj;
21467 fail:
21468 return NULL;
21469}
21470
21471
c32bde28 21472static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21473 PyObject *resultobj;
21474 wxListEvent *arg1 = (wxListEvent *) 0 ;
21475 bool result;
21476 PyObject * obj0 = 0 ;
21477 char *kwnames[] = {
21478 (char *) "self", NULL
21479 };
21480
21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
21482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21484 {
21485 PyThreadState* __tstate = wxPyBeginAllowThreads();
21486 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21487
21488 wxPyEndAllowThreads(__tstate);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
4f89f6a3
RD
21491 {
21492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21493 }
d14a1e28
RD
21494 return resultobj;
21495 fail:
21496 return NULL;
21497}
21498
21499
c32bde28 21500static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21501 PyObject *resultobj;
21502 wxListEvent *arg1 = (wxListEvent *) 0 ;
21503 bool arg2 ;
21504 PyObject * obj0 = 0 ;
21505 PyObject * obj1 = 0 ;
21506 char *kwnames[] = {
21507 (char *) "self",(char *) "editCancelled", NULL
21508 };
21509
21510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21513 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21514 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21515 {
21516 PyThreadState* __tstate = wxPyBeginAllowThreads();
21517 (arg1)->SetEditCanceled(arg2);
21518
21519 wxPyEndAllowThreads(__tstate);
21520 if (PyErr_Occurred()) SWIG_fail;
21521 }
21522 Py_INCREF(Py_None); resultobj = Py_None;
21523 return resultobj;
21524 fail:
21525 return NULL;
21526}
21527
21528
c32bde28 21529static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21530 PyObject *obj;
21531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21532 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21533 Py_INCREF(obj);
21534 return Py_BuildValue((char *)"");
21535}
c32bde28 21536static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21537 PyObject *resultobj;
21538 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21539 int arg2 = (int) -1 ;
d14a1e28
RD
21540 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21541 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21542 wxSize const &arg4_defvalue = wxDefaultSize ;
21543 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21544 long arg5 = (long) wxLC_ICON ;
21545 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21546 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21547 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21548 wxString *arg7 = (wxString *) &arg7_defvalue ;
21549 wxPyListCtrl *result;
21550 wxPoint temp3 ;
21551 wxSize temp4 ;
ae8162c8 21552 bool temp7 = false ;
d14a1e28 21553 PyObject * obj0 = 0 ;
994141e6 21554 PyObject * obj1 = 0 ;
d14a1e28
RD
21555 PyObject * obj2 = 0 ;
21556 PyObject * obj3 = 0 ;
994141e6 21557 PyObject * obj4 = 0 ;
d14a1e28
RD
21558 PyObject * obj5 = 0 ;
21559 PyObject * obj6 = 0 ;
21560 char *kwnames[] = {
21561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21562 };
21563
994141e6 21564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
21565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21567 if (obj1) {
c32bde28 21568 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21569 if (PyErr_Occurred()) SWIG_fail;
994141e6 21570 }
d14a1e28
RD
21571 if (obj2) {
21572 {
21573 arg3 = &temp3;
21574 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21575 }
21576 }
21577 if (obj3) {
21578 {
21579 arg4 = &temp4;
21580 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21581 }
21582 }
994141e6 21583 if (obj4) {
c32bde28 21584 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 21585 if (PyErr_Occurred()) SWIG_fail;
994141e6 21586 }
d14a1e28 21587 if (obj5) {
15afbcd0
RD
21588 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21589 SWIG_POINTER_EXCEPTION | 0)) == -1)
21590 SWIG_fail;
d14a1e28 21591 if (arg6 == NULL) {
15afbcd0
RD
21592 PyErr_SetString(PyExc_TypeError,"null reference");
21593 SWIG_fail;
d14a1e28
RD
21594 }
21595 }
21596 if (obj6) {
21597 {
21598 arg7 = wxString_in_helper(obj6);
21599 if (arg7 == NULL) SWIG_fail;
ae8162c8 21600 temp7 = true;
d14a1e28
RD
21601 }
21602 }
21603 {
e3b71cb8 21604 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21607
21608 wxPyEndAllowThreads(__tstate);
110da5b0 21609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21610 }
15afbcd0 21611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
21612 {
21613 if (temp7)
21614 delete arg7;
21615 }
21616 return resultobj;
21617 fail:
21618 {
21619 if (temp7)
21620 delete arg7;
21621 }
21622 return NULL;
21623}
21624
21625
c32bde28 21626static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21627 PyObject *resultobj;
21628 wxPyListCtrl *result;
21629 char *kwnames[] = {
21630 NULL
21631 };
21632
21633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21634 {
e3b71cb8 21635 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 result = (wxPyListCtrl *)new wxPyListCtrl();
21638
21639 wxPyEndAllowThreads(__tstate);
110da5b0 21640 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21641 }
15afbcd0 21642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
21643 return resultobj;
21644 fail:
21645 return NULL;
21646}
21647
21648
c32bde28 21649static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21650 PyObject *resultobj;
21651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21652 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 21653 int arg3 = (int) -1 ;
d14a1e28
RD
21654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21656 wxSize const &arg5_defvalue = wxDefaultSize ;
21657 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21658 long arg6 = (long) wxLC_ICON ;
21659 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21660 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21661 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21662 wxString *arg8 = (wxString *) &arg8_defvalue ;
21663 bool result;
21664 wxPoint temp4 ;
21665 wxSize temp5 ;
ae8162c8 21666 bool temp8 = false ;
d14a1e28
RD
21667 PyObject * obj0 = 0 ;
21668 PyObject * obj1 = 0 ;
994141e6 21669 PyObject * obj2 = 0 ;
d14a1e28
RD
21670 PyObject * obj3 = 0 ;
21671 PyObject * obj4 = 0 ;
994141e6 21672 PyObject * obj5 = 0 ;
d14a1e28
RD
21673 PyObject * obj6 = 0 ;
21674 PyObject * obj7 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21677 };
21678
994141e6 21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
21680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21684 if (obj2) {
c32bde28 21685 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 21686 if (PyErr_Occurred()) SWIG_fail;
994141e6 21687 }
d14a1e28
RD
21688 if (obj3) {
21689 {
21690 arg4 = &temp4;
21691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21692 }
21693 }
21694 if (obj4) {
21695 {
21696 arg5 = &temp5;
21697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21698 }
21699 }
994141e6 21700 if (obj5) {
c32bde28 21701 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 21702 if (PyErr_Occurred()) SWIG_fail;
994141e6 21703 }
d14a1e28 21704 if (obj6) {
15afbcd0
RD
21705 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21706 SWIG_POINTER_EXCEPTION | 0)) == -1)
21707 SWIG_fail;
d14a1e28 21708 if (arg7 == NULL) {
15afbcd0
RD
21709 PyErr_SetString(PyExc_TypeError,"null reference");
21710 SWIG_fail;
d14a1e28
RD
21711 }
21712 }
21713 if (obj7) {
21714 {
21715 arg8 = wxString_in_helper(obj7);
21716 if (arg8 == NULL) SWIG_fail;
ae8162c8 21717 temp8 = true;
d14a1e28
RD
21718 }
21719 }
21720 {
21721 PyThreadState* __tstate = wxPyBeginAllowThreads();
21722 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21723
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
4f89f6a3
RD
21727 {
21728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21729 }
d14a1e28
RD
21730 {
21731 if (temp8)
21732 delete arg8;
21733 }
21734 return resultobj;
21735 fail:
21736 {
21737 if (temp8)
21738 delete arg8;
21739 }
21740 return NULL;
21741}
21742
21743
c32bde28 21744static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21745 PyObject *resultobj;
21746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21747 PyObject *arg2 = (PyObject *) 0 ;
21748 PyObject *arg3 = (PyObject *) 0 ;
21749 PyObject * obj0 = 0 ;
21750 PyObject * obj1 = 0 ;
21751 PyObject * obj2 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self",(char *) "self",(char *) "_class", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21759 arg2 = obj1;
21760 arg3 = obj2;
21761 {
21762 PyThreadState* __tstate = wxPyBeginAllowThreads();
21763 (arg1)->_setCallbackInfo(arg2,arg3);
21764
21765 wxPyEndAllowThreads(__tstate);
21766 if (PyErr_Occurred()) SWIG_fail;
21767 }
21768 Py_INCREF(Py_None); resultobj = Py_None;
21769 return resultobj;
21770 fail:
21771 return NULL;
21772}
21773
21774
c32bde28 21775static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21776 PyObject *resultobj;
21777 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21778 wxColour *arg2 = 0 ;
21779 bool result;
21780 wxColour temp2 ;
21781 PyObject * obj0 = 0 ;
21782 PyObject * obj1 = 0 ;
21783 char *kwnames[] = {
21784 (char *) "self",(char *) "col", NULL
21785 };
21786
21787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21790 {
21791 arg2 = &temp2;
21792 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21793 }
21794 {
21795 PyThreadState* __tstate = wxPyBeginAllowThreads();
21796 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21797
21798 wxPyEndAllowThreads(__tstate);
21799 if (PyErr_Occurred()) SWIG_fail;
21800 }
4f89f6a3
RD
21801 {
21802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21803 }
d14a1e28
RD
21804 return resultobj;
21805 fail:
21806 return NULL;
21807}
21808
21809
c32bde28 21810static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21811 PyObject *resultobj;
21812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21813 wxColour *arg2 = 0 ;
21814 bool result;
21815 wxColour temp2 ;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self",(char *) "col", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
21827 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21828 }
21829 {
21830 PyThreadState* __tstate = wxPyBeginAllowThreads();
21831 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21832
21833 wxPyEndAllowThreads(__tstate);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 }
4f89f6a3
RD
21836 {
21837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21838 }
d14a1e28
RD
21839 return resultobj;
21840 fail:
21841 return NULL;
21842}
21843
21844
c32bde28 21845static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21846 PyObject *resultobj;
21847 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21848 int arg2 ;
21849 wxListItem *result;
21850 PyObject * obj0 = 0 ;
994141e6 21851 PyObject * obj1 = 0 ;
d14a1e28
RD
21852 char *kwnames[] = {
21853 (char *) "self",(char *) "col", NULL
21854 };
21855
994141e6 21856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21859 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 {
412d302d 21869 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
21870 }
21871 return resultobj;
21872 fail:
21873 return NULL;
21874}
21875
21876
c32bde28 21877static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21878 PyObject *resultobj;
21879 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21880 int arg2 ;
21881 wxListItem *arg3 = 0 ;
21882 bool result;
21883 PyObject * obj0 = 0 ;
994141e6 21884 PyObject * obj1 = 0 ;
d14a1e28
RD
21885 PyObject * obj2 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self",(char *) "col",(char *) "item", NULL
21888 };
21889
994141e6 21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21893 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
21894 if (PyErr_Occurred()) SWIG_fail;
21895 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21896 SWIG_POINTER_EXCEPTION | 0)) == -1)
21897 SWIG_fail;
d14a1e28 21898 if (arg3 == NULL) {
15afbcd0
RD
21899 PyErr_SetString(PyExc_TypeError,"null reference");
21900 SWIG_fail;
d14a1e28
RD
21901 }
21902 {
21903 PyThreadState* __tstate = wxPyBeginAllowThreads();
21904 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21905
21906 wxPyEndAllowThreads(__tstate);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 }
4f89f6a3
RD
21909 {
21910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21911 }
d14a1e28
RD
21912 return resultobj;
21913 fail:
21914 return NULL;
21915}
21916
21917
c32bde28 21918static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21919 PyObject *resultobj;
21920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21921 int arg2 ;
21922 int result;
21923 PyObject * obj0 = 0 ;
994141e6 21924 PyObject * obj1 = 0 ;
d14a1e28
RD
21925 char *kwnames[] = {
21926 (char *) "self",(char *) "col", NULL
21927 };
21928
994141e6 21929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21932 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21933 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
c32bde28 21941 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21942 return resultobj;
21943 fail:
21944 return NULL;
21945}
21946
21947
c32bde28 21948static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21949 PyObject *resultobj;
21950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21951 int arg2 ;
21952 int arg3 ;
21953 bool result;
21954 PyObject * obj0 = 0 ;
994141e6
RD
21955 PyObject * obj1 = 0 ;
21956 PyObject * obj2 = 0 ;
d14a1e28
RD
21957 char *kwnames[] = {
21958 (char *) "self",(char *) "col",(char *) "width", NULL
21959 };
21960
994141e6 21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21964 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21965 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21966 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 21967 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21968 {
21969 PyThreadState* __tstate = wxPyBeginAllowThreads();
21970 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21971
21972 wxPyEndAllowThreads(__tstate);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 }
4f89f6a3
RD
21975 {
21976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21977 }
d14a1e28
RD
21978 return resultobj;
21979 fail:
21980 return NULL;
21981}
21982
21983
c32bde28 21984static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21985 PyObject *resultobj;
21986 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21987 int result;
21988 PyObject * obj0 = 0 ;
21989 char *kwnames[] = {
21990 (char *) "self", NULL
21991 };
21992
21993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
21994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21999
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
c32bde28 22003 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22004 return resultobj;
22005 fail:
22006 return NULL;
22007}
22008
22009
c32bde28 22010static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22011 PyObject *resultobj;
22012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22013 wxRect result;
22014 PyObject * obj0 = 0 ;
22015 char *kwnames[] = {
22016 (char *) "self", NULL
22017 };
22018
22019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22022 {
22023 PyThreadState* __tstate = wxPyBeginAllowThreads();
22024 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
22025
22026 wxPyEndAllowThreads(__tstate);
22027 if (PyErr_Occurred()) SWIG_fail;
22028 }
22029 {
22030 wxRect * resultptr;
22031 resultptr = new wxRect((wxRect &) result);
15afbcd0 22032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22033 }
22034 return resultobj;
22035 fail:
22036 return NULL;
22037}
22038
22039
c32bde28 22040static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22041 PyObject *resultobj;
22042 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22043 long arg2 ;
22044 int arg3 = (int) 0 ;
22045 wxListItem *result;
22046 PyObject * obj0 = 0 ;
994141e6
RD
22047 PyObject * obj1 = 0 ;
22048 PyObject * obj2 = 0 ;
d14a1e28
RD
22049 char *kwnames[] = {
22050 (char *) "self",(char *) "itemId",(char *) "col", NULL
22051 };
22052
994141e6 22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22056 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22057 if (PyErr_Occurred()) SWIG_fail;
994141e6 22058 if (obj2) {
c32bde28 22059 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22060 if (PyErr_Occurred()) SWIG_fail;
994141e6 22061 }
d14a1e28
RD
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 {
412d302d 22070 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
22071 }
22072 return resultobj;
22073 fail:
22074 return NULL;
22075}
22076
22077
c32bde28 22078static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22079 PyObject *resultobj;
22080 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22081 wxListItem *arg2 = 0 ;
22082 bool result;
22083 PyObject * obj0 = 0 ;
22084 PyObject * obj1 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self",(char *) "info", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22093 SWIG_POINTER_EXCEPTION | 0)) == -1)
22094 SWIG_fail;
d14a1e28 22095 if (arg2 == NULL) {
15afbcd0
RD
22096 PyErr_SetString(PyExc_TypeError,"null reference");
22097 SWIG_fail;
d14a1e28
RD
22098 }
22099 {
22100 PyThreadState* __tstate = wxPyBeginAllowThreads();
22101 result = (bool)(arg1)->SetItem(*arg2);
22102
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
4f89f6a3
RD
22106 {
22107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22108 }
d14a1e28
RD
22109 return resultobj;
22110 fail:
22111 return NULL;
22112}
22113
22114
c32bde28 22115static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22116 PyObject *resultobj;
22117 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22118 long arg2 ;
22119 int arg3 ;
22120 wxString *arg4 = 0 ;
22121 int arg5 = (int) -1 ;
22122 long result;
ae8162c8 22123 bool temp4 = false ;
d14a1e28 22124 PyObject * obj0 = 0 ;
994141e6
RD
22125 PyObject * obj1 = 0 ;
22126 PyObject * obj2 = 0 ;
d14a1e28 22127 PyObject * obj3 = 0 ;
994141e6 22128 PyObject * obj4 = 0 ;
d14a1e28
RD
22129 char *kwnames[] = {
22130 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22131 };
22132
994141e6 22133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
22134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22136 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22137 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22138 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22140 {
22141 arg4 = wxString_in_helper(obj3);
22142 if (arg4 == NULL) SWIG_fail;
ae8162c8 22143 temp4 = true;
d14a1e28 22144 }
994141e6 22145 if (obj4) {
c32bde28 22146 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 22147 if (PyErr_Occurred()) SWIG_fail;
994141e6 22148 }
d14a1e28
RD
22149 {
22150 PyThreadState* __tstate = wxPyBeginAllowThreads();
22151 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
22152
22153 wxPyEndAllowThreads(__tstate);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
c32bde28 22156 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
22157 {
22158 if (temp4)
22159 delete arg4;
22160 }
22161 return resultobj;
22162 fail:
22163 {
22164 if (temp4)
22165 delete arg4;
22166 }
22167 return NULL;
22168}
22169
22170
c32bde28 22171static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22172 PyObject *resultobj;
22173 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22174 long arg2 ;
22175 long arg3 ;
22176 int result;
22177 PyObject * obj0 = 0 ;
994141e6
RD
22178 PyObject * obj1 = 0 ;
22179 PyObject * obj2 = 0 ;
d14a1e28
RD
22180 char *kwnames[] = {
22181 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22182 };
22183
994141e6 22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22187 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22188 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22189 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 22190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
c32bde28 22198 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22199 return resultobj;
22200 fail:
22201 return NULL;
22202}
22203
22204
c32bde28 22205static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22206 PyObject *resultobj;
22207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22208 long arg2 ;
22209 long arg3 ;
22210 long arg4 ;
22211 bool result;
22212 PyObject * obj0 = 0 ;
994141e6
RD
22213 PyObject * obj1 = 0 ;
22214 PyObject * obj2 = 0 ;
22215 PyObject * obj3 = 0 ;
d14a1e28
RD
22216 char *kwnames[] = {
22217 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22218 };
22219
994141e6 22220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22223 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22224 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22225 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 22226 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22227 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 22228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22229 {
22230 PyThreadState* __tstate = wxPyBeginAllowThreads();
22231 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
22232
22233 wxPyEndAllowThreads(__tstate);
22234 if (PyErr_Occurred()) SWIG_fail;
22235 }
4f89f6a3
RD
22236 {
22237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22238 }
d14a1e28
RD
22239 return resultobj;
22240 fail:
22241 return NULL;
22242}
22243
22244
c32bde28 22245static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22246 PyObject *resultobj;
22247 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22248 long arg2 ;
22249 int arg3 ;
1fc3b23a 22250 int arg4 = (int) -1 ;
d14a1e28
RD
22251 bool result;
22252 PyObject * obj0 = 0 ;
994141e6
RD
22253 PyObject * obj1 = 0 ;
22254 PyObject * obj2 = 0 ;
22255 PyObject * obj3 = 0 ;
d14a1e28
RD
22256 char *kwnames[] = {
22257 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22258 };
22259
1fc3b23a 22260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22263 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22264 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22265 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22266 if (PyErr_Occurred()) SWIG_fail;
1fc3b23a
RD
22267 if (obj3) {
22268 arg4 = (int)SWIG_As_int(obj3);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
d14a1e28
RD
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
4f89f6a3
RD
22278 {
22279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22280 }
d14a1e28
RD
22281 return resultobj;
22282 fail:
22283 return NULL;
22284}
22285
22286
c32bde28 22287static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22288 PyObject *resultobj;
22289 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22290 long arg2 ;
22291 wxString result;
22292 PyObject * obj0 = 0 ;
994141e6 22293 PyObject * obj1 = 0 ;
d14a1e28
RD
22294 char *kwnames[] = {
22295 (char *) "self",(char *) "item", NULL
22296 };
22297
994141e6 22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22301 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22302 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 {
22311#if wxUSE_UNICODE
22312 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22313#else
22314 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22315#endif
22316 }
22317 return resultobj;
22318 fail:
22319 return NULL;
22320}
22321
22322
c32bde28 22323static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22324 PyObject *resultobj;
22325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22326 long arg2 ;
22327 wxString *arg3 = 0 ;
ae8162c8 22328 bool temp3 = false ;
d14a1e28 22329 PyObject * obj0 = 0 ;
994141e6 22330 PyObject * obj1 = 0 ;
d14a1e28
RD
22331 PyObject * obj2 = 0 ;
22332 char *kwnames[] = {
22333 (char *) "self",(char *) "item",(char *) "str", NULL
22334 };
22335
994141e6 22336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22339 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22340 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22341 {
22342 arg3 = wxString_in_helper(obj2);
22343 if (arg3 == NULL) SWIG_fail;
ae8162c8 22344 temp3 = true;
d14a1e28
RD
22345 }
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
22349
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 Py_INCREF(Py_None); resultobj = Py_None;
22354 {
22355 if (temp3)
22356 delete arg3;
22357 }
22358 return resultobj;
22359 fail:
22360 {
22361 if (temp3)
22362 delete arg3;
22363 }
22364 return NULL;
22365}
22366
22367
c32bde28 22368static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22369 PyObject *resultobj;
22370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22371 long arg2 ;
22372 long result;
22373 PyObject * obj0 = 0 ;
994141e6 22374 PyObject * obj1 = 0 ;
d14a1e28
RD
22375 char *kwnames[] = {
22376 (char *) "self",(char *) "item", NULL
22377 };
22378
994141e6 22379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22382 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22383 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22384 {
22385 PyThreadState* __tstate = wxPyBeginAllowThreads();
22386 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
22387
22388 wxPyEndAllowThreads(__tstate);
22389 if (PyErr_Occurred()) SWIG_fail;
22390 }
c32bde28 22391 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
22392 return resultobj;
22393 fail:
22394 return NULL;
22395}
22396
22397
c32bde28 22398static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22399 PyObject *resultobj;
22400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22401 long arg2 ;
22402 long arg3 ;
22403 bool result;
22404 PyObject * obj0 = 0 ;
994141e6
RD
22405 PyObject * obj1 = 0 ;
22406 PyObject * obj2 = 0 ;
d14a1e28
RD
22407 char *kwnames[] = {
22408 (char *) "self",(char *) "item",(char *) "data", NULL
22409 };
22410
994141e6 22411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22414 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22415 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22416 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 22417 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 result = (bool)(arg1)->SetItemData(arg2,arg3);
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
4f89f6a3
RD
22425 {
22426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22427 }
d14a1e28
RD
22428 return resultobj;
22429 fail:
22430 return NULL;
22431}
22432
22433
c32bde28 22434static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22435 PyObject *resultobj;
22436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22437 long arg2 ;
22438 wxPoint result;
22439 PyObject * obj0 = 0 ;
994141e6 22440 PyObject * obj1 = 0 ;
d14a1e28
RD
22441 char *kwnames[] = {
22442 (char *) "self",(char *) "item", NULL
22443 };
22444
994141e6 22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22448 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22449 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22453
22454 wxPyEndAllowThreads(__tstate);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 }
22457 {
22458 wxPoint * resultptr;
22459 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22461 }
22462 return resultobj;
22463 fail:
22464 return NULL;
22465}
22466
22467
c32bde28 22468static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22469 PyObject *resultobj;
22470 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22471 long arg2 ;
22472 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22473 wxRect result;
22474 PyObject * obj0 = 0 ;
994141e6
RD
22475 PyObject * obj1 = 0 ;
22476 PyObject * obj2 = 0 ;
d14a1e28
RD
22477 char *kwnames[] = {
22478 (char *) "self",(char *) "item",(char *) "code", NULL
22479 };
22480
994141e6 22481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22484 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22485 if (PyErr_Occurred()) SWIG_fail;
994141e6 22486 if (obj2) {
c32bde28 22487 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22488 if (PyErr_Occurred()) SWIG_fail;
994141e6 22489 }
d14a1e28
RD
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22493
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 {
22498 wxRect * resultptr;
22499 resultptr = new wxRect((wxRect &) result);
15afbcd0 22500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22501 }
22502 return resultobj;
22503 fail:
22504 return NULL;
22505}
22506
22507
c32bde28 22508static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22509 PyObject *resultobj;
22510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22511 long arg2 ;
22512 wxPoint *arg3 = 0 ;
22513 bool result;
22514 wxPoint temp3 ;
22515 PyObject * obj0 = 0 ;
994141e6 22516 PyObject * obj1 = 0 ;
d14a1e28
RD
22517 PyObject * obj2 = 0 ;
22518 char *kwnames[] = {
22519 (char *) "self",(char *) "item",(char *) "pos", NULL
22520 };
22521
994141e6 22522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22525 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22527 {
22528 arg3 = &temp3;
22529 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22530 }
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
22533 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
4f89f6a3
RD
22538 {
22539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22540 }
d14a1e28
RD
22541 return resultobj;
22542 fail:
22543 return NULL;
22544}
22545
22546
c32bde28 22547static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22548 PyObject *resultobj;
22549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22550 int result;
22551 PyObject * obj0 = 0 ;
22552 char *kwnames[] = {
22553 (char *) "self", NULL
22554 };
22555
22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
22557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22562
22563 wxPyEndAllowThreads(__tstate);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 }
c32bde28 22566 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22567 return resultobj;
22568 fail:
22569 return NULL;
22570}
22571
22572
c32bde28 22573static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22574 PyObject *resultobj;
22575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22576 int result;
22577 PyObject * obj0 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "self", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
22583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22588
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
c32bde28 22592 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22593 return resultobj;
22594 fail:
22595 return NULL;
22596}
22597
22598
c32bde28 22599static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22600 PyObject *resultobj;
22601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22602 wxSize result;
22603 PyObject * obj0 = 0 ;
22604 char *kwnames[] = {
22605 (char *) "self", NULL
22606 };
22607
22608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
22609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22611 {
22612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22613 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22614
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 {
22619 wxSize * resultptr;
22620 resultptr = new wxSize((wxSize &) result);
15afbcd0 22621 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22622 }
22623 return resultobj;
22624 fail:
22625 return NULL;
22626}
22627
22628
c32bde28 22629static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22630 PyObject *resultobj;
22631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22632 int arg2 ;
ae8162c8 22633 bool arg3 = (bool) false ;
d14a1e28 22634 PyObject * obj0 = 0 ;
994141e6 22635 PyObject * obj1 = 0 ;
d14a1e28
RD
22636 PyObject * obj2 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22639 };
22640
994141e6 22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22644 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22646 if (obj2) {
c32bde28 22647 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 22648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22649 }
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 (arg1)->SetItemSpacing(arg2,arg3);
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 Py_INCREF(Py_None); resultobj = Py_None;
22658 return resultobj;
22659 fail:
22660 return NULL;
22661}
22662
22663
c32bde28 22664static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22665 PyObject *resultobj;
22666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22667 int result;
22668 PyObject * obj0 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self", NULL
22671 };
22672
22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
22674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22676 {
22677 PyThreadState* __tstate = wxPyBeginAllowThreads();
22678 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22679
22680 wxPyEndAllowThreads(__tstate);
22681 if (PyErr_Occurred()) SWIG_fail;
22682 }
c32bde28 22683 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22684 return resultobj;
22685 fail:
22686 return NULL;
22687}
22688
22689
c32bde28 22690static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22691 PyObject *resultobj;
22692 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22693 wxColour result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
22700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 wxColour * resultptr;
22711 resultptr = new wxColour((wxColour &) result);
15afbcd0 22712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22713 }
22714 return resultobj;
22715 fail:
22716 return NULL;
22717}
22718
22719
c32bde28 22720static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22721 PyObject *resultobj;
22722 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22723 wxColour *arg2 = 0 ;
22724 wxColour temp2 ;
22725 PyObject * obj0 = 0 ;
22726 PyObject * obj1 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "self",(char *) "col", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22734 {
22735 arg2 = &temp2;
22736 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22737 }
22738 {
22739 PyThreadState* __tstate = wxPyBeginAllowThreads();
22740 (arg1)->SetTextColour((wxColour const &)*arg2);
22741
22742 wxPyEndAllowThreads(__tstate);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 }
22745 Py_INCREF(Py_None); resultobj = Py_None;
22746 return resultobj;
22747 fail:
22748 return NULL;
22749}
22750
22751
c32bde28 22752static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22753 PyObject *resultobj;
22754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22755 long result;
22756 PyObject * obj0 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
22762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22764 {
22765 PyThreadState* __tstate = wxPyBeginAllowThreads();
22766 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22767
22768 wxPyEndAllowThreads(__tstate);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 }
c32bde28 22771 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
22772 return resultobj;
22773 fail:
22774 return NULL;
22775}
22776
22777
c32bde28 22778static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22779 PyObject *resultobj;
22780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22781 long arg2 ;
ae8162c8 22782 bool arg3 = (bool) true ;
d14a1e28 22783 PyObject * obj0 = 0 ;
994141e6 22784 PyObject * obj1 = 0 ;
d14a1e28
RD
22785 PyObject * obj2 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self",(char *) "style",(char *) "add", NULL
22788 };
22789
994141e6 22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22793 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22794 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22795 if (obj2) {
c32bde28 22796 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 22797 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22798 }
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 (arg1)->SetSingleStyle(arg2,arg3);
22802
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 Py_INCREF(Py_None); resultobj = Py_None;
22807 return resultobj;
22808 fail:
22809 return NULL;
22810}
22811
22812
c32bde28 22813static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22814 PyObject *resultobj;
22815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22816 long arg2 ;
22817 PyObject * obj0 = 0 ;
994141e6 22818 PyObject * obj1 = 0 ;
d14a1e28
RD
22819 char *kwnames[] = {
22820 (char *) "self",(char *) "style", NULL
22821 };
22822
994141e6 22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22826 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22827 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 (arg1)->SetWindowStyleFlag(arg2);
22831
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 Py_INCREF(Py_None); resultobj = Py_None;
22836 return resultobj;
22837 fail:
22838 return NULL;
22839}
22840
22841
c32bde28 22842static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22843 PyObject *resultobj;
22844 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22845 long arg2 ;
22846 int arg3 = (int) wxLIST_NEXT_ALL ;
22847 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22848 long result;
22849 PyObject * obj0 = 0 ;
994141e6
RD
22850 PyObject * obj1 = 0 ;
22851 PyObject * obj2 = 0 ;
22852 PyObject * obj3 = 0 ;
d14a1e28
RD
22853 char *kwnames[] = {
22854 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22855 };
22856
994141e6 22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22860 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22861 if (PyErr_Occurred()) SWIG_fail;
994141e6 22862 if (obj2) {
c32bde28 22863 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22864 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22865 }
22866 if (obj3) {
c32bde28 22867 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 22868 if (PyErr_Occurred()) SWIG_fail;
994141e6 22869 }
d14a1e28
RD
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
c32bde28 22877 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
22878 return resultobj;
22879 fail:
22880 return NULL;
22881}
22882
22883
c32bde28 22884static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22885 PyObject *resultobj;
22886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22887 int arg2 ;
22888 wxImageList *result;
22889 PyObject * obj0 = 0 ;
994141e6 22890 PyObject * obj1 = 0 ;
d14a1e28
RD
22891 char *kwnames[] = {
22892 (char *) "self",(char *) "which", NULL
22893 };
22894
994141e6 22895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22898 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 {
412d302d 22908 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
22909 }
22910 return resultobj;
22911 fail:
22912 return NULL;
22913}
22914
22915
c32bde28 22916static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22917 PyObject *resultobj;
22918 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22919 wxImageList *arg2 = (wxImageList *) 0 ;
22920 int arg3 ;
22921 PyObject * obj0 = 0 ;
22922 PyObject * obj1 = 0 ;
994141e6 22923 PyObject * obj2 = 0 ;
d14a1e28
RD
22924 char *kwnames[] = {
22925 (char *) "self",(char *) "imageList",(char *) "which", NULL
22926 };
22927
994141e6 22928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22933 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22935 {
22936 PyThreadState* __tstate = wxPyBeginAllowThreads();
22937 (arg1)->SetImageList(arg2,arg3);
22938
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 Py_INCREF(Py_None); resultobj = Py_None;
22943 return resultobj;
22944 fail:
22945 return NULL;
22946}
22947
22948
c32bde28 22949static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22950 PyObject *resultobj;
22951 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22952 wxImageList *arg2 = (wxImageList *) 0 ;
22953 int arg3 ;
22954 PyObject * obj0 = 0 ;
22955 PyObject * obj1 = 0 ;
994141e6 22956 PyObject * obj2 = 0 ;
d14a1e28
RD
22957 char *kwnames[] = {
22958 (char *) "self",(char *) "imageList",(char *) "which", NULL
22959 };
22960
994141e6 22961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22965 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
c32bde28 22966 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22967 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 (arg1)->AssignImageList(arg2,arg3);
22971
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 Py_INCREF(Py_None); resultobj = Py_None;
22976 return resultobj;
22977 fail:
22978 return NULL;
22979}
22980
22981
c32bde28 22982static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
22983 PyObject *resultobj;
22984 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22985 bool result;
22986 PyObject * obj0 = 0 ;
22987 char *kwnames[] = {
22988 (char *) "self", NULL
22989 };
22990
22991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22997
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
4f89f6a3
RD
23001 {
23002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23003 }
4276dc52
RD
23004 return resultobj;
23005 fail:
23006 return NULL;
23007}
23008
23009
c32bde28 23010static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23011 PyObject *resultobj;
23012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23013 bool result;
23014 PyObject * obj0 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
15afbcd0
RD
23020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23022 {
23023 PyThreadState* __tstate = wxPyBeginAllowThreads();
23024 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
23025
23026 wxPyEndAllowThreads(__tstate);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
4f89f6a3
RD
23029 {
23030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23031 }
d14a1e28
RD
23032 return resultobj;
23033 fail:
23034 return NULL;
23035}
23036
23037
c32bde28 23038static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23039 PyObject *resultobj;
23040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23041 long arg2 ;
23042 PyObject * obj0 = 0 ;
994141e6 23043 PyObject * obj1 = 0 ;
d14a1e28
RD
23044 char *kwnames[] = {
23045 (char *) "self",(char *) "item", NULL
23046 };
23047
994141e6 23048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23051 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23052 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 (arg1)->RefreshItem(arg2);
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 Py_INCREF(Py_None); resultobj = Py_None;
23061 return resultobj;
23062 fail:
23063 return NULL;
23064}
23065
23066
c32bde28 23067static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23068 PyObject *resultobj;
23069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23070 long arg2 ;
23071 long arg3 ;
23072 PyObject * obj0 = 0 ;
994141e6
RD
23073 PyObject * obj1 = 0 ;
23074 PyObject * obj2 = 0 ;
d14a1e28
RD
23075 char *kwnames[] = {
23076 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23077 };
23078
994141e6 23079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23082 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23083 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23084 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 23085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23086 {
23087 PyThreadState* __tstate = wxPyBeginAllowThreads();
23088 (arg1)->RefreshItems(arg2,arg3);
23089
23090 wxPyEndAllowThreads(__tstate);
23091 if (PyErr_Occurred()) SWIG_fail;
23092 }
23093 Py_INCREF(Py_None); resultobj = Py_None;
23094 return resultobj;
23095 fail:
23096 return NULL;
23097}
23098
23099
c32bde28 23100static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23101 PyObject *resultobj;
23102 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23103 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
23104 bool result;
23105 PyObject * obj0 = 0 ;
994141e6 23106 PyObject * obj1 = 0 ;
d14a1e28
RD
23107 char *kwnames[] = {
23108 (char *) "self",(char *) "flag", NULL
23109 };
23110
994141e6 23111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23114 if (obj1) {
c32bde28 23115 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23116 if (PyErr_Occurred()) SWIG_fail;
994141e6 23117 }
d14a1e28
RD
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 result = (bool)(arg1)->Arrange(arg2);
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
4f89f6a3
RD
23125 {
23126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23127 }
d14a1e28
RD
23128 return resultobj;
23129 fail:
23130 return NULL;
23131}
23132
23133
c32bde28 23134static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23135 PyObject *resultobj;
23136 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23137 long arg2 ;
23138 bool result;
23139 PyObject * obj0 = 0 ;
994141e6 23140 PyObject * obj1 = 0 ;
d14a1e28
RD
23141 char *kwnames[] = {
23142 (char *) "self",(char *) "item", NULL
23143 };
23144
994141e6 23145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23148 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = (bool)(arg1)->DeleteItem(arg2);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
4f89f6a3
RD
23157 {
23158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23159 }
d14a1e28
RD
23160 return resultobj;
23161 fail:
23162 return NULL;
23163}
23164
23165
c32bde28 23166static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23167 PyObject *resultobj;
23168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23169 bool result;
23170 PyObject * obj0 = 0 ;
23171 char *kwnames[] = {
23172 (char *) "self", NULL
23173 };
23174
23175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
23176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (bool)(arg1)->DeleteAllItems();
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
4f89f6a3
RD
23185 {
23186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23187 }
d14a1e28
RD
23188 return resultobj;
23189 fail:
23190 return NULL;
23191}
23192
23193
c32bde28 23194static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23195 PyObject *resultobj;
23196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23197 int arg2 ;
23198 bool result;
23199 PyObject * obj0 = 0 ;
994141e6 23200 PyObject * obj1 = 0 ;
d14a1e28
RD
23201 char *kwnames[] = {
23202 (char *) "self",(char *) "col", NULL
23203 };
23204
994141e6 23205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23208 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23209 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23210 {
23211 PyThreadState* __tstate = wxPyBeginAllowThreads();
23212 result = (bool)(arg1)->DeleteColumn(arg2);
23213
23214 wxPyEndAllowThreads(__tstate);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 }
4f89f6a3
RD
23217 {
23218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23219 }
d14a1e28
RD
23220 return resultobj;
23221 fail:
23222 return NULL;
23223}
23224
23225
c32bde28 23226static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23227 PyObject *resultobj;
23228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23229 bool result;
23230 PyObject * obj0 = 0 ;
23231 char *kwnames[] = {
23232 (char *) "self", NULL
23233 };
23234
23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
15afbcd0
RD
23236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (bool)(arg1)->DeleteAllColumns();
23241
23242 wxPyEndAllowThreads(__tstate);
23243 if (PyErr_Occurred()) SWIG_fail;
23244 }
4f89f6a3
RD
23245 {
23246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23247 }
d14a1e28
RD
23248 return resultobj;
23249 fail:
23250 return NULL;
23251}
23252
23253
c32bde28 23254static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23255 PyObject *resultobj;
23256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23257 PyObject * obj0 = 0 ;
23258 char *kwnames[] = {
23259 (char *) "self", NULL
23260 };
23261
23262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
23263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 (arg1)->ClearAll();
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 Py_INCREF(Py_None); resultobj = Py_None;
23273 return resultobj;
23274 fail:
23275 return NULL;
23276}
23277
23278
c32bde28 23279static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23280 PyObject *resultobj;
23281 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23282 long arg2 ;
23283 PyObject * obj0 = 0 ;
994141e6 23284 PyObject * obj1 = 0 ;
d14a1e28
RD
23285 char *kwnames[] = {
23286 (char *) "self",(char *) "item", NULL
23287 };
23288
994141e6 23289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23292 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 (arg1)->EditLabel(arg2);
23297
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 Py_INCREF(Py_None); resultobj = Py_None;
23302 return resultobj;
23303 fail:
23304 return NULL;
23305}
23306
23307
c32bde28 23308static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23309 PyObject *resultobj;
23310 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23311 long arg2 ;
23312 bool result;
23313 PyObject * obj0 = 0 ;
994141e6 23314 PyObject * obj1 = 0 ;
d14a1e28
RD
23315 char *kwnames[] = {
23316 (char *) "self",(char *) "item", NULL
23317 };
23318
994141e6 23319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23322 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 result = (bool)(arg1)->EnsureVisible(arg2);
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
4f89f6a3
RD
23331 {
23332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23333 }
d14a1e28
RD
23334 return resultobj;
23335 fail:
23336 return NULL;
23337}
23338
23339
c32bde28 23340static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23341 PyObject *resultobj;
23342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23343 long arg2 ;
23344 wxString *arg3 = 0 ;
ae8162c8 23345 bool arg4 = (bool) false ;
d14a1e28 23346 long result;
ae8162c8 23347 bool temp3 = false ;
d14a1e28 23348 PyObject * obj0 = 0 ;
994141e6 23349 PyObject * obj1 = 0 ;
d14a1e28
RD
23350 PyObject * obj2 = 0 ;
23351 PyObject * obj3 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23354 };
23355
994141e6 23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23359 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23361 {
23362 arg3 = wxString_in_helper(obj2);
23363 if (arg3 == NULL) SWIG_fail;
ae8162c8 23364 temp3 = true;
d14a1e28
RD
23365 }
23366 if (obj3) {
c32bde28 23367 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 23368 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23369 }
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
23373
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
c32bde28 23377 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
23378 {
23379 if (temp3)
23380 delete arg3;
23381 }
23382 return resultobj;
23383 fail:
23384 {
23385 if (temp3)
23386 delete arg3;
23387 }
23388 return NULL;
23389}
23390
23391
c32bde28 23392static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23393 PyObject *resultobj;
23394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23395 long arg2 ;
23396 long arg3 ;
23397 long result;
23398 PyObject * obj0 = 0 ;
994141e6
RD
23399 PyObject * obj1 = 0 ;
23400 PyObject * obj2 = 0 ;
d14a1e28
RD
23401 char *kwnames[] = {
23402 (char *) "self",(char *) "start",(char *) "data", NULL
23403 };
23404
994141e6 23405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23408 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23409 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23410 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 23411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23412 {
23413 PyThreadState* __tstate = wxPyBeginAllowThreads();
23414 result = (long)(arg1)->FindItem(arg2,arg3);
23415
23416 wxPyEndAllowThreads(__tstate);
23417 if (PyErr_Occurred()) SWIG_fail;
23418 }
c32bde28 23419 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
23420 return resultobj;
23421 fail:
23422 return NULL;
23423}
23424
23425
c32bde28 23426static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23427 PyObject *resultobj;
23428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23429 long arg2 ;
23430 wxPoint *arg3 = 0 ;
23431 int arg4 ;
23432 long result;
23433 wxPoint temp3 ;
23434 PyObject * obj0 = 0 ;
994141e6 23435 PyObject * obj1 = 0 ;
d14a1e28 23436 PyObject * obj2 = 0 ;
994141e6 23437 PyObject * obj3 = 0 ;
d14a1e28
RD
23438 char *kwnames[] = {
23439 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23440 };
23441
994141e6 23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23445 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23447 {
23448 arg3 = &temp3;
23449 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23450 }
c32bde28 23451 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 23452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
c32bde28 23460 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
23461 return resultobj;
23462 fail:
23463 return NULL;
23464}
23465
23466
c32bde28 23467static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23468 PyObject *resultobj;
23469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23470 wxPoint *arg2 = 0 ;
23471 int *arg3 = 0 ;
23472 long result;
23473 wxPoint temp2 ;
23474 int temp3 ;
c32bde28 23475 int res3 = 0 ;
d14a1e28
RD
23476 PyObject * obj0 = 0 ;
23477 PyObject * obj1 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self",(char *) "point", NULL
23480 };
23481
c32bde28 23482 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23486 {
23487 arg2 = &temp2;
23488 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23489 }
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
c32bde28
RD
23497 resultobj = SWIG_From_long((long)result);
23498 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23499 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
23500 return resultobj;
23501 fail:
23502 return NULL;
23503}
23504
23505
c32bde28 23506static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23507 PyObject *resultobj;
23508 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23509 wxListItem *arg2 = 0 ;
23510 long result;
23511 PyObject * obj0 = 0 ;
23512 PyObject * obj1 = 0 ;
23513 char *kwnames[] = {
23514 (char *) "self",(char *) "info", NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23520 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23521 SWIG_POINTER_EXCEPTION | 0)) == -1)
23522 SWIG_fail;
d14a1e28 23523 if (arg2 == NULL) {
15afbcd0
RD
23524 PyErr_SetString(PyExc_TypeError,"null reference");
23525 SWIG_fail;
d14a1e28
RD
23526 }
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 result = (long)(arg1)->InsertItem(*arg2);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
c32bde28 23534 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
23535 return resultobj;
23536 fail:
23537 return NULL;
23538}
23539
23540
c32bde28 23541static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23542 PyObject *resultobj;
23543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23544 long arg2 ;
23545 wxString *arg3 = 0 ;
23546 long result;
ae8162c8 23547 bool temp3 = false ;
d14a1e28 23548 PyObject * obj0 = 0 ;
994141e6 23549 PyObject * obj1 = 0 ;
d14a1e28
RD
23550 PyObject * obj2 = 0 ;
23551 char *kwnames[] = {
23552 (char *) "self",(char *) "index",(char *) "label", NULL
23553 };
23554
994141e6 23555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23558 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23560 {
23561 arg3 = wxString_in_helper(obj2);
23562 if (arg3 == NULL) SWIG_fail;
ae8162c8 23563 temp3 = true;
d14a1e28
RD
23564 }
23565 {
23566 PyThreadState* __tstate = wxPyBeginAllowThreads();
23567 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23568
23569 wxPyEndAllowThreads(__tstate);
23570 if (PyErr_Occurred()) SWIG_fail;
23571 }
c32bde28 23572 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
23573 {
23574 if (temp3)
23575 delete arg3;
23576 }
23577 return resultobj;
23578 fail:
23579 {
23580 if (temp3)
23581 delete arg3;
23582 }
23583 return NULL;
23584}
23585
23586
c32bde28 23587static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23588 PyObject *resultobj;
23589 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23590 long arg2 ;
23591 int arg3 ;
23592 long result;
23593 PyObject * obj0 = 0 ;
994141e6
RD
23594 PyObject * obj1 = 0 ;
23595 PyObject * obj2 = 0 ;
d14a1e28
RD
23596 char *kwnames[] = {
23597 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23598 };
23599
994141e6 23600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23603 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23604 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23605 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23607 {
23608 PyThreadState* __tstate = wxPyBeginAllowThreads();
23609 result = (long)(arg1)->InsertItem(arg2,arg3);
23610
23611 wxPyEndAllowThreads(__tstate);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 }
c32bde28 23614 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
23615 return resultobj;
23616 fail:
23617 return NULL;
23618}
23619
23620
c32bde28 23621static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23622 PyObject *resultobj;
23623 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23624 long arg2 ;
23625 wxString *arg3 = 0 ;
23626 int arg4 ;
23627 long result;
ae8162c8 23628 bool temp3 = false ;
d14a1e28 23629 PyObject * obj0 = 0 ;
994141e6 23630 PyObject * obj1 = 0 ;
d14a1e28 23631 PyObject * obj2 = 0 ;
994141e6 23632 PyObject * obj3 = 0 ;
d14a1e28
RD
23633 char *kwnames[] = {
23634 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23635 };
23636
994141e6 23637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23640 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23641 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23642 {
23643 arg3 = wxString_in_helper(obj2);
23644 if (arg3 == NULL) SWIG_fail;
ae8162c8 23645 temp3 = true;
d14a1e28 23646 }
c32bde28 23647 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 23648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23652
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
c32bde28 23656 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
23657 {
23658 if (temp3)
23659 delete arg3;
23660 }
23661 return resultobj;
23662 fail:
23663 {
23664 if (temp3)
23665 delete arg3;
23666 }
23667 return NULL;
23668}
23669
23670
c32bde28 23671static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23672 PyObject *resultobj;
23673 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23674 long arg2 ;
23675 wxListItem *arg3 = 0 ;
23676 long result;
23677 PyObject * obj0 = 0 ;
994141e6 23678 PyObject * obj1 = 0 ;
d14a1e28
RD
23679 PyObject * obj2 = 0 ;
23680 char *kwnames[] = {
23681 (char *) "self",(char *) "col",(char *) "info", NULL
23682 };
23683
994141e6 23684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23687 arg2 = (long)SWIG_As_long(obj1);
15afbcd0
RD
23688 if (PyErr_Occurred()) SWIG_fail;
23689 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23690 SWIG_POINTER_EXCEPTION | 0)) == -1)
23691 SWIG_fail;
d14a1e28 23692 if (arg3 == NULL) {
15afbcd0
RD
23693 PyErr_SetString(PyExc_TypeError,"null reference");
23694 SWIG_fail;
d14a1e28
RD
23695 }
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
c32bde28 23703 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
23704 return resultobj;
23705 fail:
23706 return NULL;
23707}
23708
23709
c32bde28 23710static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23711 PyObject *resultobj;
23712 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23713 long arg2 ;
23714 wxString *arg3 = 0 ;
23715 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23716 int arg5 = (int) -1 ;
23717 long result;
ae8162c8 23718 bool temp3 = false ;
d14a1e28 23719 PyObject * obj0 = 0 ;
994141e6 23720 PyObject * obj1 = 0 ;
d14a1e28 23721 PyObject * obj2 = 0 ;
994141e6
RD
23722 PyObject * obj3 = 0 ;
23723 PyObject * obj4 = 0 ;
d14a1e28
RD
23724 char *kwnames[] = {
23725 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23726 };
23727
994141e6 23728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
23729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23731 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23732 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23733 {
23734 arg3 = wxString_in_helper(obj2);
23735 if (arg3 == NULL) SWIG_fail;
ae8162c8 23736 temp3 = true;
d14a1e28 23737 }
994141e6 23738 if (obj3) {
c32bde28 23739 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 23740 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23741 }
23742 if (obj4) {
c32bde28 23743 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 23744 if (PyErr_Occurred()) SWIG_fail;
994141e6 23745 }
d14a1e28
RD
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23749
23750 wxPyEndAllowThreads(__tstate);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
c32bde28 23753 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
23754 {
23755 if (temp3)
23756 delete arg3;
23757 }
23758 return resultobj;
23759 fail:
23760 {
23761 if (temp3)
23762 delete arg3;
23763 }
23764 return NULL;
23765}
23766
23767
c32bde28 23768static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23769 PyObject *resultobj;
23770 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23771 long arg2 ;
23772 PyObject * obj0 = 0 ;
994141e6 23773 PyObject * obj1 = 0 ;
d14a1e28
RD
23774 char *kwnames[] = {
23775 (char *) "self",(char *) "count", NULL
23776 };
23777
994141e6 23778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23781 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 (arg1)->SetItemCount(arg2);
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 Py_INCREF(Py_None); resultobj = Py_None;
23791 return resultobj;
23792 fail:
23793 return NULL;
23794}
23795
23796
c32bde28 23797static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23798 PyObject *resultobj;
23799 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23800 int arg2 ;
23801 int arg3 ;
23802 bool result;
23803 PyObject * obj0 = 0 ;
994141e6
RD
23804 PyObject * obj1 = 0 ;
23805 PyObject * obj2 = 0 ;
d14a1e28
RD
23806 char *kwnames[] = {
23807 (char *) "self",(char *) "dx",(char *) "dy", NULL
23808 };
23809
994141e6 23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23813 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23814 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23815 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 result = (bool)(arg1)->ScrollList(arg2,arg3);
23820
23821 wxPyEndAllowThreads(__tstate);
23822 if (PyErr_Occurred()) SWIG_fail;
23823 }
4f89f6a3
RD
23824 {
23825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23826 }
d14a1e28
RD
23827 return resultobj;
23828 fail:
23829 return NULL;
23830}
23831
23832
c32bde28 23833static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23834 PyObject *resultobj;
23835 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23836 long arg2 ;
23837 wxColour *arg3 = 0 ;
23838 wxColour temp3 ;
23839 PyObject * obj0 = 0 ;
994141e6 23840 PyObject * obj1 = 0 ;
d14a1e28
RD
23841 PyObject * obj2 = 0 ;
23842 char *kwnames[] = {
23843 (char *) "self",(char *) "item",(char *) "col", NULL
23844 };
23845
994141e6 23846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23849 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23851 {
23852 arg3 = &temp3;
23853 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23854 }
23855 {
23856 PyThreadState* __tstate = wxPyBeginAllowThreads();
23857 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23858
23859 wxPyEndAllowThreads(__tstate);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 }
23862 Py_INCREF(Py_None); resultobj = Py_None;
23863 return resultobj;
23864 fail:
23865 return NULL;
23866}
23867
23868
c32bde28 23869static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23870 PyObject *resultobj;
23871 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23872 long arg2 ;
23873 wxColour result;
23874 PyObject * obj0 = 0 ;
994141e6 23875 PyObject * obj1 = 0 ;
d14a1e28
RD
23876 char *kwnames[] = {
23877 (char *) "self",(char *) "item", NULL
23878 };
23879
994141e6 23880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23883 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23884 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23885 {
23886 PyThreadState* __tstate = wxPyBeginAllowThreads();
23887 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23888
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
23892 {
23893 wxColour * resultptr;
23894 resultptr = new wxColour((wxColour &) result);
15afbcd0 23895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
23896 }
23897 return resultobj;
23898 fail:
23899 return NULL;
23900}
23901
23902
c32bde28 23903static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23904 PyObject *resultobj;
23905 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23906 long arg2 ;
23907 wxColour *arg3 = 0 ;
23908 wxColour temp3 ;
23909 PyObject * obj0 = 0 ;
994141e6 23910 PyObject * obj1 = 0 ;
d14a1e28
RD
23911 PyObject * obj2 = 0 ;
23912 char *kwnames[] = {
23913 (char *) "self",(char *) "item",(char *) "col", NULL
23914 };
23915
994141e6 23916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23919 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23921 {
23922 arg3 = &temp3;
23923 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23924 }
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23928
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
23932 Py_INCREF(Py_None); resultobj = Py_None;
23933 return resultobj;
23934 fail:
23935 return NULL;
23936}
23937
23938
c32bde28 23939static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23940 PyObject *resultobj;
23941 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23942 long arg2 ;
23943 wxColour result;
23944 PyObject * obj0 = 0 ;
994141e6 23945 PyObject * obj1 = 0 ;
d14a1e28
RD
23946 char *kwnames[] = {
23947 (char *) "self",(char *) "item", NULL
23948 };
23949
994141e6 23950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23953 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 23954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23958
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 {
23963 wxColour * resultptr;
23964 resultptr = new wxColour((wxColour &) result);
15afbcd0 23965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
23966 }
23967 return resultobj;
23968 fail:
23969 return NULL;
23970}
23971
23972
c32bde28 23973static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23974 PyObject *resultobj;
23975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23976 PyObject *arg2 = (PyObject *) 0 ;
23977 bool result;
23978 PyObject * obj0 = 0 ;
23979 PyObject * obj1 = 0 ;
23980 char *kwnames[] = {
23981 (char *) "self",(char *) "func", NULL
23982 };
23983
23984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23987 arg2 = obj1;
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23991
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
4f89f6a3
RD
23995 {
23996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23997 }
d14a1e28
RD
23998 return resultobj;
23999 fail:
24000 return NULL;
24001}
24002
24003
c32bde28 24004static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24005 PyObject *resultobj;
24006 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24007 wxWindow *result;
24008 PyObject * obj0 = 0 ;
24009 char *kwnames[] = {
24010 (char *) "self", NULL
24011 };
24012
24013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
24014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24016 {
24017 PyThreadState* __tstate = wxPyBeginAllowThreads();
24018 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
24019
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 {
412d302d 24024 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24025 }
24026 return resultobj;
24027 fail:
24028 return NULL;
24029}
24030
24031
c32bde28 24032static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
24033 PyObject *resultobj;
24034 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
24035 wxVisualAttributes result;
24036 PyObject * obj0 = 0 ;
24037 char *kwnames[] = {
24038 (char *) "variant", NULL
24039 };
24040
24041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
24042 if (obj0) {
c32bde28 24043 arg1 = (int)SWIG_As_int(obj0);
74a57fcd
RD
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 {
110da5b0 24047 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
24050
24051 wxPyEndAllowThreads(__tstate);
dfbb5885 24052 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
24053 }
24054 {
24055 wxVisualAttributes * resultptr;
24056 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
24057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
24058 }
24059 return resultobj;
24060 fail:
24061 return NULL;
24062}
24063
24064
c32bde28 24065static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24066 PyObject *obj;
24067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24068 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
24069 Py_INCREF(obj);
24070 return Py_BuildValue((char *)"");
24071}
c32bde28 24072static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24073 PyObject *resultobj;
24074 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24075 int arg2 = (int) -1 ;
d14a1e28
RD
24076 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24077 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24078 wxSize const &arg4_defvalue = wxDefaultSize ;
24079 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24080 long arg5 = (long) wxLC_REPORT ;
24081 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24082 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24083 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
24084 wxString *arg7 = (wxString *) &arg7_defvalue ;
24085 wxListView *result;
24086 wxPoint temp3 ;
24087 wxSize temp4 ;
ae8162c8 24088 bool temp7 = false ;
d14a1e28 24089 PyObject * obj0 = 0 ;
994141e6 24090 PyObject * obj1 = 0 ;
d14a1e28
RD
24091 PyObject * obj2 = 0 ;
24092 PyObject * obj3 = 0 ;
994141e6 24093 PyObject * obj4 = 0 ;
d14a1e28
RD
24094 PyObject * obj5 = 0 ;
24095 PyObject * obj6 = 0 ;
24096 char *kwnames[] = {
24097 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24098 };
24099
994141e6 24100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
24101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24103 if (obj1) {
c32bde28 24104 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24105 if (PyErr_Occurred()) SWIG_fail;
994141e6 24106 }
d14a1e28
RD
24107 if (obj2) {
24108 {
24109 arg3 = &temp3;
24110 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24111 }
24112 }
24113 if (obj3) {
24114 {
24115 arg4 = &temp4;
24116 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24117 }
24118 }
994141e6 24119 if (obj4) {
c32bde28 24120 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 24121 if (PyErr_Occurred()) SWIG_fail;
994141e6 24122 }
d14a1e28 24123 if (obj5) {
15afbcd0
RD
24124 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24125 SWIG_POINTER_EXCEPTION | 0)) == -1)
24126 SWIG_fail;
d14a1e28 24127 if (arg6 == NULL) {
15afbcd0
RD
24128 PyErr_SetString(PyExc_TypeError,"null reference");
24129 SWIG_fail;
d14a1e28
RD
24130 }
24131 }
24132 if (obj6) {
24133 {
24134 arg7 = wxString_in_helper(obj6);
24135 if (arg7 == NULL) SWIG_fail;
ae8162c8 24136 temp7 = true;
d14a1e28
RD
24137 }
24138 }
24139 {
e3b71cb8 24140 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24143
24144 wxPyEndAllowThreads(__tstate);
110da5b0 24145 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24146 }
15afbcd0 24147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
24148 {
24149 if (temp7)
24150 delete arg7;
24151 }
24152 return resultobj;
24153 fail:
24154 {
24155 if (temp7)
24156 delete arg7;
24157 }
24158 return NULL;
24159}
24160
24161
c32bde28 24162static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24163 PyObject *resultobj;
24164 wxListView *result;
24165 char *kwnames[] = {
24166 NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
24170 {
e3b71cb8 24171 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 result = (wxListView *)new wxListView();
24174
24175 wxPyEndAllowThreads(__tstate);
110da5b0 24176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24177 }
15afbcd0 24178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
24179 return resultobj;
24180 fail:
24181 return NULL;
24182}
24183
24184
c32bde28 24185static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24186 PyObject *resultobj;
24187 wxListView *arg1 = (wxListView *) 0 ;
24188 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 24189 int arg3 = (int) -1 ;
d14a1e28
RD
24190 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24191 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24192 wxSize const &arg5_defvalue = wxDefaultSize ;
24193 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24194 long arg6 = (long) wxLC_REPORT ;
24195 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24196 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24197 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
24198 wxString *arg8 = (wxString *) &arg8_defvalue ;
24199 bool result;
24200 wxPoint temp4 ;
24201 wxSize temp5 ;
ae8162c8 24202 bool temp8 = false ;
d14a1e28
RD
24203 PyObject * obj0 = 0 ;
24204 PyObject * obj1 = 0 ;
994141e6 24205 PyObject * obj2 = 0 ;
d14a1e28
RD
24206 PyObject * obj3 = 0 ;
24207 PyObject * obj4 = 0 ;
994141e6 24208 PyObject * obj5 = 0 ;
d14a1e28
RD
24209 PyObject * obj6 = 0 ;
24210 PyObject * obj7 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24213 };
24214
994141e6 24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
24216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24220 if (obj2) {
c32bde28 24221 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 24222 if (PyErr_Occurred()) SWIG_fail;
994141e6 24223 }
d14a1e28
RD
24224 if (obj3) {
24225 {
24226 arg4 = &temp4;
24227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24228 }
24229 }
24230 if (obj4) {
24231 {
24232 arg5 = &temp5;
24233 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24234 }
24235 }
994141e6 24236 if (obj5) {
c32bde28 24237 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 24238 if (PyErr_Occurred()) SWIG_fail;
994141e6 24239 }
d14a1e28 24240 if (obj6) {
15afbcd0
RD
24241 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24242 SWIG_POINTER_EXCEPTION | 0)) == -1)
24243 SWIG_fail;
d14a1e28 24244 if (arg7 == NULL) {
15afbcd0
RD
24245 PyErr_SetString(PyExc_TypeError,"null reference");
24246 SWIG_fail;
d14a1e28
RD
24247 }
24248 }
24249 if (obj7) {
24250 {
24251 arg8 = wxString_in_helper(obj7);
24252 if (arg8 == NULL) SWIG_fail;
ae8162c8 24253 temp8 = true;
d14a1e28
RD
24254 }
24255 }
24256 {
24257 PyThreadState* __tstate = wxPyBeginAllowThreads();
24258 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24259
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
4f89f6a3
RD
24263 {
24264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24265 }
d14a1e28
RD
24266 {
24267 if (temp8)
24268 delete arg8;
24269 }
24270 return resultobj;
24271 fail:
24272 {
24273 if (temp8)
24274 delete arg8;
24275 }
24276 return NULL;
24277}
24278
24279
c32bde28 24280static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24281 PyObject *resultobj;
24282 wxListView *arg1 = (wxListView *) 0 ;
24283 long arg2 ;
ae8162c8 24284 bool arg3 = (bool) true ;
d14a1e28 24285 PyObject * obj0 = 0 ;
994141e6 24286 PyObject * obj1 = 0 ;
d14a1e28
RD
24287 PyObject * obj2 = 0 ;
24288 char *kwnames[] = {
24289 (char *) "self",(char *) "n",(char *) "on", NULL
24290 };
24291
15afbcd0
RD
24292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
24293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24295 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 24296 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24297 if (obj2) {
c32bde28 24298 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 24299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24300 }
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 (arg1)->Select(arg2,arg3);
24304
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 Py_INCREF(Py_None); resultobj = Py_None;
24309 return resultobj;
24310 fail:
24311 return NULL;
24312}
24313
24314
c32bde28 24315static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24316 PyObject *resultobj;
24317 wxListView *arg1 = (wxListView *) 0 ;
24318 long arg2 ;
24319 PyObject * obj0 = 0 ;
994141e6 24320 PyObject * obj1 = 0 ;
d14a1e28
RD
24321 char *kwnames[] = {
24322 (char *) "self",(char *) "index", NULL
24323 };
24324
994141e6 24325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24328 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 24329 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 (arg1)->Focus(arg2);
24333
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 Py_INCREF(Py_None); resultobj = Py_None;
24338 return resultobj;
24339 fail:
24340 return NULL;
24341}
24342
24343
c32bde28 24344static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24345 PyObject *resultobj;
24346 wxListView *arg1 = (wxListView *) 0 ;
24347 long result;
24348 PyObject * obj0 = 0 ;
24349 char *kwnames[] = {
24350 (char *) "self", NULL
24351 };
24352
24353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24356 {
24357 PyThreadState* __tstate = wxPyBeginAllowThreads();
24358 result = (long)((wxListView const *)arg1)->GetFocusedItem();
24359
24360 wxPyEndAllowThreads(__tstate);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
c32bde28 24363 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24364 return resultobj;
24365 fail:
24366 return NULL;
24367}
24368
24369
c32bde28 24370static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24371 PyObject *resultobj;
24372 wxListView *arg1 = (wxListView *) 0 ;
24373 long arg2 ;
24374 long result;
24375 PyObject * obj0 = 0 ;
994141e6 24376 PyObject * obj1 = 0 ;
d14a1e28
RD
24377 char *kwnames[] = {
24378 (char *) "self",(char *) "item", NULL
24379 };
24380
994141e6 24381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24384 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 24385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24386 {
24387 PyThreadState* __tstate = wxPyBeginAllowThreads();
24388 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
24389
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
c32bde28 24393 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24394 return resultobj;
24395 fail:
24396 return NULL;
24397}
24398
24399
c32bde28 24400static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24401 PyObject *resultobj;
24402 wxListView *arg1 = (wxListView *) 0 ;
24403 long result;
24404 PyObject * obj0 = 0 ;
24405 char *kwnames[] = {
24406 (char *) "self", NULL
24407 };
24408
24409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
24410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24412 {
24413 PyThreadState* __tstate = wxPyBeginAllowThreads();
24414 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24415
24416 wxPyEndAllowThreads(__tstate);
24417 if (PyErr_Occurred()) SWIG_fail;
24418 }
c32bde28 24419 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24420 return resultobj;
24421 fail:
24422 return NULL;
24423}
24424
24425
c32bde28 24426static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24427 PyObject *resultobj;
24428 wxListView *arg1 = (wxListView *) 0 ;
24429 long arg2 ;
24430 bool result;
24431 PyObject * obj0 = 0 ;
994141e6 24432 PyObject * obj1 = 0 ;
d14a1e28
RD
24433 char *kwnames[] = {
24434 (char *) "self",(char *) "index", NULL
24435 };
24436
994141e6 24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24440 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 24441 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 result = (bool)(arg1)->IsSelected(arg2);
24445
24446 wxPyEndAllowThreads(__tstate);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 }
4f89f6a3
RD
24449 {
24450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24451 }
d14a1e28
RD
24452 return resultobj;
24453 fail:
24454 return NULL;
24455}
24456
24457
c32bde28 24458static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24459 PyObject *resultobj;
24460 wxListView *arg1 = (wxListView *) 0 ;
24461 int arg2 ;
24462 int arg3 ;
24463 PyObject * obj0 = 0 ;
994141e6
RD
24464 PyObject * obj1 = 0 ;
24465 PyObject * obj2 = 0 ;
d14a1e28
RD
24466 char *kwnames[] = {
24467 (char *) "self",(char *) "col",(char *) "image", NULL
24468 };
24469
994141e6 24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24473 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24474 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24475 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 24476 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24477 {
24478 PyThreadState* __tstate = wxPyBeginAllowThreads();
24479 (arg1)->SetColumnImage(arg2,arg3);
24480
24481 wxPyEndAllowThreads(__tstate);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 Py_INCREF(Py_None); resultobj = Py_None;
24485 return resultobj;
24486 fail:
24487 return NULL;
24488}
24489
24490
c32bde28 24491static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24492 PyObject *resultobj;
24493 wxListView *arg1 = (wxListView *) 0 ;
24494 int arg2 ;
24495 PyObject * obj0 = 0 ;
994141e6 24496 PyObject * obj1 = 0 ;
d14a1e28
RD
24497 char *kwnames[] = {
24498 (char *) "self",(char *) "col", NULL
24499 };
24500
994141e6 24501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24504 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24505 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 (arg1)->ClearColumnImage(arg2);
24509
24510 wxPyEndAllowThreads(__tstate);
24511 if (PyErr_Occurred()) SWIG_fail;
24512 }
24513 Py_INCREF(Py_None); resultobj = Py_None;
24514 return resultobj;
24515 fail:
24516 return NULL;
24517}
24518
24519
c32bde28 24520static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24521 PyObject *obj;
24522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24523 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24524 Py_INCREF(obj);
24525 return Py_BuildValue((char *)"");
24526}
c32bde28 24527static int _wrap_TreeCtrlNameStr_set(PyObject *) {
b2dc1044
RD
24528 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24529 return 1;
24530}
24531
24532
24533static PyObject *_wrap_TreeCtrlNameStr_get() {
24534 PyObject *pyobj;
24535
24536 {
24537#if wxUSE_UNICODE
24538 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24539#else
24540 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24541#endif
24542 }
24543 return pyobj;
24544}
24545
24546
c32bde28 24547static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24548 PyObject *resultobj;
24549 wxTreeItemId *result;
24550 char *kwnames[] = {
24551 NULL
24552 };
24553
24554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 result = (wxTreeItemId *)new wxTreeItemId();
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
15afbcd0 24562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
24563 return resultobj;
24564 fail:
24565 return NULL;
24566}
24567
24568
c32bde28 24569static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24570 PyObject *resultobj;
24571 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24572 PyObject * obj0 = 0 ;
24573 char *kwnames[] = {
24574 (char *) "self", NULL
24575 };
24576
24577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
24578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 delete arg1;
24583
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 Py_INCREF(Py_None); resultobj = Py_None;
24588 return resultobj;
24589 fail:
24590 return NULL;
24591}
24592
24593
c32bde28 24594static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24595 PyObject *resultobj;
24596 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24597 bool result;
24598 PyObject * obj0 = 0 ;
24599 char *kwnames[] = {
24600 (char *) "self", NULL
24601 };
24602
24603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
24604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24606 {
24607 PyThreadState* __tstate = wxPyBeginAllowThreads();
24608 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24609
24610 wxPyEndAllowThreads(__tstate);
24611 if (PyErr_Occurred()) SWIG_fail;
24612 }
4f89f6a3
RD
24613 {
24614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24615 }
d14a1e28
RD
24616 return resultobj;
24617 fail:
24618 return NULL;
24619}
24620
24621
c32bde28 24622static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24623 PyObject *resultobj;
24624 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24625 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24626 bool result;
24627 PyObject * obj0 = 0 ;
24628 PyObject * obj1 = 0 ;
24629 char *kwnames[] = {
24630 (char *) "self",(char *) "other", NULL
24631 };
24632
24633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24638 {
24639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24640 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
24641
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
4f89f6a3
RD
24645 {
24646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24647 }
d14a1e28
RD
24648 return resultobj;
24649 fail:
24650 return NULL;
24651}
24652
24653
c32bde28 24654static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24655 PyObject *resultobj;
24656 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24657 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24658 bool result;
24659 PyObject * obj0 = 0 ;
24660 PyObject * obj1 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self",(char *) "other", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24672 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
4f89f6a3
RD
24677 {
24678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24679 }
d14a1e28
RD
24680 return resultobj;
24681 fail:
24682 return NULL;
24683}
24684
24685
c32bde28 24686static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24687 PyObject *resultobj;
24688 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 24689 void *arg2 = (void *) 0 ;
d14a1e28
RD
24690 PyObject * obj0 = 0 ;
24691 PyObject * obj1 = 0 ;
24692 char *kwnames[] = {
24693 (char *) "self",(char *) "m_pItem", NULL
24694 };
24695
24696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24699 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
24700 if (arg1) (arg1)->m_pItem = arg2;
24701
24702 Py_INCREF(Py_None); resultobj = Py_None;
24703 return resultobj;
24704 fail:
24705 return NULL;
24706}
24707
24708
c32bde28 24709static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24710 PyObject *resultobj;
24711 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 24712 void *result;
d14a1e28
RD
24713 PyObject * obj0 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
24719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
58203fa6 24721 result = (void *) ((arg1)->m_pItem);
d14a1e28 24722
15afbcd0 24723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
24724 return resultobj;
24725 fail:
24726 return NULL;
24727}
24728
24729
c32bde28 24730static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24731 PyObject *obj;
24732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24733 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24734 Py_INCREF(obj);
24735 return Py_BuildValue((char *)"");
24736}
c32bde28 24737static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24738 PyObject *resultobj;
24739 PyObject *arg1 = (PyObject *) NULL ;
24740 wxPyTreeItemData *result;
24741 PyObject * obj0 = 0 ;
24742 char *kwnames[] = {
24743 (char *) "obj", NULL
24744 };
24745
24746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24747 if (obj0) {
24748 arg1 = obj0;
24749 }
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
15afbcd0 24757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
24758 return resultobj;
24759 fail:
24760 return NULL;
24761}
24762
24763
c32bde28 24764static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24765 PyObject *resultobj;
24766 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24767 PyObject *result;
24768 PyObject * obj0 = 0 ;
24769 char *kwnames[] = {
24770 (char *) "self", NULL
24771 };
24772
24773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
24774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 result = (PyObject *)(arg1)->GetData();
24779
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
24783 resultobj = result;
24784 return resultobj;
24785 fail:
24786 return NULL;
24787}
24788
24789
c32bde28 24790static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24791 PyObject *resultobj;
24792 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24793 PyObject *arg2 = (PyObject *) 0 ;
24794 PyObject * obj0 = 0 ;
24795 PyObject * obj1 = 0 ;
24796 char *kwnames[] = {
24797 (char *) "self",(char *) "obj", NULL
24798 };
24799
24800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24803 arg2 = obj1;
24804 {
24805 PyThreadState* __tstate = wxPyBeginAllowThreads();
24806 (arg1)->SetData(arg2);
24807
24808 wxPyEndAllowThreads(__tstate);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
24811 Py_INCREF(Py_None); resultobj = Py_None;
24812 return resultobj;
24813 fail:
24814 return NULL;
24815}
24816
24817
c32bde28 24818static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24819 PyObject *resultobj;
24820 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24821 wxTreeItemId *result;
24822 PyObject * obj0 = 0 ;
24823 char *kwnames[] = {
24824 (char *) "self", NULL
24825 };
24826
24827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
24828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24830 {
24831 PyThreadState* __tstate = wxPyBeginAllowThreads();
24832 {
24833 wxTreeItemId const &_result_ref = (arg1)->GetId();
24834 result = (wxTreeItemId *) &_result_ref;
24835 }
24836
24837 wxPyEndAllowThreads(__tstate);
24838 if (PyErr_Occurred()) SWIG_fail;
24839 }
15afbcd0 24840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
24841 return resultobj;
24842 fail:
24843 return NULL;
24844}
24845
24846
c32bde28 24847static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24848 PyObject *resultobj;
24849 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24850 wxTreeItemId *arg2 = 0 ;
24851 PyObject * obj0 = 0 ;
24852 PyObject * obj1 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self",(char *) "id", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
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
RD
24866 }
24867 {
24868 PyThreadState* __tstate = wxPyBeginAllowThreads();
24869 (arg1)->SetId((wxTreeItemId const &)*arg2);
24870
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 Py_INCREF(Py_None); resultobj = Py_None;
24875 return resultobj;
24876 fail:
24877 return NULL;
24878}
24879
24880
c32bde28 24881static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24882 PyObject *resultobj;
24883 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24884 PyObject * obj0 = 0 ;
24885 char *kwnames[] = {
24886 (char *) "self", NULL
24887 };
24888
24889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
24890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 wxPyTreeItemData_Destroy(arg1);
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 Py_INCREF(Py_None); resultobj = Py_None;
24900 return resultobj;
24901 fail:
24902 return NULL;
24903}
24904
24905
c32bde28 24906static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24907 PyObject *obj;
24908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24909 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24910 Py_INCREF(obj);
24911 return Py_BuildValue((char *)"");
24912}
c32bde28 24913static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24914 PyObject *resultobj;
24915 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24916 int arg2 = (int) 0 ;
24917 wxTreeEvent *result;
994141e6
RD
24918 PyObject * obj0 = 0 ;
24919 PyObject * obj1 = 0 ;
d14a1e28
RD
24920 char *kwnames[] = {
24921 (char *) "commandType",(char *) "id", NULL
24922 };
24923
994141e6
RD
24924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24925 if (obj0) {
c32bde28 24926 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 24927 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
24928 }
24929 if (obj1) {
c32bde28 24930 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24931 if (PyErr_Occurred()) SWIG_fail;
994141e6 24932 }
d14a1e28
RD
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24936
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
15afbcd0 24940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
24941 return resultobj;
24942 fail:
24943 return NULL;
24944}
24945
24946
c32bde28 24947static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24948 PyObject *resultobj;
24949 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24950 wxTreeItemId result;
24951 PyObject * obj0 = 0 ;
24952 char *kwnames[] = {
24953 (char *) "self", NULL
24954 };
24955
24956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24959 {
24960 PyThreadState* __tstate = wxPyBeginAllowThreads();
24961 result = ((wxTreeEvent const *)arg1)->GetItem();
24962
24963 wxPyEndAllowThreads(__tstate);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
24966 {
24967 wxTreeItemId * resultptr;
24968 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 24969 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
24970 }
24971 return resultobj;
24972 fail:
24973 return NULL;
24974}
24975
24976
c32bde28 24977static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24978 PyObject *resultobj;
24979 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24980 wxTreeItemId *arg2 = 0 ;
24981 PyObject * obj0 = 0 ;
24982 PyObject * obj1 = 0 ;
24983 char *kwnames[] = {
24984 (char *) "self",(char *) "item", NULL
24985 };
24986
24987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24991 SWIG_POINTER_EXCEPTION | 0)) == -1)
24992 SWIG_fail;
d14a1e28 24993 if (arg2 == NULL) {
15afbcd0
RD
24994 PyErr_SetString(PyExc_TypeError,"null reference");
24995 SWIG_fail;
d14a1e28
RD
24996 }
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 (arg1)->SetItem((wxTreeItemId const &)*arg2);
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 Py_INCREF(Py_None); resultobj = Py_None;
25005 return resultobj;
25006 fail:
25007 return NULL;
25008}
25009
25010
c32bde28 25011static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25012 PyObject *resultobj;
25013 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25014 wxTreeItemId result;
25015 PyObject * obj0 = 0 ;
25016 char *kwnames[] = {
25017 (char *) "self", NULL
25018 };
25019
25020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
25021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25023 {
25024 PyThreadState* __tstate = wxPyBeginAllowThreads();
25025 result = ((wxTreeEvent const *)arg1)->GetOldItem();
25026
25027 wxPyEndAllowThreads(__tstate);
25028 if (PyErr_Occurred()) SWIG_fail;
25029 }
25030 {
25031 wxTreeItemId * resultptr;
25032 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25034 }
25035 return resultobj;
25036 fail:
25037 return NULL;
25038}
25039
25040
c32bde28 25041static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25042 PyObject *resultobj;
25043 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25044 wxTreeItemId *arg2 = 0 ;
25045 PyObject * obj0 = 0 ;
25046 PyObject * obj1 = 0 ;
25047 char *kwnames[] = {
25048 (char *) "self",(char *) "item", NULL
25049 };
25050
25051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25055 SWIG_POINTER_EXCEPTION | 0)) == -1)
25056 SWIG_fail;
d14a1e28 25057 if (arg2 == NULL) {
15afbcd0
RD
25058 PyErr_SetString(PyExc_TypeError,"null reference");
25059 SWIG_fail;
d14a1e28
RD
25060 }
25061 {
25062 PyThreadState* __tstate = wxPyBeginAllowThreads();
25063 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
25064
25065 wxPyEndAllowThreads(__tstate);
25066 if (PyErr_Occurred()) SWIG_fail;
25067 }
25068 Py_INCREF(Py_None); resultobj = Py_None;
25069 return resultobj;
25070 fail:
25071 return NULL;
25072}
25073
25074
c32bde28 25075static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25076 PyObject *resultobj;
25077 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25078 wxPoint result;
25079 PyObject * obj0 = 0 ;
25080 char *kwnames[] = {
25081 (char *) "self", NULL
25082 };
25083
25084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
25085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25087 {
25088 PyThreadState* __tstate = wxPyBeginAllowThreads();
25089 result = ((wxTreeEvent const *)arg1)->GetPoint();
25090
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 {
25095 wxPoint * resultptr;
25096 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25098 }
25099 return resultobj;
25100 fail:
25101 return NULL;
25102}
25103
25104
c32bde28 25105static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25106 PyObject *resultobj;
25107 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25108 wxPoint *arg2 = 0 ;
25109 wxPoint temp2 ;
25110 PyObject * obj0 = 0 ;
25111 PyObject * obj1 = 0 ;
25112 char *kwnames[] = {
25113 (char *) "self",(char *) "pt", NULL
25114 };
25115
25116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25119 {
25120 arg2 = &temp2;
25121 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25122 }
25123 {
25124 PyThreadState* __tstate = wxPyBeginAllowThreads();
25125 (arg1)->SetPoint((wxPoint const &)*arg2);
25126
25127 wxPyEndAllowThreads(__tstate);
25128 if (PyErr_Occurred()) SWIG_fail;
25129 }
25130 Py_INCREF(Py_None); resultobj = Py_None;
25131 return resultobj;
25132 fail:
25133 return NULL;
25134}
25135
25136
c32bde28 25137static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25138 PyObject *resultobj;
25139 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25140 wxKeyEvent *result;
25141 PyObject * obj0 = 0 ;
25142 char *kwnames[] = {
25143 (char *) "self", NULL
25144 };
25145
25146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
25147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 {
25152 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
25153 result = (wxKeyEvent *) &_result_ref;
25154 }
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
15afbcd0 25159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
25160 return resultobj;
25161 fail:
25162 return NULL;
25163}
25164
25165
c32bde28 25166static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25167 PyObject *resultobj;
25168 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25169 int result;
25170 PyObject * obj0 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
25176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
25181
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
c32bde28 25185 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
25186 return resultobj;
25187 fail:
25188 return NULL;
25189}
25190
25191
c32bde28 25192static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25193 PyObject *resultobj;
25194 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25195 wxKeyEvent *arg2 = 0 ;
25196 PyObject * obj0 = 0 ;
25197 PyObject * obj1 = 0 ;
25198 char *kwnames[] = {
25199 (char *) "self",(char *) "evt", NULL
25200 };
25201
25202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
25206 SWIG_POINTER_EXCEPTION | 0)) == -1)
25207 SWIG_fail;
d14a1e28 25208 if (arg2 == NULL) {
15afbcd0
RD
25209 PyErr_SetString(PyExc_TypeError,"null reference");
25210 SWIG_fail;
d14a1e28
RD
25211 }
25212 {
25213 PyThreadState* __tstate = wxPyBeginAllowThreads();
25214 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
25215
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 Py_INCREF(Py_None); resultobj = Py_None;
25220 return resultobj;
25221 fail:
25222 return NULL;
25223}
25224
25225
c32bde28 25226static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25227 PyObject *resultobj;
25228 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25229 wxString *result;
25230 PyObject * obj0 = 0 ;
25231 char *kwnames[] = {
25232 (char *) "self", NULL
25233 };
25234
25235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
25236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25238 {
25239 PyThreadState* __tstate = wxPyBeginAllowThreads();
25240 {
25241 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
25242 result = (wxString *) &_result_ref;
25243 }
25244
25245 wxPyEndAllowThreads(__tstate);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 }
cc6dd355
RD
25248 {
25249#if wxUSE_UNICODE
25250 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25251#else
25252 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25253#endif
25254 }
d14a1e28
RD
25255 return resultobj;
25256 fail:
25257 return NULL;
25258}
25259
25260
c32bde28 25261static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25262 PyObject *resultobj;
25263 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25264 wxString *arg2 = 0 ;
ae8162c8 25265 bool temp2 = false ;
d14a1e28
RD
25266 PyObject * obj0 = 0 ;
25267 PyObject * obj1 = 0 ;
25268 char *kwnames[] = {
25269 (char *) "self",(char *) "label", NULL
25270 };
25271
25272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25275 {
25276 arg2 = wxString_in_helper(obj1);
25277 if (arg2 == NULL) SWIG_fail;
ae8162c8 25278 temp2 = true;
d14a1e28
RD
25279 }
25280 {
25281 PyThreadState* __tstate = wxPyBeginAllowThreads();
25282 (arg1)->SetLabel((wxString const &)*arg2);
25283
25284 wxPyEndAllowThreads(__tstate);
25285 if (PyErr_Occurred()) SWIG_fail;
25286 }
25287 Py_INCREF(Py_None); resultobj = Py_None;
25288 {
25289 if (temp2)
25290 delete arg2;
25291 }
25292 return resultobj;
25293 fail:
25294 {
25295 if (temp2)
25296 delete arg2;
25297 }
25298 return NULL;
25299}
25300
25301
c32bde28 25302static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25303 PyObject *resultobj;
25304 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25305 bool result;
25306 PyObject * obj0 = 0 ;
25307 char *kwnames[] = {
25308 (char *) "self", NULL
25309 };
25310
25311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
25312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25314 {
25315 PyThreadState* __tstate = wxPyBeginAllowThreads();
25316 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
25317
25318 wxPyEndAllowThreads(__tstate);
25319 if (PyErr_Occurred()) SWIG_fail;
25320 }
4f89f6a3
RD
25321 {
25322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25323 }
d14a1e28
RD
25324 return resultobj;
25325 fail:
25326 return NULL;
25327}
25328
25329
c32bde28 25330static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25331 PyObject *resultobj;
25332 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25333 bool arg2 ;
25334 PyObject * obj0 = 0 ;
25335 PyObject * obj1 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self",(char *) "editCancelled", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25343 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 25344 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25345 {
25346 PyThreadState* __tstate = wxPyBeginAllowThreads();
25347 (arg1)->SetEditCanceled(arg2);
25348
25349 wxPyEndAllowThreads(__tstate);
25350 if (PyErr_Occurred()) SWIG_fail;
25351 }
25352 Py_INCREF(Py_None); resultobj = Py_None;
25353 return resultobj;
25354 fail:
25355 return NULL;
25356}
25357
25358
c32bde28 25359static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
25360 PyObject *resultobj;
25361 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25362 wxString *arg2 = 0 ;
ae8162c8 25363 bool temp2 = false ;
c9c7117a
RD
25364 PyObject * obj0 = 0 ;
25365 PyObject * obj1 = 0 ;
25366 char *kwnames[] = {
25367 (char *) "self",(char *) "toolTip", NULL
25368 };
25369
25370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
25373 {
25374 arg2 = wxString_in_helper(obj1);
25375 if (arg2 == NULL) SWIG_fail;
ae8162c8 25376 temp2 = true;
c9c7117a
RD
25377 }
25378 {
25379 PyThreadState* __tstate = wxPyBeginAllowThreads();
25380 (arg1)->SetToolTip((wxString const &)*arg2);
25381
25382 wxPyEndAllowThreads(__tstate);
25383 if (PyErr_Occurred()) SWIG_fail;
25384 }
25385 Py_INCREF(Py_None); resultobj = Py_None;
25386 {
25387 if (temp2)
25388 delete arg2;
25389 }
25390 return resultobj;
25391 fail:
25392 {
25393 if (temp2)
25394 delete arg2;
25395 }
25396 return NULL;
25397}
25398
25399
c32bde28 25400static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25401 PyObject *obj;
25402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25403 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25404 Py_INCREF(obj);
25405 return Py_BuildValue((char *)"");
25406}
c32bde28 25407static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25408 PyObject *resultobj;
25409 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25410 int arg2 = (int) -1 ;
d14a1e28
RD
25411 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25412 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25413 wxSize const &arg4_defvalue = wxDefaultSize ;
25414 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25415 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25416 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25417 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 25418 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
25419 wxString *arg7 = (wxString *) &arg7_defvalue ;
25420 wxPyTreeCtrl *result;
25421 wxPoint temp3 ;
25422 wxSize temp4 ;
ae8162c8 25423 bool temp7 = false ;
d14a1e28 25424 PyObject * obj0 = 0 ;
994141e6 25425 PyObject * obj1 = 0 ;
d14a1e28
RD
25426 PyObject * obj2 = 0 ;
25427 PyObject * obj3 = 0 ;
994141e6 25428 PyObject * obj4 = 0 ;
d14a1e28
RD
25429 PyObject * obj5 = 0 ;
25430 PyObject * obj6 = 0 ;
25431 char *kwnames[] = {
25432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25433 };
25434
994141e6 25435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
25436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 25438 if (obj1) {
c32bde28 25439 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25440 if (PyErr_Occurred()) SWIG_fail;
994141e6 25441 }
d14a1e28
RD
25442 if (obj2) {
25443 {
25444 arg3 = &temp3;
25445 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25446 }
25447 }
25448 if (obj3) {
25449 {
994141e6
RD
25450 arg4 = &temp4;
25451 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25452 }
25453 }
25454 if (obj4) {
c32bde28 25455 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 25456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25457 }
25458 if (obj5) {
15afbcd0
RD
25459 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25460 SWIG_POINTER_EXCEPTION | 0)) == -1)
25461 SWIG_fail;
d14a1e28 25462 if (arg6 == NULL) {
15afbcd0
RD
25463 PyErr_SetString(PyExc_TypeError,"null reference");
25464 SWIG_fail;
d14a1e28
RD
25465 }
25466 }
25467 if (obj6) {
25468 {
25469 arg7 = wxString_in_helper(obj6);
25470 if (arg7 == NULL) SWIG_fail;
ae8162c8 25471 temp7 = true;
d14a1e28
RD
25472 }
25473 }
25474 {
e3b71cb8 25475 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25478
25479 wxPyEndAllowThreads(__tstate);
110da5b0 25480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25481 }
b0f7404b 25482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
25483 {
25484 if (temp7)
25485 delete arg7;
25486 }
25487 return resultobj;
25488 fail:
25489 {
25490 if (temp7)
25491 delete arg7;
25492 }
25493 return NULL;
25494}
25495
25496
c32bde28 25497static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25498 PyObject *resultobj;
25499 wxPyTreeCtrl *result;
25500 char *kwnames[] = {
25501 NULL
25502 };
25503
25504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25505 {
e3b71cb8 25506 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25507 PyThreadState* __tstate = wxPyBeginAllowThreads();
25508 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25509
25510 wxPyEndAllowThreads(__tstate);
110da5b0 25511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25512 }
b0f7404b 25513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
25514 return resultobj;
25515 fail:
25516 return NULL;
25517}
25518
25519
c32bde28 25520static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25521 PyObject *resultobj;
25522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25523 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 25524 int arg3 = (int) -1 ;
d14a1e28
RD
25525 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25526 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25527 wxSize const &arg5_defvalue = wxDefaultSize ;
25528 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25529 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25530 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25531 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 25532 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
25533 wxString *arg8 = (wxString *) &arg8_defvalue ;
25534 bool result;
25535 wxPoint temp4 ;
25536 wxSize temp5 ;
ae8162c8 25537 bool temp8 = false ;
d14a1e28
RD
25538 PyObject * obj0 = 0 ;
25539 PyObject * obj1 = 0 ;
994141e6 25540 PyObject * obj2 = 0 ;
d14a1e28
RD
25541 PyObject * obj3 = 0 ;
25542 PyObject * obj4 = 0 ;
994141e6 25543 PyObject * obj5 = 0 ;
d14a1e28
RD
25544 PyObject * obj6 = 0 ;
25545 PyObject * obj7 = 0 ;
25546 char *kwnames[] = {
25547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25548 };
25549
994141e6 25550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
25551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 25555 if (obj2) {
c32bde28 25556 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 25557 if (PyErr_Occurred()) SWIG_fail;
994141e6 25558 }
d14a1e28
RD
25559 if (obj3) {
25560 {
25561 arg4 = &temp4;
25562 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25563 }
25564 }
25565 if (obj4) {
25566 {
25567 arg5 = &temp5;
25568 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25569 }
25570 }
994141e6 25571 if (obj5) {
c32bde28 25572 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 25573 if (PyErr_Occurred()) SWIG_fail;
994141e6 25574 }
d14a1e28 25575 if (obj6) {
15afbcd0
RD
25576 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25577 SWIG_POINTER_EXCEPTION | 0)) == -1)
25578 SWIG_fail;
d14a1e28 25579 if (arg7 == NULL) {
15afbcd0
RD
25580 PyErr_SetString(PyExc_TypeError,"null reference");
25581 SWIG_fail;
d14a1e28
RD
25582 }
25583 }
25584 if (obj7) {
25585 {
25586 arg8 = wxString_in_helper(obj7);
25587 if (arg8 == NULL) SWIG_fail;
ae8162c8 25588 temp8 = true;
d14a1e28
RD
25589 }
25590 }
25591 {
25592 PyThreadState* __tstate = wxPyBeginAllowThreads();
25593 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25594
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
4f89f6a3
RD
25598 {
25599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25600 }
d14a1e28
RD
25601 {
25602 if (temp8)
25603 delete arg8;
25604 }
25605 return resultobj;
25606 fail:
25607 {
25608 if (temp8)
25609 delete arg8;
25610 }
25611 return NULL;
25612}
25613
25614
c32bde28 25615static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25616 PyObject *resultobj;
25617 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25618 PyObject *arg2 = (PyObject *) 0 ;
25619 PyObject *arg3 = (PyObject *) 0 ;
25620 PyObject * obj0 = 0 ;
25621 PyObject * obj1 = 0 ;
25622 PyObject * obj2 = 0 ;
25623 char *kwnames[] = {
25624 (char *) "self",(char *) "self",(char *) "_class", NULL
25625 };
25626
25627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25630 arg2 = obj1;
25631 arg3 = obj2;
25632 {
25633 PyThreadState* __tstate = wxPyBeginAllowThreads();
25634 (arg1)->_setCallbackInfo(arg2,arg3);
25635
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 Py_INCREF(Py_None); resultobj = Py_None;
25640 return resultobj;
25641 fail:
25642 return NULL;
25643}
25644
25645
c32bde28 25646static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25647 PyObject *resultobj;
25648 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25649 size_t result;
25650 PyObject * obj0 = 0 ;
25651 char *kwnames[] = {
25652 (char *) "self", NULL
25653 };
25654
25655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
25656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25658 {
25659 PyThreadState* __tstate = wxPyBeginAllowThreads();
25660 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25661
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
c32bde28 25665 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
25666 return resultobj;
25667 fail:
25668 return NULL;
25669}
25670
25671
c32bde28 25672static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25673 PyObject *resultobj;
25674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25675 unsigned int result;
25676 PyObject * obj0 = 0 ;
25677 char *kwnames[] = {
25678 (char *) "self", NULL
25679 };
25680
25681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
25682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25684 {
25685 PyThreadState* __tstate = wxPyBeginAllowThreads();
25686 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25687
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
c32bde28 25691 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
25692 return resultobj;
25693 fail:
25694 return NULL;
25695}
25696
25697
c32bde28 25698static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25699 PyObject *resultobj;
25700 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25701 unsigned int arg2 ;
25702 PyObject * obj0 = 0 ;
25703 PyObject * obj1 = 0 ;
25704 char *kwnames[] = {
25705 (char *) "self",(char *) "indent", NULL
25706 };
25707
25708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25711 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
15afbcd0 25712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25713 {
25714 PyThreadState* __tstate = wxPyBeginAllowThreads();
25715 (arg1)->SetIndent(arg2);
25716
25717 wxPyEndAllowThreads(__tstate);
25718 if (PyErr_Occurred()) SWIG_fail;
25719 }
25720 Py_INCREF(Py_None); resultobj = Py_None;
25721 return resultobj;
25722 fail:
25723 return NULL;
25724}
25725
25726
c32bde28 25727static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25728 PyObject *resultobj;
25729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25730 unsigned int result;
25731 PyObject * obj0 = 0 ;
25732 char *kwnames[] = {
25733 (char *) "self", NULL
25734 };
25735
25736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
25737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25739 {
25740 PyThreadState* __tstate = wxPyBeginAllowThreads();
25741 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25742
25743 wxPyEndAllowThreads(__tstate);
25744 if (PyErr_Occurred()) SWIG_fail;
25745 }
c32bde28 25746 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
25747 return resultobj;
25748 fail:
25749 return NULL;
25750}
25751
25752
c32bde28 25753static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25754 PyObject *resultobj;
25755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25756 unsigned int arg2 ;
25757 PyObject * obj0 = 0 ;
25758 PyObject * obj1 = 0 ;
25759 char *kwnames[] = {
25760 (char *) "self",(char *) "spacing", NULL
25761 };
25762
25763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25766 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
15afbcd0 25767 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25768 {
25769 PyThreadState* __tstate = wxPyBeginAllowThreads();
25770 (arg1)->SetSpacing(arg2);
25771
25772 wxPyEndAllowThreads(__tstate);
25773 if (PyErr_Occurred()) SWIG_fail;
25774 }
25775 Py_INCREF(Py_None); resultobj = Py_None;
25776 return resultobj;
25777 fail:
25778 return NULL;
25779}
25780
25781
c32bde28 25782static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25783 PyObject *resultobj;
25784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25785 wxImageList *result;
25786 PyObject * obj0 = 0 ;
25787 char *kwnames[] = {
25788 (char *) "self", NULL
25789 };
25790
25791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
25792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25794 {
25795 PyThreadState* __tstate = wxPyBeginAllowThreads();
25796 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25797
25798 wxPyEndAllowThreads(__tstate);
25799 if (PyErr_Occurred()) SWIG_fail;
25800 }
25801 {
412d302d 25802 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25803 }
25804 return resultobj;
25805 fail:
25806 return NULL;
25807}
25808
25809
c32bde28 25810static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25811 PyObject *resultobj;
25812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25813 wxImageList *result;
25814 PyObject * obj0 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
25820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25822 {
25823 PyThreadState* __tstate = wxPyBeginAllowThreads();
25824 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25825
25826 wxPyEndAllowThreads(__tstate);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 }
25829 {
412d302d 25830 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25831 }
25832 return resultobj;
25833 fail:
25834 return NULL;
25835}
25836
25837
c32bde28 25838static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25839 PyObject *resultobj;
25840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25841 wxImageList *arg2 = (wxImageList *) 0 ;
25842 PyObject * obj0 = 0 ;
25843 PyObject * obj1 = 0 ;
25844 char *kwnames[] = {
25845 (char *) "self",(char *) "imageList", NULL
25846 };
25847
25848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 (arg1)->SetImageList(arg2);
25856
25857 wxPyEndAllowThreads(__tstate);
25858 if (PyErr_Occurred()) SWIG_fail;
25859 }
25860 Py_INCREF(Py_None); resultobj = Py_None;
25861 return resultobj;
25862 fail:
25863 return NULL;
25864}
25865
25866
c32bde28 25867static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25868 PyObject *resultobj;
25869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25870 wxImageList *arg2 = (wxImageList *) 0 ;
25871 PyObject * obj0 = 0 ;
25872 PyObject * obj1 = 0 ;
25873 char *kwnames[] = {
25874 (char *) "self",(char *) "imageList", NULL
25875 };
25876
25877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 (arg1)->SetStateImageList(arg2);
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
25889 Py_INCREF(Py_None); resultobj = Py_None;
25890 return resultobj;
25891 fail:
25892 return NULL;
25893}
25894
25895
c32bde28 25896static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25897 PyObject *resultobj;
25898 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25899 wxImageList *arg2 = (wxImageList *) 0 ;
25900 PyObject * obj0 = 0 ;
25901 PyObject * obj1 = 0 ;
25902 char *kwnames[] = {
25903 (char *) "self",(char *) "imageList", NULL
25904 };
25905
25906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25910 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25911 {
25912 PyThreadState* __tstate = wxPyBeginAllowThreads();
25913 (arg1)->AssignImageList(arg2);
25914
25915 wxPyEndAllowThreads(__tstate);
25916 if (PyErr_Occurred()) SWIG_fail;
25917 }
25918 Py_INCREF(Py_None); resultobj = Py_None;
25919 return resultobj;
25920 fail:
25921 return NULL;
25922}
25923
25924
c32bde28 25925static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25926 PyObject *resultobj;
25927 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25928 wxImageList *arg2 = (wxImageList *) 0 ;
25929 PyObject * obj0 = 0 ;
25930 PyObject * obj1 = 0 ;
25931 char *kwnames[] = {
25932 (char *) "self",(char *) "imageList", NULL
25933 };
25934
25935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25939 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25940 {
25941 PyThreadState* __tstate = wxPyBeginAllowThreads();
25942 (arg1)->AssignStateImageList(arg2);
25943
25944 wxPyEndAllowThreads(__tstate);
25945 if (PyErr_Occurred()) SWIG_fail;
25946 }
25947 Py_INCREF(Py_None); resultobj = Py_None;
25948 return resultobj;
25949 fail:
25950 return NULL;
25951}
25952
25953
c32bde28 25954static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25955 PyObject *resultobj;
25956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25957 wxTreeItemId *arg2 = 0 ;
25958 wxString result;
25959 PyObject * obj0 = 0 ;
25960 PyObject * obj1 = 0 ;
25961 char *kwnames[] = {
25962 (char *) "self",(char *) "item", NULL
25963 };
25964
25965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25969 SWIG_POINTER_EXCEPTION | 0)) == -1)
25970 SWIG_fail;
d14a1e28 25971 if (arg2 == NULL) {
15afbcd0
RD
25972 PyErr_SetString(PyExc_TypeError,"null reference");
25973 SWIG_fail;
d14a1e28
RD
25974 }
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25978
25979 wxPyEndAllowThreads(__tstate);
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
25982 {
25983#if wxUSE_UNICODE
25984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25985#else
25986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25987#endif
25988 }
25989 return resultobj;
25990 fail:
25991 return NULL;
25992}
25993
25994
c32bde28 25995static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25996 PyObject *resultobj;
25997 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25998 wxTreeItemId *arg2 = 0 ;
25999 int arg3 = (int) wxTreeItemIcon_Normal ;
26000 int result;
26001 PyObject * obj0 = 0 ;
26002 PyObject * obj1 = 0 ;
994141e6 26003 PyObject * obj2 = 0 ;
d14a1e28
RD
26004 char *kwnames[] = {
26005 (char *) "self",(char *) "item",(char *) "which", NULL
26006 };
26007
994141e6 26008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26012 SWIG_POINTER_EXCEPTION | 0)) == -1)
26013 SWIG_fail;
d14a1e28 26014 if (arg2 == NULL) {
15afbcd0
RD
26015 PyErr_SetString(PyExc_TypeError,"null reference");
26016 SWIG_fail;
d14a1e28 26017 }
994141e6 26018 if (obj2) {
c32bde28 26019 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 26020 if (PyErr_Occurred()) SWIG_fail;
994141e6 26021 }
d14a1e28
RD
26022 {
26023 PyThreadState* __tstate = wxPyBeginAllowThreads();
26024 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
26025
26026 wxPyEndAllowThreads(__tstate);
26027 if (PyErr_Occurred()) SWIG_fail;
26028 }
c32bde28 26029 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
26030 return resultobj;
26031 fail:
26032 return NULL;
26033}
26034
26035
c32bde28 26036static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26037 PyObject *resultobj;
26038 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26039 wxTreeItemId *arg2 = 0 ;
26040 wxPyTreeItemData *result;
26041 PyObject * obj0 = 0 ;
26042 PyObject * obj1 = 0 ;
26043 char *kwnames[] = {
26044 (char *) "self",(char *) "item", NULL
26045 };
26046
26047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26051 SWIG_POINTER_EXCEPTION | 0)) == -1)
26052 SWIG_fail;
d14a1e28 26053 if (arg2 == NULL) {
15afbcd0
RD
26054 PyErr_SetString(PyExc_TypeError,"null reference");
26055 SWIG_fail;
d14a1e28
RD
26056 }
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
26060
26061 wxPyEndAllowThreads(__tstate);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
15afbcd0 26064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
26065 return resultobj;
26066 fail:
26067 return NULL;
26068}
26069
26070
c32bde28 26071static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26072 PyObject *resultobj;
26073 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26074 wxTreeItemId *arg2 = 0 ;
26075 PyObject *result;
26076 PyObject * obj0 = 0 ;
26077 PyObject * obj1 = 0 ;
26078 char *kwnames[] = {
26079 (char *) "self",(char *) "item", NULL
26080 };
26081
26082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26086 SWIG_POINTER_EXCEPTION | 0)) == -1)
26087 SWIG_fail;
d14a1e28 26088 if (arg2 == NULL) {
15afbcd0
RD
26089 PyErr_SetString(PyExc_TypeError,"null reference");
26090 SWIG_fail;
d14a1e28
RD
26091 }
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
26095
26096 wxPyEndAllowThreads(__tstate);
26097 if (PyErr_Occurred()) SWIG_fail;
26098 }
26099 resultobj = result;
26100 return resultobj;
26101 fail:
26102 return NULL;
26103}
26104
26105
c32bde28 26106static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26107 PyObject *resultobj;
26108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26109 wxTreeItemId *arg2 = 0 ;
26110 wxColour result;
26111 PyObject * obj0 = 0 ;
26112 PyObject * obj1 = 0 ;
26113 char *kwnames[] = {
26114 (char *) "self",(char *) "item", NULL
26115 };
26116
26117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26121 SWIG_POINTER_EXCEPTION | 0)) == -1)
26122 SWIG_fail;
d14a1e28 26123 if (arg2 == NULL) {
15afbcd0
RD
26124 PyErr_SetString(PyExc_TypeError,"null reference");
26125 SWIG_fail;
d14a1e28
RD
26126 }
26127 {
26128 PyThreadState* __tstate = wxPyBeginAllowThreads();
26129 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
26130
26131 wxPyEndAllowThreads(__tstate);
26132 if (PyErr_Occurred()) SWIG_fail;
26133 }
26134 {
26135 wxColour * resultptr;
26136 resultptr = new wxColour((wxColour &) result);
15afbcd0 26137 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26138 }
26139 return resultobj;
26140 fail:
26141 return NULL;
26142}
26143
26144
c32bde28 26145static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26146 PyObject *resultobj;
26147 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26148 wxTreeItemId *arg2 = 0 ;
26149 wxColour result;
26150 PyObject * obj0 = 0 ;
26151 PyObject * obj1 = 0 ;
26152 char *kwnames[] = {
26153 (char *) "self",(char *) "item", NULL
26154 };
26155
26156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26160 SWIG_POINTER_EXCEPTION | 0)) == -1)
26161 SWIG_fail;
d14a1e28 26162 if (arg2 == NULL) {
15afbcd0
RD
26163 PyErr_SetString(PyExc_TypeError,"null reference");
26164 SWIG_fail;
d14a1e28
RD
26165 }
26166 {
26167 PyThreadState* __tstate = wxPyBeginAllowThreads();
26168 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
26169
26170 wxPyEndAllowThreads(__tstate);
26171 if (PyErr_Occurred()) SWIG_fail;
26172 }
26173 {
26174 wxColour * resultptr;
26175 resultptr = new wxColour((wxColour &) result);
15afbcd0 26176 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26177 }
26178 return resultobj;
26179 fail:
26180 return NULL;
26181}
26182
26183
c32bde28 26184static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26185 PyObject *resultobj;
26186 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26187 wxTreeItemId *arg2 = 0 ;
26188 wxFont result;
26189 PyObject * obj0 = 0 ;
26190 PyObject * obj1 = 0 ;
26191 char *kwnames[] = {
26192 (char *) "self",(char *) "item", NULL
26193 };
26194
26195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26199 SWIG_POINTER_EXCEPTION | 0)) == -1)
26200 SWIG_fail;
d14a1e28 26201 if (arg2 == NULL) {
15afbcd0
RD
26202 PyErr_SetString(PyExc_TypeError,"null reference");
26203 SWIG_fail;
d14a1e28
RD
26204 }
26205 {
26206 PyThreadState* __tstate = wxPyBeginAllowThreads();
26207 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
26208
26209 wxPyEndAllowThreads(__tstate);
26210 if (PyErr_Occurred()) SWIG_fail;
26211 }
26212 {
26213 wxFont * resultptr;
26214 resultptr = new wxFont((wxFont &) result);
15afbcd0 26215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
26216 }
26217 return resultobj;
26218 fail:
26219 return NULL;
26220}
26221
26222
c32bde28 26223static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26224 PyObject *resultobj;
26225 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26226 wxTreeItemId *arg2 = 0 ;
26227 wxString *arg3 = 0 ;
ae8162c8 26228 bool temp3 = false ;
d14a1e28
RD
26229 PyObject * obj0 = 0 ;
26230 PyObject * obj1 = 0 ;
26231 PyObject * obj2 = 0 ;
26232 char *kwnames[] = {
26233 (char *) "self",(char *) "item",(char *) "text", NULL
26234 };
26235
26236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26240 SWIG_POINTER_EXCEPTION | 0)) == -1)
26241 SWIG_fail;
d14a1e28 26242 if (arg2 == NULL) {
15afbcd0
RD
26243 PyErr_SetString(PyExc_TypeError,"null reference");
26244 SWIG_fail;
d14a1e28
RD
26245 }
26246 {
26247 arg3 = wxString_in_helper(obj2);
26248 if (arg3 == NULL) SWIG_fail;
ae8162c8 26249 temp3 = true;
d14a1e28
RD
26250 }
26251 {
26252 PyThreadState* __tstate = wxPyBeginAllowThreads();
26253 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
26254
26255 wxPyEndAllowThreads(__tstate);
26256 if (PyErr_Occurred()) SWIG_fail;
26257 }
26258 Py_INCREF(Py_None); resultobj = Py_None;
26259 {
26260 if (temp3)
26261 delete arg3;
26262 }
26263 return resultobj;
26264 fail:
26265 {
26266 if (temp3)
26267 delete arg3;
26268 }
26269 return NULL;
26270}
26271
26272
c32bde28 26273static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26274 PyObject *resultobj;
26275 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26276 wxTreeItemId *arg2 = 0 ;
26277 int arg3 ;
26278 int arg4 = (int) wxTreeItemIcon_Normal ;
26279 PyObject * obj0 = 0 ;
26280 PyObject * obj1 = 0 ;
994141e6
RD
26281 PyObject * obj2 = 0 ;
26282 PyObject * obj3 = 0 ;
d14a1e28
RD
26283 char *kwnames[] = {
26284 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26285 };
26286
994141e6 26287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26290 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26291 SWIG_POINTER_EXCEPTION | 0)) == -1)
26292 SWIG_fail;
d14a1e28 26293 if (arg2 == NULL) {
15afbcd0
RD
26294 PyErr_SetString(PyExc_TypeError,"null reference");
26295 SWIG_fail;
994141e6 26296 }
c32bde28 26297 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 26298 if (PyErr_Occurred()) SWIG_fail;
994141e6 26299 if (obj3) {
c32bde28 26300 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 26301 if (PyErr_Occurred()) SWIG_fail;
994141e6 26302 }
d14a1e28
RD
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
26306
26307 wxPyEndAllowThreads(__tstate);
26308 if (PyErr_Occurred()) SWIG_fail;
26309 }
26310 Py_INCREF(Py_None); resultobj = Py_None;
26311 return resultobj;
26312 fail:
26313 return NULL;
26314}
26315
26316
c32bde28 26317static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26318 PyObject *resultobj;
26319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26320 wxTreeItemId *arg2 = 0 ;
26321 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
26322 PyObject * obj0 = 0 ;
26323 PyObject * obj1 = 0 ;
26324 PyObject * obj2 = 0 ;
26325 char *kwnames[] = {
26326 (char *) "self",(char *) "item",(char *) "data", NULL
26327 };
26328
26329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26333 SWIG_POINTER_EXCEPTION | 0)) == -1)
26334 SWIG_fail;
d14a1e28 26335 if (arg2 == NULL) {
15afbcd0
RD
26336 PyErr_SetString(PyExc_TypeError,"null reference");
26337 SWIG_fail;
d14a1e28 26338 }
15afbcd0
RD
26339 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26341 {
26342 PyThreadState* __tstate = wxPyBeginAllowThreads();
26343 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
26344
26345 wxPyEndAllowThreads(__tstate);
26346 if (PyErr_Occurred()) SWIG_fail;
26347 }
26348 Py_INCREF(Py_None); resultobj = Py_None;
26349 return resultobj;
26350 fail:
26351 return NULL;
26352}
26353
26354
c32bde28 26355static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26356 PyObject *resultobj;
26357 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26358 wxTreeItemId *arg2 = 0 ;
26359 PyObject *arg3 = (PyObject *) 0 ;
26360 PyObject * obj0 = 0 ;
26361 PyObject * obj1 = 0 ;
26362 PyObject * obj2 = 0 ;
26363 char *kwnames[] = {
26364 (char *) "self",(char *) "item",(char *) "obj", NULL
26365 };
26366
26367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26371 SWIG_POINTER_EXCEPTION | 0)) == -1)
26372 SWIG_fail;
d14a1e28 26373 if (arg2 == NULL) {
15afbcd0
RD
26374 PyErr_SetString(PyExc_TypeError,"null reference");
26375 SWIG_fail;
d14a1e28
RD
26376 }
26377 arg3 = obj2;
26378 {
26379 PyThreadState* __tstate = wxPyBeginAllowThreads();
26380 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
26381
26382 wxPyEndAllowThreads(__tstate);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
26385 Py_INCREF(Py_None); resultobj = Py_None;
26386 return resultobj;
26387 fail:
26388 return NULL;
26389}
26390
26391
c32bde28 26392static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26393 PyObject *resultobj;
26394 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26395 wxTreeItemId *arg2 = 0 ;
ae8162c8 26396 bool arg3 = (bool) true ;
d14a1e28
RD
26397 PyObject * obj0 = 0 ;
26398 PyObject * obj1 = 0 ;
26399 PyObject * obj2 = 0 ;
26400 char *kwnames[] = {
26401 (char *) "self",(char *) "item",(char *) "has", NULL
26402 };
26403
26404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26408 SWIG_POINTER_EXCEPTION | 0)) == -1)
26409 SWIG_fail;
d14a1e28 26410 if (arg2 == NULL) {
15afbcd0
RD
26411 PyErr_SetString(PyExc_TypeError,"null reference");
26412 SWIG_fail;
d14a1e28
RD
26413 }
26414 if (obj2) {
c32bde28 26415 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 26416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26417 }
26418 {
26419 PyThreadState* __tstate = wxPyBeginAllowThreads();
26420 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26421
26422 wxPyEndAllowThreads(__tstate);
26423 if (PyErr_Occurred()) SWIG_fail;
26424 }
26425 Py_INCREF(Py_None); resultobj = Py_None;
26426 return resultobj;
26427 fail:
26428 return NULL;
26429}
26430
26431
c32bde28 26432static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26433 PyObject *resultobj;
26434 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26435 wxTreeItemId *arg2 = 0 ;
ae8162c8 26436 bool arg3 = (bool) true ;
d14a1e28
RD
26437 PyObject * obj0 = 0 ;
26438 PyObject * obj1 = 0 ;
26439 PyObject * obj2 = 0 ;
26440 char *kwnames[] = {
26441 (char *) "self",(char *) "item",(char *) "bold", NULL
26442 };
26443
26444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26448 SWIG_POINTER_EXCEPTION | 0)) == -1)
26449 SWIG_fail;
d14a1e28 26450 if (arg2 == NULL) {
15afbcd0
RD
26451 PyErr_SetString(PyExc_TypeError,"null reference");
26452 SWIG_fail;
d14a1e28
RD
26453 }
26454 if (obj2) {
c32bde28 26455 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 26456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26457 }
26458 {
26459 PyThreadState* __tstate = wxPyBeginAllowThreads();
26460 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26461
26462 wxPyEndAllowThreads(__tstate);
26463 if (PyErr_Occurred()) SWIG_fail;
26464 }
26465 Py_INCREF(Py_None); resultobj = Py_None;
26466 return resultobj;
26467 fail:
26468 return NULL;
26469}
26470
26471
c32bde28 26472static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26473 PyObject *resultobj;
26474 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26475 wxTreeItemId *arg2 = 0 ;
26476 wxColour *arg3 = 0 ;
26477 wxColour temp3 ;
26478 PyObject * obj0 = 0 ;
26479 PyObject * obj1 = 0 ;
26480 PyObject * obj2 = 0 ;
26481 char *kwnames[] = {
26482 (char *) "self",(char *) "item",(char *) "col", NULL
26483 };
26484
26485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26489 SWIG_POINTER_EXCEPTION | 0)) == -1)
26490 SWIG_fail;
d14a1e28 26491 if (arg2 == NULL) {
15afbcd0
RD
26492 PyErr_SetString(PyExc_TypeError,"null reference");
26493 SWIG_fail;
d14a1e28
RD
26494 }
26495 {
26496 arg3 = &temp3;
26497 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26498 }
26499 {
26500 PyThreadState* __tstate = wxPyBeginAllowThreads();
26501 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26502
26503 wxPyEndAllowThreads(__tstate);
26504 if (PyErr_Occurred()) SWIG_fail;
26505 }
26506 Py_INCREF(Py_None); resultobj = Py_None;
26507 return resultobj;
26508 fail:
26509 return NULL;
26510}
26511
26512
c32bde28 26513static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26514 PyObject *resultobj;
26515 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26516 wxTreeItemId *arg2 = 0 ;
26517 wxColour *arg3 = 0 ;
26518 wxColour temp3 ;
26519 PyObject * obj0 = 0 ;
26520 PyObject * obj1 = 0 ;
26521 PyObject * obj2 = 0 ;
26522 char *kwnames[] = {
26523 (char *) "self",(char *) "item",(char *) "col", NULL
26524 };
26525
26526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26530 SWIG_POINTER_EXCEPTION | 0)) == -1)
26531 SWIG_fail;
d14a1e28 26532 if (arg2 == NULL) {
15afbcd0
RD
26533 PyErr_SetString(PyExc_TypeError,"null reference");
26534 SWIG_fail;
d14a1e28
RD
26535 }
26536 {
26537 arg3 = &temp3;
26538 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26539 }
26540 {
26541 PyThreadState* __tstate = wxPyBeginAllowThreads();
26542 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26543
26544 wxPyEndAllowThreads(__tstate);
26545 if (PyErr_Occurred()) SWIG_fail;
26546 }
26547 Py_INCREF(Py_None); resultobj = Py_None;
26548 return resultobj;
26549 fail:
26550 return NULL;
26551}
26552
26553
c32bde28 26554static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26555 PyObject *resultobj;
26556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26557 wxTreeItemId *arg2 = 0 ;
26558 wxFont *arg3 = 0 ;
26559 PyObject * obj0 = 0 ;
26560 PyObject * obj1 = 0 ;
26561 PyObject * obj2 = 0 ;
26562 char *kwnames[] = {
26563 (char *) "self",(char *) "item",(char *) "font", NULL
26564 };
26565
26566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26570 SWIG_POINTER_EXCEPTION | 0)) == -1)
26571 SWIG_fail;
d14a1e28 26572 if (arg2 == NULL) {
15afbcd0
RD
26573 PyErr_SetString(PyExc_TypeError,"null reference");
26574 SWIG_fail;
d14a1e28 26575 }
15afbcd0
RD
26576 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26577 SWIG_POINTER_EXCEPTION | 0)) == -1)
26578 SWIG_fail;
d14a1e28 26579 if (arg3 == NULL) {
15afbcd0
RD
26580 PyErr_SetString(PyExc_TypeError,"null reference");
26581 SWIG_fail;
d14a1e28
RD
26582 }
26583 {
26584 PyThreadState* __tstate = wxPyBeginAllowThreads();
26585 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26586
26587 wxPyEndAllowThreads(__tstate);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 }
26590 Py_INCREF(Py_None); resultobj = Py_None;
26591 return resultobj;
26592 fail:
26593 return NULL;
26594}
26595
26596
c32bde28 26597static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26598 PyObject *resultobj;
26599 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26600 wxTreeItemId *arg2 = 0 ;
26601 bool result;
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_IsVisible",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 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26621
26622 wxPyEndAllowThreads(__tstate);
26623 if (PyErr_Occurred()) SWIG_fail;
26624 }
4f89f6a3
RD
26625 {
26626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26627 }
d14a1e28
RD
26628 return resultobj;
26629 fail:
26630 return NULL;
26631}
26632
26633
c32bde28 26634static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26635 PyObject *resultobj;
26636 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26637 wxTreeItemId *arg2 = 0 ;
26638 bool result;
26639 PyObject * obj0 = 0 ;
26640 PyObject * obj1 = 0 ;
26641 char *kwnames[] = {
26642 (char *) "self",(char *) "item", NULL
26643 };
26644
26645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26649 SWIG_POINTER_EXCEPTION | 0)) == -1)
26650 SWIG_fail;
d14a1e28 26651 if (arg2 == NULL) {
15afbcd0
RD
26652 PyErr_SetString(PyExc_TypeError,"null reference");
26653 SWIG_fail;
d14a1e28
RD
26654 }
26655 {
26656 PyThreadState* __tstate = wxPyBeginAllowThreads();
26657 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26658
26659 wxPyEndAllowThreads(__tstate);
26660 if (PyErr_Occurred()) SWIG_fail;
26661 }
4f89f6a3
RD
26662 {
26663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26664 }
d14a1e28
RD
26665 return resultobj;
26666 fail:
26667 return NULL;
26668}
26669
26670
c32bde28 26671static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26672 PyObject *resultobj;
26673 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26674 wxTreeItemId *arg2 = 0 ;
26675 bool result;
26676 PyObject * obj0 = 0 ;
26677 PyObject * obj1 = 0 ;
26678 char *kwnames[] = {
26679 (char *) "self",(char *) "item", NULL
26680 };
26681
26682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26686 SWIG_POINTER_EXCEPTION | 0)) == -1)
26687 SWIG_fail;
d14a1e28 26688 if (arg2 == NULL) {
15afbcd0
RD
26689 PyErr_SetString(PyExc_TypeError,"null reference");
26690 SWIG_fail;
d14a1e28
RD
26691 }
26692 {
26693 PyThreadState* __tstate = wxPyBeginAllowThreads();
26694 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26695
26696 wxPyEndAllowThreads(__tstate);
26697 if (PyErr_Occurred()) SWIG_fail;
26698 }
4f89f6a3
RD
26699 {
26700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26701 }
d14a1e28
RD
26702 return resultobj;
26703 fail:
26704 return NULL;
26705}
26706
26707
c32bde28 26708static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26709 PyObject *resultobj;
26710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26711 wxTreeItemId *arg2 = 0 ;
26712 bool result;
26713 PyObject * obj0 = 0 ;
26714 PyObject * obj1 = 0 ;
26715 char *kwnames[] = {
26716 (char *) "self",(char *) "item", NULL
26717 };
26718
26719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26723 SWIG_POINTER_EXCEPTION | 0)) == -1)
26724 SWIG_fail;
d14a1e28 26725 if (arg2 == NULL) {
15afbcd0
RD
26726 PyErr_SetString(PyExc_TypeError,"null reference");
26727 SWIG_fail;
d14a1e28
RD
26728 }
26729 {
26730 PyThreadState* __tstate = wxPyBeginAllowThreads();
26731 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26732
26733 wxPyEndAllowThreads(__tstate);
26734 if (PyErr_Occurred()) SWIG_fail;
26735 }
4f89f6a3
RD
26736 {
26737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26738 }
d14a1e28
RD
26739 return resultobj;
26740 fail:
26741 return NULL;
26742}
26743
26744
c32bde28 26745static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26746 PyObject *resultobj;
26747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26748 wxTreeItemId *arg2 = 0 ;
26749 bool result;
26750 PyObject * obj0 = 0 ;
26751 PyObject * obj1 = 0 ;
26752 char *kwnames[] = {
26753 (char *) "self",(char *) "item", NULL
26754 };
26755
26756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26760 SWIG_POINTER_EXCEPTION | 0)) == -1)
26761 SWIG_fail;
d14a1e28 26762 if (arg2 == NULL) {
15afbcd0
RD
26763 PyErr_SetString(PyExc_TypeError,"null reference");
26764 SWIG_fail;
d14a1e28
RD
26765 }
26766 {
26767 PyThreadState* __tstate = wxPyBeginAllowThreads();
26768 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26769
26770 wxPyEndAllowThreads(__tstate);
26771 if (PyErr_Occurred()) SWIG_fail;
26772 }
4f89f6a3
RD
26773 {
26774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26775 }
d14a1e28
RD
26776 return resultobj;
26777 fail:
26778 return NULL;
26779}
26780
26781
c32bde28 26782static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26783 PyObject *resultobj;
26784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26785 wxTreeItemId *arg2 = 0 ;
ae8162c8 26786 bool arg3 = (bool) true ;
d14a1e28
RD
26787 size_t result;
26788 PyObject * obj0 = 0 ;
26789 PyObject * obj1 = 0 ;
26790 PyObject * obj2 = 0 ;
26791 char *kwnames[] = {
26792 (char *) "self",(char *) "item",(char *) "recursively", NULL
26793 };
26794
26795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26799 SWIG_POINTER_EXCEPTION | 0)) == -1)
26800 SWIG_fail;
d14a1e28 26801 if (arg2 == NULL) {
15afbcd0
RD
26802 PyErr_SetString(PyExc_TypeError,"null reference");
26803 SWIG_fail;
d14a1e28
RD
26804 }
26805 if (obj2) {
c32bde28 26806 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 26807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26808 }
26809 {
26810 PyThreadState* __tstate = wxPyBeginAllowThreads();
26811 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26812
26813 wxPyEndAllowThreads(__tstate);
26814 if (PyErr_Occurred()) SWIG_fail;
26815 }
c32bde28 26816 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
26817 return resultobj;
26818 fail:
26819 return NULL;
26820}
26821
26822
c32bde28 26823static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26824 PyObject *resultobj;
26825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26826 wxTreeItemId result;
26827 PyObject * obj0 = 0 ;
26828 char *kwnames[] = {
26829 (char *) "self", NULL
26830 };
26831
26832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
26833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26835 {
26836 PyThreadState* __tstate = wxPyBeginAllowThreads();
26837 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26838
26839 wxPyEndAllowThreads(__tstate);
26840 if (PyErr_Occurred()) SWIG_fail;
26841 }
26842 {
26843 wxTreeItemId * resultptr;
26844 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26846 }
26847 return resultobj;
26848 fail:
26849 return NULL;
26850}
26851
26852
c32bde28 26853static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26854 PyObject *resultobj;
26855 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26856 wxTreeItemId result;
26857 PyObject * obj0 = 0 ;
26858 char *kwnames[] = {
26859 (char *) "self", NULL
26860 };
26861
26862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
26863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26865 {
26866 PyThreadState* __tstate = wxPyBeginAllowThreads();
26867 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26868
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 {
26873 wxTreeItemId * resultptr;
26874 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26876 }
26877 return resultobj;
26878 fail:
26879 return NULL;
26880}
26881
26882
c32bde28 26883static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26884 PyObject *resultobj;
26885 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26886 PyObject *result;
26887 PyObject * obj0 = 0 ;
26888 char *kwnames[] = {
26889 (char *) "self", NULL
26890 };
26891
26892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
26893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26895 {
26896 PyThreadState* __tstate = wxPyBeginAllowThreads();
26897 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26898
26899 wxPyEndAllowThreads(__tstate);
26900 if (PyErr_Occurred()) SWIG_fail;
26901 }
26902 resultobj = result;
26903 return resultobj;
26904 fail:
26905 return NULL;
26906}
26907
26908
c32bde28 26909static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26910 PyObject *resultobj;
26911 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26912 wxTreeItemId *arg2 = 0 ;
26913 wxTreeItemId result;
26914 PyObject * obj0 = 0 ;
26915 PyObject * obj1 = 0 ;
26916 char *kwnames[] = {
26917 (char *) "self",(char *) "item", NULL
26918 };
26919
26920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26924 SWIG_POINTER_EXCEPTION | 0)) == -1)
26925 SWIG_fail;
d14a1e28 26926 if (arg2 == NULL) {
15afbcd0
RD
26927 PyErr_SetString(PyExc_TypeError,"null reference");
26928 SWIG_fail;
d14a1e28
RD
26929 }
26930 {
26931 PyThreadState* __tstate = wxPyBeginAllowThreads();
26932 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26933
26934 wxPyEndAllowThreads(__tstate);
26935 if (PyErr_Occurred()) SWIG_fail;
26936 }
26937 {
26938 wxTreeItemId * resultptr;
26939 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26941 }
26942 return resultobj;
26943 fail:
26944 return NULL;
26945}
26946
26947
c32bde28 26948static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26949 PyObject *resultobj;
26950 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26951 wxTreeItemId *arg2 = 0 ;
26952 PyObject *result;
26953 PyObject * obj0 = 0 ;
26954 PyObject * obj1 = 0 ;
26955 char *kwnames[] = {
26956 (char *) "self",(char *) "item", NULL
26957 };
26958
26959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26963 SWIG_POINTER_EXCEPTION | 0)) == -1)
26964 SWIG_fail;
d14a1e28 26965 if (arg2 == NULL) {
15afbcd0
RD
26966 PyErr_SetString(PyExc_TypeError,"null reference");
26967 SWIG_fail;
d14a1e28
RD
26968 }
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26972
26973 wxPyEndAllowThreads(__tstate);
26974 if (PyErr_Occurred()) SWIG_fail;
26975 }
26976 resultobj = result;
26977 return resultobj;
26978 fail:
26979 return NULL;
26980}
26981
26982
c32bde28 26983static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26984 PyObject *resultobj;
26985 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26986 wxTreeItemId *arg2 = 0 ;
58203fa6 26987 void *arg3 = (void *) 0 ;
d14a1e28
RD
26988 PyObject *result;
26989 PyObject * obj0 = 0 ;
26990 PyObject * obj1 = 0 ;
26991 PyObject * obj2 = 0 ;
26992 char *kwnames[] = {
26993 (char *) "self",(char *) "item",(char *) "cookie", NULL
26994 };
26995
26996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27000 SWIG_POINTER_EXCEPTION | 0)) == -1)
27001 SWIG_fail;
d14a1e28 27002 if (arg2 == NULL) {
15afbcd0
RD
27003 PyErr_SetString(PyExc_TypeError,"null reference");
27004 SWIG_fail;
d14a1e28 27005 }
15afbcd0 27006 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27007 {
27008 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 27009 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
27010
27011 wxPyEndAllowThreads(__tstate);
27012 if (PyErr_Occurred()) SWIG_fail;
27013 }
27014 resultobj = result;
27015 return resultobj;
27016 fail:
27017 return NULL;
27018}
27019
27020
c32bde28 27021static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27022 PyObject *resultobj;
27023 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27024 wxTreeItemId *arg2 = 0 ;
27025 wxTreeItemId result;
27026 PyObject * obj0 = 0 ;
27027 PyObject * obj1 = 0 ;
27028 char *kwnames[] = {
27029 (char *) "self",(char *) "item", NULL
27030 };
27031
27032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27036 SWIG_POINTER_EXCEPTION | 0)) == -1)
27037 SWIG_fail;
d14a1e28 27038 if (arg2 == NULL) {
15afbcd0
RD
27039 PyErr_SetString(PyExc_TypeError,"null reference");
27040 SWIG_fail;
d14a1e28
RD
27041 }
27042 {
27043 PyThreadState* __tstate = wxPyBeginAllowThreads();
27044 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
27045
27046 wxPyEndAllowThreads(__tstate);
27047 if (PyErr_Occurred()) SWIG_fail;
27048 }
27049 {
27050 wxTreeItemId * resultptr;
27051 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27053 }
27054 return resultobj;
27055 fail:
27056 return NULL;
27057}
27058
27059
c32bde28 27060static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27061 PyObject *resultobj;
27062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27063 wxTreeItemId *arg2 = 0 ;
27064 wxTreeItemId result;
27065 PyObject * obj0 = 0 ;
27066 PyObject * obj1 = 0 ;
27067 char *kwnames[] = {
27068 (char *) "self",(char *) "item", NULL
27069 };
27070
27071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27075 SWIG_POINTER_EXCEPTION | 0)) == -1)
27076 SWIG_fail;
d14a1e28 27077 if (arg2 == NULL) {
15afbcd0
RD
27078 PyErr_SetString(PyExc_TypeError,"null reference");
27079 SWIG_fail;
d14a1e28
RD
27080 }
27081 {
27082 PyThreadState* __tstate = wxPyBeginAllowThreads();
27083 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
27084
27085 wxPyEndAllowThreads(__tstate);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 }
27088 {
27089 wxTreeItemId * resultptr;
27090 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27092 }
27093 return resultobj;
27094 fail:
27095 return NULL;
27096}
27097
27098
c32bde28 27099static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27100 PyObject *resultobj;
27101 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27102 wxTreeItemId *arg2 = 0 ;
27103 wxTreeItemId result;
27104 PyObject * obj0 = 0 ;
27105 PyObject * obj1 = 0 ;
27106 char *kwnames[] = {
27107 (char *) "self",(char *) "item", NULL
27108 };
27109
27110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27114 SWIG_POINTER_EXCEPTION | 0)) == -1)
27115 SWIG_fail;
d14a1e28 27116 if (arg2 == NULL) {
15afbcd0
RD
27117 PyErr_SetString(PyExc_TypeError,"null reference");
27118 SWIG_fail;
d14a1e28
RD
27119 }
27120 {
27121 PyThreadState* __tstate = wxPyBeginAllowThreads();
27122 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
27123
27124 wxPyEndAllowThreads(__tstate);
27125 if (PyErr_Occurred()) SWIG_fail;
27126 }
27127 {
27128 wxTreeItemId * resultptr;
27129 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27130 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27131 }
27132 return resultobj;
27133 fail:
27134 return NULL;
27135}
27136
27137
c32bde28 27138static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27139 PyObject *resultobj;
27140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27141 wxTreeItemId result;
27142 PyObject * obj0 = 0 ;
27143 char *kwnames[] = {
27144 (char *) "self", NULL
27145 };
27146
27147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
27148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27150 {
27151 PyThreadState* __tstate = wxPyBeginAllowThreads();
27152 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
27153
27154 wxPyEndAllowThreads(__tstate);
27155 if (PyErr_Occurred()) SWIG_fail;
27156 }
27157 {
27158 wxTreeItemId * resultptr;
27159 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27160 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27161 }
27162 return resultobj;
27163 fail:
27164 return NULL;
27165}
27166
27167
c32bde28 27168static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27169 PyObject *resultobj;
27170 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27171 wxTreeItemId *arg2 = 0 ;
27172 wxTreeItemId result;
27173 PyObject * obj0 = 0 ;
27174 PyObject * obj1 = 0 ;
27175 char *kwnames[] = {
27176 (char *) "self",(char *) "item", NULL
27177 };
27178
27179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27183 SWIG_POINTER_EXCEPTION | 0)) == -1)
27184 SWIG_fail;
d14a1e28 27185 if (arg2 == NULL) {
15afbcd0
RD
27186 PyErr_SetString(PyExc_TypeError,"null reference");
27187 SWIG_fail;
d14a1e28
RD
27188 }
27189 {
27190 PyThreadState* __tstate = wxPyBeginAllowThreads();
27191 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
27192
27193 wxPyEndAllowThreads(__tstate);
27194 if (PyErr_Occurred()) SWIG_fail;
27195 }
27196 {
27197 wxTreeItemId * resultptr;
27198 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27199 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27200 }
27201 return resultobj;
27202 fail:
27203 return NULL;
27204}
27205
27206
c32bde28 27207static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27208 PyObject *resultobj;
27209 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27210 wxTreeItemId *arg2 = 0 ;
27211 wxTreeItemId result;
27212 PyObject * obj0 = 0 ;
27213 PyObject * obj1 = 0 ;
27214 char *kwnames[] = {
27215 (char *) "self",(char *) "item", NULL
27216 };
27217
27218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27222 SWIG_POINTER_EXCEPTION | 0)) == -1)
27223 SWIG_fail;
d14a1e28 27224 if (arg2 == NULL) {
15afbcd0
RD
27225 PyErr_SetString(PyExc_TypeError,"null reference");
27226 SWIG_fail;
d14a1e28
RD
27227 }
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 {
27236 wxTreeItemId * resultptr;
27237 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27239 }
27240 return resultobj;
27241 fail:
27242 return NULL;
27243}
27244
27245
c32bde28 27246static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27247 PyObject *resultobj;
27248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27249 wxString *arg2 = 0 ;
27250 int arg3 = (int) -1 ;
27251 int arg4 = (int) -1 ;
27252 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
27253 wxTreeItemId result;
ae8162c8 27254 bool temp2 = false ;
d14a1e28
RD
27255 PyObject * obj0 = 0 ;
27256 PyObject * obj1 = 0 ;
994141e6
RD
27257 PyObject * obj2 = 0 ;
27258 PyObject * obj3 = 0 ;
d14a1e28
RD
27259 PyObject * obj4 = 0 ;
27260 char *kwnames[] = {
27261 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27262 };
27263
994141e6 27264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
27265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27267 {
27268 arg2 = wxString_in_helper(obj1);
27269 if (arg2 == NULL) SWIG_fail;
ae8162c8 27270 temp2 = true;
d14a1e28 27271 }
994141e6 27272 if (obj2) {
c32bde28 27273 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27274 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
27275 }
27276 if (obj3) {
c32bde28 27277 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27278 if (PyErr_Occurred()) SWIG_fail;
994141e6 27279 }
d14a1e28 27280 if (obj4) {
15afbcd0
RD
27281 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
27282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27283 }
27284 {
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
27287
27288 wxPyEndAllowThreads(__tstate);
27289 if (PyErr_Occurred()) SWIG_fail;
27290 }
27291 {
27292 wxTreeItemId * resultptr;
27293 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27295 }
27296 {
27297 if (temp2)
27298 delete arg2;
27299 }
27300 return resultobj;
27301 fail:
27302 {
27303 if (temp2)
27304 delete arg2;
27305 }
27306 return NULL;
27307}
27308
27309
c32bde28 27310static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27311 PyObject *resultobj;
27312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27313 wxTreeItemId *arg2 = 0 ;
27314 wxString *arg3 = 0 ;
27315 int arg4 = (int) -1 ;
27316 int arg5 = (int) -1 ;
27317 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27318 wxTreeItemId result;
ae8162c8 27319 bool temp3 = false ;
d14a1e28
RD
27320 PyObject * obj0 = 0 ;
27321 PyObject * obj1 = 0 ;
27322 PyObject * obj2 = 0 ;
994141e6
RD
27323 PyObject * obj3 = 0 ;
27324 PyObject * obj4 = 0 ;
d14a1e28
RD
27325 PyObject * obj5 = 0 ;
27326 char *kwnames[] = {
27327 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27328 };
27329
994141e6 27330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
27331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27334 SWIG_POINTER_EXCEPTION | 0)) == -1)
27335 SWIG_fail;
d14a1e28 27336 if (arg2 == NULL) {
15afbcd0
RD
27337 PyErr_SetString(PyExc_TypeError,"null reference");
27338 SWIG_fail;
d14a1e28
RD
27339 }
27340 {
27341 arg3 = wxString_in_helper(obj2);
27342 if (arg3 == NULL) SWIG_fail;
ae8162c8 27343 temp3 = true;
d14a1e28 27344 }
994141e6 27345 if (obj3) {
c32bde28 27346 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27347 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
27348 }
27349 if (obj4) {
c32bde28 27350 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 27351 if (PyErr_Occurred()) SWIG_fail;
994141e6 27352 }
d14a1e28 27353 if (obj5) {
15afbcd0
RD
27354 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27356 }
27357 {
27358 PyThreadState* __tstate = wxPyBeginAllowThreads();
27359 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27360
27361 wxPyEndAllowThreads(__tstate);
27362 if (PyErr_Occurred()) SWIG_fail;
27363 }
27364 {
27365 wxTreeItemId * resultptr;
27366 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27367 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27368 }
27369 {
27370 if (temp3)
27371 delete arg3;
27372 }
27373 return resultobj;
27374 fail:
27375 {
27376 if (temp3)
27377 delete arg3;
27378 }
27379 return NULL;
27380}
27381
27382
c32bde28 27383static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27384 PyObject *resultobj;
27385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27386 wxTreeItemId *arg2 = 0 ;
27387 wxTreeItemId *arg3 = 0 ;
27388 wxString *arg4 = 0 ;
27389 int arg5 = (int) -1 ;
27390 int arg6 = (int) -1 ;
27391 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27392 wxTreeItemId result;
ae8162c8 27393 bool temp4 = false ;
d14a1e28
RD
27394 PyObject * obj0 = 0 ;
27395 PyObject * obj1 = 0 ;
27396 PyObject * obj2 = 0 ;
27397 PyObject * obj3 = 0 ;
994141e6
RD
27398 PyObject * obj4 = 0 ;
27399 PyObject * obj5 = 0 ;
d14a1e28
RD
27400 PyObject * obj6 = 0 ;
27401 char *kwnames[] = {
27402 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27403 };
27404
994141e6 27405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
27406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27409 SWIG_POINTER_EXCEPTION | 0)) == -1)
27410 SWIG_fail;
d14a1e28 27411 if (arg2 == NULL) {
15afbcd0
RD
27412 PyErr_SetString(PyExc_TypeError,"null reference");
27413 SWIG_fail;
d14a1e28 27414 }
15afbcd0
RD
27415 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27416 SWIG_POINTER_EXCEPTION | 0)) == -1)
27417 SWIG_fail;
d14a1e28 27418 if (arg3 == NULL) {
15afbcd0
RD
27419 PyErr_SetString(PyExc_TypeError,"null reference");
27420 SWIG_fail;
d14a1e28
RD
27421 }
27422 {
27423 arg4 = wxString_in_helper(obj3);
27424 if (arg4 == NULL) SWIG_fail;
ae8162c8 27425 temp4 = true;
d14a1e28 27426 }
994141e6 27427 if (obj4) {
c32bde28 27428 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 27429 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
27430 }
27431 if (obj5) {
c32bde28 27432 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 27433 if (PyErr_Occurred()) SWIG_fail;
994141e6 27434 }
d14a1e28 27435 if (obj6) {
15afbcd0
RD
27436 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27438 }
27439 {
27440 PyThreadState* __tstate = wxPyBeginAllowThreads();
27441 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27442
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 {
27447 wxTreeItemId * resultptr;
27448 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27450 }
27451 {
27452 if (temp4)
27453 delete arg4;
27454 }
27455 return resultobj;
27456 fail:
27457 {
27458 if (temp4)
27459 delete arg4;
27460 }
27461 return NULL;
27462}
27463
27464
c32bde28 27465static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27466 PyObject *resultobj;
27467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27468 wxTreeItemId *arg2 = 0 ;
27469 size_t arg3 ;
27470 wxString *arg4 = 0 ;
27471 int arg5 = (int) -1 ;
27472 int arg6 = (int) -1 ;
27473 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27474 wxTreeItemId result;
ae8162c8 27475 bool temp4 = false ;
d14a1e28
RD
27476 PyObject * obj0 = 0 ;
27477 PyObject * obj1 = 0 ;
27478 PyObject * obj2 = 0 ;
27479 PyObject * obj3 = 0 ;
994141e6
RD
27480 PyObject * obj4 = 0 ;
27481 PyObject * obj5 = 0 ;
d14a1e28
RD
27482 PyObject * obj6 = 0 ;
27483 char *kwnames[] = {
27484 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27485 };
27486
994141e6 27487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
27488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27491 SWIG_POINTER_EXCEPTION | 0)) == -1)
27492 SWIG_fail;
d14a1e28 27493 if (arg2 == NULL) {
15afbcd0
RD
27494 PyErr_SetString(PyExc_TypeError,"null reference");
27495 SWIG_fail;
a41e16b6 27496 }
c32bde28 27497 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 27498 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27499 {
27500 arg4 = wxString_in_helper(obj3);
27501 if (arg4 == NULL) SWIG_fail;
ae8162c8 27502 temp4 = true;
d14a1e28 27503 }
994141e6 27504 if (obj4) {
c32bde28 27505 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 27506 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
27507 }
27508 if (obj5) {
c32bde28 27509 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 27510 if (PyErr_Occurred()) SWIG_fail;
994141e6 27511 }
d14a1e28 27512 if (obj6) {
15afbcd0
RD
27513 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27515 }
27516 {
27517 PyThreadState* __tstate = wxPyBeginAllowThreads();
27518 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27519
27520 wxPyEndAllowThreads(__tstate);
27521 if (PyErr_Occurred()) SWIG_fail;
27522 }
27523 {
27524 wxTreeItemId * resultptr;
27525 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27527 }
27528 {
27529 if (temp4)
27530 delete arg4;
27531 }
27532 return resultobj;
27533 fail:
27534 {
27535 if (temp4)
27536 delete arg4;
27537 }
27538 return NULL;
27539}
27540
27541
c32bde28 27542static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27543 PyObject *resultobj;
27544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27545 wxTreeItemId *arg2 = 0 ;
27546 wxString *arg3 = 0 ;
27547 int arg4 = (int) -1 ;
27548 int arg5 = (int) -1 ;
27549 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27550 wxTreeItemId result;
ae8162c8 27551 bool temp3 = false ;
d14a1e28
RD
27552 PyObject * obj0 = 0 ;
27553 PyObject * obj1 = 0 ;
27554 PyObject * obj2 = 0 ;
994141e6
RD
27555 PyObject * obj3 = 0 ;
27556 PyObject * obj4 = 0 ;
d14a1e28
RD
27557 PyObject * obj5 = 0 ;
27558 char *kwnames[] = {
27559 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27560 };
27561
994141e6 27562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
27563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27566 SWIG_POINTER_EXCEPTION | 0)) == -1)
27567 SWIG_fail;
d14a1e28 27568 if (arg2 == NULL) {
15afbcd0
RD
27569 PyErr_SetString(PyExc_TypeError,"null reference");
27570 SWIG_fail;
d14a1e28
RD
27571 }
27572 {
27573 arg3 = wxString_in_helper(obj2);
27574 if (arg3 == NULL) SWIG_fail;
ae8162c8 27575 temp3 = true;
d14a1e28 27576 }
994141e6 27577 if (obj3) {
c32bde28 27578 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27579 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
27580 }
27581 if (obj4) {
c32bde28 27582 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 27583 if (PyErr_Occurred()) SWIG_fail;
994141e6 27584 }
d14a1e28 27585 if (obj5) {
15afbcd0
RD
27586 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27588 }
27589 {
27590 PyThreadState* __tstate = wxPyBeginAllowThreads();
27591 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27592
27593 wxPyEndAllowThreads(__tstate);
27594 if (PyErr_Occurred()) SWIG_fail;
27595 }
27596 {
27597 wxTreeItemId * resultptr;
27598 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27599 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27600 }
27601 {
27602 if (temp3)
27603 delete arg3;
27604 }
27605 return resultobj;
27606 fail:
27607 {
27608 if (temp3)
27609 delete arg3;
27610 }
27611 return NULL;
27612}
27613
27614
c32bde28 27615static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27616 PyObject *resultobj;
27617 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27618 wxTreeItemId *arg2 = 0 ;
27619 PyObject * obj0 = 0 ;
27620 PyObject * obj1 = 0 ;
27621 char *kwnames[] = {
27622 (char *) "self",(char *) "item", NULL
27623 };
27624
27625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27629 SWIG_POINTER_EXCEPTION | 0)) == -1)
27630 SWIG_fail;
d14a1e28 27631 if (arg2 == NULL) {
15afbcd0
RD
27632 PyErr_SetString(PyExc_TypeError,"null reference");
27633 SWIG_fail;
d14a1e28
RD
27634 }
27635 {
27636 PyThreadState* __tstate = wxPyBeginAllowThreads();
27637 (arg1)->Delete((wxTreeItemId const &)*arg2);
27638
27639 wxPyEndAllowThreads(__tstate);
27640 if (PyErr_Occurred()) SWIG_fail;
27641 }
27642 Py_INCREF(Py_None); resultobj = Py_None;
27643 return resultobj;
27644 fail:
27645 return NULL;
27646}
27647
27648
c32bde28 27649static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27650 PyObject *resultobj;
27651 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27652 wxTreeItemId *arg2 = 0 ;
27653 PyObject * obj0 = 0 ;
27654 PyObject * obj1 = 0 ;
27655 char *kwnames[] = {
27656 (char *) "self",(char *) "item", NULL
27657 };
27658
27659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27663 SWIG_POINTER_EXCEPTION | 0)) == -1)
27664 SWIG_fail;
d14a1e28 27665 if (arg2 == NULL) {
15afbcd0
RD
27666 PyErr_SetString(PyExc_TypeError,"null reference");
27667 SWIG_fail;
d14a1e28
RD
27668 }
27669 {
27670 PyThreadState* __tstate = wxPyBeginAllowThreads();
27671 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27672
27673 wxPyEndAllowThreads(__tstate);
27674 if (PyErr_Occurred()) SWIG_fail;
27675 }
27676 Py_INCREF(Py_None); resultobj = Py_None;
27677 return resultobj;
27678 fail:
27679 return NULL;
27680}
27681
27682
c32bde28 27683static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27684 PyObject *resultobj;
27685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27686 PyObject * obj0 = 0 ;
27687 char *kwnames[] = {
27688 (char *) "self", NULL
27689 };
27690
27691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
27692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27694 {
27695 PyThreadState* __tstate = wxPyBeginAllowThreads();
27696 (arg1)->DeleteAllItems();
27697
27698 wxPyEndAllowThreads(__tstate);
27699 if (PyErr_Occurred()) SWIG_fail;
27700 }
27701 Py_INCREF(Py_None); resultobj = Py_None;
27702 return resultobj;
27703 fail:
27704 return NULL;
27705}
27706
27707
c32bde28 27708static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27709 PyObject *resultobj;
27710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27711 wxTreeItemId *arg2 = 0 ;
27712 PyObject * obj0 = 0 ;
27713 PyObject * obj1 = 0 ;
27714 char *kwnames[] = {
27715 (char *) "self",(char *) "item", NULL
27716 };
27717
27718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27722 SWIG_POINTER_EXCEPTION | 0)) == -1)
27723 SWIG_fail;
d14a1e28 27724 if (arg2 == NULL) {
15afbcd0
RD
27725 PyErr_SetString(PyExc_TypeError,"null reference");
27726 SWIG_fail;
d14a1e28
RD
27727 }
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
27730 (arg1)->Expand((wxTreeItemId const &)*arg2);
27731
27732 wxPyEndAllowThreads(__tstate);
27733 if (PyErr_Occurred()) SWIG_fail;
27734 }
27735 Py_INCREF(Py_None); resultobj = Py_None;
27736 return resultobj;
27737 fail:
27738 return NULL;
27739}
27740
27741
c32bde28 27742static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27743 PyObject *resultobj;
27744 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27745 wxTreeItemId *arg2 = 0 ;
27746 PyObject * obj0 = 0 ;
27747 PyObject * obj1 = 0 ;
27748 char *kwnames[] = {
27749 (char *) "self",(char *) "item", NULL
27750 };
27751
27752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27756 SWIG_POINTER_EXCEPTION | 0)) == -1)
27757 SWIG_fail;
d14a1e28 27758 if (arg2 == NULL) {
15afbcd0
RD
27759 PyErr_SetString(PyExc_TypeError,"null reference");
27760 SWIG_fail;
d14a1e28
RD
27761 }
27762 {
27763 PyThreadState* __tstate = wxPyBeginAllowThreads();
27764 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27765
27766 wxPyEndAllowThreads(__tstate);
27767 if (PyErr_Occurred()) SWIG_fail;
27768 }
27769 Py_INCREF(Py_None); resultobj = Py_None;
27770 return resultobj;
27771 fail:
27772 return NULL;
27773}
27774
27775
c32bde28 27776static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27777 PyObject *resultobj;
27778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27779 wxTreeItemId *arg2 = 0 ;
27780 PyObject * obj0 = 0 ;
27781 PyObject * obj1 = 0 ;
27782 char *kwnames[] = {
27783 (char *) "self",(char *) "item", NULL
27784 };
27785
27786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27790 SWIG_POINTER_EXCEPTION | 0)) == -1)
27791 SWIG_fail;
d14a1e28 27792 if (arg2 == NULL) {
15afbcd0
RD
27793 PyErr_SetString(PyExc_TypeError,"null reference");
27794 SWIG_fail;
d14a1e28
RD
27795 }
27796 {
27797 PyThreadState* __tstate = wxPyBeginAllowThreads();
27798 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27799
27800 wxPyEndAllowThreads(__tstate);
27801 if (PyErr_Occurred()) SWIG_fail;
27802 }
27803 Py_INCREF(Py_None); resultobj = Py_None;
27804 return resultobj;
27805 fail:
27806 return NULL;
27807}
27808
27809
c32bde28 27810static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27811 PyObject *resultobj;
27812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27813 wxTreeItemId *arg2 = 0 ;
27814 PyObject * obj0 = 0 ;
27815 PyObject * obj1 = 0 ;
27816 char *kwnames[] = {
27817 (char *) "self",(char *) "item", NULL
27818 };
27819
27820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27824 SWIG_POINTER_EXCEPTION | 0)) == -1)
27825 SWIG_fail;
d14a1e28 27826 if (arg2 == NULL) {
15afbcd0
RD
27827 PyErr_SetString(PyExc_TypeError,"null reference");
27828 SWIG_fail;
d14a1e28
RD
27829 }
27830 {
27831 PyThreadState* __tstate = wxPyBeginAllowThreads();
27832 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27833
27834 wxPyEndAllowThreads(__tstate);
27835 if (PyErr_Occurred()) SWIG_fail;
27836 }
27837 Py_INCREF(Py_None); resultobj = Py_None;
27838 return resultobj;
27839 fail:
27840 return NULL;
27841}
27842
27843
c32bde28 27844static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27845 PyObject *resultobj;
27846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27847 PyObject * obj0 = 0 ;
27848 char *kwnames[] = {
27849 (char *) "self", NULL
27850 };
27851
27852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
15afbcd0
RD
27853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27855 {
27856 PyThreadState* __tstate = wxPyBeginAllowThreads();
27857 (arg1)->Unselect();
27858
27859 wxPyEndAllowThreads(__tstate);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 Py_INCREF(Py_None); resultobj = Py_None;
27863 return resultobj;
27864 fail:
27865 return NULL;
27866}
27867
27868
c32bde28 27869static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
27870 PyObject *resultobj;
27871 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27872 wxTreeItemId *arg2 = 0 ;
27873 PyObject * obj0 = 0 ;
27874 PyObject * obj1 = 0 ;
27875 char *kwnames[] = {
27876 (char *) "self",(char *) "item", NULL
27877 };
27878
27879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27883 SWIG_POINTER_EXCEPTION | 0)) == -1)
27884 SWIG_fail;
3adfb63b 27885 if (arg2 == NULL) {
15afbcd0
RD
27886 PyErr_SetString(PyExc_TypeError,"null reference");
27887 SWIG_fail;
3adfb63b
RD
27888 }
27889 {
27890 PyThreadState* __tstate = wxPyBeginAllowThreads();
27891 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27892
27893 wxPyEndAllowThreads(__tstate);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 }
27896 Py_INCREF(Py_None); resultobj = Py_None;
27897 return resultobj;
27898 fail:
27899 return NULL;
27900}
27901
27902
c32bde28 27903static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27904 PyObject *resultobj;
27905 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27906 PyObject * obj0 = 0 ;
27907 char *kwnames[] = {
27908 (char *) "self", NULL
27909 };
27910
27911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
27912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27914 {
27915 PyThreadState* __tstate = wxPyBeginAllowThreads();
27916 (arg1)->UnselectAll();
27917
27918 wxPyEndAllowThreads(__tstate);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 Py_INCREF(Py_None); resultobj = Py_None;
27922 return resultobj;
27923 fail:
27924 return NULL;
27925}
27926
27927
c32bde28 27928static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
27929 PyObject *resultobj;
27930 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27931 wxTreeItemId *arg2 = 0 ;
ae8162c8 27932 bool arg3 = (bool) true ;
3adfb63b
RD
27933 PyObject * obj0 = 0 ;
27934 PyObject * obj1 = 0 ;
27935 PyObject * obj2 = 0 ;
27936 char *kwnames[] = {
27937 (char *) "self",(char *) "item",(char *) "select", NULL
27938 };
27939
27940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27944 SWIG_POINTER_EXCEPTION | 0)) == -1)
27945 SWIG_fail;
3adfb63b 27946 if (arg2 == NULL) {
15afbcd0
RD
27947 PyErr_SetString(PyExc_TypeError,"null reference");
27948 SWIG_fail;
3adfb63b
RD
27949 }
27950 if (obj2) {
c32bde28 27951 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 27952 if (PyErr_Occurred()) SWIG_fail;
3adfb63b
RD
27953 }
27954 {
27955 PyThreadState* __tstate = wxPyBeginAllowThreads();
27956 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27957
27958 wxPyEndAllowThreads(__tstate);
27959 if (PyErr_Occurred()) SWIG_fail;
27960 }
27961 Py_INCREF(Py_None); resultobj = Py_None;
27962 return resultobj;
27963 fail:
27964 return NULL;
27965}
27966
27967
c32bde28 27968static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27969 PyObject *resultobj;
27970 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27971 wxTreeItemId *arg2 = 0 ;
27972 PyObject * obj0 = 0 ;
27973 PyObject * obj1 = 0 ;
27974 char *kwnames[] = {
27975 (char *) "self",(char *) "item", NULL
27976 };
27977
3adfb63b 27978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27982 SWIG_POINTER_EXCEPTION | 0)) == -1)
27983 SWIG_fail;
d14a1e28 27984 if (arg2 == NULL) {
15afbcd0
RD
27985 PyErr_SetString(PyExc_TypeError,"null reference");
27986 SWIG_fail;
d14a1e28
RD
27987 }
27988 {
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3adfb63b 27990 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
27991
27992 wxPyEndAllowThreads(__tstate);
27993 if (PyErr_Occurred()) SWIG_fail;
27994 }
27995 Py_INCREF(Py_None); resultobj = Py_None;
27996 return resultobj;
27997 fail:
27998 return NULL;
27999}
28000
28001
c32bde28 28002static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28003 PyObject *resultobj;
28004 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28005 wxTreeItemId *arg2 = 0 ;
28006 PyObject * obj0 = 0 ;
28007 PyObject * obj1 = 0 ;
28008 char *kwnames[] = {
28009 (char *) "self",(char *) "item", NULL
28010 };
28011
28012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28016 SWIG_POINTER_EXCEPTION | 0)) == -1)
28017 SWIG_fail;
d14a1e28 28018 if (arg2 == NULL) {
15afbcd0
RD
28019 PyErr_SetString(PyExc_TypeError,"null reference");
28020 SWIG_fail;
d14a1e28
RD
28021 }
28022 {
28023 PyThreadState* __tstate = wxPyBeginAllowThreads();
28024 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
28025
28026 wxPyEndAllowThreads(__tstate);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 }
28029 Py_INCREF(Py_None); resultobj = Py_None;
28030 return resultobj;
28031 fail:
28032 return NULL;
28033}
28034
28035
c32bde28 28036static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28037 PyObject *resultobj;
28038 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28039 wxTreeItemId *arg2 = 0 ;
28040 PyObject * obj0 = 0 ;
28041 PyObject * obj1 = 0 ;
28042 char *kwnames[] = {
28043 (char *) "self",(char *) "item", NULL
28044 };
28045
28046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28050 SWIG_POINTER_EXCEPTION | 0)) == -1)
28051 SWIG_fail;
d14a1e28 28052 if (arg2 == NULL) {
15afbcd0
RD
28053 PyErr_SetString(PyExc_TypeError,"null reference");
28054 SWIG_fail;
d14a1e28
RD
28055 }
28056 {
28057 PyThreadState* __tstate = wxPyBeginAllowThreads();
28058 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
28059
28060 wxPyEndAllowThreads(__tstate);
28061 if (PyErr_Occurred()) SWIG_fail;
28062 }
28063 Py_INCREF(Py_None); resultobj = Py_None;
28064 return resultobj;
28065 fail:
28066 return NULL;
28067}
28068
28069
c32bde28 28070static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28071 PyObject *resultobj;
28072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28073 wxTreeItemId *arg2 = 0 ;
28074 PyObject * obj0 = 0 ;
28075 PyObject * obj1 = 0 ;
28076 char *kwnames[] = {
28077 (char *) "self",(char *) "item", NULL
28078 };
28079
28080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28084 SWIG_POINTER_EXCEPTION | 0)) == -1)
28085 SWIG_fail;
d14a1e28 28086 if (arg2 == NULL) {
15afbcd0
RD
28087 PyErr_SetString(PyExc_TypeError,"null reference");
28088 SWIG_fail;
d14a1e28
RD
28089 }
28090 {
28091 PyThreadState* __tstate = wxPyBeginAllowThreads();
28092 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
28093
28094 wxPyEndAllowThreads(__tstate);
28095 if (PyErr_Occurred()) SWIG_fail;
28096 }
28097 Py_INCREF(Py_None); resultobj = Py_None;
28098 return resultobj;
28099 fail:
28100 return NULL;
28101}
28102
28103
c32bde28 28104static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28105 PyObject *resultobj;
28106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28107 wxTextCtrl *result;
28108 PyObject * obj0 = 0 ;
28109 char *kwnames[] = {
28110 (char *) "self", NULL
28111 };
28112
28113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
28114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28116 {
28117 PyThreadState* __tstate = wxPyBeginAllowThreads();
28118 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
28119
28120 wxPyEndAllowThreads(__tstate);
28121 if (PyErr_Occurred()) SWIG_fail;
28122 }
28123 {
412d302d 28124 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28125 }
28126 return resultobj;
28127 fail:
28128 return NULL;
28129}
28130
28131
c32bde28 28132static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28133 PyObject *resultobj;
28134 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28135 wxTreeItemId *arg2 = 0 ;
28136 PyObject * obj0 = 0 ;
28137 PyObject * obj1 = 0 ;
28138 char *kwnames[] = {
28139 (char *) "self",(char *) "item", NULL
28140 };
28141
28142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28146 SWIG_POINTER_EXCEPTION | 0)) == -1)
28147 SWIG_fail;
d14a1e28 28148 if (arg2 == NULL) {
15afbcd0
RD
28149 PyErr_SetString(PyExc_TypeError,"null reference");
28150 SWIG_fail;
d14a1e28
RD
28151 }
28152 {
28153 PyThreadState* __tstate = wxPyBeginAllowThreads();
28154 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
28155
28156 wxPyEndAllowThreads(__tstate);
28157 if (PyErr_Occurred()) SWIG_fail;
28158 }
28159 Py_INCREF(Py_None); resultobj = Py_None;
28160 return resultobj;
28161 fail:
28162 return NULL;
28163}
28164
28165
c32bde28 28166static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28167 PyObject *resultobj;
28168 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28169 wxPoint *arg2 = 0 ;
28170 int *arg3 = 0 ;
28171 wxTreeItemId result;
28172 wxPoint temp2 ;
28173 int temp3 ;
c32bde28 28174 int res3 = 0 ;
d14a1e28
RD
28175 PyObject * obj0 = 0 ;
28176 PyObject * obj1 = 0 ;
28177 char *kwnames[] = {
28178 (char *) "self",(char *) "point", NULL
28179 };
28180
c32bde28 28181 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 28182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28185 {
28186 arg2 = &temp2;
28187 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28188 }
28189 {
28190 PyThreadState* __tstate = wxPyBeginAllowThreads();
28191 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
28192
28193 wxPyEndAllowThreads(__tstate);
28194 if (PyErr_Occurred()) SWIG_fail;
28195 }
28196 {
28197 wxTreeItemId * resultptr;
28198 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 28199 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 28200 }
c32bde28
RD
28201 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
28202 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
28203 return resultobj;
28204 fail:
28205 return NULL;
28206}
28207
28208
c32bde28 28209static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28210 PyObject *resultobj;
28211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28212 wxTreeItemId *arg2 = 0 ;
ae8162c8 28213 bool arg3 = (bool) false ;
d14a1e28
RD
28214 PyObject *result;
28215 PyObject * obj0 = 0 ;
28216 PyObject * obj1 = 0 ;
28217 PyObject * obj2 = 0 ;
28218 char *kwnames[] = {
28219 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28220 };
28221
28222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28226 SWIG_POINTER_EXCEPTION | 0)) == -1)
28227 SWIG_fail;
d14a1e28 28228 if (arg2 == NULL) {
15afbcd0
RD
28229 PyErr_SetString(PyExc_TypeError,"null reference");
28230 SWIG_fail;
d14a1e28
RD
28231 }
28232 if (obj2) {
c32bde28 28233 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 28234 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28235 }
28236 {
28237 PyThreadState* __tstate = wxPyBeginAllowThreads();
28238 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
28239
28240 wxPyEndAllowThreads(__tstate);
28241 if (PyErr_Occurred()) SWIG_fail;
28242 }
28243 resultobj = result;
28244 return resultobj;
28245 fail:
28246 return NULL;
28247}
28248
28249
c32bde28 28250static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
28251 PyObject *resultobj;
28252 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
28253 wxVisualAttributes result;
28254 PyObject * obj0 = 0 ;
28255 char *kwnames[] = {
28256 (char *) "variant", NULL
28257 };
28258
28259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
28260 if (obj0) {
c32bde28 28261 arg1 = (int)SWIG_As_int(obj0);
74a57fcd
RD
28262 if (PyErr_Occurred()) SWIG_fail;
28263 }
28264 {
110da5b0 28265 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
28266 PyThreadState* __tstate = wxPyBeginAllowThreads();
28267 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
28268
28269 wxPyEndAllowThreads(__tstate);
dfbb5885 28270 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
28271 }
28272 {
28273 wxVisualAttributes * resultptr;
28274 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
28275 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
28276 }
28277 return resultobj;
28278 fail:
28279 return NULL;
28280}
28281
28282
c32bde28 28283static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28284 PyObject *obj;
28285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28286 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
28287 Py_INCREF(obj);
28288 return Py_BuildValue((char *)"");
28289}
c32bde28 28290static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
b2dc1044
RD
28291 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
28292 return 1;
28293}
28294
28295
28296static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
28297 PyObject *pyobj;
28298
28299 {
28300#if wxUSE_UNICODE
28301 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28302#else
28303 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28304#endif
28305 }
28306 return pyobj;
28307}
28308
28309
c32bde28 28310static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28311 PyObject *resultobj;
28312 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 28313 int arg2 = (int) (int)-1 ;
d14a1e28
RD
28314 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
28315 wxString *arg3 = (wxString *) &arg3_defvalue ;
28316 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28317 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28318 wxSize const &arg5_defvalue = wxDefaultSize ;
28319 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28320 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28321 wxString const &arg7_defvalue = wxPyEmptyString ;
28322 wxString *arg7 = (wxString *) &arg7_defvalue ;
28323 int arg8 = (int) 0 ;
b2dc1044 28324 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
28325 wxString *arg9 = (wxString *) &arg9_defvalue ;
28326 wxGenericDirCtrl *result;
ae8162c8 28327 bool temp3 = false ;
d14a1e28
RD
28328 wxPoint temp4 ;
28329 wxSize temp5 ;
ae8162c8
RD
28330 bool temp7 = false ;
28331 bool temp9 = false ;
d14a1e28 28332 PyObject * obj0 = 0 ;
994141e6 28333 PyObject * obj1 = 0 ;
d14a1e28
RD
28334 PyObject * obj2 = 0 ;
28335 PyObject * obj3 = 0 ;
28336 PyObject * obj4 = 0 ;
994141e6 28337 PyObject * obj5 = 0 ;
d14a1e28 28338 PyObject * obj6 = 0 ;
994141e6 28339 PyObject * obj7 = 0 ;
d14a1e28
RD
28340 PyObject * obj8 = 0 ;
28341 char *kwnames[] = {
28342 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28343 };
28344
994141e6 28345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
28346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 28348 if (obj1) {
c32bde28 28349 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28350 if (PyErr_Occurred()) SWIG_fail;
994141e6 28351 }
d14a1e28
RD
28352 if (obj2) {
28353 {
28354 arg3 = wxString_in_helper(obj2);
28355 if (arg3 == NULL) SWIG_fail;
ae8162c8 28356 temp3 = true;
d14a1e28
RD
28357 }
28358 }
28359 if (obj3) {
28360 {
28361 arg4 = &temp4;
28362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28363 }
28364 }
28365 if (obj4) {
28366 {
28367 arg5 = &temp5;
28368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28369 }
28370 }
994141e6 28371 if (obj5) {
c32bde28 28372 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 28373 if (PyErr_Occurred()) SWIG_fail;
994141e6 28374 }
d14a1e28
RD
28375 if (obj6) {
28376 {
28377 arg7 = wxString_in_helper(obj6);
28378 if (arg7 == NULL) SWIG_fail;
ae8162c8 28379 temp7 = true;
d14a1e28
RD
28380 }
28381 }
994141e6 28382 if (obj7) {
c32bde28 28383 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 28384 if (PyErr_Occurred()) SWIG_fail;
994141e6 28385 }
d14a1e28
RD
28386 if (obj8) {
28387 {
28388 arg9 = wxString_in_helper(obj8);
28389 if (arg9 == NULL) SWIG_fail;
ae8162c8 28390 temp9 = true;
d14a1e28
RD
28391 }
28392 }
28393 {
e3b71cb8 28394 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28395 PyThreadState* __tstate = wxPyBeginAllowThreads();
28396 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
28397
28398 wxPyEndAllowThreads(__tstate);
110da5b0 28399 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28400 }
15afbcd0 28401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
28402 {
28403 if (temp3)
28404 delete arg3;
28405 }
28406 {
28407 if (temp7)
28408 delete arg7;
28409 }
28410 {
28411 if (temp9)
28412 delete arg9;
28413 }
28414 return resultobj;
28415 fail:
28416 {
28417 if (temp3)
28418 delete arg3;
28419 }
28420 {
28421 if (temp7)
28422 delete arg7;
28423 }
28424 {
28425 if (temp9)
28426 delete arg9;
28427 }
28428 return NULL;
28429}
28430
28431
c32bde28 28432static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28433 PyObject *resultobj;
28434 wxGenericDirCtrl *result;
28435 char *kwnames[] = {
28436 NULL
28437 };
28438
28439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28440 {
e3b71cb8 28441 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28442 PyThreadState* __tstate = wxPyBeginAllowThreads();
28443 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28444
28445 wxPyEndAllowThreads(__tstate);
110da5b0 28446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28447 }
15afbcd0 28448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
28449 return resultobj;
28450 fail:
28451 return NULL;
28452}
28453
28454
c32bde28 28455static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28456 PyObject *resultobj;
28457 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28458 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 28459 int arg3 = (int) (int)-1 ;
d14a1e28
RD
28460 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28461 wxString *arg4 = (wxString *) &arg4_defvalue ;
28462 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28463 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28464 wxSize const &arg6_defvalue = wxDefaultSize ;
28465 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28466 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28467 wxString const &arg8_defvalue = wxPyEmptyString ;
28468 wxString *arg8 = (wxString *) &arg8_defvalue ;
28469 int arg9 = (int) 0 ;
b2dc1044 28470 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
28471 wxString *arg10 = (wxString *) &arg10_defvalue ;
28472 bool result;
ae8162c8 28473 bool temp4 = false ;
d14a1e28
RD
28474 wxPoint temp5 ;
28475 wxSize temp6 ;
ae8162c8
RD
28476 bool temp8 = false ;
28477 bool temp10 = false ;
d14a1e28
RD
28478 PyObject * obj0 = 0 ;
28479 PyObject * obj1 = 0 ;
994141e6 28480 PyObject * obj2 = 0 ;
d14a1e28
RD
28481 PyObject * obj3 = 0 ;
28482 PyObject * obj4 = 0 ;
28483 PyObject * obj5 = 0 ;
994141e6 28484 PyObject * obj6 = 0 ;
d14a1e28 28485 PyObject * obj7 = 0 ;
994141e6 28486 PyObject * obj8 = 0 ;
d14a1e28
RD
28487 PyObject * obj9 = 0 ;
28488 char *kwnames[] = {
28489 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28490 };
28491
994141e6 28492 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
28493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 28497 if (obj2) {
c32bde28 28498 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 28499 if (PyErr_Occurred()) SWIG_fail;
994141e6 28500 }
d14a1e28
RD
28501 if (obj3) {
28502 {
28503 arg4 = wxString_in_helper(obj3);
28504 if (arg4 == NULL) SWIG_fail;
ae8162c8 28505 temp4 = true;
d14a1e28
RD
28506 }
28507 }
28508 if (obj4) {
28509 {
28510 arg5 = &temp5;
28511 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28512 }
28513 }
28514 if (obj5) {
28515 {
28516 arg6 = &temp6;
28517 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28518 }
28519 }
994141e6 28520 if (obj6) {
c32bde28 28521 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 28522 if (PyErr_Occurred()) SWIG_fail;
994141e6 28523 }
d14a1e28
RD
28524 if (obj7) {
28525 {
28526 arg8 = wxString_in_helper(obj7);
28527 if (arg8 == NULL) SWIG_fail;
ae8162c8 28528 temp8 = true;
d14a1e28
RD
28529 }
28530 }
994141e6 28531 if (obj8) {
c32bde28 28532 arg9 = (int)SWIG_As_int(obj8);
15afbcd0 28533 if (PyErr_Occurred()) SWIG_fail;
994141e6 28534 }
d14a1e28
RD
28535 if (obj9) {
28536 {
28537 arg10 = wxString_in_helper(obj9);
28538 if (arg10 == NULL) SWIG_fail;
ae8162c8 28539 temp10 = true;
d14a1e28
RD
28540 }
28541 }
28542 {
28543 PyThreadState* __tstate = wxPyBeginAllowThreads();
28544 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28545
28546 wxPyEndAllowThreads(__tstate);
28547 if (PyErr_Occurred()) SWIG_fail;
28548 }
4f89f6a3
RD
28549 {
28550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28551 }
d14a1e28
RD
28552 {
28553 if (temp4)
28554 delete arg4;
28555 }
28556 {
28557 if (temp8)
28558 delete arg8;
28559 }
28560 {
28561 if (temp10)
28562 delete arg10;
28563 }
28564 return resultobj;
28565 fail:
28566 {
28567 if (temp4)
28568 delete arg4;
28569 }
28570 {
28571 if (temp8)
28572 delete arg8;
28573 }
28574 {
28575 if (temp10)
28576 delete arg10;
28577 }
28578 return NULL;
28579}
28580
28581
c32bde28 28582static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28583 PyObject *resultobj;
28584 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28585 wxString *arg2 = 0 ;
28586 bool result;
ae8162c8 28587 bool temp2 = false ;
d14a1e28
RD
28588 PyObject * obj0 = 0 ;
28589 PyObject * obj1 = 0 ;
28590 char *kwnames[] = {
28591 (char *) "self",(char *) "path", NULL
28592 };
28593
28594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28597 {
28598 arg2 = wxString_in_helper(obj1);
28599 if (arg2 == NULL) SWIG_fail;
ae8162c8 28600 temp2 = true;
d14a1e28
RD
28601 }
28602 {
28603 PyThreadState* __tstate = wxPyBeginAllowThreads();
28604 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28605
28606 wxPyEndAllowThreads(__tstate);
28607 if (PyErr_Occurred()) SWIG_fail;
28608 }
4f89f6a3
RD
28609 {
28610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28611 }
d14a1e28
RD
28612 {
28613 if (temp2)
28614 delete arg2;
28615 }
28616 return resultobj;
28617 fail:
28618 {
28619 if (temp2)
28620 delete arg2;
28621 }
28622 return NULL;
28623}
28624
28625
c32bde28 28626static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28627 PyObject *resultobj;
28628 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28629 wxString result;
28630 PyObject * obj0 = 0 ;
28631 char *kwnames[] = {
28632 (char *) "self", NULL
28633 };
28634
28635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
28636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28638 {
28639 PyThreadState* __tstate = wxPyBeginAllowThreads();
28640 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28641
28642 wxPyEndAllowThreads(__tstate);
28643 if (PyErr_Occurred()) SWIG_fail;
28644 }
28645 {
28646#if wxUSE_UNICODE
28647 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28648#else
28649 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28650#endif
28651 }
28652 return resultobj;
28653 fail:
28654 return NULL;
28655}
28656
28657
c32bde28 28658static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28659 PyObject *resultobj;
28660 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28661 wxString *arg2 = 0 ;
ae8162c8 28662 bool temp2 = false ;
d14a1e28
RD
28663 PyObject * obj0 = 0 ;
28664 PyObject * obj1 = 0 ;
28665 char *kwnames[] = {
28666 (char *) "self",(char *) "path", NULL
28667 };
28668
28669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28672 {
28673 arg2 = wxString_in_helper(obj1);
28674 if (arg2 == NULL) SWIG_fail;
ae8162c8 28675 temp2 = true;
d14a1e28
RD
28676 }
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 (arg1)->SetDefaultPath((wxString const &)*arg2);
28680
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 Py_INCREF(Py_None); resultobj = Py_None;
28685 {
28686 if (temp2)
28687 delete arg2;
28688 }
28689 return resultobj;
28690 fail:
28691 {
28692 if (temp2)
28693 delete arg2;
28694 }
28695 return NULL;
28696}
28697
28698
c32bde28 28699static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28700 PyObject *resultobj;
28701 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28702 wxString result;
28703 PyObject * obj0 = 0 ;
28704 char *kwnames[] = {
28705 (char *) "self", NULL
28706 };
28707
28708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
28709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28711 {
28712 PyThreadState* __tstate = wxPyBeginAllowThreads();
28713 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28714
28715 wxPyEndAllowThreads(__tstate);
28716 if (PyErr_Occurred()) SWIG_fail;
28717 }
28718 {
28719#if wxUSE_UNICODE
28720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28721#else
28722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28723#endif
28724 }
28725 return resultobj;
28726 fail:
28727 return NULL;
28728}
28729
28730
c32bde28 28731static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28732 PyObject *resultobj;
28733 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28734 wxString result;
28735 PyObject * obj0 = 0 ;
28736 char *kwnames[] = {
28737 (char *) "self", NULL
28738 };
28739
28740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
15afbcd0
RD
28741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28743 {
28744 PyThreadState* __tstate = wxPyBeginAllowThreads();
28745 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28746
28747 wxPyEndAllowThreads(__tstate);
28748 if (PyErr_Occurred()) SWIG_fail;
28749 }
28750 {
28751#if wxUSE_UNICODE
28752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28753#else
28754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28755#endif
28756 }
28757 return resultobj;
28758 fail:
28759 return NULL;
28760}
28761
28762
c32bde28 28763static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28764 PyObject *resultobj;
28765 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28766 wxString *arg2 = 0 ;
ae8162c8 28767 bool temp2 = false ;
d14a1e28
RD
28768 PyObject * obj0 = 0 ;
28769 PyObject * obj1 = 0 ;
28770 char *kwnames[] = {
28771 (char *) "self",(char *) "path", NULL
28772 };
28773
28774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28777 {
28778 arg2 = wxString_in_helper(obj1);
28779 if (arg2 == NULL) SWIG_fail;
ae8162c8 28780 temp2 = true;
d14a1e28
RD
28781 }
28782 {
28783 PyThreadState* __tstate = wxPyBeginAllowThreads();
28784 (arg1)->SetPath((wxString const &)*arg2);
28785
28786 wxPyEndAllowThreads(__tstate);
28787 if (PyErr_Occurred()) SWIG_fail;
28788 }
28789 Py_INCREF(Py_None); resultobj = Py_None;
28790 {
28791 if (temp2)
28792 delete arg2;
28793 }
28794 return resultobj;
28795 fail:
28796 {
28797 if (temp2)
28798 delete arg2;
28799 }
28800 return NULL;
28801}
28802
28803
c32bde28 28804static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28805 PyObject *resultobj;
28806 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28807 bool arg2 ;
28808 PyObject * obj0 = 0 ;
28809 PyObject * obj1 = 0 ;
28810 char *kwnames[] = {
28811 (char *) "self",(char *) "show", NULL
28812 };
28813
28814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28817 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 28818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28819 {
28820 PyThreadState* __tstate = wxPyBeginAllowThreads();
28821 (arg1)->ShowHidden(arg2);
28822
28823 wxPyEndAllowThreads(__tstate);
28824 if (PyErr_Occurred()) SWIG_fail;
28825 }
28826 Py_INCREF(Py_None); resultobj = Py_None;
28827 return resultobj;
28828 fail:
28829 return NULL;
28830}
28831
28832
c32bde28 28833static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28834 PyObject *resultobj;
28835 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28836 bool result;
28837 PyObject * obj0 = 0 ;
28838 char *kwnames[] = {
28839 (char *) "self", NULL
28840 };
28841
28842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
15afbcd0
RD
28843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28845 {
28846 PyThreadState* __tstate = wxPyBeginAllowThreads();
28847 result = (bool)(arg1)->GetShowHidden();
28848
28849 wxPyEndAllowThreads(__tstate);
28850 if (PyErr_Occurred()) SWIG_fail;
28851 }
4f89f6a3
RD
28852 {
28853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28854 }
d14a1e28
RD
28855 return resultobj;
28856 fail:
28857 return NULL;
28858}
28859
28860
c32bde28 28861static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28862 PyObject *resultobj;
28863 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28864 wxString result;
28865 PyObject * obj0 = 0 ;
28866 char *kwnames[] = {
28867 (char *) "self", NULL
28868 };
28869
28870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
15afbcd0
RD
28871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28873 {
28874 PyThreadState* __tstate = wxPyBeginAllowThreads();
28875 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28876
28877 wxPyEndAllowThreads(__tstate);
28878 if (PyErr_Occurred()) SWIG_fail;
28879 }
28880 {
28881#if wxUSE_UNICODE
28882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28883#else
28884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28885#endif
28886 }
28887 return resultobj;
28888 fail:
28889 return NULL;
28890}
28891
28892
c32bde28 28893static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28894 PyObject *resultobj;
28895 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28896 wxString *arg2 = 0 ;
ae8162c8 28897 bool temp2 = false ;
d14a1e28
RD
28898 PyObject * obj0 = 0 ;
28899 PyObject * obj1 = 0 ;
28900 char *kwnames[] = {
28901 (char *) "self",(char *) "filter", NULL
28902 };
28903
28904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28907 {
28908 arg2 = wxString_in_helper(obj1);
28909 if (arg2 == NULL) SWIG_fail;
ae8162c8 28910 temp2 = true;
d14a1e28
RD
28911 }
28912 {
28913 PyThreadState* __tstate = wxPyBeginAllowThreads();
28914 (arg1)->SetFilter((wxString const &)*arg2);
28915
28916 wxPyEndAllowThreads(__tstate);
28917 if (PyErr_Occurred()) SWIG_fail;
28918 }
28919 Py_INCREF(Py_None); resultobj = Py_None;
28920 {
28921 if (temp2)
28922 delete arg2;
28923 }
28924 return resultobj;
28925 fail:
28926 {
28927 if (temp2)
28928 delete arg2;
28929 }
28930 return NULL;
28931}
28932
28933
c32bde28 28934static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28935 PyObject *resultobj;
28936 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28937 int result;
28938 PyObject * obj0 = 0 ;
28939 char *kwnames[] = {
28940 (char *) "self", NULL
28941 };
28942
28943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
28944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28946 {
28947 PyThreadState* __tstate = wxPyBeginAllowThreads();
28948 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28949
28950 wxPyEndAllowThreads(__tstate);
28951 if (PyErr_Occurred()) SWIG_fail;
28952 }
c32bde28 28953 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
28954 return resultobj;
28955 fail:
28956 return NULL;
28957}
28958
28959
c32bde28 28960static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28961 PyObject *resultobj;
28962 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28963 int arg2 ;
28964 PyObject * obj0 = 0 ;
994141e6 28965 PyObject * obj1 = 0 ;
d14a1e28
RD
28966 char *kwnames[] = {
28967 (char *) "self",(char *) "n", NULL
28968 };
28969
994141e6 28970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28973 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28974 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28975 {
28976 PyThreadState* __tstate = wxPyBeginAllowThreads();
28977 (arg1)->SetFilterIndex(arg2);
28978
28979 wxPyEndAllowThreads(__tstate);
28980 if (PyErr_Occurred()) SWIG_fail;
28981 }
28982 Py_INCREF(Py_None); resultobj = Py_None;
28983 return resultobj;
28984 fail:
28985 return NULL;
28986}
28987
28988
c32bde28 28989static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28990 PyObject *resultobj;
28991 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28992 wxTreeItemId result;
28993 PyObject * obj0 = 0 ;
28994 char *kwnames[] = {
28995 (char *) "self", NULL
28996 };
28997
28998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
15afbcd0
RD
28999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29001 {
29002 PyThreadState* __tstate = wxPyBeginAllowThreads();
29003 result = (arg1)->GetRootId();
29004
29005 wxPyEndAllowThreads(__tstate);
29006 if (PyErr_Occurred()) SWIG_fail;
29007 }
29008 {
29009 wxTreeItemId * resultptr;
29010 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 29011 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29012 }
29013 return resultobj;
29014 fail:
29015 return NULL;
29016}
29017
29018
c32bde28 29019static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29020 PyObject *resultobj;
29021 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 29022 wxPyTreeCtrl *result;
d14a1e28
RD
29023 PyObject * obj0 = 0 ;
29024 char *kwnames[] = {
29025 (char *) "self", NULL
29026 };
29027
29028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
29029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29031 {
29032 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 29033 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
29034
29035 wxPyEndAllowThreads(__tstate);
29036 if (PyErr_Occurred()) SWIG_fail;
29037 }
29038 {
412d302d 29039 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29040 }
29041 return resultobj;
29042 fail:
29043 return NULL;
29044}
29045
29046
c32bde28 29047static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29048 PyObject *resultobj;
29049 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29050 wxDirFilterListCtrl *result;
29051 PyObject * obj0 = 0 ;
29052 char *kwnames[] = {
29053 (char *) "self", NULL
29054 };
29055
29056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
29057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29059 {
29060 PyThreadState* __tstate = wxPyBeginAllowThreads();
29061 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
29062
29063 wxPyEndAllowThreads(__tstate);
29064 if (PyErr_Occurred()) SWIG_fail;
29065 }
15afbcd0 29066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
29067 return resultobj;
29068 fail:
29069 return NULL;
29070}
29071
29072
c32bde28 29073static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29074 PyObject *resultobj;
29075 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29076 wxTreeItemId arg2 ;
29077 wxString *arg3 = 0 ;
29078 bool *arg4 = 0 ;
29079 wxTreeItemId result;
29080 wxTreeItemId *argp2 ;
ae8162c8 29081 bool temp3 = false ;
d14a1e28 29082 bool temp4 ;
c32bde28 29083 int res4 = 0 ;
d14a1e28
RD
29084 PyObject * obj0 = 0 ;
29085 PyObject * obj1 = 0 ;
29086 PyObject * obj2 = 0 ;
29087 char *kwnames[] = {
29088 (char *) "self",(char *) "parentId",(char *) "path", NULL
29089 };
29090
c32bde28 29091 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 29092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29095 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
29096 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29097 arg2 = *argp2;
d14a1e28
RD
29098 {
29099 arg3 = wxString_in_helper(obj2);
29100 if (arg3 == NULL) SWIG_fail;
ae8162c8 29101 temp3 = true;
d14a1e28
RD
29102 }
29103 {
29104 PyThreadState* __tstate = wxPyBeginAllowThreads();
29105 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
29106
29107 wxPyEndAllowThreads(__tstate);
29108 if (PyErr_Occurred()) SWIG_fail;
29109 }
29110 {
29111 wxTreeItemId * resultptr;
29112 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 29113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 29114 }
c32bde28
RD
29115 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29116 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d14a1e28
RD
29117 {
29118 if (temp3)
29119 delete arg3;
29120 }
29121 return resultobj;
29122 fail:
29123 {
29124 if (temp3)
29125 delete arg3;
29126 }
29127 return NULL;
29128}
29129
29130
c32bde28 29131static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29132 PyObject *resultobj;
29133 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29134 PyObject * obj0 = 0 ;
29135 char *kwnames[] = {
29136 (char *) "self", NULL
29137 };
29138
29139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29142 {
29143 PyThreadState* __tstate = wxPyBeginAllowThreads();
29144 (arg1)->DoResize();
29145
29146 wxPyEndAllowThreads(__tstate);
29147 if (PyErr_Occurred()) SWIG_fail;
29148 }
29149 Py_INCREF(Py_None); resultobj = Py_None;
29150 return resultobj;
29151 fail:
29152 return NULL;
29153}
29154
29155
c32bde28 29156static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29157 PyObject *resultobj;
29158 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29159 PyObject * obj0 = 0 ;
29160 char *kwnames[] = {
29161 (char *) "self", NULL
29162 };
29163
29164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
15afbcd0
RD
29165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29167 {
29168 PyThreadState* __tstate = wxPyBeginAllowThreads();
29169 (arg1)->ReCreateTree();
29170
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 Py_INCREF(Py_None); resultobj = Py_None;
29175 return resultobj;
29176 fail:
29177 return NULL;
29178}
29179
29180
c32bde28 29181static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29182 PyObject *obj;
29183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29184 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
29185 Py_INCREF(obj);
29186 return Py_BuildValue((char *)"");
29187}
c32bde28 29188static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29189 PyObject *resultobj;
29190 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 29191 int arg2 = (int) (int)-1 ;
d14a1e28
RD
29192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29194 wxSize const &arg4_defvalue = wxDefaultSize ;
29195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29196 long arg5 = (long) 0 ;
29197 wxDirFilterListCtrl *result;
29198 wxPoint temp3 ;
29199 wxSize temp4 ;
29200 PyObject * obj0 = 0 ;
994141e6 29201 PyObject * obj1 = 0 ;
d14a1e28
RD
29202 PyObject * obj2 = 0 ;
29203 PyObject * obj3 = 0 ;
994141e6 29204 PyObject * obj4 = 0 ;
d14a1e28
RD
29205 char *kwnames[] = {
29206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29207 };
29208
994141e6 29209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 29212 if (obj1) {
c32bde28 29213 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29214 if (PyErr_Occurred()) SWIG_fail;
994141e6 29215 }
d14a1e28
RD
29216 if (obj2) {
29217 {
29218 arg3 = &temp3;
29219 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29220 }
29221 }
29222 if (obj3) {
29223 {
29224 arg4 = &temp4;
29225 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29226 }
29227 }
994141e6 29228 if (obj4) {
c32bde28 29229 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 29230 if (PyErr_Occurred()) SWIG_fail;
994141e6 29231 }
d14a1e28 29232 {
e3b71cb8 29233 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29234 PyThreadState* __tstate = wxPyBeginAllowThreads();
29235 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29236
29237 wxPyEndAllowThreads(__tstate);
110da5b0 29238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 29239 }
15afbcd0 29240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
29241 return resultobj;
29242 fail:
29243 return NULL;
29244}
29245
29246
c32bde28 29247static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29248 PyObject *resultobj;
29249 wxDirFilterListCtrl *result;
29250 char *kwnames[] = {
29251 NULL
29252 };
29253
29254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
29255 {
e3b71cb8 29256 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29257 PyThreadState* __tstate = wxPyBeginAllowThreads();
29258 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
29259
29260 wxPyEndAllowThreads(__tstate);
110da5b0 29261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 29262 }
15afbcd0 29263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
29264 return resultobj;
29265 fail:
29266 return NULL;
29267}
29268
29269
c32bde28 29270static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29271 PyObject *resultobj;
29272 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29273 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 29274 int arg3 = (int) (int)-1 ;
d14a1e28
RD
29275 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29276 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29277 wxSize const &arg5_defvalue = wxDefaultSize ;
29278 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29279 long arg6 = (long) 0 ;
29280 bool result;
29281 wxPoint temp4 ;
29282 wxSize temp5 ;
29283 PyObject * obj0 = 0 ;
29284 PyObject * obj1 = 0 ;
994141e6 29285 PyObject * obj2 = 0 ;
d14a1e28
RD
29286 PyObject * obj3 = 0 ;
29287 PyObject * obj4 = 0 ;
994141e6 29288 PyObject * obj5 = 0 ;
d14a1e28
RD
29289 char *kwnames[] = {
29290 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29291 };
29292
994141e6 29293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
29297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 29298 if (obj2) {
c32bde28 29299 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 29300 if (PyErr_Occurred()) SWIG_fail;
994141e6 29301 }
d14a1e28
RD
29302 if (obj3) {
29303 {
29304 arg4 = &temp4;
29305 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29306 }
29307 }
29308 if (obj4) {
29309 {
29310 arg5 = &temp5;
29311 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29312 }
29313 }
994141e6 29314 if (obj5) {
c32bde28 29315 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 29316 if (PyErr_Occurred()) SWIG_fail;
994141e6 29317 }
d14a1e28
RD
29318 {
29319 PyThreadState* __tstate = wxPyBeginAllowThreads();
29320 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
29321
29322 wxPyEndAllowThreads(__tstate);
29323 if (PyErr_Occurred()) SWIG_fail;
29324 }
4f89f6a3
RD
29325 {
29326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29327 }
d14a1e28
RD
29328 return resultobj;
29329 fail:
29330 return NULL;
29331}
29332
29333
c32bde28 29334static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29335 PyObject *resultobj;
29336 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29337 wxString *arg2 = 0 ;
29338 int arg3 ;
ae8162c8 29339 bool temp2 = false ;
d14a1e28
RD
29340 PyObject * obj0 = 0 ;
29341 PyObject * obj1 = 0 ;
994141e6 29342 PyObject * obj2 = 0 ;
d14a1e28
RD
29343 char *kwnames[] = {
29344 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29345 };
29346
994141e6 29347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29350 {
29351 arg2 = wxString_in_helper(obj1);
29352 if (arg2 == NULL) SWIG_fail;
ae8162c8 29353 temp2 = true;
d14a1e28 29354 }
c32bde28 29355 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 29356 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29357 {
29358 PyThreadState* __tstate = wxPyBeginAllowThreads();
29359 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
29360
29361 wxPyEndAllowThreads(__tstate);
29362 if (PyErr_Occurred()) SWIG_fail;
29363 }
29364 Py_INCREF(Py_None); resultobj = Py_None;
29365 {
29366 if (temp2)
29367 delete arg2;
29368 }
29369 return resultobj;
29370 fail:
29371 {
29372 if (temp2)
29373 delete arg2;
29374 }
29375 return NULL;
29376}
29377
29378
c32bde28 29379static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29380 PyObject *obj;
29381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29382 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
29383 Py_INCREF(obj);
29384 return Py_BuildValue((char *)"");
29385}
c32bde28 29386static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29387 PyObject *resultobj;
29388 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 29389 int arg2 = (int) (int)-1 ;
d14a1e28
RD
29390 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29391 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29392 wxSize const &arg4_defvalue = wxDefaultSize ;
29393 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29394 long arg5 = (long) 0 ;
29395 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29396 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29397 wxString const &arg7_defvalue = wxPyControlNameStr ;
29398 wxString *arg7 = (wxString *) &arg7_defvalue ;
29399 wxPyControl *result;
29400 wxPoint temp3 ;
29401 wxSize temp4 ;
ae8162c8 29402 bool temp7 = false ;
d14a1e28 29403 PyObject * obj0 = 0 ;
994141e6 29404 PyObject * obj1 = 0 ;
d14a1e28
RD
29405 PyObject * obj2 = 0 ;
29406 PyObject * obj3 = 0 ;
994141e6 29407 PyObject * obj4 = 0 ;
d14a1e28
RD
29408 PyObject * obj5 = 0 ;
29409 PyObject * obj6 = 0 ;
29410 char *kwnames[] = {
29411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29412 };
29413
248ed943 29414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
29415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 29417 if (obj1) {
c32bde28 29418 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
29419 if (PyErr_Occurred()) SWIG_fail;
29420 }
d14a1e28
RD
29421 if (obj2) {
29422 {
29423 arg3 = &temp3;
29424 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29425 }
29426 }
29427 if (obj3) {
29428 {
29429 arg4 = &temp4;
29430 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29431 }
29432 }
994141e6 29433 if (obj4) {
c32bde28 29434 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 29435 if (PyErr_Occurred()) SWIG_fail;
994141e6 29436 }
d14a1e28 29437 if (obj5) {
15afbcd0
RD
29438 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29439 SWIG_POINTER_EXCEPTION | 0)) == -1)
29440 SWIG_fail;
d14a1e28 29441 if (arg6 == NULL) {
15afbcd0
RD
29442 PyErr_SetString(PyExc_TypeError,"null reference");
29443 SWIG_fail;
d14a1e28
RD
29444 }
29445 }
29446 if (obj6) {
29447 {
29448 arg7 = wxString_in_helper(obj6);
29449 if (arg7 == NULL) SWIG_fail;
ae8162c8 29450 temp7 = true;
d14a1e28
RD
29451 }
29452 }
29453 {
e3b71cb8 29454 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29455 PyThreadState* __tstate = wxPyBeginAllowThreads();
29456 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29457
29458 wxPyEndAllowThreads(__tstate);
110da5b0 29459 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 29460 }
15afbcd0 29461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
29462 {
29463 if (temp7)
29464 delete arg7;
29465 }
29466 return resultobj;
29467 fail:
29468 {
29469 if (temp7)
29470 delete arg7;
29471 }
29472 return NULL;
29473}
29474
29475
c32bde28 29476static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
29477 PyObject *resultobj;
29478 wxPyControl *result;
29479 char *kwnames[] = {
29480 NULL
29481 };
29482
29483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29484 {
e3b71cb8 29485 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
29486 PyThreadState* __tstate = wxPyBeginAllowThreads();
29487 result = (wxPyControl *)new wxPyControl();
29488
29489 wxPyEndAllowThreads(__tstate);
110da5b0 29490 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
29491 }
29492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29493 return resultobj;
29494 fail:
29495 return NULL;
29496}
29497
29498
c32bde28 29499static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29500 PyObject *resultobj;
29501 wxPyControl *arg1 = (wxPyControl *) 0 ;
29502 PyObject *arg2 = (PyObject *) 0 ;
29503 PyObject *arg3 = (PyObject *) 0 ;
29504 PyObject * obj0 = 0 ;
29505 PyObject * obj1 = 0 ;
29506 PyObject * obj2 = 0 ;
29507 char *kwnames[] = {
29508 (char *) "self",(char *) "self",(char *) "_class", NULL
29509 };
29510
29511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29514 arg2 = obj1;
29515 arg3 = obj2;
29516 {
29517 PyThreadState* __tstate = wxPyBeginAllowThreads();
29518 (arg1)->_setCallbackInfo(arg2,arg3);
29519
29520 wxPyEndAllowThreads(__tstate);
29521 if (PyErr_Occurred()) SWIG_fail;
29522 }
29523 Py_INCREF(Py_None); resultobj = Py_None;
29524 return resultobj;
29525 fail:
29526 return NULL;
29527}
29528
29529
c32bde28 29530static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
29531 PyObject *resultobj;
29532 wxPyControl *arg1 = (wxPyControl *) 0 ;
29533 wxSize *arg2 = 0 ;
29534 wxSize temp2 ;
29535 PyObject * obj0 = 0 ;
29536 PyObject * obj1 = 0 ;
29537 char *kwnames[] = {
29538 (char *) "self",(char *) "size", NULL
29539 };
29540
29541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29544 {
29545 arg2 = &temp2;
29546 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29547 }
29548 {
29549 PyThreadState* __tstate = wxPyBeginAllowThreads();
29550 (arg1)->SetBestSize((wxSize const &)*arg2);
29551
29552 wxPyEndAllowThreads(__tstate);
29553 if (PyErr_Occurred()) SWIG_fail;
29554 }
29555 Py_INCREF(Py_None); resultobj = Py_None;
29556 return resultobj;
29557 fail:
29558 return NULL;
29559}
29560
29561
c32bde28 29562static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29563 PyObject *resultobj;
29564 wxPyControl *arg1 = (wxPyControl *) 0 ;
29565 int arg2 ;
29566 int arg3 ;
29567 int arg4 ;
29568 int arg5 ;
29569 PyObject * obj0 = 0 ;
994141e6
RD
29570 PyObject * obj1 = 0 ;
29571 PyObject * obj2 = 0 ;
29572 PyObject * obj3 = 0 ;
29573 PyObject * obj4 = 0 ;
d14a1e28
RD
29574 char *kwnames[] = {
29575 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29576 };
29577
994141e6 29578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29581 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29582 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29583 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 29584 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29585 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 29586 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29587 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 29588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29589 {
29590 PyThreadState* __tstate = wxPyBeginAllowThreads();
29591 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29592
29593 wxPyEndAllowThreads(__tstate);
29594 if (PyErr_Occurred()) SWIG_fail;
29595 }
29596 Py_INCREF(Py_None); resultobj = Py_None;
29597 return resultobj;
29598 fail:
29599 return NULL;
29600}
29601
29602
c32bde28 29603static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29604 PyObject *resultobj;
29605 wxPyControl *arg1 = (wxPyControl *) 0 ;
29606 int arg2 ;
29607 int arg3 ;
29608 int arg4 ;
29609 int arg5 ;
29610 int arg6 = (int) wxSIZE_AUTO ;
29611 PyObject * obj0 = 0 ;
994141e6
RD
29612 PyObject * obj1 = 0 ;
29613 PyObject * obj2 = 0 ;
29614 PyObject * obj3 = 0 ;
29615 PyObject * obj4 = 0 ;
29616 PyObject * obj5 = 0 ;
d14a1e28
RD
29617 char *kwnames[] = {
29618 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29619 };
29620
994141e6 29621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29624 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29625 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29626 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 29627 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29628 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 29629 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29630 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 29631 if (PyErr_Occurred()) SWIG_fail;
994141e6 29632 if (obj5) {
c32bde28 29633 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 29634 if (PyErr_Occurred()) SWIG_fail;
994141e6 29635 }
d14a1e28
RD
29636 {
29637 PyThreadState* __tstate = wxPyBeginAllowThreads();
29638 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29639
29640 wxPyEndAllowThreads(__tstate);
29641 if (PyErr_Occurred()) SWIG_fail;
29642 }
29643 Py_INCREF(Py_None); resultobj = Py_None;
29644 return resultobj;
29645 fail:
29646 return NULL;
29647}
29648
29649
c32bde28 29650static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29651 PyObject *resultobj;
29652 wxPyControl *arg1 = (wxPyControl *) 0 ;
29653 int arg2 ;
29654 int arg3 ;
29655 PyObject * obj0 = 0 ;
994141e6
RD
29656 PyObject * obj1 = 0 ;
29657 PyObject * obj2 = 0 ;
d14a1e28
RD
29658 char *kwnames[] = {
29659 (char *) "self",(char *) "width",(char *) "height", NULL
29660 };
29661
994141e6 29662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29665 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29666 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29667 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 29668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29669 {
29670 PyThreadState* __tstate = wxPyBeginAllowThreads();
29671 (arg1)->base_DoSetClientSize(arg2,arg3);
29672
29673 wxPyEndAllowThreads(__tstate);
29674 if (PyErr_Occurred()) SWIG_fail;
29675 }
29676 Py_INCREF(Py_None); resultobj = Py_None;
29677 return resultobj;
29678 fail:
29679 return NULL;
29680}
29681
29682
c32bde28 29683static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29684 PyObject *resultobj;
29685 wxPyControl *arg1 = (wxPyControl *) 0 ;
29686 int arg2 ;
29687 int arg3 ;
29688 PyObject * obj0 = 0 ;
994141e6
RD
29689 PyObject * obj1 = 0 ;
29690 PyObject * obj2 = 0 ;
d14a1e28
RD
29691 char *kwnames[] = {
29692 (char *) "self",(char *) "x",(char *) "y", NULL
29693 };
29694
994141e6 29695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29698 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29699 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29700 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 29701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29702 {
29703 PyThreadState* __tstate = wxPyBeginAllowThreads();
29704 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29705
29706 wxPyEndAllowThreads(__tstate);
29707 if (PyErr_Occurred()) SWIG_fail;
29708 }
29709 Py_INCREF(Py_None); resultobj = Py_None;
29710 return resultobj;
29711 fail:
29712 return NULL;
29713}
29714
29715
c32bde28 29716static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29717 PyObject *resultobj;
29718 wxPyControl *arg1 = (wxPyControl *) 0 ;
29719 int *arg2 = (int *) 0 ;
29720 int *arg3 = (int *) 0 ;
29721 int temp2 ;
c32bde28 29722 int res2 = 0 ;
d14a1e28 29723 int temp3 ;
c32bde28 29724 int res3 = 0 ;
d14a1e28
RD
29725 PyObject * obj0 = 0 ;
29726 char *kwnames[] = {
29727 (char *) "self", NULL
29728 };
29729
c32bde28
RD
29730 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29731 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 29732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29735 {
29736 PyThreadState* __tstate = wxPyBeginAllowThreads();
29737 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29738
29739 wxPyEndAllowThreads(__tstate);
29740 if (PyErr_Occurred()) SWIG_fail;
29741 }
29742 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
29743 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29744 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29745 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29746 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
29747 return resultobj;
29748 fail:
29749 return NULL;
29750}
29751
29752
c32bde28 29753static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29754 PyObject *resultobj;
29755 wxPyControl *arg1 = (wxPyControl *) 0 ;
29756 int *arg2 = (int *) 0 ;
29757 int *arg3 = (int *) 0 ;
29758 int temp2 ;
c32bde28 29759 int res2 = 0 ;
d14a1e28 29760 int temp3 ;
c32bde28 29761 int res3 = 0 ;
d14a1e28
RD
29762 PyObject * obj0 = 0 ;
29763 char *kwnames[] = {
29764 (char *) "self", NULL
29765 };
29766
c32bde28
RD
29767 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29768 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 29769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29772 {
29773 PyThreadState* __tstate = wxPyBeginAllowThreads();
29774 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29775
29776 wxPyEndAllowThreads(__tstate);
29777 if (PyErr_Occurred()) SWIG_fail;
29778 }
29779 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
29780 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29781 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29782 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29783 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
29784 return resultobj;
29785 fail:
29786 return NULL;
29787}
29788
29789
c32bde28 29790static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29791 PyObject *resultobj;
29792 wxPyControl *arg1 = (wxPyControl *) 0 ;
29793 int *arg2 = (int *) 0 ;
29794 int *arg3 = (int *) 0 ;
29795 int temp2 ;
c32bde28 29796 int res2 = 0 ;
d14a1e28 29797 int temp3 ;
c32bde28 29798 int res3 = 0 ;
d14a1e28
RD
29799 PyObject * obj0 = 0 ;
29800 char *kwnames[] = {
29801 (char *) "self", NULL
29802 };
29803
c32bde28
RD
29804 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29805 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 29806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
29807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29809 {
29810 PyThreadState* __tstate = wxPyBeginAllowThreads();
29811 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29812
29813 wxPyEndAllowThreads(__tstate);
29814 if (PyErr_Occurred()) SWIG_fail;
29815 }
29816 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
29817 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29818 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29819 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29820 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
29821 return resultobj;
29822 fail:
29823 return NULL;
29824}
29825
29826
c32bde28 29827static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29828 PyObject *resultobj;
29829 wxPyControl *arg1 = (wxPyControl *) 0 ;
29830 wxSize result;
29831 PyObject * obj0 = 0 ;
29832 char *kwnames[] = {
29833 (char *) "self", NULL
29834 };
29835
29836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29839 {
29840 PyThreadState* __tstate = wxPyBeginAllowThreads();
29841 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29842
29843 wxPyEndAllowThreads(__tstate);
29844 if (PyErr_Occurred()) SWIG_fail;
29845 }
29846 {
29847 wxSize * resultptr;
29848 resultptr = new wxSize((wxSize &) result);
15afbcd0 29849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29850 }
29851 return resultobj;
29852 fail:
29853 return NULL;
29854}
29855
29856
c32bde28 29857static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29858 PyObject *resultobj;
29859 wxPyControl *arg1 = (wxPyControl *) 0 ;
29860 wxSize result;
29861 PyObject * obj0 = 0 ;
29862 char *kwnames[] = {
29863 (char *) "self", NULL
29864 };
29865
29866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29869 {
29870 PyThreadState* __tstate = wxPyBeginAllowThreads();
29871 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29872
29873 wxPyEndAllowThreads(__tstate);
29874 if (PyErr_Occurred()) SWIG_fail;
29875 }
29876 {
29877 wxSize * resultptr;
29878 resultptr = new wxSize((wxSize &) result);
15afbcd0 29879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29880 }
29881 return resultobj;
29882 fail:
29883 return NULL;
29884}
29885
29886
c32bde28 29887static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29888 PyObject *resultobj;
29889 wxPyControl *arg1 = (wxPyControl *) 0 ;
29890 PyObject * obj0 = 0 ;
29891 char *kwnames[] = {
29892 (char *) "self", NULL
29893 };
29894
29895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
29896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29898 {
29899 PyThreadState* __tstate = wxPyBeginAllowThreads();
29900 (arg1)->base_InitDialog();
29901
29902 wxPyEndAllowThreads(__tstate);
29903 if (PyErr_Occurred()) SWIG_fail;
29904 }
29905 Py_INCREF(Py_None); resultobj = Py_None;
29906 return resultobj;
29907 fail:
29908 return NULL;
29909}
29910
29911
c32bde28 29912static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29913 PyObject *resultobj;
29914 wxPyControl *arg1 = (wxPyControl *) 0 ;
29915 bool result;
29916 PyObject * obj0 = 0 ;
29917 char *kwnames[] = {
29918 (char *) "self", NULL
29919 };
29920
29921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29924 {
29925 PyThreadState* __tstate = wxPyBeginAllowThreads();
29926 result = (bool)(arg1)->base_TransferDataToWindow();
29927
29928 wxPyEndAllowThreads(__tstate);
29929 if (PyErr_Occurred()) SWIG_fail;
29930 }
4f89f6a3
RD
29931 {
29932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29933 }
d14a1e28
RD
29934 return resultobj;
29935 fail:
29936 return NULL;
29937}
29938
29939
c32bde28 29940static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29941 PyObject *resultobj;
29942 wxPyControl *arg1 = (wxPyControl *) 0 ;
29943 bool result;
29944 PyObject * obj0 = 0 ;
29945 char *kwnames[] = {
29946 (char *) "self", NULL
29947 };
29948
29949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29952 {
29953 PyThreadState* __tstate = wxPyBeginAllowThreads();
29954 result = (bool)(arg1)->base_TransferDataFromWindow();
29955
29956 wxPyEndAllowThreads(__tstate);
29957 if (PyErr_Occurred()) SWIG_fail;
29958 }
4f89f6a3
RD
29959 {
29960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29961 }
d14a1e28
RD
29962 return resultobj;
29963 fail:
29964 return NULL;
29965}
29966
29967
c32bde28 29968static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29969 PyObject *resultobj;
29970 wxPyControl *arg1 = (wxPyControl *) 0 ;
29971 bool result;
29972 PyObject * obj0 = 0 ;
29973 char *kwnames[] = {
29974 (char *) "self", NULL
29975 };
29976
29977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
29978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29980 {
29981 PyThreadState* __tstate = wxPyBeginAllowThreads();
29982 result = (bool)(arg1)->base_Validate();
29983
29984 wxPyEndAllowThreads(__tstate);
29985 if (PyErr_Occurred()) SWIG_fail;
29986 }
4f89f6a3
RD
29987 {
29988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29989 }
d14a1e28
RD
29990 return resultobj;
29991 fail:
29992 return NULL;
29993}
29994
29995
c32bde28 29996static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29997 PyObject *resultobj;
29998 wxPyControl *arg1 = (wxPyControl *) 0 ;
29999 bool result;
30000 PyObject * obj0 = 0 ;
30001 char *kwnames[] = {
30002 (char *) "self", NULL
30003 };
30004
30005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
30006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30008 {
30009 PyThreadState* __tstate = wxPyBeginAllowThreads();
30010 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
30011
30012 wxPyEndAllowThreads(__tstate);
30013 if (PyErr_Occurred()) SWIG_fail;
30014 }
4f89f6a3
RD
30015 {
30016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30017 }
d14a1e28
RD
30018 return resultobj;
30019 fail:
30020 return NULL;
30021}
30022
30023
c32bde28 30024static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30025 PyObject *resultobj;
30026 wxPyControl *arg1 = (wxPyControl *) 0 ;
30027 bool result;
30028 PyObject * obj0 = 0 ;
30029 char *kwnames[] = {
30030 (char *) "self", NULL
30031 };
30032
30033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
30034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30036 {
30037 PyThreadState* __tstate = wxPyBeginAllowThreads();
30038 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
30039
30040 wxPyEndAllowThreads(__tstate);
30041 if (PyErr_Occurred()) SWIG_fail;
30042 }
4f89f6a3
RD
30043 {
30044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30045 }
d14a1e28
RD
30046 return resultobj;
30047 fail:
30048 return NULL;
30049}
30050
30051
c32bde28 30052static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30053 PyObject *resultobj;
30054 wxPyControl *arg1 = (wxPyControl *) 0 ;
30055 wxSize result;
30056 PyObject * obj0 = 0 ;
30057 char *kwnames[] = {
30058 (char *) "self", NULL
30059 };
30060
30061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
30062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30064 {
30065 PyThreadState* __tstate = wxPyBeginAllowThreads();
30066 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
30067
30068 wxPyEndAllowThreads(__tstate);
30069 if (PyErr_Occurred()) SWIG_fail;
30070 }
30071 {
30072 wxSize * resultptr;
30073 resultptr = new wxSize((wxSize &) result);
15afbcd0 30074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
30075 }
30076 return resultobj;
30077 fail:
30078 return NULL;
30079}
30080
30081
c32bde28 30082static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30083 PyObject *resultobj;
30084 wxPyControl *arg1 = (wxPyControl *) 0 ;
30085 wxWindow *arg2 = (wxWindow *) 0 ;
30086 PyObject * obj0 = 0 ;
30087 PyObject * obj1 = 0 ;
30088 char *kwnames[] = {
30089 (char *) "self",(char *) "child", NULL
30090 };
30091
30092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30097 {
30098 PyThreadState* __tstate = wxPyBeginAllowThreads();
30099 (arg1)->base_AddChild(arg2);
30100
30101 wxPyEndAllowThreads(__tstate);
30102 if (PyErr_Occurred()) SWIG_fail;
30103 }
30104 Py_INCREF(Py_None); resultobj = Py_None;
30105 return resultobj;
30106 fail:
30107 return NULL;
30108}
30109
30110
c32bde28 30111static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30112 PyObject *resultobj;
30113 wxPyControl *arg1 = (wxPyControl *) 0 ;
30114 wxWindow *arg2 = (wxWindow *) 0 ;
30115 PyObject * obj0 = 0 ;
30116 PyObject * obj1 = 0 ;
30117 char *kwnames[] = {
30118 (char *) "self",(char *) "child", NULL
30119 };
30120
30121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30126 {
30127 PyThreadState* __tstate = wxPyBeginAllowThreads();
30128 (arg1)->base_RemoveChild(arg2);
30129
30130 wxPyEndAllowThreads(__tstate);
30131 if (PyErr_Occurred()) SWIG_fail;
30132 }
30133 Py_INCREF(Py_None); resultobj = Py_None;
30134 return resultobj;
30135 fail:
30136 return NULL;
30137}
30138
30139
c32bde28 30140static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
30141 PyObject *resultobj;
30142 wxPyControl *arg1 = (wxPyControl *) 0 ;
30143 bool result;
30144 PyObject * obj0 = 0 ;
30145 char *kwnames[] = {
30146 (char *) "self", NULL
30147 };
30148
30149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
30150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30152 {
30153 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 30154 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
30155
30156 wxPyEndAllowThreads(__tstate);
30157 if (PyErr_Occurred()) SWIG_fail;
30158 }
30159 {
30160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30161 }
30162 return resultobj;
30163 fail:
30164 return NULL;
30165}
30166
30167
c32bde28 30168static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
30169 PyObject *resultobj;
30170 wxPyControl *arg1 = (wxPyControl *) 0 ;
30171 wxColour *arg2 = 0 ;
30172 wxColour temp2 ;
30173 PyObject * obj0 = 0 ;
30174 PyObject * obj1 = 0 ;
30175 char *kwnames[] = {
30176 (char *) "self",(char *) "c", NULL
30177 };
30178
30179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
30180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30182 {
30183 arg2 = &temp2;
30184 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30185 }
30186 {
30187 PyThreadState* __tstate = wxPyBeginAllowThreads();
30188 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
30189
30190 wxPyEndAllowThreads(__tstate);
30191 if (PyErr_Occurred()) SWIG_fail;
30192 }
30193 Py_INCREF(Py_None); resultobj = Py_None;
30194 return resultobj;
30195 fail:
30196 return NULL;
30197}
30198
30199
c32bde28 30200static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
30201 PyObject *resultobj;
30202 wxPyControl *arg1 = (wxPyControl *) 0 ;
30203 wxVisualAttributes result;
30204 PyObject * obj0 = 0 ;
30205 char *kwnames[] = {
30206 (char *) "self", NULL
30207 };
30208
30209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
30210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30212 {
30213 PyThreadState* __tstate = wxPyBeginAllowThreads();
30214 result = (arg1)->base_GetDefaultAttributes();
30215
30216 wxPyEndAllowThreads(__tstate);
30217 if (PyErr_Occurred()) SWIG_fail;
30218 }
30219 {
30220 wxVisualAttributes * resultptr;
30221 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
30222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30223 }
30224 return resultobj;
30225 fail:
30226 return NULL;
30227}
30228
30229
c32bde28 30230static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30231 PyObject *obj;
30232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30233 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
30234 Py_INCREF(obj);
30235 return Py_BuildValue((char *)"");
30236}
c32bde28 30237static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30238 PyObject *resultobj;
30239 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 30240 int arg2 = (int) 0 ;
d14a1e28
RD
30241 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30242 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30243 wxHelpEvent *result;
30244 wxPoint temp3 ;
994141e6
RD
30245 PyObject * obj0 = 0 ;
30246 PyObject * obj1 = 0 ;
d14a1e28
RD
30247 PyObject * obj2 = 0 ;
30248 char *kwnames[] = {
30249 (char *) "type",(char *) "winid",(char *) "pt", NULL
30250 };
30251
994141e6
RD
30252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30253 if (obj0) {
c32bde28 30254 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 30255 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
30256 }
30257 if (obj1) {
c32bde28 30258 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30259 if (PyErr_Occurred()) SWIG_fail;
994141e6 30260 }
d14a1e28
RD
30261 if (obj2) {
30262 {
30263 arg3 = &temp3;
30264 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30265 }
30266 }
30267 {
30268 PyThreadState* __tstate = wxPyBeginAllowThreads();
30269 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
30270
30271 wxPyEndAllowThreads(__tstate);
30272 if (PyErr_Occurred()) SWIG_fail;
30273 }
15afbcd0 30274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
30275 return resultobj;
30276 fail:
30277 return NULL;
30278}
30279
30280
c32bde28 30281static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30282 PyObject *resultobj;
30283 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
15afbcd0 30284 wxPoint result;
d14a1e28
RD
30285 PyObject * obj0 = 0 ;
30286 char *kwnames[] = {
30287 (char *) "self", NULL
30288 };
30289
30290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
30291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30293 {
30294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15afbcd0 30295 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
30296
30297 wxPyEndAllowThreads(__tstate);
30298 if (PyErr_Occurred()) SWIG_fail;
30299 }
15afbcd0
RD
30300 {
30301 wxPoint * resultptr;
30302 resultptr = new wxPoint((wxPoint &) result);
30303 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30304 }
d14a1e28
RD
30305 return resultobj;
30306 fail:
30307 return NULL;
30308}
30309
30310
c32bde28 30311static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30312 PyObject *resultobj;
30313 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30314 wxPoint *arg2 = 0 ;
30315 wxPoint temp2 ;
30316 PyObject * obj0 = 0 ;
30317 PyObject * obj1 = 0 ;
30318 char *kwnames[] = {
30319 (char *) "self",(char *) "pos", NULL
30320 };
30321
30322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30325 {
30326 arg2 = &temp2;
30327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30328 }
30329 {
30330 PyThreadState* __tstate = wxPyBeginAllowThreads();
30331 (arg1)->SetPosition((wxPoint const &)*arg2);
30332
30333 wxPyEndAllowThreads(__tstate);
30334 if (PyErr_Occurred()) SWIG_fail;
30335 }
30336 Py_INCREF(Py_None); resultobj = Py_None;
30337 return resultobj;
30338 fail:
30339 return NULL;
30340}
30341
30342
c32bde28 30343static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30344 PyObject *resultobj;
30345 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30346 wxString *result;
30347 PyObject * obj0 = 0 ;
30348 char *kwnames[] = {
30349 (char *) "self", NULL
30350 };
30351
30352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
15afbcd0
RD
30353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30355 {
30356 PyThreadState* __tstate = wxPyBeginAllowThreads();
30357 {
30358 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
30359 result = (wxString *) &_result_ref;
30360 }
30361
30362 wxPyEndAllowThreads(__tstate);
30363 if (PyErr_Occurred()) SWIG_fail;
30364 }
cc6dd355
RD
30365 {
30366#if wxUSE_UNICODE
30367 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30368#else
30369 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30370#endif
30371 }
d14a1e28
RD
30372 return resultobj;
30373 fail:
30374 return NULL;
30375}
30376
30377
c32bde28 30378static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30379 PyObject *resultobj;
30380 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30381 wxString *arg2 = 0 ;
ae8162c8 30382 bool temp2 = false ;
d14a1e28
RD
30383 PyObject * obj0 = 0 ;
30384 PyObject * obj1 = 0 ;
30385 char *kwnames[] = {
30386 (char *) "self",(char *) "link", NULL
30387 };
30388
30389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30392 {
30393 arg2 = wxString_in_helper(obj1);
30394 if (arg2 == NULL) SWIG_fail;
ae8162c8 30395 temp2 = true;
d14a1e28
RD
30396 }
30397 {
30398 PyThreadState* __tstate = wxPyBeginAllowThreads();
30399 (arg1)->SetLink((wxString const &)*arg2);
30400
30401 wxPyEndAllowThreads(__tstate);
30402 if (PyErr_Occurred()) SWIG_fail;
30403 }
30404 Py_INCREF(Py_None); resultobj = Py_None;
30405 {
30406 if (temp2)
30407 delete arg2;
30408 }
30409 return resultobj;
30410 fail:
30411 {
30412 if (temp2)
30413 delete arg2;
30414 }
30415 return NULL;
30416}
30417
30418
c32bde28 30419static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30420 PyObject *resultobj;
30421 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30422 wxString *result;
30423 PyObject * obj0 = 0 ;
30424 char *kwnames[] = {
30425 (char *) "self", NULL
30426 };
30427
30428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
30429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30431 {
30432 PyThreadState* __tstate = wxPyBeginAllowThreads();
30433 {
30434 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30435 result = (wxString *) &_result_ref;
30436 }
30437
30438 wxPyEndAllowThreads(__tstate);
30439 if (PyErr_Occurred()) SWIG_fail;
30440 }
cc6dd355
RD
30441 {
30442#if wxUSE_UNICODE
30443 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30444#else
30445 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30446#endif
30447 }
d14a1e28
RD
30448 return resultobj;
30449 fail:
30450 return NULL;
30451}
30452
30453
c32bde28 30454static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30455 PyObject *resultobj;
30456 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30457 wxString *arg2 = 0 ;
ae8162c8 30458 bool temp2 = false ;
d14a1e28
RD
30459 PyObject * obj0 = 0 ;
30460 PyObject * obj1 = 0 ;
30461 char *kwnames[] = {
30462 (char *) "self",(char *) "target", NULL
30463 };
30464
30465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30468 {
30469 arg2 = wxString_in_helper(obj1);
30470 if (arg2 == NULL) SWIG_fail;
ae8162c8 30471 temp2 = true;
d14a1e28
RD
30472 }
30473 {
30474 PyThreadState* __tstate = wxPyBeginAllowThreads();
30475 (arg1)->SetTarget((wxString const &)*arg2);
30476
30477 wxPyEndAllowThreads(__tstate);
30478 if (PyErr_Occurred()) SWIG_fail;
30479 }
30480 Py_INCREF(Py_None); resultobj = Py_None;
30481 {
30482 if (temp2)
30483 delete arg2;
30484 }
30485 return resultobj;
30486 fail:
30487 {
30488 if (temp2)
30489 delete arg2;
30490 }
30491 return NULL;
30492}
30493
30494
c32bde28 30495static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30496 PyObject *obj;
30497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30498 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30499 Py_INCREF(obj);
30500 return Py_BuildValue((char *)"");
30501}
c32bde28 30502static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30503 PyObject *resultobj;
30504 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 30505 bool arg2 = (bool) true ;
d14a1e28
RD
30506 wxContextHelp *result;
30507 PyObject * obj0 = 0 ;
30508 PyObject * obj1 = 0 ;
30509 char *kwnames[] = {
30510 (char *) "window",(char *) "doNow", NULL
30511 };
30512
30513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30514 if (obj0) {
15afbcd0
RD
30515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30517 }
30518 if (obj1) {
c32bde28 30519 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 30520 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30521 }
30522 {
e3b71cb8 30523 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
30524 PyThreadState* __tstate = wxPyBeginAllowThreads();
30525 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30526
30527 wxPyEndAllowThreads(__tstate);
110da5b0 30528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 30529 }
15afbcd0 30530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
30531 return resultobj;
30532 fail:
30533 return NULL;
30534}
30535
30536
c32bde28 30537static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30538 PyObject *resultobj;
30539 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30540 PyObject * obj0 = 0 ;
30541 char *kwnames[] = {
30542 (char *) "self", NULL
30543 };
30544
30545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
30546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30548 {
30549 PyThreadState* __tstate = wxPyBeginAllowThreads();
30550 delete arg1;
30551
30552 wxPyEndAllowThreads(__tstate);
30553 if (PyErr_Occurred()) SWIG_fail;
30554 }
30555 Py_INCREF(Py_None); resultobj = Py_None;
30556 return resultobj;
30557 fail:
30558 return NULL;
30559}
30560
30561
c32bde28 30562static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30563 PyObject *resultobj;
30564 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30565 wxWindow *arg2 = (wxWindow *) NULL ;
30566 bool result;
30567 PyObject * obj0 = 0 ;
30568 PyObject * obj1 = 0 ;
30569 char *kwnames[] = {
30570 (char *) "self",(char *) "window", NULL
30571 };
30572
30573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30576 if (obj1) {
15afbcd0
RD
30577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30579 }
30580 {
30581 PyThreadState* __tstate = wxPyBeginAllowThreads();
30582 result = (bool)(arg1)->BeginContextHelp(arg2);
30583
30584 wxPyEndAllowThreads(__tstate);
30585 if (PyErr_Occurred()) SWIG_fail;
30586 }
4f89f6a3
RD
30587 {
30588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30589 }
d14a1e28
RD
30590 return resultobj;
30591 fail:
30592 return NULL;
30593}
30594
30595
c32bde28 30596static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30597 PyObject *resultobj;
30598 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30599 bool result;
30600 PyObject * obj0 = 0 ;
30601 char *kwnames[] = {
30602 (char *) "self", NULL
30603 };
30604
30605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
30606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30608 {
30609 PyThreadState* __tstate = wxPyBeginAllowThreads();
30610 result = (bool)(arg1)->EndContextHelp();
30611
30612 wxPyEndAllowThreads(__tstate);
30613 if (PyErr_Occurred()) SWIG_fail;
30614 }
4f89f6a3
RD
30615 {
30616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30617 }
d14a1e28
RD
30618 return resultobj;
30619 fail:
30620 return NULL;
30621}
30622
30623
c32bde28 30624static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30625 PyObject *obj;
30626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30627 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30628 Py_INCREF(obj);
30629 return Py_BuildValue((char *)"");
30630}
c32bde28 30631static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30632 PyObject *resultobj;
30633 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 30634 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
30635 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30636 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30637 wxSize const &arg4_defvalue = wxDefaultSize ;
30638 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30639 long arg5 = (long) wxBU_AUTODRAW ;
30640 wxContextHelpButton *result;
30641 wxPoint temp3 ;
30642 wxSize temp4 ;
30643 PyObject * obj0 = 0 ;
994141e6 30644 PyObject * obj1 = 0 ;
d14a1e28
RD
30645 PyObject * obj2 = 0 ;
30646 PyObject * obj3 = 0 ;
994141e6 30647 PyObject * obj4 = 0 ;
d14a1e28
RD
30648 char *kwnames[] = {
30649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30650 };
30651
994141e6 30652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 30655 if (obj1) {
c32bde28 30656 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30657 if (PyErr_Occurred()) SWIG_fail;
994141e6 30658 }
d14a1e28
RD
30659 if (obj2) {
30660 {
30661 arg3 = &temp3;
30662 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30663 }
30664 }
30665 if (obj3) {
30666 {
30667 arg4 = &temp4;
30668 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30669 }
30670 }
994141e6 30671 if (obj4) {
c32bde28 30672 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 30673 if (PyErr_Occurred()) SWIG_fail;
994141e6 30674 }
d14a1e28 30675 {
e3b71cb8 30676 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
30677 PyThreadState* __tstate = wxPyBeginAllowThreads();
30678 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30679
30680 wxPyEndAllowThreads(__tstate);
110da5b0 30681 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 30682 }
15afbcd0 30683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
30684 return resultobj;
30685 fail:
30686 return NULL;
30687}
30688
30689
c32bde28 30690static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30691 PyObject *obj;
30692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30693 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30694 Py_INCREF(obj);
30695 return Py_BuildValue((char *)"");
30696}
c32bde28 30697static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30698 PyObject *resultobj;
30699 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30700 wxHelpProvider *result;
30701 PyObject * obj0 = 0 ;
30702 char *kwnames[] = {
30703 (char *) "helpProvider", NULL
30704 };
30705
30706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
30707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30709 {
30710 PyThreadState* __tstate = wxPyBeginAllowThreads();
30711 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30712
30713 wxPyEndAllowThreads(__tstate);
30714 if (PyErr_Occurred()) SWIG_fail;
30715 }
15afbcd0 30716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
30717 return resultobj;
30718 fail:
30719 return NULL;
30720}
30721
30722
c32bde28 30723static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30724 PyObject *resultobj;
30725 wxHelpProvider *result;
30726 char *kwnames[] = {
30727 NULL
30728 };
30729
30730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30731 {
30732 PyThreadState* __tstate = wxPyBeginAllowThreads();
30733 result = (wxHelpProvider *)wxHelpProvider::Get();
30734
30735 wxPyEndAllowThreads(__tstate);
30736 if (PyErr_Occurred()) SWIG_fail;
30737 }
15afbcd0 30738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
30739 return resultobj;
30740 fail:
30741 return NULL;
30742}
30743
30744
c32bde28 30745static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30746 PyObject *resultobj;
30747 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30748 wxWindow *arg2 = (wxWindow *) 0 ;
30749 wxString result;
30750 PyObject * obj0 = 0 ;
30751 PyObject * obj1 = 0 ;
30752 char *kwnames[] = {
30753 (char *) "self",(char *) "window", NULL
30754 };
30755
30756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30761 {
30762 PyThreadState* __tstate = wxPyBeginAllowThreads();
30763 result = (arg1)->GetHelp((wxWindow const *)arg2);
30764
30765 wxPyEndAllowThreads(__tstate);
30766 if (PyErr_Occurred()) SWIG_fail;
30767 }
30768 {
30769#if wxUSE_UNICODE
30770 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30771#else
30772 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30773#endif
30774 }
30775 return resultobj;
30776 fail:
30777 return NULL;
30778}
30779
30780
c32bde28 30781static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30782 PyObject *resultobj;
30783 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30784 wxWindow *arg2 = (wxWindow *) 0 ;
30785 bool result;
30786 PyObject * obj0 = 0 ;
30787 PyObject * obj1 = 0 ;
30788 char *kwnames[] = {
30789 (char *) "self",(char *) "window", NULL
30790 };
30791
30792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30797 {
30798 PyThreadState* __tstate = wxPyBeginAllowThreads();
30799 result = (bool)(arg1)->ShowHelp(arg2);
30800
30801 wxPyEndAllowThreads(__tstate);
30802 if (PyErr_Occurred()) SWIG_fail;
30803 }
4f89f6a3
RD
30804 {
30805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30806 }
d14a1e28
RD
30807 return resultobj;
30808 fail:
30809 return NULL;
30810}
30811
30812
c32bde28 30813static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30814 PyObject *resultobj;
30815 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30816 wxWindow *arg2 = (wxWindow *) 0 ;
30817 wxString *arg3 = 0 ;
ae8162c8 30818 bool temp3 = false ;
d14a1e28
RD
30819 PyObject * obj0 = 0 ;
30820 PyObject * obj1 = 0 ;
30821 PyObject * obj2 = 0 ;
30822 char *kwnames[] = {
30823 (char *) "self",(char *) "window",(char *) "text", NULL
30824 };
30825
30826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30831 {
30832 arg3 = wxString_in_helper(obj2);
30833 if (arg3 == NULL) SWIG_fail;
ae8162c8 30834 temp3 = true;
d14a1e28
RD
30835 }
30836 {
30837 PyThreadState* __tstate = wxPyBeginAllowThreads();
30838 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30839
30840 wxPyEndAllowThreads(__tstate);
30841 if (PyErr_Occurred()) SWIG_fail;
30842 }
30843 Py_INCREF(Py_None); resultobj = Py_None;
30844 {
30845 if (temp3)
30846 delete arg3;
30847 }
30848 return resultobj;
30849 fail:
30850 {
30851 if (temp3)
30852 delete arg3;
30853 }
30854 return NULL;
30855}
30856
30857
c32bde28 30858static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30859 PyObject *resultobj;
30860 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 30861 int arg2 ;
d14a1e28 30862 wxString *arg3 = 0 ;
ae8162c8 30863 bool temp3 = false ;
d14a1e28 30864 PyObject * obj0 = 0 ;
994141e6 30865 PyObject * obj1 = 0 ;
d14a1e28
RD
30866 PyObject * obj2 = 0 ;
30867 char *kwnames[] = {
30868 (char *) "self",(char *) "id",(char *) "text", NULL
30869 };
30870
994141e6 30871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30874 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30875 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30876 {
30877 arg3 = wxString_in_helper(obj2);
30878 if (arg3 == NULL) SWIG_fail;
ae8162c8 30879 temp3 = true;
d14a1e28
RD
30880 }
30881 {
30882 PyThreadState* __tstate = wxPyBeginAllowThreads();
30883 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30884
30885 wxPyEndAllowThreads(__tstate);
30886 if (PyErr_Occurred()) SWIG_fail;
30887 }
30888 Py_INCREF(Py_None); resultobj = Py_None;
30889 {
30890 if (temp3)
30891 delete arg3;
30892 }
30893 return resultobj;
30894 fail:
30895 {
30896 if (temp3)
30897 delete arg3;
30898 }
30899 return NULL;
30900}
30901
30902
c32bde28 30903static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15afbcd0
RD
30904 PyObject *resultobj;
30905 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30906 wxWindow *arg2 = (wxWindow *) 0 ;
30907 PyObject * obj0 = 0 ;
30908 PyObject * obj1 = 0 ;
30909 char *kwnames[] = {
30910 (char *) "self",(char *) "window", NULL
30911 };
30912
30913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30918 {
30919 PyThreadState* __tstate = wxPyBeginAllowThreads();
30920 (arg1)->RemoveHelp(arg2);
30921
30922 wxPyEndAllowThreads(__tstate);
30923 if (PyErr_Occurred()) SWIG_fail;
30924 }
30925 Py_INCREF(Py_None); resultobj = Py_None;
30926 return resultobj;
30927 fail:
30928 return NULL;
30929}
30930
30931
c32bde28 30932static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30933 PyObject *resultobj;
30934 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30935 PyObject * obj0 = 0 ;
30936 char *kwnames[] = {
30937 (char *) "self", NULL
30938 };
30939
30940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
30941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30943 {
30944 PyThreadState* __tstate = wxPyBeginAllowThreads();
30945 wxHelpProvider_Destroy(arg1);
30946
30947 wxPyEndAllowThreads(__tstate);
30948 if (PyErr_Occurred()) SWIG_fail;
30949 }
30950 Py_INCREF(Py_None); resultobj = Py_None;
30951 return resultobj;
30952 fail:
30953 return NULL;
30954}
30955
30956
c32bde28 30957static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30958 PyObject *obj;
30959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30960 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30961 Py_INCREF(obj);
30962 return Py_BuildValue((char *)"");
30963}
c32bde28 30964static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30965 PyObject *resultobj;
30966 wxSimpleHelpProvider *result;
30967 char *kwnames[] = {
30968 NULL
30969 };
30970
30971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30972 {
30973 PyThreadState* __tstate = wxPyBeginAllowThreads();
30974 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30975
30976 wxPyEndAllowThreads(__tstate);
30977 if (PyErr_Occurred()) SWIG_fail;
30978 }
15afbcd0 30979 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
30980 return resultobj;
30981 fail:
30982 return NULL;
30983}
30984
30985
c32bde28 30986static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30987 PyObject *obj;
30988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30989 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30990 Py_INCREF(obj);
30991 return Py_BuildValue((char *)"");
30992}
c32bde28 30993static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
30994 PyObject *resultobj;
30995 wxBitmap *arg1 = 0 ;
30996 wxCursor const &arg2_defvalue = wxNullCursor ;
30997 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30998 wxGenericDragImage *result;
30999 PyObject * obj0 = 0 ;
31000 PyObject * obj1 = 0 ;
31001 char *kwnames[] = {
31002 (char *) "image",(char *) "cursor", NULL
31003 };
31004
31005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
31007 SWIG_POINTER_EXCEPTION | 0)) == -1)
31008 SWIG_fail;
e811c8ce 31009 if (arg1 == NULL) {
15afbcd0
RD
31010 PyErr_SetString(PyExc_TypeError,"null reference");
31011 SWIG_fail;
e811c8ce
RD
31012 }
31013 if (obj1) {
15afbcd0
RD
31014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31015 SWIG_POINTER_EXCEPTION | 0)) == -1)
31016 SWIG_fail;
e811c8ce 31017 if (arg2 == NULL) {
15afbcd0
RD
31018 PyErr_SetString(PyExc_TypeError,"null reference");
31019 SWIG_fail;
e811c8ce
RD
31020 }
31021 }
31022 {
e3b71cb8 31023 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
31024 PyThreadState* __tstate = wxPyBeginAllowThreads();
31025 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
31026
31027 wxPyEndAllowThreads(__tstate);
110da5b0 31028 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 31029 }
15afbcd0 31030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
31031 return resultobj;
31032 fail:
31033 return NULL;
31034}
31035
31036
c32bde28 31037static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31038 PyObject *resultobj;
31039 wxIcon *arg1 = 0 ;
31040 wxCursor const &arg2_defvalue = wxNullCursor ;
31041 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31042 wxGenericDragImage *result;
31043 PyObject * obj0 = 0 ;
31044 PyObject * obj1 = 0 ;
31045 char *kwnames[] = {
31046 (char *) "image",(char *) "cursor", NULL
31047 };
31048
31049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
31051 SWIG_POINTER_EXCEPTION | 0)) == -1)
31052 SWIG_fail;
e811c8ce 31053 if (arg1 == NULL) {
15afbcd0
RD
31054 PyErr_SetString(PyExc_TypeError,"null reference");
31055 SWIG_fail;
e811c8ce
RD
31056 }
31057 if (obj1) {
15afbcd0
RD
31058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31059 SWIG_POINTER_EXCEPTION | 0)) == -1)
31060 SWIG_fail;
e811c8ce 31061 if (arg2 == NULL) {
15afbcd0
RD
31062 PyErr_SetString(PyExc_TypeError,"null reference");
31063 SWIG_fail;
e811c8ce
RD
31064 }
31065 }
31066 {
e3b71cb8 31067 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
31068 PyThreadState* __tstate = wxPyBeginAllowThreads();
31069 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
31070
31071 wxPyEndAllowThreads(__tstate);
110da5b0 31072 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 31073 }
15afbcd0 31074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
31075 return resultobj;
31076 fail:
31077 return NULL;
31078}
31079
31080
c32bde28 31081static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31082 PyObject *resultobj;
31083 wxString *arg1 = 0 ;
31084 wxCursor const &arg2_defvalue = wxNullCursor ;
31085 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31086 wxGenericDragImage *result;
ae8162c8 31087 bool temp1 = false ;
e811c8ce
RD
31088 PyObject * obj0 = 0 ;
31089 PyObject * obj1 = 0 ;
31090 char *kwnames[] = {
31091 (char *) "str",(char *) "cursor", NULL
31092 };
31093
31094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
31095 {
31096 arg1 = wxString_in_helper(obj0);
31097 if (arg1 == NULL) SWIG_fail;
ae8162c8 31098 temp1 = true;
e811c8ce
RD
31099 }
31100 if (obj1) {
15afbcd0
RD
31101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31102 SWIG_POINTER_EXCEPTION | 0)) == -1)
31103 SWIG_fail;
e811c8ce 31104 if (arg2 == NULL) {
15afbcd0
RD
31105 PyErr_SetString(PyExc_TypeError,"null reference");
31106 SWIG_fail;
e811c8ce
RD
31107 }
31108 }
31109 {
e3b71cb8 31110 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
31111 PyThreadState* __tstate = wxPyBeginAllowThreads();
31112 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
31113
31114 wxPyEndAllowThreads(__tstate);
110da5b0 31115 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 31116 }
15afbcd0 31117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
31118 {
31119 if (temp1)
31120 delete arg1;
31121 }
31122 return resultobj;
31123 fail:
31124 {
31125 if (temp1)
31126 delete arg1;
31127 }
31128 return NULL;
31129}
31130
31131
c32bde28 31132static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31133 PyObject *resultobj;
31134 wxPyTreeCtrl *arg1 = 0 ;
31135 wxTreeItemId *arg2 = 0 ;
31136 wxGenericDragImage *result;
31137 PyObject * obj0 = 0 ;
31138 PyObject * obj1 = 0 ;
31139 char *kwnames[] = {
31140 (char *) "treeCtrl",(char *) "id", NULL
31141 };
31142
31143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
31145 SWIG_POINTER_EXCEPTION | 0)) == -1)
31146 SWIG_fail;
e811c8ce 31147 if (arg1 == NULL) {
15afbcd0
RD
31148 PyErr_SetString(PyExc_TypeError,"null reference");
31149 SWIG_fail;
e811c8ce 31150 }
15afbcd0
RD
31151 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
31152 SWIG_POINTER_EXCEPTION | 0)) == -1)
31153 SWIG_fail;
e811c8ce 31154 if (arg2 == NULL) {
15afbcd0
RD
31155 PyErr_SetString(PyExc_TypeError,"null reference");
31156 SWIG_fail;
e811c8ce
RD
31157 }
31158 {
e3b71cb8 31159 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
31160 PyThreadState* __tstate = wxPyBeginAllowThreads();
31161 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
31162
31163 wxPyEndAllowThreads(__tstate);
110da5b0 31164 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 31165 }
15afbcd0 31166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
31167 return resultobj;
31168 fail:
31169 return NULL;
31170}
31171
31172
c32bde28 31173static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31174 PyObject *resultobj;
31175 wxPyListCtrl *arg1 = 0 ;
31176 long arg2 ;
31177 wxGenericDragImage *result;
31178 PyObject * obj0 = 0 ;
994141e6 31179 PyObject * obj1 = 0 ;
e811c8ce
RD
31180 char *kwnames[] = {
31181 (char *) "listCtrl",(char *) "id", NULL
31182 };
31183
994141e6 31184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
31186 SWIG_POINTER_EXCEPTION | 0)) == -1)
31187 SWIG_fail;
e811c8ce 31188 if (arg1 == NULL) {
15afbcd0
RD
31189 PyErr_SetString(PyExc_TypeError,"null reference");
31190 SWIG_fail;
994141e6 31191 }
c32bde28 31192 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 31193 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 31194 {
e3b71cb8 31195 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
31196 PyThreadState* __tstate = wxPyBeginAllowThreads();
31197 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
31198
31199 wxPyEndAllowThreads(__tstate);
110da5b0 31200 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 31201 }
15afbcd0 31202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
31203 return resultobj;
31204 fail:
31205 return NULL;
31206}
31207
31208
c32bde28 31209static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31210 PyObject *resultobj;
31211 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31212 PyObject * obj0 = 0 ;
31213 char *kwnames[] = {
31214 (char *) "self", NULL
31215 };
31216
31217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
31218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31220 {
31221 PyThreadState* __tstate = wxPyBeginAllowThreads();
31222 delete arg1;
31223
31224 wxPyEndAllowThreads(__tstate);
31225 if (PyErr_Occurred()) SWIG_fail;
31226 }
31227 Py_INCREF(Py_None); resultobj = Py_None;
31228 return resultobj;
31229 fail:
31230 return NULL;
31231}
31232
31233
c32bde28 31234static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31235 PyObject *resultobj;
31236 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31237 wxBitmap *arg2 = (wxBitmap *) 0 ;
31238 PyObject * obj0 = 0 ;
31239 PyObject * obj1 = 0 ;
31240 char *kwnames[] = {
31241 (char *) "self",(char *) "bitmap", NULL
31242 };
31243
31244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31249 {
31250 PyThreadState* __tstate = wxPyBeginAllowThreads();
31251 (arg1)->SetBackingBitmap(arg2);
31252
31253 wxPyEndAllowThreads(__tstate);
31254 if (PyErr_Occurred()) SWIG_fail;
31255 }
31256 Py_INCREF(Py_None); resultobj = Py_None;
31257 return resultobj;
31258 fail:
31259 return NULL;
31260}
31261
31262
c32bde28 31263static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31264 PyObject *resultobj;
31265 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31266 wxPoint *arg2 = 0 ;
31267 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 31268 bool arg4 = (bool) false ;
e811c8ce
RD
31269 wxRect *arg5 = (wxRect *) NULL ;
31270 bool result;
31271 wxPoint temp2 ;
31272 PyObject * obj0 = 0 ;
31273 PyObject * obj1 = 0 ;
31274 PyObject * obj2 = 0 ;
31275 PyObject * obj3 = 0 ;
31276 PyObject * obj4 = 0 ;
31277 char *kwnames[] = {
31278 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31279 };
31280
31281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
31282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31284 {
31285 arg2 = &temp2;
31286 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31287 }
15afbcd0
RD
31288 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 31290 if (obj3) {
c32bde28 31291 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 31292 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
31293 }
31294 if (obj4) {
15afbcd0
RD
31295 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
31296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31297 }
31298 {
31299 PyThreadState* __tstate = wxPyBeginAllowThreads();
31300 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
31301
31302 wxPyEndAllowThreads(__tstate);
31303 if (PyErr_Occurred()) SWIG_fail;
31304 }
4f89f6a3
RD
31305 {
31306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31307 }
e811c8ce
RD
31308 return resultobj;
31309 fail:
31310 return NULL;
31311}
31312
31313
c32bde28 31314static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31315 PyObject *resultobj;
31316 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31317 wxPoint *arg2 = 0 ;
31318 wxWindow *arg3 = (wxWindow *) 0 ;
31319 wxWindow *arg4 = (wxWindow *) 0 ;
31320 bool result;
31321 wxPoint temp2 ;
31322 PyObject * obj0 = 0 ;
31323 PyObject * obj1 = 0 ;
31324 PyObject * obj2 = 0 ;
31325 PyObject * obj3 = 0 ;
31326 char *kwnames[] = {
31327 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31328 };
31329
31330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31333 {
31334 arg2 = &temp2;
31335 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31336 }
15afbcd0
RD
31337 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31339 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
31340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31341 {
31342 PyThreadState* __tstate = wxPyBeginAllowThreads();
31343 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
31344
31345 wxPyEndAllowThreads(__tstate);
31346 if (PyErr_Occurred()) SWIG_fail;
31347 }
4f89f6a3
RD
31348 {
31349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31350 }
e811c8ce
RD
31351 return resultobj;
31352 fail:
31353 return NULL;
31354}
31355
31356
c32bde28 31357static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31358 PyObject *resultobj;
31359 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31360 bool result;
31361 PyObject * obj0 = 0 ;
31362 char *kwnames[] = {
31363 (char *) "self", NULL
31364 };
31365
31366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
15afbcd0
RD
31367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 result = (bool)(arg1)->EndDrag();
31372
31373 wxPyEndAllowThreads(__tstate);
31374 if (PyErr_Occurred()) SWIG_fail;
31375 }
4f89f6a3
RD
31376 {
31377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31378 }
e811c8ce
RD
31379 return resultobj;
31380 fail:
31381 return NULL;
31382}
31383
31384
c32bde28 31385static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31386 PyObject *resultobj;
31387 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31388 wxPoint *arg2 = 0 ;
31389 bool result;
31390 wxPoint temp2 ;
31391 PyObject * obj0 = 0 ;
31392 PyObject * obj1 = 0 ;
31393 char *kwnames[] = {
31394 (char *) "self",(char *) "pt", NULL
31395 };
31396
31397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31400 {
31401 arg2 = &temp2;
31402 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31403 }
31404 {
31405 PyThreadState* __tstate = wxPyBeginAllowThreads();
31406 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31407
31408 wxPyEndAllowThreads(__tstate);
31409 if (PyErr_Occurred()) SWIG_fail;
31410 }
4f89f6a3
RD
31411 {
31412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31413 }
e811c8ce
RD
31414 return resultobj;
31415 fail:
31416 return NULL;
31417}
31418
31419
c32bde28 31420static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31421 PyObject *resultobj;
31422 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31423 bool result;
31424 PyObject * obj0 = 0 ;
31425 char *kwnames[] = {
31426 (char *) "self", NULL
31427 };
31428
31429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
15afbcd0
RD
31430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31432 {
31433 PyThreadState* __tstate = wxPyBeginAllowThreads();
31434 result = (bool)(arg1)->Show();
31435
31436 wxPyEndAllowThreads(__tstate);
31437 if (PyErr_Occurred()) SWIG_fail;
31438 }
4f89f6a3
RD
31439 {
31440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31441 }
e811c8ce
RD
31442 return resultobj;
31443 fail:
31444 return NULL;
31445}
31446
31447
c32bde28 31448static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31449 PyObject *resultobj;
31450 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31451 bool result;
31452 PyObject * obj0 = 0 ;
31453 char *kwnames[] = {
31454 (char *) "self", NULL
31455 };
31456
31457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
31458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31460 {
31461 PyThreadState* __tstate = wxPyBeginAllowThreads();
31462 result = (bool)(arg1)->Hide();
31463
31464 wxPyEndAllowThreads(__tstate);
31465 if (PyErr_Occurred()) SWIG_fail;
31466 }
4f89f6a3
RD
31467 {
31468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31469 }
e811c8ce
RD
31470 return resultobj;
31471 fail:
31472 return NULL;
31473}
31474
31475
c32bde28 31476static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31477 PyObject *resultobj;
31478 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31479 wxPoint *arg2 = 0 ;
31480 wxRect result;
31481 wxPoint temp2 ;
31482 PyObject * obj0 = 0 ;
31483 PyObject * obj1 = 0 ;
31484 char *kwnames[] = {
31485 (char *) "self",(char *) "pos", NULL
31486 };
31487
31488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31491 {
31492 arg2 = &temp2;
31493 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31494 }
31495 {
31496 PyThreadState* __tstate = wxPyBeginAllowThreads();
31497 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31498
31499 wxPyEndAllowThreads(__tstate);
31500 if (PyErr_Occurred()) SWIG_fail;
31501 }
31502 {
31503 wxRect * resultptr;
31504 resultptr = new wxRect((wxRect &) result);
15afbcd0 31505 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
e811c8ce
RD
31506 }
31507 return resultobj;
31508 fail:
31509 return NULL;
31510}
31511
31512
c32bde28 31513static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31514 PyObject *resultobj;
31515 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31516 wxDC *arg2 = 0 ;
31517 wxPoint *arg3 = 0 ;
31518 bool result;
31519 wxPoint temp3 ;
31520 PyObject * obj0 = 0 ;
31521 PyObject * obj1 = 0 ;
31522 PyObject * obj2 = 0 ;
31523 char *kwnames[] = {
31524 (char *) "self",(char *) "dc",(char *) "pos", NULL
31525 };
31526
31527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31531 SWIG_POINTER_EXCEPTION | 0)) == -1)
31532 SWIG_fail;
e811c8ce 31533 if (arg2 == NULL) {
15afbcd0
RD
31534 PyErr_SetString(PyExc_TypeError,"null reference");
31535 SWIG_fail;
e811c8ce
RD
31536 }
31537 {
31538 arg3 = &temp3;
31539 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31540 }
31541 {
31542 PyThreadState* __tstate = wxPyBeginAllowThreads();
31543 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31544
31545 wxPyEndAllowThreads(__tstate);
31546 if (PyErr_Occurred()) SWIG_fail;
31547 }
4f89f6a3
RD
31548 {
31549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31550 }
e811c8ce
RD
31551 return resultobj;
31552 fail:
31553 return NULL;
31554}
31555
31556
c32bde28 31557static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31558 PyObject *resultobj;
31559 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31560 wxDC *arg2 = 0 ;
31561 wxMemoryDC *arg3 = 0 ;
31562 wxRect *arg4 = 0 ;
31563 wxRect *arg5 = 0 ;
31564 bool result;
31565 wxRect temp4 ;
31566 wxRect temp5 ;
31567 PyObject * obj0 = 0 ;
31568 PyObject * obj1 = 0 ;
31569 PyObject * obj2 = 0 ;
31570 PyObject * obj3 = 0 ;
31571 PyObject * obj4 = 0 ;
31572 char *kwnames[] = {
31573 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31574 };
31575
31576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
31577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31580 SWIG_POINTER_EXCEPTION | 0)) == -1)
31581 SWIG_fail;
e811c8ce 31582 if (arg2 == NULL) {
15afbcd0
RD
31583 PyErr_SetString(PyExc_TypeError,"null reference");
31584 SWIG_fail;
e811c8ce 31585 }
15afbcd0
RD
31586 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31587 SWIG_POINTER_EXCEPTION | 0)) == -1)
31588 SWIG_fail;
e811c8ce 31589 if (arg3 == NULL) {
15afbcd0
RD
31590 PyErr_SetString(PyExc_TypeError,"null reference");
31591 SWIG_fail;
e811c8ce
RD
31592 }
31593 {
31594 arg4 = &temp4;
31595 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31596 }
31597 {
31598 arg5 = &temp5;
31599 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31600 }
31601 {
31602 PyThreadState* __tstate = wxPyBeginAllowThreads();
31603 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31604
31605 wxPyEndAllowThreads(__tstate);
31606 if (PyErr_Occurred()) SWIG_fail;
31607 }
4f89f6a3
RD
31608 {
31609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31610 }
e811c8ce
RD
31611 return resultobj;
31612 fail:
31613 return NULL;
31614}
31615
31616
c32bde28 31617static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
31618 PyObject *resultobj;
31619 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31620 wxPoint *arg2 = 0 ;
31621 wxPoint *arg3 = 0 ;
31622 bool arg4 ;
31623 bool arg5 ;
31624 bool result;
31625 wxPoint temp2 ;
31626 wxPoint temp3 ;
31627 PyObject * obj0 = 0 ;
31628 PyObject * obj1 = 0 ;
31629 PyObject * obj2 = 0 ;
31630 PyObject * obj3 = 0 ;
31631 PyObject * obj4 = 0 ;
31632 char *kwnames[] = {
31633 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31634 };
31635
31636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
31637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31639 {
31640 arg2 = &temp2;
31641 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31642 }
31643 {
31644 arg3 = &temp3;
31645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31646 }
c32bde28 31647 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 31648 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31649 arg5 = (bool)SWIG_As_bool(obj4);
15afbcd0 31650 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
31651 {
31652 PyThreadState* __tstate = wxPyBeginAllowThreads();
31653 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31654
31655 wxPyEndAllowThreads(__tstate);
31656 if (PyErr_Occurred()) SWIG_fail;
31657 }
4f89f6a3
RD
31658 {
31659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31660 }
e811c8ce
RD
31661 return resultobj;
31662 fail:
31663 return NULL;
31664}
31665
31666
c32bde28 31667static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
e811c8ce
RD
31668 PyObject *obj;
31669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31670 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31671 Py_INCREF(obj);
31672 return Py_BuildValue((char *)"");
31673}
31674static PyMethodDef SwigMethods[] = {
c32bde28
RD
31675 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
31676 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
31677 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31678 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31679 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31680 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31681 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
31682 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31683 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31684 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31685 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31686 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31687 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31688 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31689 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31690 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31691 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31692 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31693 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
31694 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
31695 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
31696 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
31697 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31698 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31699 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31700 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31701 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31702 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31703 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31704 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31705 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
31706 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
31707 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31708 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
31709 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
31710 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
31711 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31712 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31713 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31714 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31715 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31716 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
31717 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31718 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31719 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31720 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31721 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31722 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31723 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
31724 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
31725 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31726 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31727 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31728 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
31729 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31730 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
31731 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31732 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31733 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31734 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31735 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
31736 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31737 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
31738 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
31739 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
31740 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31741 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31742 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31743 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31744 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31745 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31746 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
31747 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
31748 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
31749 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
31750 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31751 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
31752 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
31753 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
31754 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31755 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31756 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
31757 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
31758 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
31759 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31760 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31761 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31762 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31763 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
31764 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
31765 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
31766 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31767 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31768 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
31769 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31770 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31771 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31772 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31773 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31774 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
31775 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31776 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
31777 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31778 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31779 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31780 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
31781 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
31782 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
31783 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31784 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31785 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
31786 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
31787 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
31788 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31789 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
31790 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
31791 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
31792 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
31793 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
31794 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
31795 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31796 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31797 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
31798 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31799 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
31800 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31801 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31802 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31803 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31804 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
31805 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL },
31806 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
31807 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
31808 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
31809 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
31810 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
31811 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
31812 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31813 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31814 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
31815 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31816 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31817 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31818 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31819 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
31820 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31821 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31822 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
31823 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31824 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31825 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31826 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31827 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
31828 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31829 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31830 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
31831 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31832 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31833 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31834 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31835 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31836 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
31837 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31838 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
31839 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
31840 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31841 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31842 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31843 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31844 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31845 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31846 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
31847 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
31848 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
31849 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
31850 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31851 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
31852 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
31853 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31854 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31855 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
31856 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
31857 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
31858 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
31859 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
31860 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
31861 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
31862 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
31863 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
31864 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
31865 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
31866 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31867 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31868 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31869 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31870 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31871 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
31872 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31873 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
31874 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL },
31875 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31876 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
31877 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
31878 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
31879 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
31880 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
31881 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
31882 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
31883 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
31884 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
31885 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31886 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31887 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31888 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31889 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31890 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
31891 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31892 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
31893 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
31894 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31895 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
31896 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31897 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31898 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
31899 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31900 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
31901 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
31902 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
31903 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31904 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31905 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
31906 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31907 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31908 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31909 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31910 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
31911 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31912 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
31913 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
31914 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
31915 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31916 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31917 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31918 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31919 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31920 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31921 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31922 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31923 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31924 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31925 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
31926 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31927 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31928 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31929 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31930 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31931 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
31932 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31933 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31934 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31935 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31936 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31937 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
31938 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31939 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31940 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31941 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
31942 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
31943 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
31944 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31945 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31946 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31947 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31948 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31949 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
31950 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
31951 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
31952 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31953 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
31954 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
31955 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
31956 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
31957 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
31958 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31959 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
31960 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
31961 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
31962 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31963 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31964 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31965 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31966 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
31967 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
31968 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
31969 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31970 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31971 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31972 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31973 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31974 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31975 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31976 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31977 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
31978 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31979 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
31980 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31981 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
31982 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
31983 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
31984 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
31985 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
31986 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
31987 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
31988 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31989 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
31990 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31991 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31992 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
31993 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
31994 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
31995 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31996 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31997 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31998 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31999 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32000 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
32001 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
32002 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
32003 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32004 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32005 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32006 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32007 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32008 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32009 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32010 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32011 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32012 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32013 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
32014 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
32015 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32016 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
32017 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
32018 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32019 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32020 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32021 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS, NULL },
32022 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32023 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32024 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32025 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32026 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32027 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS, NULL },
32028 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
32029 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32030 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32031 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
32032 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
32033 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
32034 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32035 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32036 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32037 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
32038 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32039 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
32040 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
32041 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
32042 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32043 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
1fbf26be 32044 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
32045 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
32046 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32047 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
2ef75293
RD
32048 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32049 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32050 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32051 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32052 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32053 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL },
32054 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32055 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL },
c32bde28
RD
32056 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32057 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32058 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32059 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32060 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
32061 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32062 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32063 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32064 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32065 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
32066 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32067 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32068 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32069 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
32070 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
32071 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32072 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32073 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
32074 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32075 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32076 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32077 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32078 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32079 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32080 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32081 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32082 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32083 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
32084 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32085 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32086 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32087 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32088 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32089 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32090 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32091 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
32092 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
32093 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32094 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32095 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
32096 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
32097 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
32098 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32099 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32100 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
32101 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
32102 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
32103 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32104 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32105 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
32106 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
32107 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
32108 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
32109 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
32110 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
32111 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
32112 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32113 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32114 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32115 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
32116 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
32117 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32118 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32119 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32120 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32121 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32122 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
32123 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32124 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32125 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32126 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32127 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32128 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32129 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32130 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
32131 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
32132 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
32133 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
32134 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32135 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32136 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
32137 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32138 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
32139 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32140 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
32141 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32142 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32143 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32144 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32145 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32146 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
32147 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32148 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32149 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32150 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32151 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32152 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32153 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
32154 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32155 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32156 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32157 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32158 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
32159 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32160 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32161 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
32162 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32163 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32164 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32165 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32166 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
32167 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
32168 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
32169 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32170 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32171 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32172 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32173 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32174 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32175 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32176 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32177 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32178 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32179 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
32180 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32181 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32182 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32183 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32184 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32185 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32186 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32187 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32188 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32189 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32190 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32191 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32192 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
32193 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
32194 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32195 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32196 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
32197 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
32198 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32199 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32200 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
32201 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
32202 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
32203 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
32204 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
32205 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
32206 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
32207 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
32208 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
32209 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
32210 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
32211 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32212 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
32213 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
32214 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32215 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32216 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32217 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32218 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32219 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32220 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
32221 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
32222 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
32223 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32224 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32225 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32226 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32227 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32228 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32229 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32230 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32231 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32232 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32233 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
32234 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
32235 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32236 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32237 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
32238 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32239 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32240 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32241 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32242 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32243 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32244 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32245 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32246 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32247 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32248 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
32249 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
32250 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32251 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32252 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32253 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32254 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32255 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32256 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32257 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32258 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32259 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32260 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32261 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
32262 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32263 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32264 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
32265 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32266 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32267 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32268 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32269 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32270 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
32271 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32272 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
32273 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
32274 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32275 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32276 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32277 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
32278 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
32279 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
32280 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
32281 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
32282 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
32283 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32284 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32285 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
32286 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
32287 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32288 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32289 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
32290 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32291 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
32292 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32293 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32294 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32295 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
32296 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32297 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32298 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32299 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32300 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
32301 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32302 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32303 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32304 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32305 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
32306 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32307 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32308 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
32309 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
32310 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
32311 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32312 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
32313 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
32314 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
32315 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32316 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32317 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32318 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32319 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32320 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
32321 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32322 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32323 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
32324 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
32325 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
32326 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
32327 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
32328 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
32329 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32330 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32331 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32332 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32333 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32334 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32335 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
32336 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32337 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32338 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32339 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32340 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32341 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32342 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32343 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32344 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32345 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32346 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32347 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32348 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32349 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32350 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
32351 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
32352 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32353 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32354 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32355 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32356 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
32357 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32358 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32359 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32360 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32361 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32362 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32363 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32364 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32365 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32366 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32367 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32368 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32369 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32370 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32371 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32372 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32373 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32374 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32375 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32376 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32377 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32378 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32379 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
32380 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32381 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32382 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32383 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32384 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32385 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
32386 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32387 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
32388 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
32389 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
32390 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32391 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
32392 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
32393 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
32394 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
32395 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
32396 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32397 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32398 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
32399 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32400 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32401 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
32402 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
32403 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32404 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
32405 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
32406 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
32407 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32408 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32409 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
32410 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
32411 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
32412 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32413 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
32414 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32415 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32416 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32417 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32418 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32419 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
32420 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32421 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
32422 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32423 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32424 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
32425 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32426 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
32427 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32428 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32429 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32430 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
32431 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32432 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32433 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32434 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
32435 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32436 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32437 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32438 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32439 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32440 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32441 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32442 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
32443 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32444 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32445 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
32446 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
32447 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
32448 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
32449 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32450 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32451 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32452 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
32453 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
32454 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32455 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32456 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32457 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32458 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32459 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32460 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32461 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32462 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32463 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32464 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32465 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32466 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32467 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
32468 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32469 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32470 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
32471 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
32472 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
32473 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
32474 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
32475 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
32476 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
32477 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
32478 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32479 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
32480 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32481 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32482 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32483 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32484 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32485 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32486 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32487 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
32488 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32489 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32490 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32491 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32492 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
32493 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
32494 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
32495 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
32496 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
32497 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32498 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32499 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32500 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
32501 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32502 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32503 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
32504 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
32505 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
32506 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32507 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
32508 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
32509 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
32510 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32511 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32512 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32513 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32514 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
32515 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32516 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
32517 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
32518 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
32519 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
32520 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32521 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32522 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32523 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
32524 { NULL, NULL, 0, NULL }
d14a1e28
RD
32525};
32526
32527
32528/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32529
32530static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32531 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32532}
32533static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32534 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32535}
2ef75293
RD
32536static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x) {
32537 return (void *)((wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32538}
d14a1e28
RD
32539static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32540 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32541}
32542static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32543 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32544}
32545static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32546 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32547}
32548static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32549 return (void *)((wxSizer *) ((wxGridSizer *) x));
32550}
32551static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32552 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32553}
32554static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32555 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32556}
32557static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32558 return (void *)((wxSizer *) ((wxPySizer *) x));
32559}
32560static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32561 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32562}
32563static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32564 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32565}
32566static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32567 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32568}
32569static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32570 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32571}
32572static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32573 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32574}
32575static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32576 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32577}
32578static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32579 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32580}
32581static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32582 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32583}
32584static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32585 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32586}
32587static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32588 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32589}
32590static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32591 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32592}
32593static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32594 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32595}
32596static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32597 return (void *)((wxEvent *) ((wxPyEvent *) x));
32598}
32599static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32600 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32601}
32602static void *_p_wxListEventTo_p_wxEvent(void *x) {
32603 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32604}
32605static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32606 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32607}
32608static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32609 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32610}
2ef75293
RD
32611static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
32612 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32613}
d14a1e28
RD
32614static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32615 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32616}
32617static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32618 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32619}
32620static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32621 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32622}
32623static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32624 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32625}
32626static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32627 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32628}
32629static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32630 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32631}
32632static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32633 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32634}
32635static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32636 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32637}
32638static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32639 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32640}
32641static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32642 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32643}
32644static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32645 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32646}
32647static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32648 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32649}
32650static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32651 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32652}
32653static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32654 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32655}
32656static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32657 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32658}
32659static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32660 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32661}
32662static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32663 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32664}
32665static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32666 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32667}
32668static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32669 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32670}
32671static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32672 return (void *)((wxEvent *) ((wxShowEvent *) x));
32673}
32674static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32675 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32676}
32677static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32678 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32679}
32680static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32681 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32682}
32683static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32684 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32685}
32686static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32687 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32688}
32689static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32690 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32691}
d1e20054
RD
32692static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32693 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32694}
d14a1e28
RD
32695static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32696 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32697}
32698static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32699 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32700}
32701static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32702 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32703}
32704static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32705 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32706}
32707static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32708 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32709}
32710static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32711 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32712}
32713static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32714 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32715}
2ef75293
RD
32716static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32717 return (void *)((wxControl *) ((wxBookCtrl *) x));
d14a1e28
RD
32718}
32719static void *_p_wxToolBarTo_p_wxControl(void *x) {
32720 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32721}
2ef75293
RD
32722static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32723 return (void *)((wxControl *) ((wxToggleButton *) x));
d14a1e28 32724}
2ef75293
RD
32725static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32726 return (void *)((wxControl *) ((wxRadioButton *) x));
d14a1e28 32727}
2ef75293
RD
32728static void *_p_wxPyControlTo_p_wxControl(void *x) {
32729 return (void *)((wxControl *) ((wxPyControl *) x));
d14a1e28 32730}
2ef75293
RD
32731static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32732 return (void *)((wxControl *) ((wxToolBarBase *) x));
32733}
32734static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32735 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d14a1e28
RD
32736}
32737static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32738 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32739}
2ef75293
RD
32740static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32741 return (void *)((wxControl *) ((wxComboBox *) x));
d14a1e28 32742}
2ef75293
RD
32743static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32744 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d14a1e28
RD
32745}
32746static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32747 return (void *)((wxControl *) ((wxScrollBar *) x));
32748}
2ef75293
RD
32749static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32750 return (void *)((wxControl *) ((wxControlWithItems *) x));
d14a1e28
RD
32751}
32752static void *_p_wxGaugeTo_p_wxControl(void *x) {
32753 return (void *)((wxControl *) ((wxGauge *) x));
32754}
2ef75293
RD
32755static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32756 return (void *)((wxControl *) ((wxStaticLine *) x));
d14a1e28 32757}
2ef75293
RD
32758static void *_p_wxChoicebookTo_p_wxControl(void *x) {
32759 return (void *)((wxControl *) (wxBookCtrl *) ((wxChoicebook *) x));
d14a1e28 32760}
2ef75293
RD
32761static void *_p_wxListbookTo_p_wxControl(void *x) {
32762 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
d14a1e28 32763}
2ef75293
RD
32764static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32765 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d14a1e28 32766}
2ef75293
RD
32767static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32768 return (void *)((wxControl *) ((wxCheckBox *) x));
d14a1e28
RD
32769}
32770static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32771 return (void *)((wxControl *) ((wxRadioBox *) x));
32772}
2ef75293
RD
32773static void *_p_wxChoiceTo_p_wxControl(void *x) {
32774 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32775}
32776static void *_p_wxListBoxTo_p_wxControl(void *x) {
32777 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32778}
32779static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32780 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32781}
32782static void *_p_wxListViewTo_p_wxControl(void *x) {
32783 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32784}
d14a1e28
RD
32785static void *_p_wxNotebookTo_p_wxControl(void *x) {
32786 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32787}
2ef75293
RD
32788static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32789 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d14a1e28 32790}
2ef75293
RD
32791static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32792 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d14a1e28 32793}
2ef75293
RD
32794static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32795 return (void *)((wxControl *) ((wxStaticText *) x));
d14a1e28 32796}
2ef75293
RD
32797static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32798 return (void *)((wxControl *) ((wxStaticBox *) x));
d14a1e28
RD
32799}
32800static void *_p_wxSliderTo_p_wxControl(void *x) {
32801 return (void *)((wxControl *) ((wxSlider *) x));
32802}
2ef75293
RD
32803static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32804 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d14a1e28 32805}
2ef75293
RD
32806static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32807 return (void *)((wxControl *) ((wxSpinButton *) x));
d14a1e28 32808}
2ef75293
RD
32809static void *_p_wxButtonTo_p_wxControl(void *x) {
32810 return (void *)((wxControl *) ((wxButton *) x));
d14a1e28 32811}
2ef75293
RD
32812static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32813 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32814}
32815static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32816 return (void *)((wxControl *) ((wxTextCtrl *) x));
d14a1e28
RD
32817}
32818static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32819 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32820}
32821static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32822 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32823}
32824static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32825 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32826}
32827static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32828 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32829}
32830static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32831 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32832}
d1e20054
RD
32833static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32834 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32835}
d14a1e28
RD
32836static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32837 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32838}
32839static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32840 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32841}
2ef75293
RD
32842static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
32843 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32844}
d14a1e28
RD
32845static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32846 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32847}
32848static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32849 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32850}
32851static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32852 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32853}
32854static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32855 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32856}
32857static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32858 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32859}
32860static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32861 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32862}
32863static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32864 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32865}
32866static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32867 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32868}
32869static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32870 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32871}
32872static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32873 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32874}
32875static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32876 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32877}
d14a1e28
RD
32878static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32879 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32880}
2ef75293
RD
32881static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32882 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32883}
d14a1e28
RD
32884static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32885 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32886}
32887static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32888 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32889}
32890static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32891 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32892}
32893static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32894 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32895}
32896static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32897 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32898}
32899static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32900 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32901}
32902static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32903 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32904}
32905static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32906 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32907}
2ef75293
RD
32908static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
32909 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
32910}
d14a1e28
RD
32911static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32912 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32913}
32914static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32915 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32916}
32917static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32918 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32919}
32920static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32921 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32922}
32923static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32924 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32925}
32926static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32928}
32929static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32930 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32931}
32932static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32934}
32935static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32936 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32937}
32938static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32939 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32940}
32941static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32942 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32943}
32944static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32946}
32947static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32948 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32949}
32950static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32951 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32952}
32953static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32954 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32955}
32956static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32957 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32958}
32959static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32960 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32961}
32962static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32964}
32965static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32967}
32968static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32969 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32970}
2ef75293
RD
32971static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x) {
32972 return (void *)((wxBookCtrl *) ((wxChoicebook *) x));
32973}
d14a1e28
RD
32974static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32975 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32976}
32977static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32978 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32979}
32980static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32981 return (void *)((wxButton *) ((wxBitmapButton *) x));
32982}
32983static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32984 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32985}
32986static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32987 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32988}
32989static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32990 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32991}
32992static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32993 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32994}
32995static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32996 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32997}
32998static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32999 return (void *)((wxObject *) ((wxSizerItem *) x));
33000}
33001static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33002 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33003}
33004static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33005 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33006}
33007static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
33008 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
33009}
33010static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
33011 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33012}
33013static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33014 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33015}
33016static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33017 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33018}
33019static void *_p_wxSizerTo_p_wxObject(void *x) {
33020 return (void *)((wxObject *) ((wxSizer *) x));
33021}
33022static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33023 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33024}
33025static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
33026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
33027}
33028static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
33029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
33030}
33031static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33032 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33033}
33034static void *_p_wxEventTo_p_wxObject(void *x) {
33035 return (void *)((wxObject *) ((wxEvent *) x));
33036}
33037static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33038 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33039}
33040static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33041 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33042}
33043static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33044 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33045}
33046static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
33047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
33048}
33049static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
33050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
33051}
33052static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
33053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33054}
33055static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33056 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33057}
33058static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33059 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33060}
33061static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33062 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33063}
33064static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33065 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33066}
33067static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33068 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33069}
33070static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33071 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33072}
33073static void *_p_wxStaticLineTo_p_wxObject(void *x) {
33074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
33075}
33076static void *_p_wxControlTo_p_wxObject(void *x) {
33077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33078}
33079static void *_p_wxPyControlTo_p_wxObject(void *x) {
33080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
33081}
33082static void *_p_wxGaugeTo_p_wxObject(void *x) {
33083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
33084}
33085static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
33086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
33087}
33088static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
33089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
33090}
33091static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
33092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
33093}
33094static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33095 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33096}
33097static void *_p_wxChoiceTo_p_wxObject(void *x) {
33098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33099}
33100static void *_p_wxFSFileTo_p_wxObject(void *x) {
33101 return (void *)((wxObject *) ((wxFSFile *) x));
33102}
33103static void *_p_wxPySizerTo_p_wxObject(void *x) {
33104 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33105}
33106static void *_p_wxListViewTo_p_wxObject(void *x) {
33107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33108}
33109static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
33110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
33111}
33112static void *_p_wxNotebookTo_p_wxObject(void *x) {
33113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33114}
33115static void *_p_wxPyEventTo_p_wxObject(void *x) {
33116 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33117}
33118static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33119 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33120}
2ef75293
RD
33121static void *_p_wxChoicebookTo_p_wxObject(void *x) {
33122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33123}
d14a1e28
RD
33124static void *_p_wxListbookTo_p_wxObject(void *x) {
33125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33126}
33127static void *_p_wxShowEventTo_p_wxObject(void *x) {
33128 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33129}
33130static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
33131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
33132}
33133static void *_p_wxSliderTo_p_wxObject(void *x) {
33134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
33135}
33136static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33137 return (void *)((wxObject *) ((wxMenuItem *) x));
33138}
33139static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33140 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33141}
33142static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33143 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33144}
33145static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33146 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33147}
33148static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33149 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33150}
33151static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33152 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33153}
33154static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33155 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33156}
33157static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33158 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33159}
33160static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33161 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33162}
33163static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
33164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
33165}
33166static void *_p_wxContextHelpTo_p_wxObject(void *x) {
33167 return (void *)((wxObject *) ((wxContextHelp *) x));
33168}
33169static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33170 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33171}
33172static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33173 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33174}
33175static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33176 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33177}
33178static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33179 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33180}
33181static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33182 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33183}
33184static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33185 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33186}
33187static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33188 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33189}
33190static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33191 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33192}
33193static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33194 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33195}
33196static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33197 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33198}
33199static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33200 return (void *)((wxObject *) ((wxImageHandler *) x));
33201}
33202static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33203 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33204}
33205static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33206 return (void *)((wxObject *) ((wxEvtHandler *) x));
33207}
33208static void *_p_wxListEventTo_p_wxObject(void *x) {
33209 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
33210}
33211static void *_p_wxListBoxTo_p_wxObject(void *x) {
33212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33213}
33214static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
33215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33216}
33217static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
33218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
33219}
d14a1e28
RD
33220static void *_p_wxButtonTo_p_wxObject(void *x) {
33221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
33222}
1e0c8722
RD
33223static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
33224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33225}
d14a1e28
RD
33226static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
33227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
33228}
33229static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
33230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33231}
1e0c8722
RD
33232static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33233 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33234}
d14a1e28
RD
33235static void *_p_wxScrollBarTo_p_wxObject(void *x) {
33236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
33237}
33238static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
33239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
33240}
33241static void *_p_wxComboBoxTo_p_wxObject(void *x) {
33242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
33243}
33244static void *_p_wxHelpEventTo_p_wxObject(void *x) {
33245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
33246}
33247static void *_p_wxListItemTo_p_wxObject(void *x) {
33248 return (void *)((wxObject *) ((wxListItem *) x));
33249}
33250static void *_p_wxImageTo_p_wxObject(void *x) {
33251 return (void *)((wxObject *) ((wxImage *) x));
33252}
33253static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
33254 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
33255}
33256static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33257 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33258}
d1e20054
RD
33259static void *_p_wxSpinEventTo_p_wxObject(void *x) {
33260 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
33261}
e811c8ce
RD
33262static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
33263 return (void *)((wxObject *) ((wxGenericDragImage *) x));
33264}
d14a1e28
RD
33265static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
33266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33267}
33268static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
33269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33270}
33271static void *_p_wxListbookEventTo_p_wxObject(void *x) {
33272 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33273}
2ef75293
RD
33274static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
33275 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33276}
d14a1e28
RD
33277static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33278 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33279}
33280static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33281 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33282}
33283static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33284 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33285}
33286static void *_p_wxWindowTo_p_wxObject(void *x) {
33287 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33288}
33289static void *_p_wxMenuTo_p_wxObject(void *x) {
33290 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33291}
33292static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33294}
33295static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33296 return (void *)((wxObject *) ((wxFileSystem *) x));
33297}
33298static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33300}
33301static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33302 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33303}
33304static void *_p_wxPyAppTo_p_wxObject(void *x) {
33305 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33306}
33307static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33308 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33309}
33310static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33311 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33312}
33313static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33314 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33315}
33316static void *_p_wxTreeEventTo_p_wxObject(void *x) {
33317 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
33318}
33319static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33320 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33321}
33322static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33323 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33324}
33325static void *_p_wxStaticTextTo_p_wxObject(void *x) {
33326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
33327}
33328static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33329 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33330}
33331static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33332 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33333}
33334static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33336}
33337static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33339}
33340static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
33341 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
33342}
33343static void *_p_wxToolBarTo_p_wxObject(void *x) {
33344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33345}
33346static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33347 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33348}
33349static void *_p_wxValidatorTo_p_wxObject(void *x) {
33350 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33351}
33352static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
33353 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
33354}
33355static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
33356 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
33357}
33358static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33359 return (void *)((wxWindow *) ((wxMenuBar *) x));
33360}
33361static void *_p_wxToolBarTo_p_wxWindow(void *x) {
33362 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33363}
33364static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
33365 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
33366}
33367static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
33368 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
33369}
d14a1e28
RD
33370static void *_p_wxControlTo_p_wxWindow(void *x) {
33371 return (void *)((wxWindow *) ((wxControl *) x));
33372}
33373static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
33374 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
33375}
33376static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
33377 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33378}
33379static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
33380 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
33381}
33382static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
33383 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
33384}
2ef75293
RD
33385static void *_p_wxPyControlTo_p_wxWindow(void *x) {
33386 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
33387}
d14a1e28
RD
33388static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
33389 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
33390}
33391static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
33392 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
33393}
33394static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33395 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33396}
33397static void *_p_wxGaugeTo_p_wxWindow(void *x) {
33398 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
33399}
33400static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
33401 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
33402}
2ef75293
RD
33403static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
33404 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33405}
d14a1e28
RD
33406static void *_p_wxListbookTo_p_wxWindow(void *x) {
33407 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33408}
33409static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
33410 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
33411}
33412static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
33413 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
33414}
33415static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
33416 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
33417}
33418static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
33419 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33420}
33421static void *_p_wxChoiceTo_p_wxWindow(void *x) {
33422 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33423}
33424static void *_p_wxListBoxTo_p_wxWindow(void *x) {
33425 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33426}
33427static void *_p_wxListViewTo_p_wxWindow(void *x) {
33428 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33429}
33430static void *_p_wxNotebookTo_p_wxWindow(void *x) {
33431 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33432}
33433static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33434 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33435}
33436static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33437 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33438}
33439static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33440 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33441}
33442static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33443 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33444}
33445static void *_p_wxSliderTo_p_wxWindow(void *x) {
33446 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33447}
33448static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33449 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33450}
33451static void *_p_wxButtonTo_p_wxWindow(void *x) {
33452 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33453}
33454static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33455 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33456}
33457static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33458 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33459}
33460static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33461 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33462}
33463static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33464 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33465}
33466static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
33467 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33468}
33469static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33470 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33471}
33472static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33473 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33474}
33475static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33476 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33477}
33478static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33479 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33480}
33481static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33482 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33483}
2ef75293
RD
33484static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
33485 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33486}
d14a1e28
RD
33487static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33488 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33489}
33490static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33491 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33492}
d14a1e28
RD
33493static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33494 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33495}
2ef75293
RD
33496static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33497 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33498}
d14a1e28
RD
33499static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33500 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33501}
d1e20054
RD
33502static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33503 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33504}
d14a1e28
RD
33505static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33506 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33507}
33508static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33509 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33510}
33511static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33512 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33513}
33514static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33515 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33516}
33517static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33518 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33519}
33520static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33521 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33522}
33523static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33524 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33525}
33526static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33527 return (void *)((wxValidator *) ((wxPyValidator *) x));
33528}
15afbcd0 33529static 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}};
2ef75293 33530static 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},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
33531static 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}};
33532static 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}};
33533static 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}};
2ef75293 33534static 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_wxChoicebookEvent", _p_wxChoicebookEventTo_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_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_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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}};
15afbcd0
RD
33535static 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}};
33536static 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}};
33537static 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}};
33538static 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}};
15afbcd0 33539static 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}};
74a57fcd 33540static 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}};
15afbcd0 33541static 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}};
2ef75293 33542static 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_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_wxChoicebook", _p_wxChoicebookTo_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_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_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}};
15afbcd0
RD
33543static 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}};
33544static 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}};
33545static 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}};
33546static 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}};
33547static 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}};
33548static 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}};
33549static 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}};
33550static 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}};
33551static 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}};
33552static 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}};
33553static 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}};
33554static 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}};
33555static 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}};
33556static 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}};
33557static 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}};
74a57fcd 33558static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
33559static 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}};
33560static 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}};
2ef75293
RD
33561static swig_type_info _swigt__p_wxChoicebook[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33562static 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_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
33563static 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}};
33564static 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}};
33565static 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}};
33566static 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}};
33567static 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}};
33568static 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}};
33569static 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}};
33570static 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}};
2ef75293 33571static 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_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_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_wxChoicebook", _p_wxChoicebookTo_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_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_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}};
15afbcd0 33572static 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}};
15afbcd0 33573static 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}};
74a57fcd 33574static 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}};
2ef75293 33575static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrl, 0, 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}};
15afbcd0
RD
33576static 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}};
33577static 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}};
33578static 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}};
33579static 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}};
33580static 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}};
33581static 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}};
33582static 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}};
33583static 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}};
33584static 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}};
33585static 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}};
33586static 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}};
33587static 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}};
33588static 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}};
33589static 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}};
33590static 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}};
33591static 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}};
33592static 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}};
33593static 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}};
33594static 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}};
33595static 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}};
33596static 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}};
2ef75293 33597static swig_type_info _swigt__p_wxChoicebookEvent[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
33598static 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}};
33599static 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}};
2ef75293 33600static 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_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_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_wxChoicebook", _p_wxChoicebookTo_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_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_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_wxChoicebookEvent", _p_wxChoicebookEventTo_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}};
15afbcd0
RD
33601static 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}};
33602static 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}};
2ef75293 33603static 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_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_wxChoicebook", _p_wxChoicebookTo_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_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_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_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
33604static 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}};
33605static 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}};
33606static 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}};
33607static 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}};
2ef75293 33608static 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_wxChoicebookEvent", _p_wxChoicebookEventTo_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}};
15afbcd0
RD
33609static 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}};
33610static 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}};
33611static 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}};
33612static 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}};
33613static 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}};
33614static 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}};
33615static 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
33616
33617static swig_type_info *swig_types_initial[] = {
33618_swigt__p_wxTextUrlEvent,
33619_swigt__p_wxBookCtrlEvent,
33620_swigt__p_wxSizer,
d14a1e28
RD
33621_swigt__p_wxCheckBox,
33622_swigt__p_wxPyTreeCtrl,
33623_swigt__p_wxEvent,
33624_swigt__p_wxGenericDirCtrl,
33625_swigt__p_bool,
33626_swigt__p_wxPyTreeItemData,
33627_swigt__p_wxItemContainer,
d14a1e28 33628_swigt__p_wxPyListCtrl,
74a57fcd 33629_swigt__p_wxDirFilterListCtrl,
d14a1e28
RD
33630_swigt__p_wxStaticLine,
33631_swigt__p_wxControl,
33632_swigt__p_wxPyControl,
33633_swigt__p_wxGauge,
33634_swigt__p_wxToolBarBase,
33635_swigt__p_wxFont,
33636_swigt__p_wxToggleButton,
33637_swigt__p_wxRadioButton,
33638_swigt__p_wxChoice,
e811c8ce 33639_swigt__p_wxMemoryDC,
d14a1e28 33640_swigt__p_wxListItemAttr,
58203fa6 33641_swigt__p_void,
d14a1e28
RD
33642_swigt__p_int,
33643_swigt__p_wxSize,
e811c8ce 33644_swigt__p_wxDC,
d14a1e28
RD
33645_swigt__p_wxListView,
33646_swigt__p_wxIcon,
74a57fcd 33647_swigt__p_wxVisualAttributes,
d14a1e28
RD
33648_swigt__p_wxTextCtrl,
33649_swigt__p_wxNotebook,
2ef75293 33650_swigt__p_wxChoicebook,
d14a1e28
RD
33651_swigt__p_wxNotifyEvent,
33652_swigt__p_wxArrayString,
33653_swigt__p_wxListbook,
33654_swigt__p_wxStaticBitmap,
33655_swigt__p_wxSlider,
33656_swigt__p_wxStaticBox,
33657_swigt__p_wxArrayInt,
33658_swigt__p_wxContextHelp,
33659_swigt__p_long,
33660_swigt__p_wxEvtHandler,
33661_swigt__p_wxListEvent,
d14a1e28 33662_swigt__p_wxCheckListBox,
74a57fcd 33663_swigt__p_wxListBox,
d14a1e28
RD
33664_swigt__p_wxBookCtrl,
33665_swigt__p_wxSpinButton,
33666_swigt__p_wxButton,
33667_swigt__p_wxBitmapButton,
33668_swigt__p_wxRect,
33669_swigt__p_wxContextHelpButton,
33670_swigt__p_wxRadioBox,
33671_swigt__p_wxScrollBar,
994141e6 33672_swigt__p_char,
d14a1e28
RD
33673_swigt__p_wxTreeItemId,
33674_swigt__p_wxComboBox,
33675_swigt__p_wxHelpEvent,
33676_swigt__p_wxListItem,
33677_swigt__p_wxNotebookSizer,
d1e20054 33678_swigt__p_wxSpinEvent,
e811c8ce 33679_swigt__p_wxGenericDragImage,
d14a1e28
RD
33680_swigt__p_wxSpinCtrl,
33681_swigt__p_wxImageList,
33682_swigt__p_wxHelpProvider,
33683_swigt__p_wxTextAttr,
33684_swigt__p_wxSimpleHelpProvider,
33685_swigt__p_wxPoint,
2ef75293 33686_swigt__p_wxChoicebookEvent,
d14a1e28
RD
33687_swigt__p_wxListbookEvent,
33688_swigt__p_wxNotebookEvent,
33689_swigt__p_wxObject,
e811c8ce 33690_swigt__p_wxCursor,
d14a1e28
RD
33691_swigt__p_wxKeyEvent,
33692_swigt__p_wxWindow,
33693_swigt__p_wxString,
33694_swigt__p_wxBitmap,
33695_swigt__p_wxTreeEvent,
33696_swigt__p_wxMouseEvent,
33697_swigt__p_wxCommandEvent,
33698_swigt__p_wxStaticText,
33699_swigt__p_wxControlWithItems,
33700_swigt__p_wxToolBarToolBase,
33701_swigt__p_wxColour,
33702_swigt__p_wxToolBar,
33703_swigt__p_wxBookCtrlSizer,
33704_swigt__p_wxValidator,
337050
33706};
33707
33708
33709/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33710
33711static swig_const_info swig_const_table[] = {
c32bde28 33712{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
33713
33714#ifdef __cplusplus
33715}
33716#endif
33717
33718#ifdef __cplusplus
33719extern "C"
33720#endif
33721SWIGEXPORT(void) SWIG_init(void) {
33722 static PyObject *SWIG_globals = 0;
33723 static int typeinit = 0;
33724 PyObject *m, *d;
33725 int i;
33726 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33727 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33728 d = PyModule_GetDict(m);
33729
33730 if (!typeinit) {
33731 for (i = 0; swig_types_initial[i]; i++) {
33732 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33733 }
33734 typeinit = 1;
33735 }
33736 SWIG_InstallConstants(d,swig_const_table);
33737
b2dc1044
RD
33738 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33739 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
c32bde28
RD
33740 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT));
33741 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)wxBU_TOP));
33742 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT));
33743 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM));
33744 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT));
33745 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW));
b2dc1044 33746 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
c32bde28
RD
33747 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE));
33748 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE));
33749 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33750 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED));
33751 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED));
33752 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED));
b2dc1044
RD
33753 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33754 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33755 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
c32bde28
RD
33756 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL));
33757 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL));
33758 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH));
33759 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR));
b2dc1044
RD
33760 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33761 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33762 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33763 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33764 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
c32bde28
RD
33765 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL));
33766 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL));
33767 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY));
33768 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE));
33769 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB));
33770 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT));
33771 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER));
33772 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT));
33773 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE));
33774 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)wxTE_RICH));
33775 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER));
33776 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD));
33777 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL));
33778 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL));
33779 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP));
33780 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP));
33781 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP));
33782 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2));
33783 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT));
33784 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT));
33785 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE));
33786 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER));
33787 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT));
33788 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33789 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR));
33790 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33791 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE));
33792 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE));
33793 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT));
33794 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC));
33795 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE));
33796 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT));
33797 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT));
33798 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT));
33799 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT));
33800 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS));
33801 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN));
33802 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE));
33803 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT));
33804 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW));
33805 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND));
d14a1e28
RD
33806 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33807 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33808 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33809 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
33810 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33811 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33812 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
c32bde28
RD
33813 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL));
33814 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL));
33815 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS));
33816 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP));
d14a1e28 33817 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
33818 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33819 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33820 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33821 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 33822 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
b2dc1044 33823 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
c32bde28
RD
33824 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH));
33825 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)wxNB_TOP));
33826 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT));
33827 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT));
33828 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM));
33829 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE));
33830 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE));
33831 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON));
33832 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL));
33833 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM));
d14a1e28
RD
33834 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33835 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
c32bde28
RD
33836 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT));
33837 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)wxLB_TOP));
33838 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM));
33839 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT));
33840 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT));
33841 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK));
d14a1e28
RD
33842 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33843 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
2ef75293
RD
33844 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT));
33845 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP));
33846 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM));
33847 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT));
33848 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT));
33849 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK));
33850 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
33851 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
c32bde28
RD
33852 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON));
33853 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR));
33854 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL));
33855 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL));
33856 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL));
33857 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS));
33858 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT));
33859 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE));
33860 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS));
33861 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT));
33862 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER));
33863 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN));
33864 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT));
33865 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT));
b2dc1044 33866 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
c32bde28
RD
33867 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES));
33868 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES));
33869 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)wxLC_ICON));
33870 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON));
33871 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)wxLC_LIST));
33872 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT));
33873 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP));
33874 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT));
33875 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE));
33876 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL));
33877 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS));
33878 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER));
33879 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER));
33880 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL));
33881 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING));
33882 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING));
33883 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE));
33884 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN));
33885 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT));
33886 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE));
33887 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT));
33888 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE));
33889 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA));
33890 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM));
33891 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH));
33892 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT));
33893 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE));
33894 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED));
33895 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED));
33896 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED));
33897 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT));
33898 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED));
33899 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED));
33900 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE));
33901 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED));
33902 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE));
33903 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE));
33904 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW));
33905 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE));
33906 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON));
33907 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL));
33908 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT));
33909 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON));
33910 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT));
33911 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT));
33912 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM));
33913 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE));
33914 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL));
33915 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW));
33916 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT));
33917 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT));
33918 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT));
33919 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT));
33920 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP));
33921 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID));
33922 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT));
33923 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT));
33924 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE));
33925 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER));
33926 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE));
33927 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER));
33928 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS));
33929 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON));
33930 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL));
33931 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP));
33932 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN));
33933 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT));
33934 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT));
d14a1e28
RD
33935 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33936 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33937 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33938 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33939 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33940 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33941 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33942 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33943 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33944 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33945 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33946 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33947 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33948 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33949 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33950 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33951 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33952 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33953 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33954 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33955 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33956 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33957
33958 // Map renamed classes back to their common name for OOR
33959 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33960
b2dc1044 33961 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
c32bde28
RD
33962 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS));
33963 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS));
33964 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES));
33965 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT));
33966 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE));
33967 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE));
33968 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED));
33969 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33970 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS));
33971 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT));
33972 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES));
33973 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT));
33974 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE));
33975 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS));
33976 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS));
33977 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS));
33978 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal));
33979 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected));
33980 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded));
33981 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded));
33982 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max));
33983 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE));
33984 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW));
33985 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE));
33986 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON));
33987 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON));
33988 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT));
33989 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL));
33990 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT));
33991 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON));
33992 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT));
33993 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT));
33994 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART));
33995 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART));
33996 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM));
d14a1e28
RD
33997 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33998 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33999 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
34000 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
34001 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
34002 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
34003 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
34004 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
34005 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
34006 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
34007 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
34008 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
34009 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
34010 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
34011 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
34012 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
34013 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
34014 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
34015 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 34016 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
d14a1e28
RD
34017
34018 // Map renamed classes back to their common name for OOR
34019 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34020 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34021
b2dc1044 34022 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
c32bde28
RD
34023 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY));
34024 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST));
34025 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS));
34026 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL));
34027 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS));
34028 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP));
34029 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP));
d14a1e28
RD
34030 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
34031 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
34032
34033 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
34034
d14a1e28
RD
34035}
34036