]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
Add flags parameter to wx.Process.Kill and wx.Kill
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
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
c370783e 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d55e5bfc
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
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
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
83#else
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
86#endif
87
88#ifdef SWIG_GLOBAL
89# define SWIGRUNTIME(a) SWIGEXPORT(a)
90#else
91# define SWIGRUNTIME(a) static a
92#endif
93
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 {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
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 *);
c370783e 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d55e5bfc
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124#ifdef __cplusplus
125}
126#endif
127
c370783e 128
d55e5bfc
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
d55e5bfc
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
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)
174
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)
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
187typedef double (*py_objasdbl_conv)(PyObject *obj);
188
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[]);
197
198
199/* Contract support */
200
201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203#ifdef __cplusplus
204}
205#endif
206
207
c370783e 208
d55e5bfc
RD
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
6e0de3df
RD
212#define SWIGTYPE_p_wxSizer swig_types[1]
213#define SWIGTYPE_p_wxCheckBox swig_types[2]
214#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
215#define SWIGTYPE_p_wxEvent swig_types[4]
216#define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
217#define SWIGTYPE_p_bool swig_types[6]
218#define SWIGTYPE_p_wxPyTreeItemData swig_types[7]
219#define SWIGTYPE_p_wxItemContainer swig_types[8]
220#define SWIGTYPE_p_wxPyListCtrl swig_types[9]
221#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
222#define SWIGTYPE_p_wxStaticLine swig_types[11]
223#define SWIGTYPE_p_wxControl swig_types[12]
224#define SWIGTYPE_p_wxPyControl swig_types[13]
225#define SWIGTYPE_p_wxGauge swig_types[14]
226#define SWIGTYPE_p_wxToolBarBase swig_types[15]
227#define SWIGTYPE_p_wxFont swig_types[16]
228#define SWIGTYPE_p_wxToggleButton swig_types[17]
229#define SWIGTYPE_p_wxRadioButton swig_types[18]
230#define SWIGTYPE_p_wxChoice swig_types[19]
231#define SWIGTYPE_p_wxMemoryDC swig_types[20]
232#define SWIGTYPE_p_wxListItemAttr swig_types[21]
233#define SWIGTYPE_p_void swig_types[22]
234#define SWIGTYPE_p_int swig_types[23]
235#define SWIGTYPE_p_wxSize swig_types[24]
236#define SWIGTYPE_p_wxDC swig_types[25]
237#define SWIGTYPE_p_wxListView swig_types[26]
238#define SWIGTYPE_p_wxIcon swig_types[27]
239#define SWIGTYPE_p_wxVisualAttributes swig_types[28]
240#define SWIGTYPE_p_wxTextCtrl swig_types[29]
241#define SWIGTYPE_p_wxNotebook swig_types[30]
242#define SWIGTYPE_p_wxChoicebook swig_types[31]
243#define SWIGTYPE_p_wxNotifyEvent swig_types[32]
244#define SWIGTYPE_p_wxArrayString swig_types[33]
245#define SWIGTYPE_p_wxListbook swig_types[34]
246#define SWIGTYPE_p_wxStaticBitmap swig_types[35]
247#define SWIGTYPE_p_wxSlider swig_types[36]
248#define SWIGTYPE_p_wxStaticBox swig_types[37]
249#define SWIGTYPE_p_wxArrayInt swig_types[38]
250#define SWIGTYPE_p_wxContextHelp swig_types[39]
251#define SWIGTYPE_p_long swig_types[40]
252#define SWIGTYPE_p_wxBookCtrlBase swig_types[41]
b411df4a
RD
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]
6e0de3df
RD
257#define SWIGTYPE_p_wxSpinButton swig_types[46]
258#define SWIGTYPE_p_wxButton swig_types[47]
259#define SWIGTYPE_p_wxBitmapButton swig_types[48]
260#define SWIGTYPE_p_wxRect swig_types[49]
261#define SWIGTYPE_p_wxContextHelpButton swig_types[50]
262#define SWIGTYPE_p_wxRadioBox swig_types[51]
263#define SWIGTYPE_p_wxScrollBar swig_types[52]
264#define SWIGTYPE_p_char swig_types[53]
265#define SWIGTYPE_p_wxTreeItemId swig_types[54]
266#define SWIGTYPE_p_wxComboBox swig_types[55]
267#define SWIGTYPE_p_wxHelpEvent swig_types[56]
268#define SWIGTYPE_p_wxListItem swig_types[57]
269#define SWIGTYPE_p_wxNotebookSizer swig_types[58]
270#define SWIGTYPE_p_wxSpinEvent swig_types[59]
271#define SWIGTYPE_p_wxGenericDragImage swig_types[60]
272#define SWIGTYPE_p_wxSpinCtrl swig_types[61]
273#define SWIGTYPE_p_wxImageList swig_types[62]
274#define SWIGTYPE_p_wxHelpProvider swig_types[63]
275#define SWIGTYPE_p_wxTextAttr swig_types[64]
276#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
277#define SWIGTYPE_p_wxPoint swig_types[66]
278#define SWIGTYPE_p_wxChoicebookEvent swig_types[67]
279#define SWIGTYPE_p_wxListbookEvent swig_types[68]
280#define SWIGTYPE_p_wxNotebookEvent swig_types[69]
281#define SWIGTYPE_p_wxObject swig_types[70]
282#define SWIGTYPE_p_wxCursor swig_types[71]
283#define SWIGTYPE_p_wxKeyEvent swig_types[72]
284#define SWIGTYPE_p_wxWindow swig_types[73]
285#define SWIGTYPE_p_wxString swig_types[74]
286#define SWIGTYPE_p_wxBitmap swig_types[75]
287#define SWIGTYPE_p_wxTreeEvent swig_types[76]
288#define SWIGTYPE_p_wxMouseEvent swig_types[77]
289#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[78]
b411df4a
RD
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];
d55e5bfc
RD
299
300/* -------- TYPES TABLE (END) -------- */
301
302
303/*-----------------------------------------------
304 @(target):= _controls_.so
305 ------------------------------------------------*/
306#define SWIG_init init_controls_
307
308#define SWIG_name "_controls_"
309
c370783e
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
d55e5bfc
RD
315
316#ifdef __cplusplus
317#define SWIGSTATICINLINE(a) static inline a
318#define SWIGSTATIC(a) static a
c370783e
RD
319#define swig_new_array(size,Type) (new Type[(size)])
320#define swig_delete(cptr) delete cptr
d55e5bfc 321#define swig_delete_array(cptr) delete[] cptr
c370783e
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)
d55e5bfc
RD
327
328#else /* C case */
329
330#define SWIGSTATICINLINE(a) static a
331#define SWIGSTATIC(a) static a
c370783e
RD
332#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333#define swig_delete(cptr) free((char*)cptr)
d55e5bfc 334#define swig_delete_array(cptr) free((char*)cptr)
c370783e
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)))
d55e5bfc
RD
340
341#endif /* __cplusplus */
342
343
c370783e
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/*@@*/
d55e5bfc
RD
368
369
370#include "wx/wxPython/wxPython.h"
371#include "wx/wxPython/pyclasses.h"
372
373 static const wxString wxPyPanelNameStr(wxPanelNameStr);
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyControlNameStr(wxControlNameStr);
376
377 const wxArrayString wxPyEmptyStringArray;
378
379 static const wxString wxPyButtonNameStr(wxButtonNameStr);
380
381#include <limits.h>
382
383
c370783e
RD
384SWIGSTATICINLINE(int)
385 SWIG_CheckLongInRange(long value, long min_value, long max_value,
386 const char *errmsg)
d55e5bfc 387{
c370783e
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);
d55e5bfc 400 }
c370783e 401 return 0;
d55e5bfc 402 }
c370783e 403 return 1;
d55e5bfc
RD
404}
405
406
c370783e
RD
407// See my_fragments.i
408SWIGSTATICINLINE(int)
409SWIG_AsVal_long(PyObject* obj, long* val)
d55e5bfc 410{
c370783e
RD
411 if (PyNumber_Check(obj)) {
412 if (val) *val = PyInt_AsLong(obj);
413 return 1;
414 }
d55e5bfc
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);
d55e5bfc 420 }
c370783e 421 return 0;
d55e5bfc
RD
422}
423
424
425#if INT_MAX != LONG_MAX
426SWIGSTATICINLINE(int)
c370783e 427 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 428{
c370783e
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;
d55e5bfc
RD
445}
446#else
c370783e
RD
447SWIGSTATICINLINE(int)
448 SWIG_AsVal_int(PyObject *obj, int *val)
449{
450 return SWIG_AsVal_long(obj,(long*)val);
451}
d55e5bfc
RD
452#endif
453
454
455SWIGSTATICINLINE(int)
c370783e 456SWIG_As_int(PyObject* obj)
d55e5bfc 457{
c370783e
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));
d55e5bfc 466 }
c370783e 467 return v;
d55e5bfc
RD
468}
469
470
c370783e
RD
471SWIGSTATICINLINE(long)
472SWIG_As_long(PyObject* obj)
d55e5bfc 473{
c370783e
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));
d55e5bfc 482 }
c370783e 483 return v;
d55e5bfc
RD
484}
485
c370783e
RD
486
487SWIGSTATICINLINE(int)
488SWIG_Check_int(PyObject* obj)
489{
490 return SWIG_AsVal_int(obj, (int*)0);
491}
d55e5bfc 492
c370783e
RD
493
494SWIGSTATICINLINE(int)
495SWIG_Check_long(PyObject* obj)
d55e5bfc 496{
c370783e 497 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
498}
499
c370783e 500 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc
RD
501
502SWIGSTATICINLINE(int)
c370783e 503 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 504{
c370783e
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;
d55e5bfc
RD
512 return 1;
513 }
c370783e
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);
d55e5bfc
RD
546}
547
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);
554
555#include <wx/checklst.h>
556
557
558 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
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 }
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 }
593 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
594
c370783e 595 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
596 PyObject* o2;
597 PyObject* o3;
c370783e 598
d55e5bfc
RD
599 if (!target) {
600 target = o;
601 } else if (target == Py_None) {
602 Py_DECREF(Py_None);
603 target = o;
629e65c2
RD
604 } else {
605 if (!PyTuple_Check(target)) {
606 o2 = target;
607 target = PyTuple_New(1);
608 PyTuple_SetItem(target, 0, o2);
609 }
d55e5bfc
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;
629e65c2 619 }
d55e5bfc
RD
620
621
c370783e
RD
622
623// See my_fragments.i
624SWIGSTATICINLINE(int)
625SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 626{
c370783e
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;
d55e5bfc 631 }
c370783e
RD
632 else if (val)
633 *val = (unsigned long)v;
634 return 1;
d55e5bfc
RD
635}
636
637
c370783e
RD
638SWIGSTATICINLINE(unsigned long)
639SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 640{
c370783e
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));
d55e5bfc 649 }
c370783e
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);
d55e5bfc
RD
658}
659
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 }
666 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
667 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
668 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
669 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
670 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
671
672#include <wx/slider.h>
673
674
675 static const wxString wxPySliderNameStr(wxSliderNameStr);
676 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
677
678#if !wxUSE_TOGGLEBTN
679// implement dummy items for platforms that don't have this class
680
681#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
682
683class wxToggleButton : public wxControl
684{
685public:
686 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
687 const wxPoint&, const wxSize&, long,
688 const wxValidator&, const wxString&)
689 { wxPyRaiseNotImplemented(); }
690
691 wxToggleButton()
692 { wxPyRaiseNotImplemented(); }
693};
694#endif
695
696 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
697
698SWIGSTATICINLINE(PyObject* )
c370783e 699 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
700{
701 return (value > LONG_MAX) ?
702 PyLong_FromUnsignedLong(value)
c370783e 703 : PyInt_FromLong(swig_numeric_cast(value,long));
d55e5bfc
RD
704}
705
706 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
707PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
708 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
709 if (udata) {
710 Py_INCREF(udata->m_obj);
711 return udata->m_obj;
712 } else {
713 Py_INCREF(Py_None);
714 return Py_None;
715 }
716 }
717void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
718 self->SetClientData(new wxPyUserData(clientData));
719 }
720wxToolBarToolBase *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){
721 wxPyUserData* udata = NULL;
722 if (clientData && clientData != Py_None)
723 udata = new wxPyUserData(clientData);
724 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
725 shortHelp, longHelp, udata);
726 }
727wxToolBarToolBase *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){
728 wxPyUserData* udata = NULL;
729 if (clientData && clientData != Py_None)
730 udata = new wxPyUserData(clientData);
731 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
732 shortHelp, longHelp, udata);
733 }
734PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
735 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
736 if (udata) {
737 Py_INCREF(udata->m_obj);
738 return udata->m_obj;
739 } else {
740 Py_INCREF(Py_None);
741 return Py_None;
742 }
743 }
744void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
745 self->SetToolClientData(id, new wxPyUserData(clientData));
746 }
747
748#include <wx/listctrl.h>
749
d55e5bfc
RD
750 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
751void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
752 // Python aware sorting function for wxPyListCtrl
753 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
754 int retval = 0;
755 PyObject* func = (PyObject*)funcPtr;
756 bool blocked = wxPyBeginBlockThreads();
757
758 PyObject* args = Py_BuildValue("(ii)", item1, item2);
759 PyObject* result = PyEval_CallObject(func, args);
760 Py_DECREF(args);
761 if (result) {
762 retval = PyInt_AsLong(result);
763 Py_DECREF(result);
764 }
765
766 wxPyEndBlockThreads(blocked);
767 return retval;
768 }
769
770 // C++ Version of a Python aware class
771class wxPyListCtrl : public wxListCtrl {
772 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
773public:
774 wxPyListCtrl() : wxListCtrl() {}
775 wxPyListCtrl(wxWindow* parent, wxWindowID id,
776 const wxPoint& pos,
777 const wxSize& size,
778 long style,
779 const wxValidator& validator,
780 const wxString& name) :
781 wxListCtrl(parent, id, pos, size, style, validator, name) {}
782
783 bool Create(wxWindow* parent, wxWindowID id,
784 const wxPoint& pos,
785 const wxSize& size,
786 long style,
787 const wxValidator& validator,
788 const wxString& name) {
789 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
790 }
791
792 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
793 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
794
84f85550
RD
795 // use the virtual version to avoid a confusing assert in the base class
796 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
797
d55e5bfc
RD
798 PYPRIVATE;
799};
800
801IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
802
803IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 804IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
805IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
806
d55e5bfc
RD
807
808wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
809 wxListItem item;
810 item.SetMask( wxLIST_MASK_STATE |
811 wxLIST_MASK_TEXT |
812 wxLIST_MASK_IMAGE |
813 wxLIST_MASK_DATA |
814 wxLIST_SET_ITEM |
815 wxLIST_MASK_WIDTH |
816 wxLIST_MASK_FORMAT
817 );
818 if (self->GetColumn(col, item))
819 return new wxListItem(item);
820 else
821 return NULL;
822 }
823wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
824 wxListItem* info = new wxListItem;
825 info->m_itemId = itemId;
826 info->m_col = col;
827 info->m_mask = 0xFFFF;
828 self->GetItem(*info);
829 return info;
830 }
831wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
832 wxPoint pos;
833 self->GetItemPosition(item, pos);
834 return pos;
835 }
836wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
837 wxRect rect;
838 self->GetItemRect(item, rect, code);
839 return rect;
840 }
c370783e 841
d55e5bfc
RD
842bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
843 if (!PyCallable_Check(func))
b411df4a 844 return false;
d55e5bfc
RD
845 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
846 }
847wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
848
849
850
851 return (wxWindow*)self->m_mainWin;
852
853 }
854
855#include <wx/treectrl.h>
856#include "wx/wxPython/pytree.h"
857
858 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
b411df4a
RD
859bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
860bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
d55e5bfc
RD
861void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
862 // C++ version of Python aware wxTreeCtrl
863class wxPyTreeCtrl : public wxTreeCtrl {
864 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
865public:
866 wxPyTreeCtrl() : wxTreeCtrl() {}
867 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
868 const wxPoint& pos,
869 const wxSize& size,
870 long style,
871 const wxValidator& validator,
872 const wxString& name) :
873 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
874
875 bool Create(wxWindow *parent, wxWindowID id,
876 const wxPoint& pos,
877 const wxSize& size,
878 long style,
879 const wxValidator& validator,
880 const wxString& name) {
881 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
882 }
883
884
885 int OnCompareItems(const wxTreeItemId& item1,
886 const wxTreeItemId& item2) {
887 int rval = 0;
888 bool found;
889 bool blocked = wxPyBeginBlockThreads();
890 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
b411df4a
RD
891 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
892 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
893 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
894 Py_DECREF(o1);
895 Py_DECREF(o2);
896 }
897 wxPyEndBlockThreads(blocked);
898 if (! found)
899 rval = wxTreeCtrl::OnCompareItems(item1, item2);
900 return rval;
901 }
902 PYPRIVATE;
903};
904
905IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
906
907
908
909#if UINT_MAX < LONG_MAX
c370783e
RD
910/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
911#define SWIG_From_unsigned_SS_int SWIG_From_long
912/*@@*/
d55e5bfc 913#else
c370783e
RD
914/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
915#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
916/*@@*/
d55e5bfc
RD
917#endif
918
919
c370783e
RD
920SWIGSTATICINLINE(int)
921 SWIG_CheckUnsignedLongInRange(unsigned long value,
922 unsigned long max_value,
923 const char *errmsg)
d55e5bfc 924{
c370783e
RD
925 if (value > max_value) {
926 if (errmsg) {
927 PyErr_Format(PyExc_OverflowError,
928 "value %ld is greater than '%s' minimum %ld",
929 value, errmsg, max_value);
d55e5bfc 930 }
c370783e 931 return 0;
d55e5bfc 932 }
c370783e
RD
933 return 1;
934 }
d55e5bfc
RD
935
936
937#if UINT_MAX != ULONG_MAX
c370783e
RD
938SWIGSTATICINLINE(int)
939 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 940{
c370783e
RD
941 const char* errmsg = val ? "unsigned int" : 0;
942 unsigned long v;
943 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
944 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
945 if (val) *val = swig_numeric_cast(v, unsigned int);
946 return 1;
947 }
948 } else {
949 PyErr_Clear();
950 }
951 if (val) {
952 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
953 }
954 return 0;
d55e5bfc
RD
955}
956#else
c370783e
RD
957SWIGSTATICINLINE(unsigned int)
958 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
959{
960 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
961}
d55e5bfc
RD
962#endif
963
964
c370783e
RD
965SWIGSTATICINLINE(unsigned int)
966SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 967{
c370783e
RD
968 unsigned int v;
969 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
970 /*
971 this is needed to make valgrind/purify happier. the other
972 solution is throw an exception, but since this code should work
973 with plain C ....
974 */
975 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 976 }
c370783e
RD
977 return v;
978}
979
980
981SWIGSTATICINLINE(int)
982SWIG_Check_unsigned_SS_int(PyObject* obj)
983{
984 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
985}
986
987wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
988 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
989 if (data == NULL) {
990 data = new wxPyTreeItemData();
991 data->SetId(item); // set the id
992 self->SetItemData(item, data);
993 }
994 return data;
995 }
996PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
997 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
998 if (data == NULL) {
999 data = new wxPyTreeItemData();
1000 data->SetId(item); // set the id
1001 self->SetItemData(item, data);
1002 }
1003 return data->GetData();
1004 }
1005void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
1006 data->SetId(item); // set the id
1007 self->SetItemData(item, data);
1008 }
1009void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
1010 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1011 if (data == NULL) {
1012 data = new wxPyTreeItemData(obj);
1013 data->SetId(item); // set the id
1014 self->SetItemData(item, data);
1015 } else
1016 data->SetData(obj);
1017 }
1018PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
1019 bool blocked = wxPyBeginBlockThreads();
1020 PyObject* rval = PyList_New(0);
1021 wxArrayTreeItemIds array;
1022 size_t num, x;
1023 num = self->GetSelections(array);
1024 for (x=0; x < num; x++) {
1025 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
b411df4a 1026 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 1027 PyList_Append(rval, item);
68e533f8 1028 Py_DECREF(item);
d55e5bfc
RD
1029 }
1030 wxPyEndBlockThreads(blocked);
1031 return rval;
1032 }
1033PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
1034 void* cookie = 0;
1035 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
1036 bool blocked = wxPyBeginBlockThreads();
1037 PyObject* tup = PyTuple_New(2);
b411df4a 1038 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
1039 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1040 wxPyEndBlockThreads(blocked);
1041 return tup;
1042 }
1043PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
1044 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
1045 bool blocked = wxPyBeginBlockThreads();
1046 PyObject* tup = PyTuple_New(2);
b411df4a 1047 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
1048 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1049 wxPyEndBlockThreads(blocked);
1050 return tup;
1051 }
1052PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
1053 wxRect rect;
1054 if (self->GetBoundingRect(item, rect, textOnly)) {
1055 bool blocked = wxPyBeginBlockThreads();
1056 wxRect* r = new wxRect(rect);
b411df4a 1057 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
1058 wxPyEndBlockThreads(blocked);
1059 return val;
1060 }
1061 else
1062 RETURN_NONE();
1063 }
1064 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c370783e
RD
1065
1066SWIGSTATICINLINE(PyObject*)
1067 SWIG_From_bool(bool value)
1068{
1069 PyObject *obj = value ? Py_True : Py_False;
1070 Py_INCREF(obj);
1071 return obj;
1072}
1073
1074
d55e5bfc
RD
1075 // C++ version of Python aware wxControl
1076class wxPyControl : public wxControl
1077{
1078 DECLARE_DYNAMIC_CLASS(wxPyControl)
1079public:
1080 wxPyControl() : wxControl() {}
1081 wxPyControl(wxWindow* parent, const wxWindowID id,
1082 const wxPoint& pos = wxDefaultPosition,
1083 const wxSize& size = wxDefaultSize,
1084 long style = 0,
1085 const wxValidator& validator=wxDefaultValidator,
1086 const wxString& name = wxPyControlNameStr)
1087 : wxControl(parent, id, pos, size, style, validator, name) {}
1088
a5ee0656 1089 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc
RD
1090
1091 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1092 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1093 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1094 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1095
1096 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1097 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1098 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1099
1100 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1101 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1102
1103 DEC_PYCALLBACK__(InitDialog);
1104 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1105 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1106 DEC_PYCALLBACK_BOOL_(Validate);
1107
1108 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1109 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1110 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1111
1112 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1113 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1114
a5ee0656 1115 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1116 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
a5ee0656 1117 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1118
1119 PYPRIVATE;
1120};
1121
1122IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
1123
1124IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
1125IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
1126IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
1127IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
1128
1129IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
1130IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
1131IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
1132
1133IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
1134IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
1135
1136IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
1137IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
1138IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
1139IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1140
1141IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1142IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1143IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1144
1145IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1146IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1147
a5ee0656 1148IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
d55e5bfc 1149IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
a5ee0656 1150IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc
RD
1151
1152
1153
1154void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1155
1156#include <wx/generic/dragimgg.h>
1157
1158#ifdef __cplusplus
1159extern "C" {
1160#endif
c370783e 1161static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
1162 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1163 return 1;
1164}
1165
1166
1167static PyObject *_wrap_ButtonNameStr_get() {
1168 PyObject *pyobj;
1169
1170 {
1171#if wxUSE_UNICODE
1172 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1173#else
1174 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1175#endif
1176 }
1177 return pyobj;
1178}
1179
1180
c370783e 1181static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1182 PyObject *resultobj;
1183 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
1184 int arg2 = (int) -1 ;
1185 wxString const &arg3_defvalue = wxPyEmptyString ;
1186 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
1187 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1188 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1189 wxSize const &arg5_defvalue = wxDefaultSize ;
1190 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1191 long arg6 = (long) 0 ;
1192 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1193 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1194 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1195 wxString *arg8 = (wxString *) &arg8_defvalue ;
1196 wxButton *result;
b411df4a 1197 bool temp3 = false ;
d55e5bfc
RD
1198 wxPoint temp4 ;
1199 wxSize temp5 ;
b411df4a 1200 bool temp8 = false ;
d55e5bfc
RD
1201 PyObject * obj0 = 0 ;
1202 PyObject * obj1 = 0 ;
1203 PyObject * obj2 = 0 ;
1204 PyObject * obj3 = 0 ;
1205 PyObject * obj4 = 0 ;
1206 PyObject * obj5 = 0 ;
1207 PyObject * obj6 = 0 ;
1208 PyObject * obj7 = 0 ;
1209 char *kwnames[] = {
1210 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1211 };
1212
bfddbb17 1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
1214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 1216 if (obj1) {
c370783e 1217 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 if (obj2) {
1221 {
1222 arg3 = wxString_in_helper(obj2);
1223 if (arg3 == NULL) SWIG_fail;
b411df4a 1224 temp3 = true;
bfddbb17 1225 }
d55e5bfc
RD
1226 }
1227 if (obj3) {
1228 {
1229 arg4 = &temp4;
1230 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1231 }
1232 }
1233 if (obj4) {
1234 {
1235 arg5 = &temp5;
1236 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1237 }
1238 }
1239 if (obj5) {
c370783e 1240 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
1241 if (PyErr_Occurred()) SWIG_fail;
1242 }
1243 if (obj6) {
1244 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1245 SWIG_POINTER_EXCEPTION | 0)) == -1)
1246 SWIG_fail;
1247 if (arg7 == NULL) {
1248 PyErr_SetString(PyExc_TypeError,"null reference");
1249 SWIG_fail;
1250 }
1251 }
1252 if (obj7) {
1253 {
1254 arg8 = wxString_in_helper(obj7);
1255 if (arg8 == NULL) SWIG_fail;
b411df4a 1256 temp8 = true;
d55e5bfc
RD
1257 }
1258 }
1259 {
0439c23b 1260 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
1262 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1263
1264 wxPyEndAllowThreads(__tstate);
110da5b0 1265 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1266 }
b0f7404b 1267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
1268 {
1269 if (temp3)
1270 delete arg3;
1271 }
1272 {
1273 if (temp8)
1274 delete arg8;
1275 }
1276 return resultobj;
1277 fail:
1278 {
1279 if (temp3)
1280 delete arg3;
1281 }
1282 {
1283 if (temp8)
1284 delete arg8;
1285 }
1286 return NULL;
1287}
1288
1289
c370783e 1290static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1291 PyObject *resultobj;
1292 wxButton *result;
1293 char *kwnames[] = {
1294 NULL
1295 };
1296
1297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1298 {
0439c23b 1299 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 result = (wxButton *)new wxButton();
1302
1303 wxPyEndAllowThreads(__tstate);
110da5b0 1304 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1305 }
b0f7404b 1306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
1307 return resultobj;
1308 fail:
1309 return NULL;
1310}
1311
1312
c370783e 1313static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1314 PyObject *resultobj;
1315 wxButton *arg1 = (wxButton *) 0 ;
1316 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
1317 int arg3 = (int) -1 ;
1318 wxString const &arg4_defvalue = wxPyEmptyString ;
1319 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
1320 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1321 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1322 wxSize const &arg6_defvalue = wxDefaultSize ;
1323 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1324 long arg7 = (long) 0 ;
1325 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1326 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1327 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1328 wxString *arg9 = (wxString *) &arg9_defvalue ;
1329 bool result;
b411df4a 1330 bool temp4 = false ;
d55e5bfc
RD
1331 wxPoint temp5 ;
1332 wxSize temp6 ;
b411df4a 1333 bool temp9 = false ;
d55e5bfc
RD
1334 PyObject * obj0 = 0 ;
1335 PyObject * obj1 = 0 ;
1336 PyObject * obj2 = 0 ;
1337 PyObject * obj3 = 0 ;
1338 PyObject * obj4 = 0 ;
1339 PyObject * obj5 = 0 ;
1340 PyObject * obj6 = 0 ;
1341 PyObject * obj7 = 0 ;
1342 PyObject * obj8 = 0 ;
1343 char *kwnames[] = {
1344 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1345 };
1346
bfddbb17 1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
1348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 1352 if (obj2) {
c370783e 1353 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 if (obj3) {
1357 {
1358 arg4 = wxString_in_helper(obj3);
1359 if (arg4 == NULL) SWIG_fail;
b411df4a 1360 temp4 = true;
bfddbb17 1361 }
d55e5bfc
RD
1362 }
1363 if (obj4) {
1364 {
1365 arg5 = &temp5;
1366 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1367 }
1368 }
1369 if (obj5) {
1370 {
1371 arg6 = &temp6;
1372 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1373 }
1374 }
1375 if (obj6) {
c370783e 1376 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
1377 if (PyErr_Occurred()) SWIG_fail;
1378 }
1379 if (obj7) {
1380 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1381 SWIG_POINTER_EXCEPTION | 0)) == -1)
1382 SWIG_fail;
1383 if (arg8 == NULL) {
1384 PyErr_SetString(PyExc_TypeError,"null reference");
1385 SWIG_fail;
1386 }
1387 }
1388 if (obj8) {
1389 {
1390 arg9 = wxString_in_helper(obj8);
1391 if (arg9 == NULL) SWIG_fail;
b411df4a 1392 temp9 = true;
d55e5bfc
RD
1393 }
1394 }
1395 {
1396 PyThreadState* __tstate = wxPyBeginAllowThreads();
1397 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1398
1399 wxPyEndAllowThreads(__tstate);
1400 if (PyErr_Occurred()) SWIG_fail;
1401 }
1402 {
1403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1404 }
1405 {
1406 if (temp4)
1407 delete arg4;
1408 }
1409 {
1410 if (temp9)
1411 delete arg9;
1412 }
1413 return resultobj;
1414 fail:
1415 {
1416 if (temp4)
1417 delete arg4;
1418 }
1419 {
1420 if (temp9)
1421 delete arg9;
1422 }
1423 return NULL;
1424}
1425
1426
c370783e 1427static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1428 PyObject *resultobj;
1429 wxButton *arg1 = (wxButton *) 0 ;
1430 PyObject * obj0 = 0 ;
1431 char *kwnames[] = {
1432 (char *) "self", NULL
1433 };
1434
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1438 {
1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
1440 (arg1)->SetDefault();
1441
1442 wxPyEndAllowThreads(__tstate);
1443 if (PyErr_Occurred()) SWIG_fail;
1444 }
1445 Py_INCREF(Py_None); resultobj = Py_None;
1446 return resultobj;
1447 fail:
1448 return NULL;
1449}
1450
1451
c370783e 1452static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1453 PyObject *resultobj;
1454 wxSize result;
1455 char *kwnames[] = {
1456 NULL
1457 };
1458
1459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1460 {
1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
1462 result = wxButton::GetDefaultSize();
1463
1464 wxPyEndAllowThreads(__tstate);
1465 if (PyErr_Occurred()) SWIG_fail;
1466 }
1467 {
1468 wxSize * resultptr;
1469 resultptr = new wxSize((wxSize &) result);
1470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1471 }
1472 return resultobj;
1473 fail:
1474 return NULL;
1475}
1476
1477
c370783e 1478static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
1479 PyObject *resultobj;
1480 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1481 wxVisualAttributes result;
1482 PyObject * obj0 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "variant", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1488 if (obj0) {
c370783e 1489 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 {
0439c23b 1493 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
1494 PyThreadState* __tstate = wxPyBeginAllowThreads();
1495 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1496
1497 wxPyEndAllowThreads(__tstate);
110da5b0 1498 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
1499 }
1500 {
1501 wxVisualAttributes * resultptr;
1502 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1504 }
1505 return resultobj;
1506 fail:
1507 return NULL;
1508}
1509
1510
c370783e 1511static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
1512 PyObject *obj;
1513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1514 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1515 Py_INCREF(obj);
1516 return Py_BuildValue((char *)"");
1517}
c370783e 1518static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1519 PyObject *resultobj;
1520 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
1521 int arg2 = (int) -1 ;
1522 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1523 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
1524 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1525 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1526 wxSize const &arg5_defvalue = wxDefaultSize ;
1527 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1528 long arg6 = (long) wxBU_AUTODRAW ;
1529 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1530 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1531 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1532 wxString *arg8 = (wxString *) &arg8_defvalue ;
1533 wxBitmapButton *result;
1534 wxPoint temp4 ;
1535 wxSize temp5 ;
b411df4a 1536 bool temp8 = false ;
d55e5bfc
RD
1537 PyObject * obj0 = 0 ;
1538 PyObject * obj1 = 0 ;
1539 PyObject * obj2 = 0 ;
1540 PyObject * obj3 = 0 ;
1541 PyObject * obj4 = 0 ;
1542 PyObject * obj5 = 0 ;
1543 PyObject * obj6 = 0 ;
1544 PyObject * obj7 = 0 ;
1545 char *kwnames[] = {
1546 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1547 };
1548
bfddbb17 1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
1550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 1552 if (obj1) {
c370783e 1553 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
1554 if (PyErr_Occurred()) SWIG_fail;
1555 }
1556 if (obj2) {
1557 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1558 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 1559 SWIG_fail;
bfddbb17
RD
1560 if (arg3 == NULL) {
1561 PyErr_SetString(PyExc_TypeError,"null reference");
1562 SWIG_fail;
1563 }
d55e5bfc
RD
1564 }
1565 if (obj3) {
1566 {
1567 arg4 = &temp4;
1568 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1569 }
1570 }
1571 if (obj4) {
1572 {
1573 arg5 = &temp5;
1574 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1575 }
1576 }
1577 if (obj5) {
c370783e 1578 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
1579 if (PyErr_Occurred()) SWIG_fail;
1580 }
1581 if (obj6) {
1582 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1583 SWIG_POINTER_EXCEPTION | 0)) == -1)
1584 SWIG_fail;
1585 if (arg7 == NULL) {
1586 PyErr_SetString(PyExc_TypeError,"null reference");
1587 SWIG_fail;
1588 }
1589 }
1590 if (obj7) {
1591 {
1592 arg8 = wxString_in_helper(obj7);
1593 if (arg8 == NULL) SWIG_fail;
b411df4a 1594 temp8 = true;
d55e5bfc
RD
1595 }
1596 }
1597 {
0439c23b 1598 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
1600 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1601
1602 wxPyEndAllowThreads(__tstate);
110da5b0 1603 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1604 }
b0f7404b 1605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
1606 {
1607 if (temp8)
1608 delete arg8;
1609 }
1610 return resultobj;
1611 fail:
1612 {
1613 if (temp8)
1614 delete arg8;
1615 }
1616 return NULL;
1617}
1618
1619
c370783e 1620static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1621 PyObject *resultobj;
1622 wxBitmapButton *result;
1623 char *kwnames[] = {
1624 NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1628 {
0439c23b 1629 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (wxBitmapButton *)new wxBitmapButton();
1632
1633 wxPyEndAllowThreads(__tstate);
110da5b0 1634 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1635 }
b0f7404b 1636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
1637 return resultobj;
1638 fail:
1639 return NULL;
1640}
1641
1642
c370783e 1643static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1644 PyObject *resultobj;
1645 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1646 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
1647 int arg3 = (int) -1 ;
1648 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1649 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
1650 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1651 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1652 wxSize const &arg6_defvalue = wxDefaultSize ;
1653 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1654 long arg7 = (long) wxBU_AUTODRAW ;
1655 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1656 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1657 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1658 wxString *arg9 = (wxString *) &arg9_defvalue ;
1659 bool result;
1660 wxPoint temp5 ;
1661 wxSize temp6 ;
b411df4a 1662 bool temp9 = false ;
d55e5bfc
RD
1663 PyObject * obj0 = 0 ;
1664 PyObject * obj1 = 0 ;
1665 PyObject * obj2 = 0 ;
1666 PyObject * obj3 = 0 ;
1667 PyObject * obj4 = 0 ;
1668 PyObject * obj5 = 0 ;
1669 PyObject * obj6 = 0 ;
1670 PyObject * obj7 = 0 ;
1671 PyObject * obj8 = 0 ;
1672 char *kwnames[] = {
1673 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1674 };
1675
bfddbb17 1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
1677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 1681 if (obj2) {
c370783e 1682 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 if (obj3) {
1686 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1687 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 1688 SWIG_fail;
bfddbb17
RD
1689 if (arg4 == NULL) {
1690 PyErr_SetString(PyExc_TypeError,"null reference");
1691 SWIG_fail;
1692 }
d55e5bfc
RD
1693 }
1694 if (obj4) {
1695 {
1696 arg5 = &temp5;
1697 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1698 }
1699 }
1700 if (obj5) {
1701 {
1702 arg6 = &temp6;
1703 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1704 }
1705 }
1706 if (obj6) {
c370783e 1707 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 if (obj7) {
1711 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1712 SWIG_POINTER_EXCEPTION | 0)) == -1)
1713 SWIG_fail;
1714 if (arg8 == NULL) {
1715 PyErr_SetString(PyExc_TypeError,"null reference");
1716 SWIG_fail;
1717 }
1718 }
1719 if (obj8) {
1720 {
1721 arg9 = wxString_in_helper(obj8);
1722 if (arg9 == NULL) SWIG_fail;
b411df4a 1723 temp9 = true;
d55e5bfc
RD
1724 }
1725 }
1726 {
1727 PyThreadState* __tstate = wxPyBeginAllowThreads();
1728 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1729
1730 wxPyEndAllowThreads(__tstate);
1731 if (PyErr_Occurred()) SWIG_fail;
1732 }
1733 {
1734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1735 }
1736 {
1737 if (temp9)
1738 delete arg9;
1739 }
1740 return resultobj;
1741 fail:
1742 {
1743 if (temp9)
1744 delete arg9;
1745 }
1746 return NULL;
1747}
1748
1749
c370783e 1750static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1751 PyObject *resultobj;
1752 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1753 wxBitmap result;
1754 PyObject * obj0 = 0 ;
1755 char *kwnames[] = {
1756 (char *) "self", NULL
1757 };
1758
1759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 result = (arg1)->GetBitmapLabel();
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 {
1770 wxBitmap * resultptr;
1771 resultptr = new wxBitmap((wxBitmap &) result);
1772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1773 }
1774 return resultobj;
1775 fail:
1776 return NULL;
1777}
1778
1779
c370783e 1780static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1781 PyObject *resultobj;
1782 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1783 wxBitmap result;
1784 PyObject * obj0 = 0 ;
1785 char *kwnames[] = {
1786 (char *) "self", NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 result = (arg1)->GetBitmapDisabled();
1795
1796 wxPyEndAllowThreads(__tstate);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 }
1799 {
1800 wxBitmap * resultptr;
1801 resultptr = new wxBitmap((wxBitmap &) result);
1802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1803 }
1804 return resultobj;
1805 fail:
1806 return NULL;
1807}
1808
1809
c370783e 1810static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1811 PyObject *resultobj;
1812 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1813 wxBitmap result;
1814 PyObject * obj0 = 0 ;
1815 char *kwnames[] = {
1816 (char *) "self", NULL
1817 };
1818
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 result = (arg1)->GetBitmapFocus();
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 {
1830 wxBitmap * resultptr;
1831 resultptr = new wxBitmap((wxBitmap &) result);
1832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1833 }
1834 return resultobj;
1835 fail:
1836 return NULL;
1837}
1838
1839
c370783e 1840static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1841 PyObject *resultobj;
1842 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1843 wxBitmap result;
1844 PyObject * obj0 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1852 {
1853 PyThreadState* __tstate = wxPyBeginAllowThreads();
1854 result = (arg1)->GetBitmapSelected();
1855
1856 wxPyEndAllowThreads(__tstate);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 }
1859 {
1860 wxBitmap * resultptr;
1861 resultptr = new wxBitmap((wxBitmap &) result);
1862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1863 }
1864 return resultobj;
1865 fail:
1866 return NULL;
1867}
1868
1869
c370783e 1870static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1871 PyObject *resultobj;
1872 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1873 wxBitmap *arg2 = 0 ;
1874 PyObject * obj0 = 0 ;
1875 PyObject * obj1 = 0 ;
1876 char *kwnames[] = {
1877 (char *) "self",(char *) "bitmap", NULL
1878 };
1879
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1884 SWIG_POINTER_EXCEPTION | 0)) == -1)
1885 SWIG_fail;
1886 if (arg2 == NULL) {
1887 PyErr_SetString(PyExc_TypeError,"null reference");
1888 SWIG_fail;
1889 }
1890 {
1891 PyThreadState* __tstate = wxPyBeginAllowThreads();
1892 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1893
1894 wxPyEndAllowThreads(__tstate);
1895 if (PyErr_Occurred()) SWIG_fail;
1896 }
1897 Py_INCREF(Py_None); resultobj = Py_None;
1898 return resultobj;
1899 fail:
1900 return NULL;
1901}
1902
1903
c370783e 1904static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1905 PyObject *resultobj;
1906 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1907 wxBitmap *arg2 = 0 ;
1908 PyObject * obj0 = 0 ;
1909 PyObject * obj1 = 0 ;
1910 char *kwnames[] = {
1911 (char *) "self",(char *) "bitmap", NULL
1912 };
1913
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1918 SWIG_POINTER_EXCEPTION | 0)) == -1)
1919 SWIG_fail;
1920 if (arg2 == NULL) {
1921 PyErr_SetString(PyExc_TypeError,"null reference");
1922 SWIG_fail;
1923 }
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 Py_INCREF(Py_None); resultobj = Py_None;
1932 return resultobj;
1933 fail:
1934 return NULL;
1935}
1936
1937
c370783e 1938static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1939 PyObject *resultobj;
1940 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1941 wxBitmap *arg2 = 0 ;
1942 PyObject * obj0 = 0 ;
1943 PyObject * obj1 = 0 ;
1944 char *kwnames[] = {
1945 (char *) "self",(char *) "bitmap", NULL
1946 };
1947
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1952 SWIG_POINTER_EXCEPTION | 0)) == -1)
1953 SWIG_fail;
1954 if (arg2 == NULL) {
1955 PyErr_SetString(PyExc_TypeError,"null reference");
1956 SWIG_fail;
1957 }
1958 {
1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
1960 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1961
1962 wxPyEndAllowThreads(__tstate);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 }
1965 Py_INCREF(Py_None); resultobj = Py_None;
1966 return resultobj;
1967 fail:
1968 return NULL;
1969}
1970
1971
c370783e 1972static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1973 PyObject *resultobj;
1974 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1975 wxBitmap *arg2 = 0 ;
1976 PyObject * obj0 = 0 ;
1977 PyObject * obj1 = 0 ;
1978 char *kwnames[] = {
1979 (char *) "self",(char *) "bitmap", NULL
1980 };
1981
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1986 SWIG_POINTER_EXCEPTION | 0)) == -1)
1987 SWIG_fail;
1988 if (arg2 == NULL) {
1989 PyErr_SetString(PyExc_TypeError,"null reference");
1990 SWIG_fail;
1991 }
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 Py_INCREF(Py_None); resultobj = Py_None;
2000 return resultobj;
2001 fail:
2002 return NULL;
2003}
2004
2005
c370783e 2006static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2007 PyObject *resultobj;
2008 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2009 int arg2 ;
2010 int arg3 ;
2011 PyObject * obj0 = 0 ;
2012 PyObject * obj1 = 0 ;
2013 PyObject * obj2 = 0 ;
2014 char *kwnames[] = {
2015 (char *) "self",(char *) "x",(char *) "y", NULL
2016 };
2017
2018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
2019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2021 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2022 if (PyErr_Occurred()) SWIG_fail;
c370783e 2023 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2024 if (PyErr_Occurred()) SWIG_fail;
2025 {
2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
2027 (arg1)->SetMargins(arg2,arg3);
2028
2029 wxPyEndAllowThreads(__tstate);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 }
2032 Py_INCREF(Py_None); resultobj = Py_None;
2033 return resultobj;
2034 fail:
2035 return NULL;
2036}
2037
2038
c370783e 2039static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2040 PyObject *resultobj;
2041 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2042 int result;
2043 PyObject * obj0 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2051 {
2052 PyThreadState* __tstate = wxPyBeginAllowThreads();
2053 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
2054
2055 wxPyEndAllowThreads(__tstate);
2056 if (PyErr_Occurred()) SWIG_fail;
2057 }
c370783e 2058 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2059 return resultobj;
2060 fail:
2061 return NULL;
2062}
2063
2064
c370783e 2065static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2066 PyObject *resultobj;
2067 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2068 int result;
2069 PyObject * obj0 = 0 ;
2070 char *kwnames[] = {
2071 (char *) "self", NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2077 {
2078 PyThreadState* __tstate = wxPyBeginAllowThreads();
2079 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
2080
2081 wxPyEndAllowThreads(__tstate);
2082 if (PyErr_Occurred()) SWIG_fail;
2083 }
c370783e 2084 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2085 return resultobj;
2086 fail:
2087 return NULL;
2088}
2089
2090
c370783e 2091static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2092 PyObject *obj;
2093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2094 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
2095 Py_INCREF(obj);
2096 return Py_BuildValue((char *)"");
2097}
c370783e 2098static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
2099 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
2100 return 1;
2101}
2102
2103
2104static PyObject *_wrap_CheckBoxNameStr_get() {
2105 PyObject *pyobj;
2106
2107 {
2108#if wxUSE_UNICODE
2109 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
2110#else
2111 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
2112#endif
2113 }
2114 return pyobj;
2115}
2116
2117
c370783e 2118static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2119 PyObject *resultobj;
2120 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2121 int arg2 = (int) -1 ;
2122 wxString const &arg3_defvalue = wxPyEmptyString ;
2123 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
2124 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2125 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2126 wxSize const &arg5_defvalue = wxDefaultSize ;
2127 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2128 long arg6 = (long) 0 ;
2129 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2130 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2131 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
2132 wxString *arg8 = (wxString *) &arg8_defvalue ;
2133 wxCheckBox *result;
b411df4a 2134 bool temp3 = false ;
d55e5bfc
RD
2135 wxPoint temp4 ;
2136 wxSize temp5 ;
b411df4a 2137 bool temp8 = false ;
d55e5bfc
RD
2138 PyObject * obj0 = 0 ;
2139 PyObject * obj1 = 0 ;
2140 PyObject * obj2 = 0 ;
2141 PyObject * obj3 = 0 ;
2142 PyObject * obj4 = 0 ;
2143 PyObject * obj5 = 0 ;
2144 PyObject * obj6 = 0 ;
2145 PyObject * obj7 = 0 ;
2146 char *kwnames[] = {
2147 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2148 };
2149
bfddbb17 2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
2151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 2153 if (obj1) {
c370783e 2154 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 if (obj2) {
2158 {
2159 arg3 = wxString_in_helper(obj2);
2160 if (arg3 == NULL) SWIG_fail;
b411df4a 2161 temp3 = true;
bfddbb17 2162 }
d55e5bfc
RD
2163 }
2164 if (obj3) {
2165 {
2166 arg4 = &temp4;
2167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2168 }
2169 }
2170 if (obj4) {
2171 {
2172 arg5 = &temp5;
2173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2174 }
2175 }
2176 if (obj5) {
c370783e 2177 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
2178 if (PyErr_Occurred()) SWIG_fail;
2179 }
2180 if (obj6) {
2181 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2182 SWIG_POINTER_EXCEPTION | 0)) == -1)
2183 SWIG_fail;
2184 if (arg7 == NULL) {
2185 PyErr_SetString(PyExc_TypeError,"null reference");
2186 SWIG_fail;
2187 }
2188 }
2189 if (obj7) {
2190 {
2191 arg8 = wxString_in_helper(obj7);
2192 if (arg8 == NULL) SWIG_fail;
b411df4a 2193 temp8 = true;
d55e5bfc
RD
2194 }
2195 }
2196 {
0439c23b 2197 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2200
2201 wxPyEndAllowThreads(__tstate);
110da5b0 2202 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2203 }
2204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2205 {
2206 if (temp3)
2207 delete arg3;
2208 }
2209 {
2210 if (temp8)
2211 delete arg8;
2212 }
2213 return resultobj;
2214 fail:
2215 {
2216 if (temp3)
2217 delete arg3;
2218 }
2219 {
2220 if (temp8)
2221 delete arg8;
2222 }
2223 return NULL;
2224}
2225
2226
c370783e 2227static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2228 PyObject *resultobj;
2229 wxCheckBox *result;
2230 char *kwnames[] = {
2231 NULL
2232 };
2233
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2235 {
0439c23b 2236 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2237 PyThreadState* __tstate = wxPyBeginAllowThreads();
2238 result = (wxCheckBox *)new wxCheckBox();
2239
2240 wxPyEndAllowThreads(__tstate);
110da5b0 2241 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2242 }
2243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2244 return resultobj;
2245 fail:
2246 return NULL;
2247}
2248
2249
c370783e 2250static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2251 PyObject *resultobj;
2252 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2253 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2254 int arg3 = (int) -1 ;
2255 wxString const &arg4_defvalue = wxPyEmptyString ;
2256 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2257 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2258 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2259 wxSize const &arg6_defvalue = wxDefaultSize ;
2260 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2261 long arg7 = (long) 0 ;
2262 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2263 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2264 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2265 wxString *arg9 = (wxString *) &arg9_defvalue ;
2266 bool result;
b411df4a 2267 bool temp4 = false ;
d55e5bfc
RD
2268 wxPoint temp5 ;
2269 wxSize temp6 ;
b411df4a 2270 bool temp9 = false ;
d55e5bfc
RD
2271 PyObject * obj0 = 0 ;
2272 PyObject * obj1 = 0 ;
2273 PyObject * obj2 = 0 ;
2274 PyObject * obj3 = 0 ;
2275 PyObject * obj4 = 0 ;
2276 PyObject * obj5 = 0 ;
2277 PyObject * obj6 = 0 ;
2278 PyObject * obj7 = 0 ;
2279 PyObject * obj8 = 0 ;
2280 char *kwnames[] = {
2281 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2282 };
2283
bfddbb17 2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
2285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 2289 if (obj2) {
c370783e 2290 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 if (obj3) {
2294 {
2295 arg4 = wxString_in_helper(obj3);
2296 if (arg4 == NULL) SWIG_fail;
b411df4a 2297 temp4 = true;
bfddbb17 2298 }
d55e5bfc
RD
2299 }
2300 if (obj4) {
2301 {
2302 arg5 = &temp5;
2303 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2304 }
2305 }
2306 if (obj5) {
2307 {
2308 arg6 = &temp6;
2309 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2310 }
2311 }
2312 if (obj6) {
c370783e 2313 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 if (obj7) {
2317 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2318 SWIG_POINTER_EXCEPTION | 0)) == -1)
2319 SWIG_fail;
2320 if (arg8 == NULL) {
2321 PyErr_SetString(PyExc_TypeError,"null reference");
2322 SWIG_fail;
2323 }
2324 }
2325 if (obj8) {
2326 {
2327 arg9 = wxString_in_helper(obj8);
2328 if (arg9 == NULL) SWIG_fail;
b411df4a 2329 temp9 = true;
d55e5bfc
RD
2330 }
2331 }
2332 {
2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2334 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2335
2336 wxPyEndAllowThreads(__tstate);
2337 if (PyErr_Occurred()) SWIG_fail;
2338 }
2339 {
2340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2341 }
2342 {
2343 if (temp4)
2344 delete arg4;
2345 }
2346 {
2347 if (temp9)
2348 delete arg9;
2349 }
2350 return resultobj;
2351 fail:
2352 {
2353 if (temp4)
2354 delete arg4;
2355 }
2356 {
2357 if (temp9)
2358 delete arg9;
2359 }
2360 return NULL;
2361}
2362
2363
c370783e 2364static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2365 PyObject *resultobj;
2366 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2367 bool result;
2368 PyObject * obj0 = 0 ;
2369 char *kwnames[] = {
2370 (char *) "self", NULL
2371 };
2372
2373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2376 {
2377 PyThreadState* __tstate = wxPyBeginAllowThreads();
2378 result = (bool)(arg1)->GetValue();
2379
2380 wxPyEndAllowThreads(__tstate);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 }
2383 {
2384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2385 }
2386 return resultobj;
2387 fail:
2388 return NULL;
2389}
2390
2391
c370783e 2392static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2393 PyObject *resultobj;
2394 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2395 bool result;
2396 PyObject * obj0 = 0 ;
2397 char *kwnames[] = {
2398 (char *) "self", NULL
2399 };
2400
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = (bool)(arg1)->IsChecked();
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 {
2412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2413 }
2414 return resultobj;
2415 fail:
2416 return NULL;
2417}
2418
2419
c370783e 2420static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2421 PyObject *resultobj;
2422 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2423 bool arg2 ;
2424 PyObject * obj0 = 0 ;
2425 PyObject * obj1 = 0 ;
2426 char *kwnames[] = {
2427 (char *) "self",(char *) "state", NULL
2428 };
2429
2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2433 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
2434 if (PyErr_Occurred()) SWIG_fail;
2435 {
2436 PyThreadState* __tstate = wxPyBeginAllowThreads();
2437 (arg1)->SetValue(arg2);
2438
2439 wxPyEndAllowThreads(__tstate);
2440 if (PyErr_Occurred()) SWIG_fail;
2441 }
2442 Py_INCREF(Py_None); resultobj = Py_None;
2443 return resultobj;
2444 fail:
2445 return NULL;
2446}
2447
2448
c370783e 2449static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2450 PyObject *resultobj;
2451 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2452 int result;
2453 PyObject * obj0 = 0 ;
2454 char *kwnames[] = {
2455 (char *) "self", NULL
2456 };
2457
2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
c370783e 2468 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2469 return resultobj;
2470 fail:
2471 return NULL;
2472}
2473
2474
c370783e 2475static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2476 PyObject *resultobj;
2477 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2478 int arg2 ;
2479 PyObject * obj0 = 0 ;
2480 PyObject * obj1 = 0 ;
2481 char *kwnames[] = {
2482 (char *) "self",(char *) "state", NULL
2483 };
2484
2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2488 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2489 if (PyErr_Occurred()) SWIG_fail;
2490 {
2491 PyThreadState* __tstate = wxPyBeginAllowThreads();
2492 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2493
2494 wxPyEndAllowThreads(__tstate);
2495 if (PyErr_Occurred()) SWIG_fail;
2496 }
2497 Py_INCREF(Py_None); resultobj = Py_None;
2498 return resultobj;
2499 fail:
2500 return NULL;
2501}
2502
2503
c370783e 2504static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2505 PyObject *resultobj;
2506 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2507 bool result;
2508 PyObject * obj0 = 0 ;
2509 char *kwnames[] = {
2510 (char *) "self", NULL
2511 };
2512
2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 {
2524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2525 }
2526 return resultobj;
2527 fail:
2528 return NULL;
2529}
2530
2531
c370783e 2532static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2533 PyObject *resultobj;
2534 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2535 bool result;
2536 PyObject * obj0 = 0 ;
2537 char *kwnames[] = {
2538 (char *) "self", NULL
2539 };
2540
2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 {
2552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2553 }
2554 return resultobj;
2555 fail:
2556 return NULL;
2557}
2558
2559
c370783e 2560static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
2561 PyObject *resultobj;
2562 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2563 wxVisualAttributes result;
2564 PyObject * obj0 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "variant", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2570 if (obj0) {
c370783e 2571 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 {
0439c23b 2575 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2576 PyThreadState* __tstate = wxPyBeginAllowThreads();
2577 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2578
2579 wxPyEndAllowThreads(__tstate);
110da5b0 2580 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2581 }
2582 {
2583 wxVisualAttributes * resultptr;
2584 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2585 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2586 }
2587 return resultobj;
2588 fail:
2589 return NULL;
2590}
2591
2592
c370783e 2593static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2594 PyObject *obj;
2595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2596 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2597 Py_INCREF(obj);
2598 return Py_BuildValue((char *)"");
2599}
c370783e 2600static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
2601 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2602 return 1;
2603}
2604
2605
2606static PyObject *_wrap_ChoiceNameStr_get() {
2607 PyObject *pyobj;
2608
2609 {
2610#if wxUSE_UNICODE
2611 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2612#else
2613 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2614#endif
2615 }
2616 return pyobj;
2617}
2618
2619
c370783e 2620static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2621 PyObject *resultobj;
2622 wxWindow *arg1 = (wxWindow *) 0 ;
2623 int arg2 = (int) -1 ;
2624 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2625 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2626 wxSize const &arg4_defvalue = wxDefaultSize ;
2627 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2628 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2629 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2630 long arg6 = (long) 0 ;
2631 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2632 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2633 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2634 wxString *arg8 = (wxString *) &arg8_defvalue ;
2635 wxChoice *result;
2636 wxPoint temp3 ;
2637 wxSize temp4 ;
b411df4a
RD
2638 bool temp5 = false ;
2639 bool temp8 = false ;
d55e5bfc
RD
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 PyObject * obj2 = 0 ;
2643 PyObject * obj3 = 0 ;
2644 PyObject * obj4 = 0 ;
2645 PyObject * obj5 = 0 ;
2646 PyObject * obj6 = 0 ;
2647 PyObject * obj7 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2650 };
2651
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2655 if (obj1) {
c370783e 2656 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 if (obj2) {
2660 {
2661 arg3 = &temp3;
2662 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2663 }
2664 }
2665 if (obj3) {
2666 {
2667 arg4 = &temp4;
2668 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2669 }
2670 }
2671 if (obj4) {
2672 {
2673 if (! PySequence_Check(obj4)) {
2674 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2675 SWIG_fail;
2676 }
2677 arg5 = new wxArrayString;
b411df4a 2678 temp5 = true;
d55e5bfc
RD
2679 int i, len=PySequence_Length(obj4);
2680 for (i=0; i<len; i++) {
2681 PyObject* item = PySequence_GetItem(obj4, i);
2682#if wxUSE_UNICODE
2683 PyObject* str = PyObject_Unicode(item);
2684#else
2685 PyObject* str = PyObject_Str(item);
2686#endif
2687 if (PyErr_Occurred()) SWIG_fail;
2688 arg5->Add(Py2wxString(str));
2689 Py_DECREF(item);
2690 Py_DECREF(str);
2691 }
2692 }
2693 }
2694 if (obj5) {
c370783e 2695 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 if (obj6) {
2699 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2700 SWIG_POINTER_EXCEPTION | 0)) == -1)
2701 SWIG_fail;
2702 if (arg7 == NULL) {
2703 PyErr_SetString(PyExc_TypeError,"null reference");
2704 SWIG_fail;
2705 }
2706 }
2707 if (obj7) {
2708 {
2709 arg8 = wxString_in_helper(obj7);
2710 if (arg8 == NULL) SWIG_fail;
b411df4a 2711 temp8 = true;
d55e5bfc
RD
2712 }
2713 }
2714 {
0439c23b 2715 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2716 PyThreadState* __tstate = wxPyBeginAllowThreads();
2717 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2718
2719 wxPyEndAllowThreads(__tstate);
110da5b0 2720 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2721 }
2722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2723 {
2724 if (temp5) delete arg5;
2725 }
2726 {
2727 if (temp8)
2728 delete arg8;
2729 }
2730 return resultobj;
2731 fail:
2732 {
2733 if (temp5) delete arg5;
2734 }
2735 {
2736 if (temp8)
2737 delete arg8;
2738 }
2739 return NULL;
2740}
2741
2742
c370783e 2743static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2744 PyObject *resultobj;
2745 wxChoice *result;
2746 char *kwnames[] = {
2747 NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2751 {
0439c23b 2752 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 result = (wxChoice *)new wxChoice();
2755
2756 wxPyEndAllowThreads(__tstate);
110da5b0 2757 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2758 }
2759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2760 return resultobj;
2761 fail:
2762 return NULL;
2763}
2764
2765
c370783e 2766static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2767 PyObject *resultobj;
2768 wxChoice *arg1 = (wxChoice *) 0 ;
2769 wxWindow *arg2 = (wxWindow *) 0 ;
2770 int arg3 = (int) -1 ;
2771 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2772 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2773 wxSize const &arg5_defvalue = wxDefaultSize ;
2774 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2775 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2776 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2777 long arg7 = (long) 0 ;
2778 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2779 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2780 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2781 wxString *arg9 = (wxString *) &arg9_defvalue ;
2782 bool result;
2783 wxPoint temp4 ;
2784 wxSize temp5 ;
b411df4a
RD
2785 bool temp6 = false ;
2786 bool temp9 = false ;
d55e5bfc
RD
2787 PyObject * obj0 = 0 ;
2788 PyObject * obj1 = 0 ;
2789 PyObject * obj2 = 0 ;
2790 PyObject * obj3 = 0 ;
2791 PyObject * obj4 = 0 ;
2792 PyObject * obj5 = 0 ;
2793 PyObject * obj6 = 0 ;
2794 PyObject * obj7 = 0 ;
2795 PyObject * obj8 = 0 ;
2796 char *kwnames[] = {
2797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2798 };
2799
2800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2805 if (obj2) {
c370783e 2806 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 if (obj3) {
2810 {
2811 arg4 = &temp4;
2812 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2813 }
2814 }
2815 if (obj4) {
2816 {
2817 arg5 = &temp5;
2818 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2819 }
2820 }
2821 if (obj5) {
2822 {
2823 if (! PySequence_Check(obj5)) {
2824 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2825 SWIG_fail;
2826 }
2827 arg6 = new wxArrayString;
b411df4a 2828 temp6 = true;
d55e5bfc
RD
2829 int i, len=PySequence_Length(obj5);
2830 for (i=0; i<len; i++) {
2831 PyObject* item = PySequence_GetItem(obj5, i);
2832#if wxUSE_UNICODE
2833 PyObject* str = PyObject_Unicode(item);
2834#else
2835 PyObject* str = PyObject_Str(item);
2836#endif
2837 if (PyErr_Occurred()) SWIG_fail;
2838 arg6->Add(Py2wxString(str));
2839 Py_DECREF(item);
2840 Py_DECREF(str);
2841 }
2842 }
2843 }
2844 if (obj6) {
c370783e 2845 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 if (obj7) {
2849 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2850 SWIG_POINTER_EXCEPTION | 0)) == -1)
2851 SWIG_fail;
2852 if (arg8 == NULL) {
2853 PyErr_SetString(PyExc_TypeError,"null reference");
2854 SWIG_fail;
2855 }
2856 }
2857 if (obj8) {
2858 {
2859 arg9 = wxString_in_helper(obj8);
2860 if (arg9 == NULL) SWIG_fail;
b411df4a 2861 temp9 = true;
d55e5bfc
RD
2862 }
2863 }
2864 {
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
2866 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2867
2868 wxPyEndAllowThreads(__tstate);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 }
2871 {
2872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2873 }
2874 {
2875 if (temp6) delete arg6;
2876 }
2877 {
2878 if (temp9)
2879 delete arg9;
2880 }
2881 return resultobj;
2882 fail:
2883 {
2884 if (temp6) delete arg6;
2885 }
2886 {
2887 if (temp9)
2888 delete arg9;
2889 }
2890 return NULL;
2891}
2892
2893
c370783e 2894static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2895 PyObject *resultobj;
2896 wxChoice *arg1 = (wxChoice *) 0 ;
2897 int arg2 ;
2898 PyObject * obj0 = 0 ;
2899 PyObject * obj1 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self",(char *) "n", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2907 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2908 if (PyErr_Occurred()) SWIG_fail;
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 (arg1)->SetSelection(arg2);
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 Py_INCREF(Py_None); resultobj = Py_None;
2917 return resultobj;
2918 fail:
2919 return NULL;
2920}
2921
2922
c370783e 2923static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2924 PyObject *resultobj;
2925 wxChoice *arg1 = (wxChoice *) 0 ;
2926 wxString *arg2 = 0 ;
121b9a67 2927 bool result;
b411df4a 2928 bool temp2 = false ;
d55e5bfc
RD
2929 PyObject * obj0 = 0 ;
2930 PyObject * obj1 = 0 ;
2931 char *kwnames[] = {
2932 (char *) "self",(char *) "string", NULL
2933 };
2934
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2938 {
2939 arg2 = wxString_in_helper(obj1);
2940 if (arg2 == NULL) SWIG_fail;
b411df4a 2941 temp2 = true;
d55e5bfc
RD
2942 }
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
121b9a67 2945 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d55e5bfc
RD
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
121b9a67
RD
2950 {
2951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2952 }
d55e5bfc
RD
2953 {
2954 if (temp2)
2955 delete arg2;
2956 }
2957 return resultobj;
2958 fail:
2959 {
2960 if (temp2)
2961 delete arg2;
2962 }
2963 return NULL;
2964}
2965
2966
c370783e 2967static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2968 PyObject *resultobj;
2969 wxChoice *arg1 = (wxChoice *) 0 ;
2970 int arg2 ;
2971 wxString *arg3 = 0 ;
b411df4a 2972 bool temp3 = false ;
d55e5bfc
RD
2973 PyObject * obj0 = 0 ;
2974 PyObject * obj1 = 0 ;
2975 PyObject * obj2 = 0 ;
2976 char *kwnames[] = {
2977 (char *) "self",(char *) "n",(char *) "string", NULL
2978 };
2979
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2983 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2984 if (PyErr_Occurred()) SWIG_fail;
2985 {
2986 arg3 = wxString_in_helper(obj2);
2987 if (arg3 == NULL) SWIG_fail;
b411df4a 2988 temp3 = true;
d55e5bfc
RD
2989 }
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 (arg1)->SetString(arg2,(wxString const &)*arg3);
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 Py_INCREF(Py_None); resultobj = Py_None;
2998 {
2999 if (temp3)
3000 delete arg3;
3001 }
3002 return resultobj;
3003 fail:
3004 {
3005 if (temp3)
3006 delete arg3;
3007 }
3008 return NULL;
3009}
3010
3011
c370783e 3012static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
3013 PyObject *resultobj;
3014 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3015 wxVisualAttributes result;
3016 PyObject * obj0 = 0 ;
3017 char *kwnames[] = {
3018 (char *) "variant", NULL
3019 };
3020
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3022 if (obj0) {
c370783e 3023 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 {
0439c23b 3027 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
3030
3031 wxPyEndAllowThreads(__tstate);
110da5b0 3032 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3033 }
3034 {
3035 wxVisualAttributes * resultptr;
3036 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3038 }
3039 return resultobj;
3040 fail:
3041 return NULL;
3042}
3043
3044
c370783e 3045static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3046 PyObject *obj;
3047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3048 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
3049 Py_INCREF(obj);
3050 return Py_BuildValue((char *)"");
3051}
c370783e 3052static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3053 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
3054 return 1;
3055}
3056
3057
3058static PyObject *_wrap_ComboBoxNameStr_get() {
3059 PyObject *pyobj;
3060
3061 {
3062#if wxUSE_UNICODE
3063 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
3064#else
3065 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
3066#endif
3067 }
3068 return pyobj;
3069}
3070
3071
c370783e 3072static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3073 PyObject *resultobj;
3074 wxWindow *arg1 = (wxWindow *) 0 ;
3075 int arg2 = (int) -1 ;
3076 wxString const &arg3_defvalue = wxPyEmptyString ;
3077 wxString *arg3 = (wxString *) &arg3_defvalue ;
3078 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3079 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3080 wxSize const &arg5_defvalue = wxDefaultSize ;
3081 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3082 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3083 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3084 long arg7 = (long) 0 ;
3085 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3086 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3087 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
3088 wxString *arg9 = (wxString *) &arg9_defvalue ;
3089 wxComboBox *result;
b411df4a 3090 bool temp3 = false ;
d55e5bfc
RD
3091 wxPoint temp4 ;
3092 wxSize temp5 ;
b411df4a
RD
3093 bool temp6 = false ;
3094 bool temp9 = false ;
d55e5bfc
RD
3095 PyObject * obj0 = 0 ;
3096 PyObject * obj1 = 0 ;
3097 PyObject * obj2 = 0 ;
3098 PyObject * obj3 = 0 ;
3099 PyObject * obj4 = 0 ;
3100 PyObject * obj5 = 0 ;
3101 PyObject * obj6 = 0 ;
3102 PyObject * obj7 = 0 ;
3103 PyObject * obj8 = 0 ;
3104 char *kwnames[] = {
3105 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3106 };
3107
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3111 if (obj1) {
c370783e 3112 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 if (obj2) {
3116 {
3117 arg3 = wxString_in_helper(obj2);
3118 if (arg3 == NULL) SWIG_fail;
b411df4a 3119 temp3 = true;
d55e5bfc
RD
3120 }
3121 }
3122 if (obj3) {
3123 {
3124 arg4 = &temp4;
3125 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3126 }
3127 }
3128 if (obj4) {
3129 {
3130 arg5 = &temp5;
3131 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3132 }
3133 }
3134 if (obj5) {
3135 {
3136 if (! PySequence_Check(obj5)) {
3137 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3138 SWIG_fail;
3139 }
3140 arg6 = new wxArrayString;
b411df4a 3141 temp6 = true;
d55e5bfc
RD
3142 int i, len=PySequence_Length(obj5);
3143 for (i=0; i<len; i++) {
3144 PyObject* item = PySequence_GetItem(obj5, i);
3145#if wxUSE_UNICODE
3146 PyObject* str = PyObject_Unicode(item);
3147#else
3148 PyObject* str = PyObject_Str(item);
3149#endif
3150 if (PyErr_Occurred()) SWIG_fail;
3151 arg6->Add(Py2wxString(str));
3152 Py_DECREF(item);
3153 Py_DECREF(str);
3154 }
3155 }
3156 }
3157 if (obj6) {
c370783e 3158 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
3159 if (PyErr_Occurred()) SWIG_fail;
3160 }
3161 if (obj7) {
3162 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3163 SWIG_POINTER_EXCEPTION | 0)) == -1)
3164 SWIG_fail;
3165 if (arg8 == NULL) {
3166 PyErr_SetString(PyExc_TypeError,"null reference");
3167 SWIG_fail;
3168 }
3169 }
3170 if (obj8) {
3171 {
3172 arg9 = wxString_in_helper(obj8);
3173 if (arg9 == NULL) SWIG_fail;
b411df4a 3174 temp9 = true;
d55e5bfc
RD
3175 }
3176 }
3177 {
0439c23b 3178 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3179 PyThreadState* __tstate = wxPyBeginAllowThreads();
3180 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);
3181
3182 wxPyEndAllowThreads(__tstate);
110da5b0 3183 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3184 }
3185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3186 {
3187 if (temp3)
3188 delete arg3;
3189 }
3190 {
3191 if (temp6) delete arg6;
3192 }
3193 {
3194 if (temp9)
3195 delete arg9;
3196 }
3197 return resultobj;
3198 fail:
3199 {
3200 if (temp3)
3201 delete arg3;
3202 }
3203 {
3204 if (temp6) delete arg6;
3205 }
3206 {
3207 if (temp9)
3208 delete arg9;
3209 }
3210 return NULL;
3211}
3212
3213
c370783e 3214static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3215 PyObject *resultobj;
3216 wxComboBox *result;
3217 char *kwnames[] = {
3218 NULL
3219 };
3220
3221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3222 {
0439c23b 3223 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 result = (wxComboBox *)new wxComboBox();
3226
3227 wxPyEndAllowThreads(__tstate);
110da5b0 3228 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3229 }
3230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3231 return resultobj;
3232 fail:
3233 return NULL;
3234}
3235
3236
c370783e 3237static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3238 PyObject *resultobj;
3239 wxComboBox *arg1 = (wxComboBox *) 0 ;
3240 wxWindow *arg2 = (wxWindow *) 0 ;
3241 int arg3 = (int) -1 ;
3242 wxString const &arg4_defvalue = wxPyEmptyString ;
3243 wxString *arg4 = (wxString *) &arg4_defvalue ;
3244 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3245 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3246 wxSize const &arg6_defvalue = wxDefaultSize ;
3247 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3248 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3249 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3250 long arg8 = (long) 0 ;
3251 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3252 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3253 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3254 wxString *arg10 = (wxString *) &arg10_defvalue ;
3255 bool result;
b411df4a 3256 bool temp4 = false ;
d55e5bfc
RD
3257 wxPoint temp5 ;
3258 wxSize temp6 ;
b411df4a
RD
3259 bool temp7 = false ;
3260 bool temp10 = false ;
d55e5bfc
RD
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 PyObject * obj2 = 0 ;
3264 PyObject * obj3 = 0 ;
3265 PyObject * obj4 = 0 ;
3266 PyObject * obj5 = 0 ;
3267 PyObject * obj6 = 0 ;
3268 PyObject * obj7 = 0 ;
3269 PyObject * obj8 = 0 ;
3270 PyObject * obj9 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3280 if (obj2) {
c370783e 3281 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 if (obj3) {
3285 {
3286 arg4 = wxString_in_helper(obj3);
3287 if (arg4 == NULL) SWIG_fail;
b411df4a 3288 temp4 = true;
d55e5bfc
RD
3289 }
3290 }
3291 if (obj4) {
3292 {
3293 arg5 = &temp5;
3294 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3295 }
3296 }
3297 if (obj5) {
3298 {
3299 arg6 = &temp6;
3300 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3301 }
3302 }
3303 if (obj6) {
3304 {
3305 if (! PySequence_Check(obj6)) {
3306 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3307 SWIG_fail;
3308 }
3309 arg7 = new wxArrayString;
b411df4a 3310 temp7 = true;
d55e5bfc
RD
3311 int i, len=PySequence_Length(obj6);
3312 for (i=0; i<len; i++) {
3313 PyObject* item = PySequence_GetItem(obj6, i);
3314#if wxUSE_UNICODE
3315 PyObject* str = PyObject_Unicode(item);
3316#else
3317 PyObject* str = PyObject_Str(item);
3318#endif
3319 if (PyErr_Occurred()) SWIG_fail;
3320 arg7->Add(Py2wxString(str));
3321 Py_DECREF(item);
3322 Py_DECREF(str);
3323 }
3324 }
3325 }
3326 if (obj7) {
c370783e 3327 arg8 = (long)SWIG_As_long(obj7);
d55e5bfc
RD
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 if (obj8) {
3331 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3332 SWIG_POINTER_EXCEPTION | 0)) == -1)
3333 SWIG_fail;
3334 if (arg9 == NULL) {
3335 PyErr_SetString(PyExc_TypeError,"null reference");
3336 SWIG_fail;
3337 }
3338 }
3339 if (obj9) {
3340 {
3341 arg10 = wxString_in_helper(obj9);
3342 if (arg10 == NULL) SWIG_fail;
b411df4a 3343 temp10 = true;
d55e5bfc
RD
3344 }
3345 }
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 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);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 {
3354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3355 }
3356 {
3357 if (temp4)
3358 delete arg4;
3359 }
3360 {
3361 if (temp7) delete arg7;
3362 }
3363 {
3364 if (temp10)
3365 delete arg10;
3366 }
3367 return resultobj;
3368 fail:
3369 {
3370 if (temp4)
3371 delete arg4;
3372 }
3373 {
3374 if (temp7) delete arg7;
3375 }
3376 {
3377 if (temp10)
3378 delete arg10;
3379 }
3380 return NULL;
3381}
3382
3383
c370783e 3384static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3385 PyObject *resultobj;
3386 wxComboBox *arg1 = (wxComboBox *) 0 ;
3387 wxString result;
3388 PyObject * obj0 = 0 ;
3389 char *kwnames[] = {
3390 (char *) "self", NULL
3391 };
3392
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 result = ((wxComboBox const *)arg1)->GetValue();
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 {
3404#if wxUSE_UNICODE
3405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3406#else
3407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3408#endif
3409 }
3410 return resultobj;
3411 fail:
3412 return NULL;
3413}
3414
3415
c370783e 3416static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3417 PyObject *resultobj;
3418 wxComboBox *arg1 = (wxComboBox *) 0 ;
3419 wxString *arg2 = 0 ;
b411df4a 3420 bool temp2 = false ;
d55e5bfc
RD
3421 PyObject * obj0 = 0 ;
3422 PyObject * obj1 = 0 ;
3423 char *kwnames[] = {
3424 (char *) "self",(char *) "value", NULL
3425 };
3426
3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3430 {
3431 arg2 = wxString_in_helper(obj1);
3432 if (arg2 == NULL) SWIG_fail;
b411df4a 3433 temp2 = true;
d55e5bfc
RD
3434 }
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 (arg1)->SetValue((wxString const &)*arg2);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 Py_INCREF(Py_None); resultobj = Py_None;
3443 {
3444 if (temp2)
3445 delete arg2;
3446 }
3447 return resultobj;
3448 fail:
3449 {
3450 if (temp2)
3451 delete arg2;
3452 }
3453 return NULL;
3454}
3455
3456
c370783e 3457static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3458 PyObject *resultobj;
3459 wxComboBox *arg1 = (wxComboBox *) 0 ;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 (arg1)->Copy();
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 Py_INCREF(Py_None); resultobj = Py_None;
3476 return resultobj;
3477 fail:
3478 return NULL;
3479}
3480
3481
c370783e 3482static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3483 PyObject *resultobj;
3484 wxComboBox *arg1 = (wxComboBox *) 0 ;
3485 PyObject * obj0 = 0 ;
3486 char *kwnames[] = {
3487 (char *) "self", NULL
3488 };
3489
3490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 (arg1)->Cut();
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 Py_INCREF(Py_None); resultobj = Py_None;
3501 return resultobj;
3502 fail:
3503 return NULL;
3504}
3505
3506
c370783e 3507static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3508 PyObject *resultobj;
3509 wxComboBox *arg1 = (wxComboBox *) 0 ;
3510 PyObject * obj0 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 (arg1)->Paste();
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 Py_INCREF(Py_None); resultobj = Py_None;
3526 return resultobj;
3527 fail:
3528 return NULL;
3529}
3530
3531
c370783e 3532static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3533 PyObject *resultobj;
3534 wxComboBox *arg1 = (wxComboBox *) 0 ;
3535 long arg2 ;
3536 PyObject * obj0 = 0 ;
3537 PyObject * obj1 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self",(char *) "pos", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 3545 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
3546 if (PyErr_Occurred()) SWIG_fail;
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 (arg1)->SetInsertionPoint(arg2);
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 Py_INCREF(Py_None); resultobj = Py_None;
3555 return resultobj;
3556 fail:
3557 return NULL;
3558}
3559
3560
c370783e 3561static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3562 PyObject *resultobj;
3563 wxComboBox *arg1 = (wxComboBox *) 0 ;
3564 long result;
3565 PyObject * obj0 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
c370783e 3580 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
c370783e 3587static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3588 PyObject *resultobj;
3589 wxComboBox *arg1 = (wxComboBox *) 0 ;
3590 long result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
c370783e 3606 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
3607 return resultobj;
3608 fail:
3609 return NULL;
3610}
3611
3612
c370783e 3613static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3614 PyObject *resultobj;
3615 wxComboBox *arg1 = (wxComboBox *) 0 ;
3616 long arg2 ;
3617 long arg3 ;
3618 wxString *arg4 = 0 ;
b411df4a 3619 bool temp4 = false ;
d55e5bfc
RD
3620 PyObject * obj0 = 0 ;
3621 PyObject * obj1 = 0 ;
3622 PyObject * obj2 = 0 ;
3623 PyObject * obj3 = 0 ;
3624 char *kwnames[] = {
3625 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3626 };
3627
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 3631 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 3632 if (PyErr_Occurred()) SWIG_fail;
c370783e 3633 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3634 if (PyErr_Occurred()) SWIG_fail;
3635 {
3636 arg4 = wxString_in_helper(obj3);
3637 if (arg4 == NULL) SWIG_fail;
b411df4a 3638 temp4 = true;
d55e5bfc
RD
3639 }
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 Py_INCREF(Py_None); resultobj = Py_None;
3648 {
3649 if (temp4)
3650 delete arg4;
3651 }
3652 return resultobj;
3653 fail:
3654 {
3655 if (temp4)
3656 delete arg4;
3657 }
3658 return NULL;
3659}
3660
3661
c370783e 3662static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3663 PyObject *resultobj;
3664 wxComboBox *arg1 = (wxComboBox *) 0 ;
3665 int arg2 ;
3666 PyObject * obj0 = 0 ;
3667 PyObject * obj1 = 0 ;
3668 char *kwnames[] = {
3669 (char *) "self",(char *) "n", NULL
3670 };
3671
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 3675 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3676 if (PyErr_Occurred()) SWIG_fail;
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 (arg1)->SetSelection(arg2);
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 Py_INCREF(Py_None); resultobj = Py_None;
3685 return resultobj;
3686 fail:
3687 return NULL;
3688}
3689
3690
c370783e 3691static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3692 PyObject *resultobj;
3693 wxComboBox *arg1 = (wxComboBox *) 0 ;
3694 long arg2 ;
3695 long arg3 ;
3696 PyObject * obj0 = 0 ;
3697 PyObject * obj1 = 0 ;
3698 PyObject * obj2 = 0 ;
3699 char *kwnames[] = {
3700 (char *) "self",(char *) "from",(char *) "to", NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 3706 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 3707 if (PyErr_Occurred()) SWIG_fail;
c370783e 3708 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3709 if (PyErr_Occurred()) SWIG_fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 (arg1)->SetSelection(arg2,arg3);
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 Py_INCREF(Py_None); resultobj = Py_None;
3718 return resultobj;
3719 fail:
3720 return NULL;
3721}
3722
3723
c370783e 3724static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
3725 PyObject *resultobj;
3726 wxComboBox *arg1 = (wxComboBox *) 0 ;
3727 wxString *arg2 = 0 ;
3728 bool result;
b411df4a 3729 bool temp2 = false ;
121b9a67
RD
3730 PyObject * obj0 = 0 ;
3731 PyObject * obj1 = 0 ;
3732 char *kwnames[] = {
3733 (char *) "self",(char *) "string", NULL
3734 };
3735
3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3739 {
3740 arg2 = wxString_in_helper(obj1);
3741 if (arg2 == NULL) SWIG_fail;
b411df4a 3742 temp2 = true;
121b9a67
RD
3743 }
3744 {
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 {
3752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3753 }
3754 {
3755 if (temp2)
3756 delete arg2;
3757 }
3758 return resultobj;
3759 fail:
3760 {
3761 if (temp2)
3762 delete arg2;
3763 }
3764 return NULL;
3765}
3766
3767
c370783e 3768static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
3769 PyObject *resultobj;
3770 wxComboBox *arg1 = (wxComboBox *) 0 ;
3771 int arg2 ;
3772 wxString *arg3 = 0 ;
b411df4a 3773 bool temp3 = false ;
121b9a67
RD
3774 PyObject * obj0 = 0 ;
3775 PyObject * obj1 = 0 ;
3776 PyObject * obj2 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self",(char *) "n",(char *) "string", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 3784 arg2 = (int)SWIG_As_int(obj1);
121b9a67
RD
3785 if (PyErr_Occurred()) SWIG_fail;
3786 {
3787 arg3 = wxString_in_helper(obj2);
3788 if (arg3 == NULL) SWIG_fail;
b411df4a 3789 temp3 = true;
121b9a67
RD
3790 }
3791 {
3792 PyThreadState* __tstate = wxPyBeginAllowThreads();
3793 (arg1)->SetString(arg2,(wxString const &)*arg3);
3794
3795 wxPyEndAllowThreads(__tstate);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 Py_INCREF(Py_None); resultobj = Py_None;
3799 {
3800 if (temp3)
3801 delete arg3;
3802 }
3803 return resultobj;
3804 fail:
3805 {
3806 if (temp3)
3807 delete arg3;
3808 }
3809 return NULL;
3810}
3811
3812
c370783e 3813static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3814 PyObject *resultobj;
3815 wxComboBox *arg1 = (wxComboBox *) 0 ;
3816 bool arg2 ;
3817 PyObject * obj0 = 0 ;
3818 PyObject * obj1 = 0 ;
3819 char *kwnames[] = {
3820 (char *) "self",(char *) "editable", NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 3826 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
3827 if (PyErr_Occurred()) SWIG_fail;
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 (arg1)->SetEditable(arg2);
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 Py_INCREF(Py_None); resultobj = Py_None;
3836 return resultobj;
3837 fail:
3838 return NULL;
3839}
3840
3841
c370783e 3842static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3843 PyObject *resultobj;
3844 wxComboBox *arg1 = (wxComboBox *) 0 ;
3845 PyObject * obj0 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "self", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3853 {
3854 PyThreadState* __tstate = wxPyBeginAllowThreads();
3855 (arg1)->SetInsertionPointEnd();
3856
3857 wxPyEndAllowThreads(__tstate);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
3860 Py_INCREF(Py_None); resultobj = Py_None;
3861 return resultobj;
3862 fail:
3863 return NULL;
3864}
3865
3866
c370783e 3867static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3868 PyObject *resultobj;
3869 wxComboBox *arg1 = (wxComboBox *) 0 ;
3870 long arg2 ;
3871 long arg3 ;
3872 PyObject * obj0 = 0 ;
3873 PyObject * obj1 = 0 ;
3874 PyObject * obj2 = 0 ;
3875 char *kwnames[] = {
3876 (char *) "self",(char *) "from",(char *) "to", NULL
3877 };
3878
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 3882 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 3883 if (PyErr_Occurred()) SWIG_fail;
c370783e 3884 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3885 if (PyErr_Occurred()) SWIG_fail;
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 (arg1)->Remove(arg2,arg3);
3889
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 Py_INCREF(Py_None); resultobj = Py_None;
3894 return resultobj;
3895 fail:
3896 return NULL;
3897}
3898
3899
c370783e 3900static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
3901 PyObject *resultobj;
3902 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3903 wxVisualAttributes result;
3904 PyObject * obj0 = 0 ;
3905 char *kwnames[] = {
3906 (char *) "variant", NULL
3907 };
3908
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3910 if (obj0) {
c370783e 3911 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 {
0439c23b 3915 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
3917 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3918
3919 wxPyEndAllowThreads(__tstate);
110da5b0 3920 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3921 }
3922 {
3923 wxVisualAttributes * resultptr;
3924 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3926 }
3927 return resultobj;
3928 fail:
3929 return NULL;
3930}
3931
3932
c370783e 3933static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3934 PyObject *obj;
3935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3936 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3937 Py_INCREF(obj);
3938 return Py_BuildValue((char *)"");
3939}
c370783e 3940static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
3941 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3942 return 1;
3943}
3944
3945
3946static PyObject *_wrap_GaugeNameStr_get() {
3947 PyObject *pyobj;
3948
3949 {
3950#if wxUSE_UNICODE
3951 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3952#else
3953 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3954#endif
3955 }
3956 return pyobj;
3957}
3958
3959
c370783e 3960static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3961 PyObject *resultobj;
3962 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
3963 int arg2 = (int) -1 ;
3964 int arg3 = (int) 100 ;
d55e5bfc
RD
3965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3967 wxSize const &arg5_defvalue = wxDefaultSize ;
3968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3969 long arg6 = (long) wxGA_HORIZONTAL ;
3970 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3971 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3972 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3973 wxString *arg8 = (wxString *) &arg8_defvalue ;
3974 wxGauge *result;
3975 wxPoint temp4 ;
3976 wxSize temp5 ;
b411df4a 3977 bool temp8 = false ;
d55e5bfc
RD
3978 PyObject * obj0 = 0 ;
3979 PyObject * obj1 = 0 ;
3980 PyObject * obj2 = 0 ;
3981 PyObject * obj3 = 0 ;
3982 PyObject * obj4 = 0 ;
3983 PyObject * obj5 = 0 ;
3984 PyObject * obj6 = 0 ;
3985 PyObject * obj7 = 0 ;
3986 char *kwnames[] = {
3987 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3988 };
3989
bfddbb17 3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
3991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 3993 if (obj1) {
c370783e 3994 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 if (obj2) {
c370783e 3998 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
d55e5bfc
RD
4001 if (obj3) {
4002 {
4003 arg4 = &temp4;
4004 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4005 }
4006 }
4007 if (obj4) {
4008 {
4009 arg5 = &temp5;
4010 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4011 }
4012 }
4013 if (obj5) {
c370783e 4014 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 if (obj6) {
4018 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
4019 SWIG_POINTER_EXCEPTION | 0)) == -1)
4020 SWIG_fail;
4021 if (arg7 == NULL) {
4022 PyErr_SetString(PyExc_TypeError,"null reference");
4023 SWIG_fail;
4024 }
4025 }
4026 if (obj7) {
4027 {
4028 arg8 = wxString_in_helper(obj7);
4029 if (arg8 == NULL) SWIG_fail;
b411df4a 4030 temp8 = true;
d55e5bfc
RD
4031 }
4032 }
4033 {
0439c23b 4034 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4037
4038 wxPyEndAllowThreads(__tstate);
110da5b0 4039 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4040 }
4041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
4042 {
4043 if (temp8)
4044 delete arg8;
4045 }
4046 return resultobj;
4047 fail:
4048 {
4049 if (temp8)
4050 delete arg8;
4051 }
4052 return NULL;
4053}
4054
4055
c370783e 4056static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4057 PyObject *resultobj;
4058 wxGauge *result;
4059 char *kwnames[] = {
4060 NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
4064 {
0439c23b 4065 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = (wxGauge *)new wxGauge();
4068
4069 wxPyEndAllowThreads(__tstate);
110da5b0 4070 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4071 }
4072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
4073 return resultobj;
4074 fail:
4075 return NULL;
4076}
4077
4078
c370783e 4079static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4080 PyObject *resultobj;
4081 wxGauge *arg1 = (wxGauge *) 0 ;
4082 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
4083 int arg3 = (int) -1 ;
4084 int arg4 = (int) 100 ;
d55e5bfc
RD
4085 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4086 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4087 wxSize const &arg6_defvalue = wxDefaultSize ;
4088 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4089 long arg7 = (long) wxGA_HORIZONTAL ;
4090 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4091 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4092 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
4093 wxString *arg9 = (wxString *) &arg9_defvalue ;
4094 bool result;
4095 wxPoint temp5 ;
4096 wxSize temp6 ;
b411df4a 4097 bool temp9 = false ;
d55e5bfc
RD
4098 PyObject * obj0 = 0 ;
4099 PyObject * obj1 = 0 ;
4100 PyObject * obj2 = 0 ;
4101 PyObject * obj3 = 0 ;
4102 PyObject * obj4 = 0 ;
4103 PyObject * obj5 = 0 ;
4104 PyObject * obj6 = 0 ;
4105 PyObject * obj7 = 0 ;
4106 PyObject * obj8 = 0 ;
4107 char *kwnames[] = {
4108 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4109 };
4110
bfddbb17 4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
4112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 4116 if (obj2) {
c370783e 4117 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 if (obj3) {
c370783e 4121 arg4 = (int)SWIG_As_int(obj3);
bfddbb17
RD
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
d55e5bfc
RD
4124 if (obj4) {
4125 {
4126 arg5 = &temp5;
4127 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4128 }
4129 }
4130 if (obj5) {
4131 {
4132 arg6 = &temp6;
4133 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4134 }
4135 }
4136 if (obj6) {
c370783e 4137 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 if (obj7) {
4141 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4142 SWIG_POINTER_EXCEPTION | 0)) == -1)
4143 SWIG_fail;
4144 if (arg8 == NULL) {
4145 PyErr_SetString(PyExc_TypeError,"null reference");
4146 SWIG_fail;
4147 }
4148 }
4149 if (obj8) {
4150 {
4151 arg9 = wxString_in_helper(obj8);
4152 if (arg9 == NULL) SWIG_fail;
b411df4a 4153 temp9 = true;
d55e5bfc
RD
4154 }
4155 }
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 {
4164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4165 }
4166 {
4167 if (temp9)
4168 delete arg9;
4169 }
4170 return resultobj;
4171 fail:
4172 {
4173 if (temp9)
4174 delete arg9;
4175 }
4176 return NULL;
4177}
4178
4179
c370783e 4180static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4181 PyObject *resultobj;
4182 wxGauge *arg1 = (wxGauge *) 0 ;
4183 int arg2 ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self",(char *) "range", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 4193 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4194 if (PyErr_Occurred()) SWIG_fail;
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 (arg1)->SetRange(arg2);
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 Py_INCREF(Py_None); resultobj = Py_None;
4203 return resultobj;
4204 fail:
4205 return NULL;
4206}
4207
4208
c370783e 4209static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4210 PyObject *resultobj;
4211 wxGauge *arg1 = (wxGauge *) 0 ;
4212 int result;
4213 PyObject * obj0 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "self", NULL
4216 };
4217
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 result = (int)((wxGauge const *)arg1)->GetRange();
4224
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
c370783e 4228 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4229 return resultobj;
4230 fail:
4231 return NULL;
4232}
4233
4234
c370783e 4235static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4236 PyObject *resultobj;
4237 wxGauge *arg1 = (wxGauge *) 0 ;
4238 int arg2 ;
4239 PyObject * obj0 = 0 ;
4240 PyObject * obj1 = 0 ;
4241 char *kwnames[] = {
4242 (char *) "self",(char *) "pos", NULL
4243 };
4244
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 4248 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4249 if (PyErr_Occurred()) SWIG_fail;
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->SetValue(arg2);
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 Py_INCREF(Py_None); resultobj = Py_None;
4258 return resultobj;
4259 fail:
4260 return NULL;
4261}
4262
4263
c370783e 4264static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4265 PyObject *resultobj;
4266 wxGauge *arg1 = (wxGauge *) 0 ;
4267 int result;
4268 PyObject * obj0 = 0 ;
4269 char *kwnames[] = {
4270 (char *) "self", NULL
4271 };
4272
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 result = (int)((wxGauge const *)arg1)->GetValue();
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
c370783e 4283 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4284 return resultobj;
4285 fail:
4286 return NULL;
4287}
4288
4289
c370783e 4290static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4291 PyObject *resultobj;
4292 wxGauge *arg1 = (wxGauge *) 0 ;
4293 bool result;
4294 PyObject * obj0 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "self", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 result = (bool)((wxGauge const *)arg1)->IsVertical();
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 {
4310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4311 }
4312 return resultobj;
4313 fail:
4314 return NULL;
4315}
4316
4317
c370783e 4318static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4319 PyObject *resultobj;
4320 wxGauge *arg1 = (wxGauge *) 0 ;
4321 int arg2 ;
4322 PyObject * obj0 = 0 ;
4323 PyObject * obj1 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self",(char *) "w", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 4331 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4332 if (PyErr_Occurred()) SWIG_fail;
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetShadowWidth(arg2);
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 Py_INCREF(Py_None); resultobj = Py_None;
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
c370783e 4347static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4348 PyObject *resultobj;
4349 wxGauge *arg1 = (wxGauge *) 0 ;
4350 int result;
4351 PyObject * obj0 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
c370783e 4366 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4367 return resultobj;
4368 fail:
4369 return NULL;
4370}
4371
4372
c370783e 4373static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4374 PyObject *resultobj;
4375 wxGauge *arg1 = (wxGauge *) 0 ;
4376 int arg2 ;
4377 PyObject * obj0 = 0 ;
4378 PyObject * obj1 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self",(char *) "w", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 4386 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4387 if (PyErr_Occurred()) SWIG_fail;
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 (arg1)->SetBezelFace(arg2);
4391
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 Py_INCREF(Py_None); resultobj = Py_None;
4396 return resultobj;
4397 fail:
4398 return NULL;
4399}
4400
4401
c370783e 4402static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4403 PyObject *resultobj;
4404 wxGauge *arg1 = (wxGauge *) 0 ;
4405 int result;
4406 PyObject * obj0 = 0 ;
4407 char *kwnames[] = {
4408 (char *) "self", NULL
4409 };
4410
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
c370783e 4421 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4422 return resultobj;
4423 fail:
4424 return NULL;
4425}
4426
4427
c370783e 4428static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
4429 PyObject *resultobj;
4430 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4431 wxVisualAttributes result;
4432 PyObject * obj0 = 0 ;
4433 char *kwnames[] = {
4434 (char *) "variant", NULL
4435 };
4436
4437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4438 if (obj0) {
c370783e 4439 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 {
0439c23b 4443 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4446
4447 wxPyEndAllowThreads(__tstate);
110da5b0 4448 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4449 }
4450 {
4451 wxVisualAttributes * resultptr;
4452 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4454 }
4455 return resultobj;
4456 fail:
4457 return NULL;
4458}
4459
4460
c370783e 4461static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4462 PyObject *obj;
4463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4464 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4465 Py_INCREF(obj);
4466 return Py_BuildValue((char *)"");
4467}
c370783e 4468static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
4469 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4470 return 1;
4471}
4472
4473
4474static PyObject *_wrap_StaticBitmapNameStr_get() {
4475 PyObject *pyobj;
4476
4477 {
4478#if wxUSE_UNICODE
4479 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4480#else
4481 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4482#endif
4483 }
4484 return pyobj;
4485}
4486
4487
c370783e 4488static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4489 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4490 return 1;
4491}
4492
4493
4494static PyObject *_wrap_StaticBoxNameStr_get() {
4495 PyObject *pyobj;
4496
4497 {
4498#if wxUSE_UNICODE
4499 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4500#else
4501 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4502#endif
4503 }
4504 return pyobj;
4505}
4506
4507
c370783e 4508static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
4509 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4510 return 1;
4511}
4512
4513
4514static PyObject *_wrap_StaticTextNameStr_get() {
4515 PyObject *pyobj;
4516
4517 {
4518#if wxUSE_UNICODE
4519 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4520#else
4521 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4522#endif
4523 }
4524 return pyobj;
4525}
4526
4527
c370783e 4528static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4529 PyObject *resultobj;
4530 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
4531 int arg2 = (int) -1 ;
4532 wxString const &arg3_defvalue = wxPyEmptyString ;
4533 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4534 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4535 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4536 wxSize const &arg5_defvalue = wxDefaultSize ;
4537 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4538 long arg6 = (long) 0 ;
4539 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4540 wxString *arg7 = (wxString *) &arg7_defvalue ;
4541 wxStaticBox *result;
b411df4a 4542 bool temp3 = false ;
d55e5bfc
RD
4543 wxPoint temp4 ;
4544 wxSize temp5 ;
b411df4a 4545 bool temp7 = false ;
d55e5bfc
RD
4546 PyObject * obj0 = 0 ;
4547 PyObject * obj1 = 0 ;
4548 PyObject * obj2 = 0 ;
4549 PyObject * obj3 = 0 ;
4550 PyObject * obj4 = 0 ;
4551 PyObject * obj5 = 0 ;
4552 PyObject * obj6 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4555 };
4556
bfddbb17 4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 4560 if (obj1) {
c370783e 4561 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 if (obj2) {
4565 {
4566 arg3 = wxString_in_helper(obj2);
4567 if (arg3 == NULL) SWIG_fail;
b411df4a 4568 temp3 = true;
bfddbb17 4569 }
d55e5bfc
RD
4570 }
4571 if (obj3) {
4572 {
4573 arg4 = &temp4;
4574 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4575 }
4576 }
4577 if (obj4) {
4578 {
4579 arg5 = &temp5;
4580 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4581 }
4582 }
4583 if (obj5) {
c370783e 4584 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 if (obj6) {
4588 {
4589 arg7 = wxString_in_helper(obj6);
4590 if (arg7 == NULL) SWIG_fail;
b411df4a 4591 temp7 = true;
d55e5bfc
RD
4592 }
4593 }
4594 {
0439c23b 4595 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4598
4599 wxPyEndAllowThreads(__tstate);
110da5b0 4600 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4601 }
b0f7404b 4602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
4603 {
4604 if (temp3)
4605 delete arg3;
4606 }
4607 {
4608 if (temp7)
4609 delete arg7;
4610 }
4611 return resultobj;
4612 fail:
4613 {
4614 if (temp3)
4615 delete arg3;
4616 }
4617 {
4618 if (temp7)
4619 delete arg7;
4620 }
4621 return NULL;
4622}
4623
4624
c370783e 4625static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4626 PyObject *resultobj;
4627 wxStaticBox *result;
4628 char *kwnames[] = {
4629 NULL
4630 };
4631
4632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4633 {
0439c23b 4634 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
4636 result = (wxStaticBox *)new wxStaticBox();
4637
4638 wxPyEndAllowThreads(__tstate);
110da5b0 4639 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4640 }
b0f7404b 4641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
4642 return resultobj;
4643 fail:
4644 return NULL;
4645}
4646
4647
c370783e 4648static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4649 PyObject *resultobj;
4650 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4651 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
4652 int arg3 = (int) -1 ;
4653 wxString const &arg4_defvalue = wxPyEmptyString ;
4654 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4655 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4656 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4657 wxSize const &arg6_defvalue = wxDefaultSize ;
4658 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4659 long arg7 = (long) 0 ;
4660 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4661 wxString *arg8 = (wxString *) &arg8_defvalue ;
4662 bool result;
b411df4a 4663 bool temp4 = false ;
d55e5bfc
RD
4664 wxPoint temp5 ;
4665 wxSize temp6 ;
b411df4a 4666 bool temp8 = false ;
d55e5bfc
RD
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 PyObject * obj2 = 0 ;
4670 PyObject * obj3 = 0 ;
4671 PyObject * obj4 = 0 ;
4672 PyObject * obj5 = 0 ;
4673 PyObject * obj6 = 0 ;
4674 PyObject * obj7 = 0 ;
4675 char *kwnames[] = {
4676 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4677 };
4678
bfddbb17 4679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 4684 if (obj2) {
c370783e 4685 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4688 if (obj3) {
4689 {
4690 arg4 = wxString_in_helper(obj3);
4691 if (arg4 == NULL) SWIG_fail;
b411df4a 4692 temp4 = true;
bfddbb17 4693 }
d55e5bfc
RD
4694 }
4695 if (obj4) {
4696 {
4697 arg5 = &temp5;
4698 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4699 }
4700 }
4701 if (obj5) {
4702 {
4703 arg6 = &temp6;
4704 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4705 }
4706 }
4707 if (obj6) {
c370783e 4708 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 if (obj7) {
4712 {
4713 arg8 = wxString_in_helper(obj7);
4714 if (arg8 == NULL) SWIG_fail;
b411df4a 4715 temp8 = true;
d55e5bfc
RD
4716 }
4717 }
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 {
4726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4727 }
4728 {
4729 if (temp4)
4730 delete arg4;
4731 }
4732 {
4733 if (temp8)
4734 delete arg8;
4735 }
4736 return resultobj;
4737 fail:
4738 {
4739 if (temp4)
4740 delete arg4;
4741 }
4742 {
4743 if (temp8)
4744 delete arg8;
4745 }
4746 return NULL;
4747}
4748
4749
c370783e 4750static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
4751 PyObject *resultobj;
4752 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4753 wxVisualAttributes result;
4754 PyObject * obj0 = 0 ;
4755 char *kwnames[] = {
4756 (char *) "variant", NULL
4757 };
4758
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4760 if (obj0) {
c370783e 4761 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 {
0439c23b 4765 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4768
4769 wxPyEndAllowThreads(__tstate);
110da5b0 4770 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4771 }
4772 {
4773 wxVisualAttributes * resultptr;
4774 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4776 }
4777 return resultobj;
4778 fail:
4779 return NULL;
4780}
4781
4782
c370783e 4783static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4784 PyObject *obj;
4785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4786 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4787 Py_INCREF(obj);
4788 return Py_BuildValue((char *)"");
4789}
c370783e 4790static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4791 PyObject *resultobj;
4792 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 4793 int arg2 = (int) -1 ;
d55e5bfc
RD
4794 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4795 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4796 wxSize const &arg4_defvalue = wxDefaultSize ;
4797 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4798 long arg5 = (long) wxLI_HORIZONTAL ;
4799 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4800 wxString *arg6 = (wxString *) &arg6_defvalue ;
4801 wxStaticLine *result;
4802 wxPoint temp3 ;
4803 wxSize temp4 ;
b411df4a 4804 bool temp6 = false ;
d55e5bfc
RD
4805 PyObject * obj0 = 0 ;
4806 PyObject * obj1 = 0 ;
4807 PyObject * obj2 = 0 ;
4808 PyObject * obj3 = 0 ;
4809 PyObject * obj4 = 0 ;
4810 PyObject * obj5 = 0 ;
4811 char *kwnames[] = {
4812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4813 };
4814
bfddbb17 4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
4816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 4818 if (obj1) {
c370783e 4819 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
d55e5bfc
RD
4822 if (obj2) {
4823 {
4824 arg3 = &temp3;
4825 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4826 }
4827 }
4828 if (obj3) {
4829 {
4830 arg4 = &temp4;
4831 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4832 }
4833 }
4834 if (obj4) {
c370783e 4835 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 if (obj5) {
4839 {
4840 arg6 = wxString_in_helper(obj5);
4841 if (arg6 == NULL) SWIG_fail;
b411df4a 4842 temp6 = true;
d55e5bfc
RD
4843 }
4844 }
4845 {
0439c23b 4846 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4849
4850 wxPyEndAllowThreads(__tstate);
110da5b0 4851 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4852 }
4853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4854 {
4855 if (temp6)
4856 delete arg6;
4857 }
4858 return resultobj;
4859 fail:
4860 {
4861 if (temp6)
4862 delete arg6;
4863 }
4864 return NULL;
4865}
4866
4867
c370783e 4868static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4869 PyObject *resultobj;
4870 wxStaticLine *result;
4871 char *kwnames[] = {
4872 NULL
4873 };
4874
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4876 {
0439c23b 4877 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 result = (wxStaticLine *)new wxStaticLine();
4880
4881 wxPyEndAllowThreads(__tstate);
110da5b0 4882 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4883 }
4884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4885 return resultobj;
4886 fail:
4887 return NULL;
4888}
4889
4890
c370783e 4891static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4892 PyObject *resultobj;
4893 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4894 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 4895 int arg3 = (int) -1 ;
d55e5bfc
RD
4896 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4897 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4898 wxSize const &arg5_defvalue = wxDefaultSize ;
4899 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4900 long arg6 = (long) wxLI_HORIZONTAL ;
4901 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4902 wxString *arg7 = (wxString *) &arg7_defvalue ;
4903 bool result;
4904 wxPoint temp4 ;
4905 wxSize temp5 ;
b411df4a 4906 bool temp7 = false ;
d55e5bfc
RD
4907 PyObject * obj0 = 0 ;
4908 PyObject * obj1 = 0 ;
4909 PyObject * obj2 = 0 ;
4910 PyObject * obj3 = 0 ;
4911 PyObject * obj4 = 0 ;
4912 PyObject * obj5 = 0 ;
4913 PyObject * obj6 = 0 ;
4914 char *kwnames[] = {
4915 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4916 };
4917
bfddbb17 4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 4923 if (obj2) {
c370783e 4924 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
d55e5bfc
RD
4927 if (obj3) {
4928 {
4929 arg4 = &temp4;
4930 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4931 }
4932 }
4933 if (obj4) {
4934 {
4935 arg5 = &temp5;
4936 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4937 }
4938 }
4939 if (obj5) {
c370783e 4940 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 if (obj6) {
4944 {
4945 arg7 = wxString_in_helper(obj6);
4946 if (arg7 == NULL) SWIG_fail;
b411df4a 4947 temp7 = true;
d55e5bfc
RD
4948 }
4949 }
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 {
4958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4959 }
4960 {
4961 if (temp7)
4962 delete arg7;
4963 }
4964 return resultobj;
4965 fail:
4966 {
4967 if (temp7)
4968 delete arg7;
4969 }
4970 return NULL;
4971}
4972
4973
c370783e 4974static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4975 PyObject *resultobj;
4976 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4977 bool result;
4978 PyObject * obj0 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 {
4994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4995 }
4996 return resultobj;
4997 fail:
4998 return NULL;
4999}
5000
5001
c370783e 5002static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5003 PyObject *resultobj;
5004 int result;
5005 char *kwnames[] = {
5006 NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (int)wxStaticLine::GetDefaultSize();
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
c370783e 5017 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5018 return resultobj;
5019 fail:
5020 return NULL;
5021}
5022
5023
c370783e 5024static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
5025 PyObject *resultobj;
5026 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5027 wxVisualAttributes result;
5028 PyObject * obj0 = 0 ;
5029 char *kwnames[] = {
5030 (char *) "variant", NULL
5031 };
5032
5033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5034 if (obj0) {
c370783e 5035 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
5036 if (PyErr_Occurred()) SWIG_fail;
5037 }
5038 {
0439c23b 5039 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
5042
5043 wxPyEndAllowThreads(__tstate);
110da5b0 5044 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5045 }
5046 {
5047 wxVisualAttributes * resultptr;
5048 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5050 }
5051 return resultobj;
5052 fail:
5053 return NULL;
5054}
5055
5056
c370783e 5057static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5058 PyObject *obj;
5059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5060 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
5061 Py_INCREF(obj);
5062 return Py_BuildValue((char *)"");
5063}
c370783e 5064static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5065 PyObject *resultobj;
5066 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5067 int arg2 = (int) -1 ;
5068 wxString const &arg3_defvalue = wxPyEmptyString ;
5069 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5070 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5071 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5072 wxSize const &arg5_defvalue = wxDefaultSize ;
5073 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5074 long arg6 = (long) 0 ;
5075 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
5076 wxString *arg7 = (wxString *) &arg7_defvalue ;
5077 wxStaticText *result;
b411df4a 5078 bool temp3 = false ;
d55e5bfc
RD
5079 wxPoint temp4 ;
5080 wxSize temp5 ;
b411df4a 5081 bool temp7 = false ;
d55e5bfc
RD
5082 PyObject * obj0 = 0 ;
5083 PyObject * obj1 = 0 ;
5084 PyObject * obj2 = 0 ;
5085 PyObject * obj3 = 0 ;
5086 PyObject * obj4 = 0 ;
5087 PyObject * obj5 = 0 ;
5088 PyObject * obj6 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5091 };
5092
bfddbb17 5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
5094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 5096 if (obj1) {
c370783e 5097 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 if (obj2) {
5101 {
5102 arg3 = wxString_in_helper(obj2);
5103 if (arg3 == NULL) SWIG_fail;
b411df4a 5104 temp3 = true;
bfddbb17 5105 }
d55e5bfc
RD
5106 }
5107 if (obj3) {
5108 {
5109 arg4 = &temp4;
5110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5111 }
5112 }
5113 if (obj4) {
5114 {
5115 arg5 = &temp5;
5116 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5117 }
5118 }
5119 if (obj5) {
c370783e 5120 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 if (obj6) {
5124 {
5125 arg7 = wxString_in_helper(obj6);
5126 if (arg7 == NULL) SWIG_fail;
b411df4a 5127 temp7 = true;
d55e5bfc
RD
5128 }
5129 }
5130 {
0439c23b 5131 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5134
5135 wxPyEndAllowThreads(__tstate);
110da5b0 5136 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5137 }
5138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5139 {
5140 if (temp3)
5141 delete arg3;
5142 }
5143 {
5144 if (temp7)
5145 delete arg7;
5146 }
5147 return resultobj;
5148 fail:
5149 {
5150 if (temp3)
5151 delete arg3;
5152 }
5153 {
5154 if (temp7)
5155 delete arg7;
5156 }
5157 return NULL;
5158}
5159
5160
c370783e 5161static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5162 PyObject *resultobj;
5163 wxStaticText *result;
5164 char *kwnames[] = {
5165 NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5169 {
0439c23b 5170 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = (wxStaticText *)new wxStaticText();
5173
5174 wxPyEndAllowThreads(__tstate);
110da5b0 5175 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5176 }
5177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5178 return resultobj;
5179 fail:
5180 return NULL;
5181}
5182
5183
c370783e 5184static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5185 PyObject *resultobj;
5186 wxStaticText *arg1 = (wxStaticText *) 0 ;
5187 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5188 int arg3 = (int) -1 ;
5189 wxString const &arg4_defvalue = wxPyEmptyString ;
5190 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5191 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5192 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5193 wxSize const &arg6_defvalue = wxDefaultSize ;
5194 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5195 long arg7 = (long) 0 ;
5196 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5197 wxString *arg8 = (wxString *) &arg8_defvalue ;
5198 bool result;
b411df4a 5199 bool temp4 = false ;
d55e5bfc
RD
5200 wxPoint temp5 ;
5201 wxSize temp6 ;
b411df4a 5202 bool temp8 = false ;
d55e5bfc
RD
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 PyObject * obj2 = 0 ;
5206 PyObject * obj3 = 0 ;
5207 PyObject * obj4 = 0 ;
5208 PyObject * obj5 = 0 ;
5209 PyObject * obj6 = 0 ;
5210 PyObject * obj7 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5213 };
5214
bfddbb17 5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 5220 if (obj2) {
c370783e 5221 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 if (obj3) {
5225 {
5226 arg4 = wxString_in_helper(obj3);
5227 if (arg4 == NULL) SWIG_fail;
b411df4a 5228 temp4 = true;
bfddbb17 5229 }
d55e5bfc
RD
5230 }
5231 if (obj4) {
5232 {
5233 arg5 = &temp5;
5234 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5235 }
5236 }
5237 if (obj5) {
5238 {
5239 arg6 = &temp6;
5240 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5241 }
5242 }
5243 if (obj6) {
c370783e 5244 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 if (obj7) {
5248 {
5249 arg8 = wxString_in_helper(obj7);
5250 if (arg8 == NULL) SWIG_fail;
b411df4a 5251 temp8 = true;
d55e5bfc
RD
5252 }
5253 }
5254 {
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5257
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 {
5262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5263 }
5264 {
5265 if (temp4)
5266 delete arg4;
5267 }
5268 {
5269 if (temp8)
5270 delete arg8;
5271 }
5272 return resultobj;
5273 fail:
5274 {
5275 if (temp4)
5276 delete arg4;
5277 }
5278 {
5279 if (temp8)
5280 delete arg8;
5281 }
5282 return NULL;
5283}
5284
5285
c370783e 5286static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
5287 PyObject *resultobj;
5288 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5289 wxVisualAttributes result;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "variant", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5296 if (obj0) {
c370783e 5297 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 {
0439c23b 5301 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5304
5305 wxPyEndAllowThreads(__tstate);
110da5b0 5306 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5307 }
5308 {
5309 wxVisualAttributes * resultptr;
5310 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5311 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5312 }
5313 return resultobj;
5314 fail:
5315 return NULL;
5316}
5317
5318
c370783e 5319static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5320 PyObject *obj;
5321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5322 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5323 Py_INCREF(obj);
5324 return Py_BuildValue((char *)"");
5325}
c370783e 5326static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5327 PyObject *resultobj;
5328 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5329 int arg2 = (int) -1 ;
5330 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5331 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
5332 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5333 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5334 wxSize const &arg5_defvalue = wxDefaultSize ;
5335 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5336 long arg6 = (long) 0 ;
5337 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5338 wxString *arg7 = (wxString *) &arg7_defvalue ;
5339 wxStaticBitmap *result;
5340 wxPoint temp4 ;
5341 wxSize temp5 ;
b411df4a 5342 bool temp7 = false ;
d55e5bfc
RD
5343 PyObject * obj0 = 0 ;
5344 PyObject * obj1 = 0 ;
5345 PyObject * obj2 = 0 ;
5346 PyObject * obj3 = 0 ;
5347 PyObject * obj4 = 0 ;
5348 PyObject * obj5 = 0 ;
5349 PyObject * obj6 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5352 };
5353
bfddbb17 5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
5355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 5357 if (obj1) {
c370783e 5358 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 if (obj2) {
5362 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5363 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 5364 SWIG_fail;
bfddbb17
RD
5365 if (arg3 == NULL) {
5366 PyErr_SetString(PyExc_TypeError,"null reference");
5367 SWIG_fail;
5368 }
d55e5bfc
RD
5369 }
5370 if (obj3) {
5371 {
5372 arg4 = &temp4;
5373 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5374 }
5375 }
5376 if (obj4) {
5377 {
5378 arg5 = &temp5;
5379 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5380 }
5381 }
5382 if (obj5) {
c370783e 5383 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 if (obj6) {
5387 {
5388 arg7 = wxString_in_helper(obj6);
5389 if (arg7 == NULL) SWIG_fail;
b411df4a 5390 temp7 = true;
d55e5bfc
RD
5391 }
5392 }
5393 {
0439c23b 5394 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5397
5398 wxPyEndAllowThreads(__tstate);
110da5b0 5399 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5400 }
5401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5402 {
5403 if (temp7)
5404 delete arg7;
5405 }
5406 return resultobj;
5407 fail:
5408 {
5409 if (temp7)
5410 delete arg7;
5411 }
5412 return NULL;
5413}
5414
5415
c370783e 5416static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5417 PyObject *resultobj;
5418 wxStaticBitmap *result;
5419 char *kwnames[] = {
5420 NULL
5421 };
5422
5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5424 {
0439c23b 5425 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = (wxStaticBitmap *)new wxStaticBitmap();
5428
5429 wxPyEndAllowThreads(__tstate);
110da5b0 5430 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5431 }
5432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5433 return resultobj;
5434 fail:
5435 return NULL;
5436}
5437
5438
c370783e 5439static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5440 PyObject *resultobj;
5441 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5442 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5443 int arg3 = (int) -1 ;
5444 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5445 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
5446 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5447 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5448 wxSize const &arg6_defvalue = wxDefaultSize ;
5449 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5450 long arg7 = (long) 0 ;
5451 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5452 wxString *arg8 = (wxString *) &arg8_defvalue ;
5453 bool result;
5454 wxPoint temp5 ;
5455 wxSize temp6 ;
b411df4a 5456 bool temp8 = false ;
d55e5bfc
RD
5457 PyObject * obj0 = 0 ;
5458 PyObject * obj1 = 0 ;
5459 PyObject * obj2 = 0 ;
5460 PyObject * obj3 = 0 ;
5461 PyObject * obj4 = 0 ;
5462 PyObject * obj5 = 0 ;
5463 PyObject * obj6 = 0 ;
5464 PyObject * obj7 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5467 };
5468
bfddbb17 5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 5474 if (obj2) {
c370783e 5475 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 if (obj3) {
5479 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5480 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 5481 SWIG_fail;
bfddbb17
RD
5482 if (arg4 == NULL) {
5483 PyErr_SetString(PyExc_TypeError,"null reference");
5484 SWIG_fail;
5485 }
d55e5bfc
RD
5486 }
5487 if (obj4) {
5488 {
5489 arg5 = &temp5;
5490 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5491 }
5492 }
5493 if (obj5) {
5494 {
5495 arg6 = &temp6;
5496 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5497 }
5498 }
5499 if (obj6) {
c370783e 5500 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 if (obj7) {
5504 {
5505 arg8 = wxString_in_helper(obj7);
5506 if (arg8 == NULL) SWIG_fail;
b411df4a 5507 temp8 = true;
d55e5bfc
RD
5508 }
5509 }
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5513
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5519 }
5520 {
5521 if (temp8)
5522 delete arg8;
5523 }
5524 return resultobj;
5525 fail:
5526 {
5527 if (temp8)
5528 delete arg8;
5529 }
5530 return NULL;
5531}
5532
5533
c370783e 5534static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5535 PyObject *resultobj;
5536 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5537 wxBitmap result;
5538 PyObject * obj0 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (arg1)->GetBitmap();
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 {
5554 wxBitmap * resultptr;
5555 resultptr = new wxBitmap((wxBitmap &) result);
5556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5557 }
5558 return resultobj;
5559 fail:
5560 return NULL;
5561}
5562
5563
c370783e 5564static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5565 PyObject *resultobj;
5566 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5567 wxBitmap *arg2 = 0 ;
5568 PyObject * obj0 = 0 ;
5569 PyObject * obj1 = 0 ;
5570 char *kwnames[] = {
5571 (char *) "self",(char *) "bitmap", NULL
5572 };
5573
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5578 SWIG_POINTER_EXCEPTION | 0)) == -1)
5579 SWIG_fail;
5580 if (arg2 == NULL) {
5581 PyErr_SetString(PyExc_TypeError,"null reference");
5582 SWIG_fail;
5583 }
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 Py_INCREF(Py_None); resultobj = Py_None;
5592 return resultobj;
5593 fail:
5594 return NULL;
5595}
5596
5597
c370783e 5598static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5599 PyObject *resultobj;
5600 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5601 wxIcon *arg2 = 0 ;
5602 PyObject * obj0 = 0 ;
5603 PyObject * obj1 = 0 ;
5604 char *kwnames[] = {
5605 (char *) "self",(char *) "icon", NULL
5606 };
5607
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1)
5613 SWIG_fail;
5614 if (arg2 == NULL) {
5615 PyErr_SetString(PyExc_TypeError,"null reference");
5616 SWIG_fail;
5617 }
5618 {
5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5620 (arg1)->SetIcon((wxIcon const &)*arg2);
5621
5622 wxPyEndAllowThreads(__tstate);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 }
5625 Py_INCREF(Py_None); resultobj = Py_None;
5626 return resultobj;
5627 fail:
5628 return NULL;
5629}
5630
5631
c370783e 5632static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
5633 PyObject *resultobj;
5634 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5635 wxVisualAttributes result;
5636 PyObject * obj0 = 0 ;
5637 char *kwnames[] = {
5638 (char *) "variant", NULL
5639 };
5640
5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5642 if (obj0) {
c370783e 5643 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 {
0439c23b 5647 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5650
5651 wxPyEndAllowThreads(__tstate);
110da5b0 5652 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5653 }
5654 {
5655 wxVisualAttributes * resultptr;
5656 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5658 }
5659 return resultobj;
5660 fail:
5661 return NULL;
5662}
5663
5664
c370783e 5665static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5666 PyObject *obj;
5667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5668 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5669 Py_INCREF(obj);
5670 return Py_BuildValue((char *)"");
5671}
c370783e 5672static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
5673 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5674 return 1;
5675}
5676
5677
5678static PyObject *_wrap_ListBoxNameStr_get() {
5679 PyObject *pyobj;
5680
5681 {
5682#if wxUSE_UNICODE
5683 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5684#else
5685 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5686#endif
5687 }
5688 return pyobj;
5689}
5690
5691
c370783e 5692static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5693 PyObject *resultobj;
5694 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 5695 int arg2 = (int) -1 ;
d55e5bfc
RD
5696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5698 wxSize const &arg4_defvalue = wxDefaultSize ;
5699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5700 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5701 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5702 long arg6 = (long) 0 ;
5703 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5704 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5705 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5706 wxString *arg8 = (wxString *) &arg8_defvalue ;
5707 wxListBox *result;
5708 wxPoint temp3 ;
5709 wxSize temp4 ;
b411df4a
RD
5710 bool temp5 = false ;
5711 bool temp8 = false ;
d55e5bfc
RD
5712 PyObject * obj0 = 0 ;
5713 PyObject * obj1 = 0 ;
5714 PyObject * obj2 = 0 ;
5715 PyObject * obj3 = 0 ;
5716 PyObject * obj4 = 0 ;
5717 PyObject * obj5 = 0 ;
5718 PyObject * obj6 = 0 ;
5719 PyObject * obj7 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5722 };
5723
bfddbb17 5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 5727 if (obj1) {
c370783e 5728 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
d55e5bfc
RD
5731 if (obj2) {
5732 {
5733 arg3 = &temp3;
5734 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5735 }
5736 }
5737 if (obj3) {
5738 {
5739 arg4 = &temp4;
5740 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5741 }
5742 }
5743 if (obj4) {
5744 {
5745 if (! PySequence_Check(obj4)) {
5746 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5747 SWIG_fail;
5748 }
5749 arg5 = new wxArrayString;
b411df4a 5750 temp5 = true;
d55e5bfc
RD
5751 int i, len=PySequence_Length(obj4);
5752 for (i=0; i<len; i++) {
5753 PyObject* item = PySequence_GetItem(obj4, i);
5754#if wxUSE_UNICODE
5755 PyObject* str = PyObject_Unicode(item);
5756#else
5757 PyObject* str = PyObject_Str(item);
5758#endif
5759 if (PyErr_Occurred()) SWIG_fail;
5760 arg5->Add(Py2wxString(str));
5761 Py_DECREF(item);
5762 Py_DECREF(str);
5763 }
5764 }
5765 }
5766 if (obj5) {
c370783e 5767 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 if (obj6) {
5771 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5772 SWIG_POINTER_EXCEPTION | 0)) == -1)
5773 SWIG_fail;
5774 if (arg7 == NULL) {
5775 PyErr_SetString(PyExc_TypeError,"null reference");
5776 SWIG_fail;
5777 }
5778 }
5779 if (obj7) {
5780 {
5781 arg8 = wxString_in_helper(obj7);
5782 if (arg8 == NULL) SWIG_fail;
b411df4a 5783 temp8 = true;
d55e5bfc
RD
5784 }
5785 }
5786 {
0439c23b 5787 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5790
5791 wxPyEndAllowThreads(__tstate);
110da5b0 5792 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5793 }
5794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5795 {
5796 if (temp5) delete arg5;
5797 }
5798 {
5799 if (temp8)
5800 delete arg8;
5801 }
5802 return resultobj;
5803 fail:
5804 {
5805 if (temp5) delete arg5;
5806 }
5807 {
5808 if (temp8)
5809 delete arg8;
5810 }
5811 return NULL;
5812}
5813
5814
c370783e 5815static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5816 PyObject *resultobj;
5817 wxListBox *result;
5818 char *kwnames[] = {
5819 NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5823 {
0439c23b 5824 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (wxListBox *)new wxListBox();
5827
5828 wxPyEndAllowThreads(__tstate);
110da5b0 5829 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5830 }
5831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5832 return resultobj;
5833 fail:
5834 return NULL;
5835}
5836
5837
c370783e 5838static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5839 PyObject *resultobj;
5840 wxListBox *arg1 = (wxListBox *) 0 ;
5841 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 5842 int arg3 = (int) -1 ;
d55e5bfc
RD
5843 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5844 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5845 wxSize const &arg5_defvalue = wxDefaultSize ;
5846 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5847 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5848 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5849 long arg7 = (long) 0 ;
5850 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5851 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5852 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5853 wxString *arg9 = (wxString *) &arg9_defvalue ;
5854 bool result;
5855 wxPoint temp4 ;
5856 wxSize temp5 ;
b411df4a
RD
5857 bool temp6 = false ;
5858 bool temp9 = false ;
d55e5bfc
RD
5859 PyObject * obj0 = 0 ;
5860 PyObject * obj1 = 0 ;
5861 PyObject * obj2 = 0 ;
5862 PyObject * obj3 = 0 ;
5863 PyObject * obj4 = 0 ;
5864 PyObject * obj5 = 0 ;
5865 PyObject * obj6 = 0 ;
5866 PyObject * obj7 = 0 ;
5867 PyObject * obj8 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5870 };
5871
bfddbb17 5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
5873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 5877 if (obj2) {
c370783e 5878 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
d55e5bfc
RD
5881 if (obj3) {
5882 {
5883 arg4 = &temp4;
5884 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5885 }
5886 }
5887 if (obj4) {
5888 {
5889 arg5 = &temp5;
5890 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5891 }
5892 }
5893 if (obj5) {
5894 {
5895 if (! PySequence_Check(obj5)) {
5896 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5897 SWIG_fail;
5898 }
5899 arg6 = new wxArrayString;
b411df4a 5900 temp6 = true;
d55e5bfc
RD
5901 int i, len=PySequence_Length(obj5);
5902 for (i=0; i<len; i++) {
5903 PyObject* item = PySequence_GetItem(obj5, i);
5904#if wxUSE_UNICODE
5905 PyObject* str = PyObject_Unicode(item);
5906#else
5907 PyObject* str = PyObject_Str(item);
5908#endif
5909 if (PyErr_Occurred()) SWIG_fail;
5910 arg6->Add(Py2wxString(str));
5911 Py_DECREF(item);
5912 Py_DECREF(str);
5913 }
5914 }
5915 }
5916 if (obj6) {
c370783e 5917 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 if (obj7) {
5921 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5922 SWIG_POINTER_EXCEPTION | 0)) == -1)
5923 SWIG_fail;
5924 if (arg8 == NULL) {
5925 PyErr_SetString(PyExc_TypeError,"null reference");
5926 SWIG_fail;
5927 }
5928 }
5929 if (obj8) {
5930 {
5931 arg9 = wxString_in_helper(obj8);
5932 if (arg9 == NULL) SWIG_fail;
b411df4a 5933 temp9 = true;
d55e5bfc
RD
5934 }
5935 }
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5939
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
5943 {
5944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5945 }
5946 {
5947 if (temp6) delete arg6;
5948 }
5949 {
5950 if (temp9)
5951 delete arg9;
5952 }
5953 return resultobj;
5954 fail:
5955 {
5956 if (temp6) delete arg6;
5957 }
5958 {
5959 if (temp9)
5960 delete arg9;
5961 }
5962 return NULL;
5963}
5964
5965
c370783e 5966static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5967 PyObject *resultobj;
5968 wxListBox *arg1 = (wxListBox *) 0 ;
5969 wxString *arg2 = 0 ;
5970 int arg3 ;
5971 PyObject *arg4 = (PyObject *) NULL ;
b411df4a 5972 bool temp2 = false ;
d55e5bfc
RD
5973 PyObject * obj0 = 0 ;
5974 PyObject * obj1 = 0 ;
5975 PyObject * obj2 = 0 ;
5976 PyObject * obj3 = 0 ;
5977 char *kwnames[] = {
5978 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5984 {
5985 arg2 = wxString_in_helper(obj1);
5986 if (arg2 == NULL) SWIG_fail;
b411df4a 5987 temp2 = true;
d55e5bfc 5988 }
c370783e 5989 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5990 if (PyErr_Occurred()) SWIG_fail;
5991 if (obj3) {
5992 arg4 = obj3;
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 {
6003 if (temp2)
6004 delete arg2;
6005 }
6006 return resultobj;
6007 fail:
6008 {
6009 if (temp2)
6010 delete arg2;
6011 }
6012 return NULL;
6013}
6014
6015
c370783e 6016static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6017 PyObject *resultobj;
6018 wxListBox *arg1 = (wxListBox *) 0 ;
6019 wxArrayString *arg2 = 0 ;
6020 int arg3 ;
b411df4a 6021 bool temp2 = false ;
d55e5bfc
RD
6022 PyObject * obj0 = 0 ;
6023 PyObject * obj1 = 0 ;
6024 PyObject * obj2 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self",(char *) "items",(char *) "pos", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6032 {
6033 if (! PySequence_Check(obj1)) {
6034 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6035 SWIG_fail;
6036 }
6037 arg2 = new wxArrayString;
b411df4a 6038 temp2 = true;
d55e5bfc
RD
6039 int i, len=PySequence_Length(obj1);
6040 for (i=0; i<len; i++) {
6041 PyObject* item = PySequence_GetItem(obj1, i);
6042#if wxUSE_UNICODE
6043 PyObject* str = PyObject_Unicode(item);
6044#else
6045 PyObject* str = PyObject_Str(item);
6046#endif
6047 if (PyErr_Occurred()) SWIG_fail;
6048 arg2->Add(Py2wxString(str));
6049 Py_DECREF(item);
6050 Py_DECREF(str);
6051 }
6052 }
c370783e 6053 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6054 if (PyErr_Occurred()) SWIG_fail;
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 Py_INCREF(Py_None); resultobj = Py_None;
6063 {
6064 if (temp2) delete arg2;
6065 }
6066 return resultobj;
6067 fail:
6068 {
6069 if (temp2) delete arg2;
6070 }
6071 return NULL;
6072}
6073
6074
c370783e 6075static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6076 PyObject *resultobj;
6077 wxListBox *arg1 = (wxListBox *) 0 ;
6078 wxArrayString *arg2 = 0 ;
b411df4a 6079 bool temp2 = false ;
d55e5bfc
RD
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 char *kwnames[] = {
6083 (char *) "self",(char *) "items", NULL
6084 };
6085
6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
6087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6089 {
6090 if (! PySequence_Check(obj1)) {
6091 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6092 SWIG_fail;
6093 }
6094 arg2 = new wxArrayString;
b411df4a 6095 temp2 = true;
d55e5bfc
RD
6096 int i, len=PySequence_Length(obj1);
6097 for (i=0; i<len; i++) {
6098 PyObject* item = PySequence_GetItem(obj1, i);
6099#if wxUSE_UNICODE
6100 PyObject* str = PyObject_Unicode(item);
6101#else
6102 PyObject* str = PyObject_Str(item);
6103#endif
6104 if (PyErr_Occurred()) SWIG_fail;
6105 arg2->Add(Py2wxString(str));
6106 Py_DECREF(item);
6107 Py_DECREF(str);
6108 }
6109 }
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 (arg1)->Set((wxArrayString const &)*arg2);
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 Py_INCREF(Py_None); resultobj = Py_None;
6118 {
6119 if (temp2) delete arg2;
6120 }
6121 return resultobj;
6122 fail:
6123 {
6124 if (temp2) delete arg2;
6125 }
6126 return NULL;
6127}
6128
6129
c370783e 6130static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6131 PyObject *resultobj;
6132 wxListBox *arg1 = (wxListBox *) 0 ;
6133 int arg2 ;
6134 bool result;
6135 PyObject * obj0 = 0 ;
6136 PyObject * obj1 = 0 ;
6137 char *kwnames[] = {
6138 (char *) "self",(char *) "n", NULL
6139 };
6140
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6144 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6145 if (PyErr_Occurred()) SWIG_fail;
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 {
6154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6155 }
6156 return resultobj;
6157 fail:
6158 return NULL;
6159}
6160
6161
c370783e 6162static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6163 PyObject *resultobj;
6164 wxListBox *arg1 = (wxListBox *) 0 ;
6165 int arg2 ;
b411df4a 6166 bool arg3 = (bool) true ;
d55e5bfc
RD
6167 PyObject * obj0 = 0 ;
6168 PyObject * obj1 = 0 ;
6169 PyObject * obj2 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self",(char *) "n",(char *) "select", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6177 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6178 if (PyErr_Occurred()) SWIG_fail;
6179 if (obj2) {
c370783e 6180 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 (arg1)->SetSelection(arg2,arg3);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 Py_INCREF(Py_None); resultobj = Py_None;
6191 return resultobj;
6192 fail:
6193 return NULL;
6194}
6195
6196
c370783e 6197static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6198 PyObject *resultobj;
6199 wxListBox *arg1 = (wxListBox *) 0 ;
6200 int arg2 ;
6201 PyObject * obj0 = 0 ;
6202 PyObject * obj1 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "self",(char *) "n", NULL
6205 };
6206
6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6210 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6211 if (PyErr_Occurred()) SWIG_fail;
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 (arg1)->Select(arg2);
6215
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 Py_INCREF(Py_None); resultobj = Py_None;
6220 return resultobj;
6221 fail:
6222 return NULL;
6223}
6224
6225
c370783e 6226static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6227 PyObject *resultobj;
6228 wxListBox *arg1 = (wxListBox *) 0 ;
6229 int arg2 ;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "n", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6239 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6240 if (PyErr_Occurred()) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->Deselect(arg2);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 Py_INCREF(Py_None); resultobj = Py_None;
6249 return resultobj;
6250 fail:
6251 return NULL;
6252}
6253
6254
c370783e 6255static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6256 PyObject *resultobj;
6257 wxListBox *arg1 = (wxListBox *) 0 ;
6258 int arg2 = (int) -1 ;
6259 PyObject * obj0 = 0 ;
6260 PyObject * obj1 = 0 ;
6261 char *kwnames[] = {
6262 (char *) "self",(char *) "itemToLeaveSelected", NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 if (obj1) {
c370783e 6269 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 (arg1)->DeselectAll(arg2);
6275
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 Py_INCREF(Py_None); resultobj = Py_None;
6280 return resultobj;
6281 fail:
6282 return NULL;
6283}
6284
6285
c370783e 6286static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6287 PyObject *resultobj;
6288 wxListBox *arg1 = (wxListBox *) 0 ;
6289 wxString *arg2 = 0 ;
b411df4a 6290 bool arg3 = (bool) true ;
d55e5bfc 6291 bool result;
b411df4a 6292 bool temp2 = false ;
d55e5bfc
RD
6293 PyObject * obj0 = 0 ;
6294 PyObject * obj1 = 0 ;
6295 PyObject * obj2 = 0 ;
6296 char *kwnames[] = {
6297 (char *) "self",(char *) "s",(char *) "select", NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6303 {
6304 arg2 = wxString_in_helper(obj1);
6305 if (arg2 == NULL) SWIG_fail;
b411df4a 6306 temp2 = true;
d55e5bfc
RD
6307 }
6308 if (obj2) {
c370783e 6309 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 {
6320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6321 }
6322 {
6323 if (temp2)
6324 delete arg2;
6325 }
6326 return resultobj;
6327 fail:
6328 {
6329 if (temp2)
6330 delete arg2;
6331 }
6332 return NULL;
6333}
6334
6335
c370783e 6336static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6337 PyObject *resultobj;
6338 wxListBox *arg1 = (wxListBox *) 0 ;
6339 PyObject *result;
6340 PyObject * obj0 = 0 ;
6341 char *kwnames[] = {
6342 (char *) "self", NULL
6343 };
6344
6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6348 {
6349 PyThreadState* __tstate = wxPyBeginAllowThreads();
6350 result = (PyObject *)wxListBox_GetSelections(arg1);
6351
6352 wxPyEndAllowThreads(__tstate);
6353 if (PyErr_Occurred()) SWIG_fail;
6354 }
6355 resultobj = result;
6356 return resultobj;
6357 fail:
6358 return NULL;
6359}
6360
6361
c370783e 6362static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6363 PyObject *resultobj;
6364 wxListBox *arg1 = (wxListBox *) 0 ;
6365 int arg2 ;
6366 PyObject * obj0 = 0 ;
6367 PyObject * obj1 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self",(char *) "n", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6375 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6376 if (PyErr_Occurred()) SWIG_fail;
6377 {
6378 PyThreadState* __tstate = wxPyBeginAllowThreads();
6379 (arg1)->SetFirstItem(arg2);
6380
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 Py_INCREF(Py_None); resultobj = Py_None;
6385 return resultobj;
6386 fail:
6387 return NULL;
6388}
6389
6390
c370783e 6391static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6392 PyObject *resultobj;
6393 wxListBox *arg1 = (wxListBox *) 0 ;
6394 wxString *arg2 = 0 ;
b411df4a 6395 bool temp2 = false ;
d55e5bfc
RD
6396 PyObject * obj0 = 0 ;
6397 PyObject * obj1 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "self",(char *) "s", NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6405 {
6406 arg2 = wxString_in_helper(obj1);
6407 if (arg2 == NULL) SWIG_fail;
b411df4a 6408 temp2 = true;
d55e5bfc
RD
6409 }
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 (arg1)->SetFirstItem((wxString const &)*arg2);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 Py_INCREF(Py_None); resultobj = Py_None;
6418 {
6419 if (temp2)
6420 delete arg2;
6421 }
6422 return resultobj;
6423 fail:
6424 {
6425 if (temp2)
6426 delete arg2;
6427 }
6428 return NULL;
6429}
6430
6431
c370783e 6432static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6433 PyObject *resultobj;
6434 wxListBox *arg1 = (wxListBox *) 0 ;
6435 int arg2 ;
6436 PyObject * obj0 = 0 ;
6437 PyObject * obj1 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self",(char *) "n", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6445 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6446 if (PyErr_Occurred()) SWIG_fail;
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 (arg1)->EnsureVisible(arg2);
6450
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 Py_INCREF(Py_None); resultobj = Py_None;
6455 return resultobj;
6456 fail:
6457 return NULL;
6458}
6459
6460
c370783e 6461static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6462 PyObject *resultobj;
6463 wxListBox *arg1 = (wxListBox *) 0 ;
6464 wxString *arg2 = 0 ;
b411df4a 6465 bool temp2 = false ;
d55e5bfc
RD
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self",(char *) "s", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6475 {
6476 arg2 = wxString_in_helper(obj1);
6477 if (arg2 == NULL) SWIG_fail;
b411df4a 6478 temp2 = true;
d55e5bfc
RD
6479 }
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 Py_INCREF(Py_None); resultobj = Py_None;
6488 {
6489 if (temp2)
6490 delete arg2;
6491 }
6492 return resultobj;
6493 fail:
6494 {
6495 if (temp2)
6496 delete arg2;
6497 }
6498 return NULL;
6499}
6500
6501
c370783e 6502static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6503 PyObject *resultobj;
6504 wxListBox *arg1 = (wxListBox *) 0 ;
6505 bool result;
6506 PyObject * obj0 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self", NULL
6509 };
6510
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6514 {
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 result = (bool)((wxListBox const *)arg1)->IsSorted();
6517
6518 wxPyEndAllowThreads(__tstate);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
6521 {
6522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6523 }
6524 return resultobj;
6525 fail:
6526 return NULL;
6527}
6528
6529
c370783e 6530static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6531 PyObject *resultobj;
6532 wxListBox *arg1 = (wxListBox *) 0 ;
6533 int arg2 ;
6534 wxColour *arg3 = 0 ;
6535 wxColour temp3 ;
6536 PyObject * obj0 = 0 ;
6537 PyObject * obj1 = 0 ;
6538 PyObject * obj2 = 0 ;
6539 char *kwnames[] = {
6540 (char *) "self",(char *) "item",(char *) "c", NULL
6541 };
6542
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6546 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6547 if (PyErr_Occurred()) SWIG_fail;
6548 {
6549 arg3 = &temp3;
6550 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6551 }
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 Py_INCREF(Py_None); resultobj = Py_None;
6560 return resultobj;
6561 fail:
6562 return NULL;
6563}
6564
6565
c370783e 6566static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6567 PyObject *resultobj;
6568 wxListBox *arg1 = (wxListBox *) 0 ;
6569 int arg2 ;
6570 wxColour *arg3 = 0 ;
6571 wxColour temp3 ;
6572 PyObject * obj0 = 0 ;
6573 PyObject * obj1 = 0 ;
6574 PyObject * obj2 = 0 ;
6575 char *kwnames[] = {
6576 (char *) "self",(char *) "item",(char *) "c", NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6582 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6583 if (PyErr_Occurred()) SWIG_fail;
6584 {
6585 arg3 = &temp3;
6586 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6587 }
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6591
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 Py_INCREF(Py_None); resultobj = Py_None;
6596 return resultobj;
6597 fail:
6598 return NULL;
6599}
6600
6601
c370783e 6602static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6603 PyObject *resultobj;
6604 wxListBox *arg1 = (wxListBox *) 0 ;
6605 int arg2 ;
6606 wxFont *arg3 = 0 ;
6607 PyObject * obj0 = 0 ;
6608 PyObject * obj1 = 0 ;
6609 PyObject * obj2 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self",(char *) "item",(char *) "f", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6617 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6618 if (PyErr_Occurred()) SWIG_fail;
6619 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6620 SWIG_POINTER_EXCEPTION | 0)) == -1)
6621 SWIG_fail;
6622 if (arg3 == NULL) {
6623 PyErr_SetString(PyExc_TypeError,"null reference");
6624 SWIG_fail;
6625 }
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6629
6630 wxPyEndAllowThreads(__tstate);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 Py_INCREF(Py_None); resultobj = Py_None;
6634 return resultobj;
6635 fail:
6636 return NULL;
6637}
6638
6639
c370783e 6640static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6641 PyObject *resultobj;
6642 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6643 wxVisualAttributes result;
6644 PyObject * obj0 = 0 ;
6645 char *kwnames[] = {
6646 (char *) "variant", NULL
6647 };
6648
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6650 if (obj0) {
c370783e 6651 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 {
0439c23b 6655 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6658
6659 wxPyEndAllowThreads(__tstate);
110da5b0 6660 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6661 }
6662 {
6663 wxVisualAttributes * resultptr;
6664 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6666 }
6667 return resultobj;
6668 fail:
6669 return NULL;
6670}
6671
6672
c370783e 6673static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6674 PyObject *obj;
6675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6676 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6677 Py_INCREF(obj);
6678 return Py_BuildValue((char *)"");
6679}
c370783e 6680static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6681 PyObject *resultobj;
6682 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 6683 int arg2 = (int) -1 ;
d55e5bfc
RD
6684 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6685 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6686 wxSize const &arg4_defvalue = wxDefaultSize ;
6687 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6688 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6689 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6690 long arg6 = (long) 0 ;
6691 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6692 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6693 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6694 wxString *arg8 = (wxString *) &arg8_defvalue ;
6695 wxCheckListBox *result;
6696 wxPoint temp3 ;
6697 wxSize temp4 ;
b411df4a
RD
6698 bool temp5 = false ;
6699 bool temp8 = false ;
d55e5bfc
RD
6700 PyObject * obj0 = 0 ;
6701 PyObject * obj1 = 0 ;
6702 PyObject * obj2 = 0 ;
6703 PyObject * obj3 = 0 ;
6704 PyObject * obj4 = 0 ;
6705 PyObject * obj5 = 0 ;
6706 PyObject * obj6 = 0 ;
6707 PyObject * obj7 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6710 };
6711
bfddbb17 6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
6713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 6715 if (obj1) {
c370783e 6716 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
d55e5bfc
RD
6719 if (obj2) {
6720 {
6721 arg3 = &temp3;
6722 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6723 }
6724 }
6725 if (obj3) {
6726 {
6727 arg4 = &temp4;
6728 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6729 }
6730 }
6731 if (obj4) {
6732 {
6733 if (! PySequence_Check(obj4)) {
6734 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6735 SWIG_fail;
6736 }
6737 arg5 = new wxArrayString;
b411df4a 6738 temp5 = true;
d55e5bfc
RD
6739 int i, len=PySequence_Length(obj4);
6740 for (i=0; i<len; i++) {
6741 PyObject* item = PySequence_GetItem(obj4, i);
6742#if wxUSE_UNICODE
6743 PyObject* str = PyObject_Unicode(item);
6744#else
6745 PyObject* str = PyObject_Str(item);
6746#endif
6747 if (PyErr_Occurred()) SWIG_fail;
6748 arg5->Add(Py2wxString(str));
6749 Py_DECREF(item);
6750 Py_DECREF(str);
6751 }
6752 }
6753 }
6754 if (obj5) {
c370783e 6755 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 if (obj6) {
6759 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6760 SWIG_POINTER_EXCEPTION | 0)) == -1)
6761 SWIG_fail;
6762 if (arg7 == NULL) {
6763 PyErr_SetString(PyExc_TypeError,"null reference");
6764 SWIG_fail;
6765 }
6766 }
6767 if (obj7) {
6768 {
6769 arg8 = wxString_in_helper(obj7);
6770 if (arg8 == NULL) SWIG_fail;
b411df4a 6771 temp8 = true;
d55e5bfc
RD
6772 }
6773 }
6774 {
0439c23b 6775 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6778
6779 wxPyEndAllowThreads(__tstate);
110da5b0 6780 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6781 }
6782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6783 {
6784 if (temp5) delete arg5;
6785 }
6786 {
6787 if (temp8)
6788 delete arg8;
6789 }
6790 return resultobj;
6791 fail:
6792 {
6793 if (temp5) delete arg5;
6794 }
6795 {
6796 if (temp8)
6797 delete arg8;
6798 }
6799 return NULL;
6800}
6801
6802
c370783e 6803static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6804 PyObject *resultobj;
6805 wxCheckListBox *result;
6806 char *kwnames[] = {
6807 NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6811 {
0439c23b 6812 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 result = (wxCheckListBox *)new wxCheckListBox();
6815
6816 wxPyEndAllowThreads(__tstate);
110da5b0 6817 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6818 }
6819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6820 return resultobj;
6821 fail:
6822 return NULL;
6823}
6824
6825
c370783e 6826static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6827 PyObject *resultobj;
6828 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6829 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 6830 int arg3 = (int) -1 ;
d55e5bfc
RD
6831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6833 wxSize const &arg5_defvalue = wxDefaultSize ;
6834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6835 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6836 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6837 long arg7 = (long) 0 ;
6838 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6839 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6840 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6841 wxString *arg9 = (wxString *) &arg9_defvalue ;
6842 bool result;
6843 wxPoint temp4 ;
6844 wxSize temp5 ;
b411df4a
RD
6845 bool temp6 = false ;
6846 bool temp9 = false ;
d55e5bfc
RD
6847 PyObject * obj0 = 0 ;
6848 PyObject * obj1 = 0 ;
6849 PyObject * obj2 = 0 ;
6850 PyObject * obj3 = 0 ;
6851 PyObject * obj4 = 0 ;
6852 PyObject * obj5 = 0 ;
6853 PyObject * obj6 = 0 ;
6854 PyObject * obj7 = 0 ;
6855 PyObject * obj8 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6858 };
6859
bfddbb17 6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
6861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 6865 if (obj2) {
c370783e 6866 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
d55e5bfc
RD
6869 if (obj3) {
6870 {
6871 arg4 = &temp4;
6872 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6873 }
6874 }
6875 if (obj4) {
6876 {
6877 arg5 = &temp5;
6878 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6879 }
6880 }
6881 if (obj5) {
6882 {
6883 if (! PySequence_Check(obj5)) {
6884 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6885 SWIG_fail;
6886 }
6887 arg6 = new wxArrayString;
b411df4a 6888 temp6 = true;
d55e5bfc
RD
6889 int i, len=PySequence_Length(obj5);
6890 for (i=0; i<len; i++) {
6891 PyObject* item = PySequence_GetItem(obj5, i);
6892#if wxUSE_UNICODE
6893 PyObject* str = PyObject_Unicode(item);
6894#else
6895 PyObject* str = PyObject_Str(item);
6896#endif
6897 if (PyErr_Occurred()) SWIG_fail;
6898 arg6->Add(Py2wxString(str));
6899 Py_DECREF(item);
6900 Py_DECREF(str);
6901 }
6902 }
6903 }
6904 if (obj6) {
c370783e 6905 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 if (obj7) {
6909 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6910 SWIG_POINTER_EXCEPTION | 0)) == -1)
6911 SWIG_fail;
6912 if (arg8 == NULL) {
6913 PyErr_SetString(PyExc_TypeError,"null reference");
6914 SWIG_fail;
6915 }
6916 }
6917 if (obj8) {
6918 {
6919 arg9 = wxString_in_helper(obj8);
6920 if (arg9 == NULL) SWIG_fail;
b411df4a 6921 temp9 = true;
d55e5bfc
RD
6922 }
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 {
6932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6933 }
6934 {
6935 if (temp6) delete arg6;
6936 }
6937 {
6938 if (temp9)
6939 delete arg9;
6940 }
6941 return resultobj;
6942 fail:
6943 {
6944 if (temp6) delete arg6;
6945 }
6946 {
6947 if (temp9)
6948 delete arg9;
6949 }
6950 return NULL;
6951}
6952
6953
c370783e 6954static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6955 PyObject *resultobj;
6956 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6957 int arg2 ;
6958 bool result;
6959 PyObject * obj0 = 0 ;
6960 PyObject * obj1 = 0 ;
6961 char *kwnames[] = {
6962 (char *) "self",(char *) "index", NULL
6963 };
6964
6965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6968 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6969 if (PyErr_Occurred()) SWIG_fail;
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (bool)(arg1)->IsChecked(arg2);
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 {
6978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6979 }
6980 return resultobj;
6981 fail:
6982 return NULL;
6983}
6984
6985
c370783e 6986static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6987 PyObject *resultobj;
6988 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6989 int arg2 ;
b411df4a 6990 int arg3 = (int) true ;
d55e5bfc
RD
6991 PyObject * obj0 = 0 ;
6992 PyObject * obj1 = 0 ;
6993 PyObject * obj2 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "index",(char *) "check", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7001 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7002 if (PyErr_Occurred()) SWIG_fail;
7003 if (obj2) {
c370783e 7004 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 (arg1)->Check(arg2,arg3);
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 Py_INCREF(Py_None); resultobj = Py_None;
7015 return resultobj;
7016 fail:
7017 return NULL;
7018}
7019
7020
c370783e 7021static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7022 PyObject *resultobj;
7023 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7024 wxPoint *arg2 = 0 ;
7025 int result;
7026 wxPoint temp2 ;
7027 PyObject * obj0 = 0 ;
7028 PyObject * obj1 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "self",(char *) "pt", NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
7034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7036 {
7037 arg2 = &temp2;
7038 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
c370783e 7047 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7048 return resultobj;
7049 fail:
7050 return NULL;
7051}
7052
7053
c370783e 7054static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7055 PyObject *resultobj;
7056 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7057 int arg2 ;
7058 int arg3 ;
7059 int result;
7060 PyObject * obj0 = 0 ;
7061 PyObject * obj1 = 0 ;
7062 PyObject * obj2 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self",(char *) "x",(char *) "y", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
7068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7070 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7071 if (PyErr_Occurred()) SWIG_fail;
c370783e 7072 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
7073 if (PyErr_Occurred()) SWIG_fail;
7074 {
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
7077
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
c370783e 7081 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7082 return resultobj;
7083 fail:
7084 return NULL;
7085}
7086
7087
c370783e 7088static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7089 PyObject *obj;
7090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7091 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
7092 Py_INCREF(obj);
7093 return Py_BuildValue((char *)"");
7094}
c370783e 7095static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
7096 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
7097 return 1;
7098}
7099
7100
7101static PyObject *_wrap_TextCtrlNameStr_get() {
7102 PyObject *pyobj;
7103
7104 {
7105#if wxUSE_UNICODE
7106 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7107#else
7108 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7109#endif
7110 }
7111 return pyobj;
7112}
7113
7114
c370783e 7115static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 7116 PyObject *resultobj;
908b74cd
RD
7117 wxColour const &arg1_defvalue = wxNullColour ;
7118 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
7119 wxColour const &arg2_defvalue = wxNullColour ;
7120 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7121 wxFont const &arg3_defvalue = wxNullFont ;
7122 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7123 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7124 wxTextAttr *result;
7125 wxColour temp1 ;
7126 wxColour temp2 ;
7127 PyObject * obj0 = 0 ;
7128 PyObject * obj1 = 0 ;
7129 PyObject * obj2 = 0 ;
7130 PyObject * obj3 = 0 ;
908b74cd
RD
7131 char *kwnames[] = {
7132 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7133 };
d55e5bfc 7134
908b74cd
RD
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7136 if (obj0) {
7137 {
7138 arg1 = &temp1;
7139 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7140 }
d55e5bfc
RD
7141 }
7142 if (obj1) {
7143 {
7144 arg2 = &temp2;
7145 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7146 }
7147 }
7148 if (obj2) {
7149 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7150 SWIG_POINTER_EXCEPTION | 0)) == -1)
7151 SWIG_fail;
7152 if (arg3 == NULL) {
7153 PyErr_SetString(PyExc_TypeError,"null reference");
7154 SWIG_fail;
7155 }
7156 }
7157 if (obj3) {
c370783e 7158 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7169 return resultobj;
7170 fail:
7171 return NULL;
7172}
7173
7174
c370783e 7175static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7176 PyObject *resultobj;
7177 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7178 PyObject * obj0 = 0 ;
7179 char *kwnames[] = {
7180 (char *) "self", NULL
7181 };
7182
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 delete arg1;
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 Py_INCREF(Py_None); resultobj = Py_None;
7194 return resultobj;
7195 fail:
7196 return NULL;
7197}
7198
7199
c370783e 7200static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7201 PyObject *resultobj;
7202 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7203 PyObject * obj0 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 (arg1)->Init();
7214
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 Py_INCREF(Py_None); resultobj = Py_None;
7219 return resultobj;
7220 fail:
7221 return NULL;
7222}
7223
7224
c370783e 7225static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7226 PyObject *resultobj;
7227 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7228 wxColour *arg2 = 0 ;
7229 wxColour temp2 ;
7230 PyObject * obj0 = 0 ;
7231 PyObject * obj1 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "self",(char *) "colText", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7239 {
7240 arg2 = &temp2;
7241 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7242 }
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 (arg1)->SetTextColour((wxColour const &)*arg2);
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 Py_INCREF(Py_None); resultobj = Py_None;
7251 return resultobj;
7252 fail:
7253 return NULL;
7254}
7255
7256
c370783e 7257static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7258 PyObject *resultobj;
7259 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7260 wxColour *arg2 = 0 ;
7261 wxColour temp2 ;
7262 PyObject * obj0 = 0 ;
7263 PyObject * obj1 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "self",(char *) "colBack", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7271 {
7272 arg2 = &temp2;
7273 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7274 }
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 Py_INCREF(Py_None); resultobj = Py_None;
7283 return resultobj;
7284 fail:
7285 return NULL;
7286}
7287
7288
c370783e 7289static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7290 PyObject *resultobj;
7291 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7292 wxFont *arg2 = 0 ;
7293 long arg3 = (long) wxTEXT_ATTR_FONT ;
7294 PyObject * obj0 = 0 ;
7295 PyObject * obj1 = 0 ;
7296 PyObject * obj2 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "self",(char *) "font",(char *) "flags", NULL
7299 };
7300
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7305 SWIG_POINTER_EXCEPTION | 0)) == -1)
7306 SWIG_fail;
7307 if (arg2 == NULL) {
7308 PyErr_SetString(PyExc_TypeError,"null reference");
7309 SWIG_fail;
7310 }
7311 if (obj2) {
c370783e 7312 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 Py_INCREF(Py_None); resultobj = Py_None;
7323 return resultobj;
7324 fail:
7325 return NULL;
7326}
7327
7328
c370783e 7329static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7330 PyObject *resultobj;
7331 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7332 int arg2 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "self",(char *) "alignment", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7342 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7343 if (PyErr_Occurred()) SWIG_fail;
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
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
c370783e 7358static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7359 PyObject *resultobj;
7360 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7361 wxArrayInt *arg2 = 0 ;
b411df4a 7362 bool temp2 = false ;
d55e5bfc
RD
7363 PyObject * obj0 = 0 ;
7364 PyObject * obj1 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self",(char *) "tabs", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7372 {
7373 if (! PySequence_Check(obj1)) {
7374 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7375 SWIG_fail;
7376 }
7377 arg2 = new wxArrayInt;
b411df4a 7378 temp2 = true;
d55e5bfc
RD
7379 int i, len=PySequence_Length(obj1);
7380 for (i=0; i<len; i++) {
7381 PyObject* item = PySequence_GetItem(obj1, i);
7382 PyObject* number = PyNumber_Int(item);
7383 arg2->Add(PyInt_AS_LONG(number));
7384 Py_DECREF(item);
7385 Py_DECREF(number);
7386 }
7387 }
7388 {
7389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7390 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7391
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 Py_INCREF(Py_None); resultobj = Py_None;
7396 {
7397 if (temp2) delete arg2;
7398 }
7399 return resultobj;
7400 fail:
7401 {
7402 if (temp2) delete arg2;
7403 }
7404 return NULL;
7405}
7406
7407
c370783e 7408static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7409 PyObject *resultobj;
7410 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7411 int arg2 ;
68e533f8 7412 int arg3 = (int) 0 ;
d55e5bfc
RD
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj1 = 0 ;
68e533f8 7415 PyObject * obj2 = 0 ;
d55e5bfc 7416 char *kwnames[] = {
68e533f8 7417 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
7418 };
7419
68e533f8 7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
7421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7423 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7424 if (PyErr_Occurred()) SWIG_fail;
68e533f8 7425 if (obj2) {
c370783e 7426 arg3 = (int)SWIG_As_int(obj2);
68e533f8
RD
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
d55e5bfc
RD
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 7431 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
7432
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 Py_INCREF(Py_None); resultobj = Py_None;
7437 return resultobj;
7438 fail:
7439 return NULL;
7440}
7441
7442
c370783e 7443static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7444 PyObject *resultobj;
7445 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7446 int arg2 ;
7447 PyObject * obj0 = 0 ;
7448 PyObject * obj1 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self",(char *) "indent", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7456 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7457 if (PyErr_Occurred()) SWIG_fail;
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 (arg1)->SetRightIndent(arg2);
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
c370783e 7472static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7473 PyObject *resultobj;
7474 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7475 long arg2 ;
7476 PyObject * obj0 = 0 ;
7477 PyObject * obj1 = 0 ;
7478 char *kwnames[] = {
7479 (char *) "self",(char *) "flags", NULL
7480 };
7481
7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7485 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
7486 if (PyErr_Occurred()) SWIG_fail;
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 (arg1)->SetFlags(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
c370783e 7501static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7502 PyObject *resultobj;
7503 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7504 bool result;
7505 PyObject * obj0 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 {
7521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7522 }
7523 return resultobj;
7524 fail:
7525 return NULL;
7526}
7527
7528
c370783e 7529static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7530 PyObject *resultobj;
7531 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7532 bool result;
7533 PyObject * obj0 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 {
7549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7550 }
7551 return resultobj;
7552 fail:
7553 return NULL;
7554}
7555
7556
c370783e 7557static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7558 PyObject *resultobj;
7559 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7560 bool result;
7561 PyObject * obj0 = 0 ;
7562 char *kwnames[] = {
7563 (char *) "self", NULL
7564 };
7565
7566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7569 {
7570 PyThreadState* __tstate = wxPyBeginAllowThreads();
7571 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7572
7573 wxPyEndAllowThreads(__tstate);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 {
7577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7578 }
7579 return resultobj;
7580 fail:
7581 return NULL;
7582}
7583
7584
c370783e 7585static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7586 PyObject *resultobj;
7587 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7588 bool result;
7589 PyObject * obj0 = 0 ;
7590 char *kwnames[] = {
7591 (char *) "self", NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 {
7605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7606 }
7607 return resultobj;
7608 fail:
7609 return NULL;
7610}
7611
7612
c370783e 7613static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7614 PyObject *resultobj;
7615 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7616 bool result;
7617 PyObject * obj0 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7628
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
7632 {
7633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7634 }
7635 return resultobj;
7636 fail:
7637 return NULL;
7638}
7639
7640
c370783e 7641static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7642 PyObject *resultobj;
7643 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7644 bool result;
7645 PyObject * obj0 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7656
7657 wxPyEndAllowThreads(__tstate);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 }
7660 {
7661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7662 }
7663 return resultobj;
7664 fail:
7665 return NULL;
7666}
7667
7668
c370783e 7669static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7670 PyObject *resultobj;
7671 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7672 bool result;
7673 PyObject * obj0 = 0 ;
7674 char *kwnames[] = {
7675 (char *) "self", NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 {
7689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7690 }
7691 return resultobj;
7692 fail:
7693 return NULL;
7694}
7695
7696
c370783e 7697static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7698 PyObject *resultobj;
7699 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7700 long arg2 ;
7701 bool result;
7702 PyObject * obj0 = 0 ;
7703 PyObject * obj1 = 0 ;
7704 char *kwnames[] = {
7705 (char *) "self",(char *) "flag", NULL
7706 };
7707
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7711 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
7712 if (PyErr_Occurred()) SWIG_fail;
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 {
7721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7722 }
7723 return resultobj;
7724 fail:
7725 return NULL;
7726}
7727
7728
c370783e 7729static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7730 PyObject *resultobj;
7731 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7732 wxColour *result;
7733 PyObject * obj0 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "self", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
7743 {
7744 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7745 result = (wxColour *) &_result_ref;
7746 }
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7752 return resultobj;
7753 fail:
7754 return NULL;
7755}
7756
7757
c370783e 7758static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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_GetBackgroundColour",kwnames,&obj0)) goto fail;
7768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 {
7773 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7774 result = (wxColour *) &_result_ref;
7775 }
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7781 return resultobj;
7782 fail:
7783 return NULL;
7784}
7785
7786
c370783e 7787static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7788 PyObject *resultobj;
7789 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7790 wxFont *result;
7791 PyObject * obj0 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "self", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 {
7802 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7803 result = (wxFont *) &_result_ref;
7804 }
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 {
7810 wxFont* resultptr = new wxFont(*result);
7811 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7812 }
7813 return resultobj;
7814 fail:
7815 return NULL;
7816}
7817
7818
c370783e 7819static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7820 PyObject *resultobj;
7821 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7822 int result;
7823 PyObject * obj0 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
c370783e 7838 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7839 return resultobj;
7840 fail:
7841 return NULL;
7842}
7843
7844
c370783e 7845static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7846 PyObject *resultobj;
7847 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7848 wxArrayInt *result;
7849 PyObject * obj0 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 {
7860 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7861 result = (wxArrayInt *) &_result_ref;
7862 }
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
7867 {
7868 resultobj = PyList_New(0);
7869 size_t idx;
7870 for (idx = 0; idx < result->GetCount(); idx += 1) {
7871 PyObject* val = PyInt_FromLong( result->Item(idx) );
7872 PyList_Append(resultobj, val);
7873 Py_DECREF(val);
7874 }
7875 }
7876 return resultobj;
7877 fail:
7878 return NULL;
7879}
7880
7881
c370783e 7882static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7883 PyObject *resultobj;
7884 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7885 long result;
7886 PyObject * obj0 = 0 ;
7887 char *kwnames[] = {
7888 (char *) "self", NULL
7889 };
7890
7891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
c370783e 7901 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
c370783e 7908static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
68e533f8
RD
7909 PyObject *resultobj;
7910 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7911 long result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
c370783e 7927 resultobj = SWIG_From_long((long)result);
68e533f8
RD
7928 return resultobj;
7929 fail:
7930 return NULL;
7931}
7932
7933
c370783e 7934static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7935 PyObject *resultobj;
7936 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7937 long result;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
c370783e 7953 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
7954 return resultobj;
7955 fail:
7956 return NULL;
7957}
7958
7959
c370783e 7960static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7961 PyObject *resultobj;
7962 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7963 long result;
7964 PyObject * obj0 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "self", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
c370783e 7979 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
7980 return resultobj;
7981 fail:
7982 return NULL;
7983}
7984
7985
c370783e 7986static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7987 PyObject *resultobj;
7988 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7989 bool result;
7990 PyObject * obj0 = 0 ;
7991 char *kwnames[] = {
7992 (char *) "self", NULL
7993 };
7994
7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 {
8006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8007 }
8008 return resultobj;
8009 fail:
8010 return NULL;
8011}
8012
8013
c370783e 8014static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8015 PyObject *resultobj;
8016 wxTextAttr *arg1 = 0 ;
8017 wxTextAttr *arg2 = 0 ;
8018 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
8019 wxTextAttr result;
8020 PyObject * obj0 = 0 ;
8021 PyObject * obj1 = 0 ;
8022 PyObject * obj2 = 0 ;
8023 char *kwnames[] = {
8024 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8025 };
8026
8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
8028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
8029 SWIG_POINTER_EXCEPTION | 0)) == -1)
8030 SWIG_fail;
8031 if (arg1 == NULL) {
8032 PyErr_SetString(PyExc_TypeError,"null reference");
8033 SWIG_fail;
8034 }
8035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8036 SWIG_POINTER_EXCEPTION | 0)) == -1)
8037 SWIG_fail;
8038 if (arg2 == NULL) {
8039 PyErr_SetString(PyExc_TypeError,"null reference");
8040 SWIG_fail;
8041 }
8042 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
8043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8044 {
8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
8046 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
8047
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 }
8051 {
8052 wxTextAttr * resultptr;
8053 resultptr = new wxTextAttr((wxTextAttr &) result);
8054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
8055 }
8056 return resultobj;
8057 fail:
8058 return NULL;
8059}
8060
8061
c370783e 8062static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8063 PyObject *obj;
8064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8065 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
8066 Py_INCREF(obj);
8067 return Py_BuildValue((char *)"");
8068}
c370783e 8069static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8070 PyObject *resultobj;
8071 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8072 int arg2 = (int) -1 ;
d55e5bfc
RD
8073 wxString const &arg3_defvalue = wxPyEmptyString ;
8074 wxString *arg3 = (wxString *) &arg3_defvalue ;
8075 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8076 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8077 wxSize const &arg5_defvalue = wxDefaultSize ;
8078 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8079 long arg6 = (long) 0 ;
8080 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8081 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8082 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
8083 wxString *arg8 = (wxString *) &arg8_defvalue ;
8084 wxTextCtrl *result;
b411df4a 8085 bool temp3 = false ;
d55e5bfc
RD
8086 wxPoint temp4 ;
8087 wxSize temp5 ;
b411df4a 8088 bool temp8 = false ;
d55e5bfc
RD
8089 PyObject * obj0 = 0 ;
8090 PyObject * obj1 = 0 ;
8091 PyObject * obj2 = 0 ;
8092 PyObject * obj3 = 0 ;
8093 PyObject * obj4 = 0 ;
8094 PyObject * obj5 = 0 ;
8095 PyObject * obj6 = 0 ;
8096 PyObject * obj7 = 0 ;
8097 char *kwnames[] = {
8098 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8099 };
8100
bfddbb17 8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
8102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 8104 if (obj1) {
c370783e 8105 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
d55e5bfc
RD
8108 if (obj2) {
8109 {
8110 arg3 = wxString_in_helper(obj2);
8111 if (arg3 == NULL) SWIG_fail;
b411df4a 8112 temp3 = true;
d55e5bfc
RD
8113 }
8114 }
8115 if (obj3) {
8116 {
8117 arg4 = &temp4;
8118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8119 }
8120 }
8121 if (obj4) {
8122 {
8123 arg5 = &temp5;
8124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8125 }
8126 }
8127 if (obj5) {
c370783e 8128 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
8129 if (PyErr_Occurred()) SWIG_fail;
8130 }
8131 if (obj6) {
8132 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8133 SWIG_POINTER_EXCEPTION | 0)) == -1)
8134 SWIG_fail;
8135 if (arg7 == NULL) {
8136 PyErr_SetString(PyExc_TypeError,"null reference");
8137 SWIG_fail;
8138 }
8139 }
8140 if (obj7) {
8141 {
8142 arg8 = wxString_in_helper(obj7);
8143 if (arg8 == NULL) SWIG_fail;
b411df4a 8144 temp8 = true;
d55e5bfc
RD
8145 }
8146 }
8147 {
0439c23b 8148 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
8150 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8151
8152 wxPyEndAllowThreads(__tstate);
110da5b0 8153 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 8154 }
b0f7404b 8155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
8156 {
8157 if (temp3)
8158 delete arg3;
8159 }
8160 {
8161 if (temp8)
8162 delete arg8;
8163 }
8164 return resultobj;
8165 fail:
8166 {
8167 if (temp3)
8168 delete arg3;
8169 }
8170 {
8171 if (temp8)
8172 delete arg8;
8173 }
8174 return NULL;
8175}
8176
8177
c370783e 8178static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8179 PyObject *resultobj;
8180 wxTextCtrl *result;
8181 char *kwnames[] = {
8182 NULL
8183 };
8184
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8186 {
0439c23b 8187 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8188 PyThreadState* __tstate = wxPyBeginAllowThreads();
8189 result = (wxTextCtrl *)new wxTextCtrl();
8190
8191 wxPyEndAllowThreads(__tstate);
110da5b0 8192 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 8193 }
b0f7404b 8194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
8195 return resultobj;
8196 fail:
8197 return NULL;
8198}
8199
8200
c370783e 8201static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8202 PyObject *resultobj;
8203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8204 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8205 int arg3 = (int) -1 ;
d55e5bfc
RD
8206 wxString const &arg4_defvalue = wxPyEmptyString ;
8207 wxString *arg4 = (wxString *) &arg4_defvalue ;
8208 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8209 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8210 wxSize const &arg6_defvalue = wxDefaultSize ;
8211 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8212 long arg7 = (long) 0 ;
8213 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8214 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8215 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8216 wxString *arg9 = (wxString *) &arg9_defvalue ;
8217 bool result;
b411df4a 8218 bool temp4 = false ;
d55e5bfc
RD
8219 wxPoint temp5 ;
8220 wxSize temp6 ;
b411df4a 8221 bool temp9 = false ;
d55e5bfc
RD
8222 PyObject * obj0 = 0 ;
8223 PyObject * obj1 = 0 ;
8224 PyObject * obj2 = 0 ;
8225 PyObject * obj3 = 0 ;
8226 PyObject * obj4 = 0 ;
8227 PyObject * obj5 = 0 ;
8228 PyObject * obj6 = 0 ;
8229 PyObject * obj7 = 0 ;
8230 PyObject * obj8 = 0 ;
8231 char *kwnames[] = {
8232 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8233 };
8234
bfddbb17 8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
8236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 8240 if (obj2) {
c370783e 8241 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
d55e5bfc
RD
8244 if (obj3) {
8245 {
8246 arg4 = wxString_in_helper(obj3);
8247 if (arg4 == NULL) SWIG_fail;
b411df4a 8248 temp4 = true;
d55e5bfc
RD
8249 }
8250 }
8251 if (obj4) {
8252 {
8253 arg5 = &temp5;
8254 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8255 }
8256 }
8257 if (obj5) {
8258 {
8259 arg6 = &temp6;
8260 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8261 }
8262 }
8263 if (obj6) {
c370783e 8264 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 if (obj7) {
8268 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8269 SWIG_POINTER_EXCEPTION | 0)) == -1)
8270 SWIG_fail;
8271 if (arg8 == NULL) {
8272 PyErr_SetString(PyExc_TypeError,"null reference");
8273 SWIG_fail;
8274 }
8275 }
8276 if (obj8) {
8277 {
8278 arg9 = wxString_in_helper(obj8);
8279 if (arg9 == NULL) SWIG_fail;
b411df4a 8280 temp9 = true;
d55e5bfc
RD
8281 }
8282 }
8283 {
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8286
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 {
8291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8292 }
8293 {
8294 if (temp4)
8295 delete arg4;
8296 }
8297 {
8298 if (temp9)
8299 delete arg9;
8300 }
8301 return resultobj;
8302 fail:
8303 {
8304 if (temp4)
8305 delete arg4;
8306 }
8307 {
8308 if (temp9)
8309 delete arg9;
8310 }
8311 return NULL;
8312}
8313
8314
c370783e 8315static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8316 PyObject *resultobj;
8317 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8318 wxString result;
8319 PyObject * obj0 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 result = ((wxTextCtrl const *)arg1)->GetValue();
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 {
8335#if wxUSE_UNICODE
8336 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8337#else
8338 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8339#endif
8340 }
8341 return resultobj;
8342 fail:
8343 return NULL;
8344}
8345
8346
c370783e 8347static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8348 PyObject *resultobj;
8349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8350 wxString *arg2 = 0 ;
b411df4a 8351 bool temp2 = false ;
d55e5bfc
RD
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "value", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8361 {
8362 arg2 = wxString_in_helper(obj1);
8363 if (arg2 == NULL) SWIG_fail;
b411df4a 8364 temp2 = true;
d55e5bfc
RD
8365 }
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 (arg1)->SetValue((wxString const &)*arg2);
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 Py_INCREF(Py_None); resultobj = Py_None;
8374 {
8375 if (temp2)
8376 delete arg2;
8377 }
8378 return resultobj;
8379 fail:
8380 {
8381 if (temp2)
8382 delete arg2;
8383 }
8384 return NULL;
8385}
8386
8387
c370783e 8388static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8389 PyObject *resultobj;
8390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8391 long arg2 ;
8392 long arg3 ;
8393 wxString result;
8394 PyObject * obj0 = 0 ;
8395 PyObject * obj1 = 0 ;
8396 PyObject * obj2 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self",(char *) "from",(char *) "to", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 8404 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 8405 if (PyErr_Occurred()) SWIG_fail;
c370783e 8406 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
8407 if (PyErr_Occurred()) SWIG_fail;
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8411
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 {
8416#if wxUSE_UNICODE
8417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8418#else
8419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8420#endif
8421 }
8422 return resultobj;
8423 fail:
8424 return NULL;
8425}
8426
8427
c370783e 8428static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8429 PyObject *resultobj;
8430 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8431 long arg2 ;
8432 int result;
8433 PyObject * obj0 = 0 ;
8434 PyObject * obj1 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "self",(char *) "lineNo", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 8442 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
8443 if (PyErr_Occurred()) SWIG_fail;
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
c370783e 8451 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8452 return resultobj;
8453 fail:
8454 return NULL;
8455}
8456
8457
c370783e 8458static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8459 PyObject *resultobj;
8460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8461 long arg2 ;
8462 wxString result;
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self",(char *) "lineNo", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 8472 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
8473 if (PyErr_Occurred()) SWIG_fail;
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 {
8482#if wxUSE_UNICODE
8483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8484#else
8485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8486#endif
8487 }
8488 return resultobj;
8489 fail:
8490 return NULL;
8491}
8492
8493
c370783e 8494static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8495 PyObject *resultobj;
8496 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8497 int result;
8498 PyObject * obj0 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "self", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
c370783e 8513 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8514 return resultobj;
8515 fail:
8516 return NULL;
8517}
8518
8519
c370783e 8520static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8521 PyObject *resultobj;
8522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8523 bool result;
8524 PyObject * obj0 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 {
8540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8541 }
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
c370783e 8548static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8549 PyObject *resultobj;
8550 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8551 bool result;
8552 PyObject * obj0 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 {
8568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8569 }
8570 return resultobj;
8571 fail:
8572 return NULL;
8573}
8574
8575
c370783e 8576static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8577 PyObject *resultobj;
8578 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8579 bool result;
8580 PyObject * obj0 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
8595 {
8596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8597 }
8598 return resultobj;
8599 fail:
8600 return NULL;
8601}
8602
8603
c370783e 8604static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8605 PyObject *resultobj;
8606 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8607 bool result;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 {
8624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8625 }
8626 return resultobj;
8627 fail:
8628 return NULL;
8629}
8630
8631
c370783e 8632static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8633 PyObject *resultobj;
8634 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8635 long *arg2 = (long *) 0 ;
8636 long *arg3 = (long *) 0 ;
8637 long temp2 ;
c370783e 8638 int res2 = 0 ;
d55e5bfc 8639 long temp3 ;
c370783e 8640 int res3 = 0 ;
d55e5bfc
RD
8641 PyObject * obj0 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "self", NULL
8644 };
8645
c370783e
RD
8646 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8647 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
8659 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8660 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
8661 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8662 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
8663 return resultobj;
8664 fail:
8665 return NULL;
8666}
8667
8668
c370783e 8669static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8670 PyObject *resultobj;
8671 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8672 wxString result;
8673 PyObject * obj0 = 0 ;
8674 char *kwnames[] = {
8675 (char *) "self", NULL
8676 };
8677
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 {
8689#if wxUSE_UNICODE
8690 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8691#else
8692 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8693#endif
8694 }
8695 return resultobj;
8696 fail:
8697 return NULL;
8698}
8699
8700
c370783e 8701static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8702 PyObject *resultobj;
8703 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8704 PyObject * obj0 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 (arg1)->Clear();
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 Py_INCREF(Py_None); resultobj = Py_None;
8720 return resultobj;
8721 fail:
8722 return NULL;
8723}
8724
8725
c370783e 8726static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8727 PyObject *resultobj;
8728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8729 long arg2 ;
8730 long arg3 ;
8731 wxString *arg4 = 0 ;
b411df4a 8732 bool temp4 = false ;
d55e5bfc
RD
8733 PyObject * obj0 = 0 ;
8734 PyObject * obj1 = 0 ;
8735 PyObject * obj2 = 0 ;
8736 PyObject * obj3 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 8744 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 8745 if (PyErr_Occurred()) SWIG_fail;
c370783e 8746 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
8747 if (PyErr_Occurred()) SWIG_fail;
8748 {
8749 arg4 = wxString_in_helper(obj3);
8750 if (arg4 == NULL) SWIG_fail;
b411df4a 8751 temp4 = true;
d55e5bfc
RD
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 Py_INCREF(Py_None); resultobj = Py_None;
8761 {
8762 if (temp4)
8763 delete arg4;
8764 }
8765 return resultobj;
8766 fail:
8767 {
8768 if (temp4)
8769 delete arg4;
8770 }
8771 return NULL;
8772}
8773
8774
c370783e 8775static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8776 PyObject *resultobj;
8777 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8778 long arg2 ;
8779 long arg3 ;
8780 PyObject * obj0 = 0 ;
8781 PyObject * obj1 = 0 ;
8782 PyObject * obj2 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self",(char *) "from",(char *) "to", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 8790 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 8791 if (PyErr_Occurred()) SWIG_fail;
c370783e 8792 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
8793 if (PyErr_Occurred()) SWIG_fail;
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 (arg1)->Remove(arg2,arg3);
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 Py_INCREF(Py_None); resultobj = Py_None;
8802 return resultobj;
8803 fail:
8804 return NULL;
8805}
8806
8807
c370783e 8808static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8809 PyObject *resultobj;
8810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8811 wxString *arg2 = 0 ;
8812 bool result;
b411df4a 8813 bool temp2 = false ;
d55e5bfc
RD
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self",(char *) "file", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8823 {
8824 arg2 = wxString_in_helper(obj1);
8825 if (arg2 == NULL) SWIG_fail;
b411df4a 8826 temp2 = true;
d55e5bfc
RD
8827 }
8828 {
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8831
8832 wxPyEndAllowThreads(__tstate);
8833 if (PyErr_Occurred()) SWIG_fail;
8834 }
8835 {
8836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8837 }
8838 {
8839 if (temp2)
8840 delete arg2;
8841 }
8842 return resultobj;
8843 fail:
8844 {
8845 if (temp2)
8846 delete arg2;
8847 }
8848 return NULL;
8849}
8850
8851
c370783e 8852static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8853 PyObject *resultobj;
8854 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8855 wxString const &arg2_defvalue = wxPyEmptyString ;
8856 wxString *arg2 = (wxString *) &arg2_defvalue ;
8857 bool result;
b411df4a 8858 bool temp2 = false ;
d55e5bfc
RD
8859 PyObject * obj0 = 0 ;
8860 PyObject * obj1 = 0 ;
8861 char *kwnames[] = {
8862 (char *) "self",(char *) "file", NULL
8863 };
8864
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8868 if (obj1) {
8869 {
8870 arg2 = wxString_in_helper(obj1);
8871 if (arg2 == NULL) SWIG_fail;
b411df4a 8872 temp2 = true;
d55e5bfc
RD
8873 }
8874 }
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 {
8883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8884 }
8885 {
8886 if (temp2)
8887 delete arg2;
8888 }
8889 return resultobj;
8890 fail:
8891 {
8892 if (temp2)
8893 delete arg2;
8894 }
8895 return NULL;
8896}
8897
8898
c370783e 8899static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8900 PyObject *resultobj;
8901 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8902 PyObject * obj0 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 (arg1)->MarkDirty();
8913
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 Py_INCREF(Py_None); resultobj = Py_None;
8918 return resultobj;
8919 fail:
8920 return NULL;
8921}
8922
8923
c370783e 8924static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8925 PyObject *resultobj;
8926 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8927 PyObject * obj0 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->DiscardEdits();
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946}
8947
8948
c370783e 8949static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8950 PyObject *resultobj;
8951 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8952 unsigned long arg2 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self",(char *) "len", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 8962 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
8963 if (PyErr_Occurred()) SWIG_fail;
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->SetMaxLength(arg2);
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
c370783e 8978static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8979 PyObject *resultobj;
8980 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8981 wxString *arg2 = 0 ;
b411df4a 8982 bool temp2 = false ;
d55e5bfc
RD
8983 PyObject * obj0 = 0 ;
8984 PyObject * obj1 = 0 ;
8985 char *kwnames[] = {
8986 (char *) "self",(char *) "text", NULL
8987 };
8988
8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8992 {
8993 arg2 = wxString_in_helper(obj1);
8994 if (arg2 == NULL) SWIG_fail;
b411df4a 8995 temp2 = true;
d55e5bfc
RD
8996 }
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 (arg1)->WriteText((wxString const &)*arg2);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 Py_INCREF(Py_None); resultobj = Py_None;
9005 {
9006 if (temp2)
9007 delete arg2;
9008 }
9009 return resultobj;
9010 fail:
9011 {
9012 if (temp2)
9013 delete arg2;
9014 }
9015 return NULL;
9016}
9017
9018
c370783e 9019static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9020 PyObject *resultobj;
9021 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9022 wxString *arg2 = 0 ;
b411df4a 9023 bool temp2 = false ;
d55e5bfc
RD
9024 PyObject * obj0 = 0 ;
9025 PyObject * obj1 = 0 ;
9026 char *kwnames[] = {
9027 (char *) "self",(char *) "text", NULL
9028 };
9029
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
9031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9033 {
9034 arg2 = wxString_in_helper(obj1);
9035 if (arg2 == NULL) SWIG_fail;
b411df4a 9036 temp2 = true;
d55e5bfc
RD
9037 }
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9040 (arg1)->AppendText((wxString const &)*arg2);
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 }
9045 Py_INCREF(Py_None); resultobj = Py_None;
9046 {
9047 if (temp2)
9048 delete arg2;
9049 }
9050 return resultobj;
9051 fail:
9052 {
9053 if (temp2)
9054 delete arg2;
9055 }
9056 return NULL;
9057}
9058
9059
c370783e 9060static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9061 PyObject *resultobj;
9062 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9063 wxKeyEvent *arg2 = 0 ;
9064 bool result;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self",(char *) "event", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
9075 SWIG_POINTER_EXCEPTION | 0)) == -1)
9076 SWIG_fail;
9077 if (arg2 == NULL) {
9078 PyErr_SetString(PyExc_TypeError,"null reference");
9079 SWIG_fail;
9080 }
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 {
9089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9090 }
9091 return resultobj;
9092 fail:
9093 return NULL;
9094}
9095
9096
c370783e 9097static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9098 PyObject *resultobj;
9099 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9100 long arg2 ;
9101 long arg3 ;
9102 wxTextAttr *arg4 = 0 ;
9103 bool result;
9104 PyObject * obj0 = 0 ;
9105 PyObject * obj1 = 0 ;
9106 PyObject * obj2 = 0 ;
9107 PyObject * obj3 = 0 ;
9108 char *kwnames[] = {
9109 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9110 };
9111
9112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9115 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 9116 if (PyErr_Occurred()) SWIG_fail;
c370783e 9117 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
9118 if (PyErr_Occurred()) SWIG_fail;
9119 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9120 SWIG_POINTER_EXCEPTION | 0)) == -1)
9121 SWIG_fail;
9122 if (arg4 == NULL) {
9123 PyErr_SetString(PyExc_TypeError,"null reference");
9124 SWIG_fail;
9125 }
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9129
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 {
9134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9135 }
9136 return resultobj;
9137 fail:
9138 return NULL;
9139}
9140
9141
c370783e 9142static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9143 PyObject *resultobj;
9144 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9145 long arg2 ;
9146 wxTextAttr *arg3 = 0 ;
9147 bool result;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj1 = 0 ;
9150 PyObject * obj2 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "self",(char *) "position",(char *) "style", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9158 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
9159 if (PyErr_Occurred()) SWIG_fail;
9160 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9161 SWIG_POINTER_EXCEPTION | 0)) == -1)
9162 SWIG_fail;
9163 if (arg3 == NULL) {
9164 PyErr_SetString(PyExc_TypeError,"null reference");
9165 SWIG_fail;
9166 }
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9170
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 {
9175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9176 }
9177 return resultobj;
9178 fail:
9179 return NULL;
9180}
9181
9182
c370783e 9183static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9184 PyObject *resultobj;
9185 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9186 wxTextAttr *arg2 = 0 ;
9187 bool result;
9188 PyObject * obj0 = 0 ;
9189 PyObject * obj1 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self",(char *) "style", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9198 SWIG_POINTER_EXCEPTION | 0)) == -1)
9199 SWIG_fail;
9200 if (arg2 == NULL) {
9201 PyErr_SetString(PyExc_TypeError,"null reference");
9202 SWIG_fail;
9203 }
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 {
9212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9213 }
9214 return resultobj;
9215 fail:
9216 return NULL;
9217}
9218
9219
c370783e 9220static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9221 PyObject *resultobj;
9222 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9223 wxTextAttr *result;
9224 PyObject * obj0 = 0 ;
9225 char *kwnames[] = {
9226 (char *) "self", NULL
9227 };
9228
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 {
9235 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9236 result = (wxTextAttr *) &_result_ref;
9237 }
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9243 return resultobj;
9244 fail:
9245 return NULL;
9246}
9247
9248
c370783e 9249static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9250 PyObject *resultobj;
9251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9252 long arg2 ;
9253 long arg3 ;
9254 long result;
9255 PyObject * obj0 = 0 ;
9256 PyObject * obj1 = 0 ;
9257 PyObject * obj2 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "self",(char *) "x",(char *) "y", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9265 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 9266 if (PyErr_Occurred()) SWIG_fail;
c370783e 9267 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
9268 if (PyErr_Occurred()) SWIG_fail;
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 }
c370783e 9276 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
9277 return resultobj;
9278 fail:
9279 return NULL;
9280}
9281
9282
c370783e 9283static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9284 PyObject *resultobj;
9285 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9286 long arg2 ;
9287 long *arg3 = (long *) 0 ;
9288 long *arg4 = (long *) 0 ;
9289 long temp3 ;
c370783e 9290 int res3 = 0 ;
d55e5bfc 9291 long temp4 ;
c370783e 9292 int res4 = 0 ;
d55e5bfc
RD
9293 PyObject * obj0 = 0 ;
9294 PyObject * obj1 = 0 ;
9295 char *kwnames[] = {
9296 (char *) "self",(char *) "pos", NULL
9297 };
9298
c370783e
RD
9299 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9300 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9304 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
9305 if (PyErr_Occurred()) SWIG_fail;
9306 {
9307 PyThreadState* __tstate = wxPyBeginAllowThreads();
9308 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9309
9310 wxPyEndAllowThreads(__tstate);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 }
9313 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
9314 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9315 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9316 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9317 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
9318 return resultobj;
9319 fail:
9320 return NULL;
9321}
9322
9323
c370783e 9324static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9325 PyObject *resultobj;
9326 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9327 long arg2 ;
9328 PyObject * obj0 = 0 ;
9329 PyObject * obj1 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self",(char *) "pos", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9337 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
9338 if (PyErr_Occurred()) SWIG_fail;
9339 {
9340 PyThreadState* __tstate = wxPyBeginAllowThreads();
9341 (arg1)->ShowPosition(arg2);
9342
9343 wxPyEndAllowThreads(__tstate);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 }
9346 Py_INCREF(Py_None); resultobj = Py_None;
9347 return resultobj;
9348 fail:
9349 return NULL;
9350}
9351
9352
c370783e 9353static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9354 PyObject *resultobj;
9355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9356 wxPoint *arg2 = 0 ;
9357 long *arg3 = (long *) 0 ;
9358 long *arg4 = (long *) 0 ;
9359 int result;
9360 wxPoint temp2 ;
9361 long temp3 ;
c370783e 9362 int res3 = 0 ;
d55e5bfc 9363 long temp4 ;
c370783e 9364 int res4 = 0 ;
d55e5bfc
RD
9365 PyObject * obj0 = 0 ;
9366 PyObject * obj1 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self",(char *) "pt", NULL
9369 };
9370
c370783e
RD
9371 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9372 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9376 {
9377 arg2 = &temp2;
9378 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9379 }
9380 {
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
9382 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9383
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
c370783e
RD
9387 resultobj = SWIG_From_int((int)result);
9388 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9389 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9390 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9391 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
9392 return resultobj;
9393 fail:
9394 return NULL;
9395}
9396
9397
c370783e 9398static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
9399 PyObject *resultobj;
9400 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9401 wxPoint *arg2 = 0 ;
9402 long *arg3 = (long *) 0 ;
9403 int result;
9404 wxPoint temp2 ;
9405 long temp3 ;
c370783e 9406 int res3 = 0 ;
4896ac9e
RD
9407 PyObject * obj0 = 0 ;
9408 PyObject * obj1 = 0 ;
9409 char *kwnames[] = {
9410 (char *) "self",(char *) "pt", NULL
9411 };
9412
c370783e 9413 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e
RD
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
9415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9417 {
9418 arg2 = &temp2;
9419 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9420 }
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
c370783e
RD
9428 resultobj = SWIG_From_int((int)result);
9429 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9430 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
9431 return resultobj;
9432 fail:
9433 return NULL;
9434}
9435
9436
c370783e 9437static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9438 PyObject *resultobj;
9439 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9440 PyObject * obj0 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
9450 (arg1)->Copy();
9451
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 Py_INCREF(Py_None); resultobj = Py_None;
9456 return resultobj;
9457 fail:
9458 return NULL;
9459}
9460
9461
c370783e 9462static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9463 PyObject *resultobj;
9464 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9465 PyObject * obj0 = 0 ;
9466 char *kwnames[] = {
9467 (char *) "self", NULL
9468 };
9469
9470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 (arg1)->Cut();
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 Py_INCREF(Py_None); resultobj = Py_None;
9481 return resultobj;
9482 fail:
9483 return NULL;
9484}
9485
9486
c370783e 9487static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9488 PyObject *resultobj;
9489 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9490 PyObject * obj0 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 (arg1)->Paste();
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 Py_INCREF(Py_None); resultobj = Py_None;
9506 return resultobj;
9507 fail:
9508 return NULL;
9509}
9510
9511
c370783e 9512static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9513 PyObject *resultobj;
9514 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9515 bool result;
9516 PyObject * obj0 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "self", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 {
9532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9533 }
9534 return resultobj;
9535 fail:
9536 return NULL;
9537}
9538
9539
c370783e 9540static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9541 PyObject *resultobj;
9542 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9543 bool result;
9544 PyObject * obj0 = 0 ;
9545 char *kwnames[] = {
9546 (char *) "self", NULL
9547 };
9548
9549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9555
9556 wxPyEndAllowThreads(__tstate);
9557 if (PyErr_Occurred()) SWIG_fail;
9558 }
9559 {
9560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9561 }
9562 return resultobj;
9563 fail:
9564 return NULL;
9565}
9566
9567
c370783e 9568static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9569 PyObject *resultobj;
9570 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9571 bool result;
9572 PyObject * obj0 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 {
9588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9589 }
9590 return resultobj;
9591 fail:
9592 return NULL;
9593}
9594
9595
c370783e 9596static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9597 PyObject *resultobj;
9598 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9599 PyObject * obj0 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9607 {
9608 PyThreadState* __tstate = wxPyBeginAllowThreads();
9609 (arg1)->Undo();
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 Py_INCREF(Py_None); resultobj = Py_None;
9615 return resultobj;
9616 fail:
9617 return NULL;
9618}
9619
9620
c370783e 9621static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9622 PyObject *resultobj;
9623 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9624 PyObject * obj0 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 (arg1)->Redo();
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 Py_INCREF(Py_None); resultobj = Py_None;
9640 return resultobj;
9641 fail:
9642 return NULL;
9643}
9644
9645
c370783e 9646static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9647 PyObject *resultobj;
9648 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9649 bool result;
9650 PyObject * obj0 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 {
9666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9667 }
9668 return resultobj;
9669 fail:
9670 return NULL;
9671}
9672
9673
c370783e 9674static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9675 PyObject *resultobj;
9676 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9677 bool result;
9678 PyObject * obj0 = 0 ;
9679 char *kwnames[] = {
9680 (char *) "self", NULL
9681 };
9682
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 {
9694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9695 }
9696 return resultobj;
9697 fail:
9698 return NULL;
9699}
9700
9701
c370783e 9702static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9703 PyObject *resultobj;
9704 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9705 long arg2 ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 char *kwnames[] = {
9709 (char *) "self",(char *) "pos", NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9715 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
9716 if (PyErr_Occurred()) SWIG_fail;
9717 {
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 (arg1)->SetInsertionPoint(arg2);
9720
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) SWIG_fail;
9723 }
9724 Py_INCREF(Py_None); resultobj = Py_None;
9725 return resultobj;
9726 fail:
9727 return NULL;
9728}
9729
9730
c370783e 9731static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9732 PyObject *resultobj;
9733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9734 PyObject * obj0 = 0 ;
9735 char *kwnames[] = {
9736 (char *) "self", NULL
9737 };
9738
9739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 (arg1)->SetInsertionPointEnd();
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 Py_INCREF(Py_None); resultobj = Py_None;
9750 return resultobj;
9751 fail:
9752 return NULL;
9753}
9754
9755
c370783e 9756static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9757 PyObject *resultobj;
9758 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9759 long result;
9760 PyObject * obj0 = 0 ;
9761 char *kwnames[] = {
9762 (char *) "self", NULL
9763 };
9764
9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9771
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
c370783e 9775 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
9776 return resultobj;
9777 fail:
9778 return NULL;
9779}
9780
9781
c370783e 9782static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9783 PyObject *resultobj;
9784 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9785 long result;
9786 PyObject * obj0 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "self", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9797
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
c370783e 9801 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
9802 return resultobj;
9803 fail:
9804 return NULL;
9805}
9806
9807
c370783e 9808static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9809 PyObject *resultobj;
9810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9811 long arg2 ;
9812 long arg3 ;
9813 PyObject * obj0 = 0 ;
9814 PyObject * obj1 = 0 ;
9815 PyObject * obj2 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self",(char *) "from",(char *) "to", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9823 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 9824 if (PyErr_Occurred()) SWIG_fail;
c370783e 9825 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
9826 if (PyErr_Occurred()) SWIG_fail;
9827 {
9828 PyThreadState* __tstate = wxPyBeginAllowThreads();
9829 (arg1)->SetSelection(arg2,arg3);
9830
9831 wxPyEndAllowThreads(__tstate);
9832 if (PyErr_Occurred()) SWIG_fail;
9833 }
9834 Py_INCREF(Py_None); resultobj = Py_None;
9835 return resultobj;
9836 fail:
9837 return NULL;
9838}
9839
9840
c370783e 9841static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9842 PyObject *resultobj;
9843 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 (arg1)->SelectAll();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 Py_INCREF(Py_None); resultobj = Py_None;
9860 return resultobj;
9861 fail:
9862 return NULL;
9863}
9864
9865
c370783e 9866static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9867 PyObject *resultobj;
9868 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9869 bool arg2 ;
9870 PyObject * obj0 = 0 ;
9871 PyObject * obj1 = 0 ;
9872 char *kwnames[] = {
9873 (char *) "self",(char *) "editable", NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9879 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
9880 if (PyErr_Occurred()) SWIG_fail;
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 (arg1)->SetEditable(arg2);
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
c370783e 9895static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9896 PyObject *resultobj;
9897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9898 wxString *arg2 = 0 ;
b411df4a 9899 bool temp2 = false ;
d55e5bfc
RD
9900 PyObject * obj0 = 0 ;
9901 PyObject * obj1 = 0 ;
9902 char *kwnames[] = {
9903 (char *) "self",(char *) "text", NULL
9904 };
9905
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9909 {
9910 arg2 = wxString_in_helper(obj1);
9911 if (arg2 == NULL) SWIG_fail;
b411df4a 9912 temp2 = true;
d55e5bfc
RD
9913 }
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 Py_INCREF(Py_None); resultobj = Py_None;
9922 {
9923 if (temp2)
9924 delete arg2;
9925 }
9926 return resultobj;
9927 fail:
9928 {
9929 if (temp2)
9930 delete arg2;
9931 }
9932 return NULL;
9933}
9934
9935
c370783e 9936static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9937 PyObject *resultobj;
9938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9939 long arg2 ;
9940 long arg3 ;
9941 wxString result;
9942 PyObject * obj0 = 0 ;
9943 PyObject * obj1 = 0 ;
9944 PyObject * obj2 = 0 ;
9945 char *kwnames[] = {
9946 (char *) "self",(char *) "from",(char *) "to", NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9952 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 9953 if (PyErr_Occurred()) SWIG_fail;
c370783e 9954 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
9955 if (PyErr_Occurred()) SWIG_fail;
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 {
9964#if wxUSE_UNICODE
9965 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9966#else
9967 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9968#endif
9969 }
9970 return resultobj;
9971 fail:
9972 return NULL;
9973}
9974
9975
c370783e 9976static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
9977 PyObject *resultobj;
9978 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9979 wxVisualAttributes result;
9980 PyObject * obj0 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "variant", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9986 if (obj0) {
c370783e 9987 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 {
0439c23b 9991 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9994
9995 wxPyEndAllowThreads(__tstate);
110da5b0 9996 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
9997 }
9998 {
9999 wxVisualAttributes * resultptr;
10000 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10002 }
10003 return resultobj;
10004 fail:
10005 return NULL;
10006}
10007
10008
c370783e 10009static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10010 PyObject *obj;
10011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10012 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
10013 Py_INCREF(obj);
10014 return Py_BuildValue((char *)"");
10015}
c370783e 10016static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10017 PyObject *resultobj;
10018 int arg1 ;
10019 wxMouseEvent *arg2 = 0 ;
10020 long arg3 ;
10021 long arg4 ;
10022 wxTextUrlEvent *result;
10023 PyObject * obj0 = 0 ;
10024 PyObject * obj1 = 0 ;
10025 PyObject * obj2 = 0 ;
10026 PyObject * obj3 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
c370783e 10032 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
10033 if (PyErr_Occurred()) SWIG_fail;
10034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
10035 SWIG_POINTER_EXCEPTION | 0)) == -1)
10036 SWIG_fail;
10037 if (arg2 == NULL) {
10038 PyErr_SetString(PyExc_TypeError,"null reference");
10039 SWIG_fail;
10040 }
c370783e 10041 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc 10042 if (PyErr_Occurred()) SWIG_fail;
c370783e 10043 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
10044 if (PyErr_Occurred()) SWIG_fail;
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
10047 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
10048
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
10053 return resultobj;
10054 fail:
10055 return NULL;
10056}
10057
10058
c370783e 10059static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10060 PyObject *resultobj;
10061 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10062 wxMouseEvent *result;
10063 PyObject * obj0 = 0 ;
10064 char *kwnames[] = {
10065 (char *) "self", NULL
10066 };
10067
10068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
10069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 {
10074 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
10075 result = (wxMouseEvent *) &_result_ref;
10076 }
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
10082 return resultobj;
10083 fail:
10084 return NULL;
10085}
10086
10087
c370783e 10088static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10089 PyObject *resultobj;
10090 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10091 long result;
10092 PyObject * obj0 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
c370783e 10107 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
10108 return resultobj;
10109 fail:
10110 return NULL;
10111}
10112
10113
c370783e 10114static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10115 PyObject *resultobj;
10116 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10117 long result;
10118 PyObject * obj0 = 0 ;
10119 char *kwnames[] = {
10120 (char *) "self", NULL
10121 };
10122
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
10124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10126 {
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
10129
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
c370783e 10133 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
10134 return resultobj;
10135 fail:
10136 return NULL;
10137}
10138
10139
c370783e 10140static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10141 PyObject *obj;
10142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10144 Py_INCREF(obj);
10145 return Py_BuildValue((char *)"");
10146}
c370783e 10147static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
10148 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10149 return 1;
10150}
10151
10152
10153static PyObject *_wrap_ScrollBarNameStr_get() {
10154 PyObject *pyobj;
10155
10156 {
10157#if wxUSE_UNICODE
10158 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10159#else
10160 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10161#endif
10162 }
10163 return pyobj;
10164}
10165
10166
c370783e 10167static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10168 PyObject *resultobj;
10169 wxWindow *arg1 = (wxWindow *) 0 ;
10170 int arg2 = (int) -1 ;
10171 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10172 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10173 wxSize const &arg4_defvalue = wxDefaultSize ;
10174 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10175 long arg5 = (long) wxSB_HORIZONTAL ;
10176 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10177 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10178 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10179 wxString *arg7 = (wxString *) &arg7_defvalue ;
10180 wxScrollBar *result;
10181 wxPoint temp3 ;
10182 wxSize temp4 ;
b411df4a 10183 bool temp7 = false ;
d55e5bfc
RD
10184 PyObject * obj0 = 0 ;
10185 PyObject * obj1 = 0 ;
10186 PyObject * obj2 = 0 ;
10187 PyObject * obj3 = 0 ;
10188 PyObject * obj4 = 0 ;
10189 PyObject * obj5 = 0 ;
10190 PyObject * obj6 = 0 ;
10191 char *kwnames[] = {
10192 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10193 };
10194
10195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10198 if (obj1) {
c370783e 10199 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 if (obj2) {
10203 {
10204 arg3 = &temp3;
10205 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10206 }
10207 }
10208 if (obj3) {
10209 {
10210 arg4 = &temp4;
10211 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10212 }
10213 }
10214 if (obj4) {
c370783e 10215 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
10216 if (PyErr_Occurred()) SWIG_fail;
10217 }
10218 if (obj5) {
10219 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10220 SWIG_POINTER_EXCEPTION | 0)) == -1)
10221 SWIG_fail;
10222 if (arg6 == NULL) {
10223 PyErr_SetString(PyExc_TypeError,"null reference");
10224 SWIG_fail;
10225 }
10226 }
10227 if (obj6) {
10228 {
10229 arg7 = wxString_in_helper(obj6);
10230 if (arg7 == NULL) SWIG_fail;
b411df4a 10231 temp7 = true;
d55e5bfc
RD
10232 }
10233 }
10234 {
0439c23b 10235 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10238
10239 wxPyEndAllowThreads(__tstate);
110da5b0 10240 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10241 }
10242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10243 {
10244 if (temp7)
10245 delete arg7;
10246 }
10247 return resultobj;
10248 fail:
10249 {
10250 if (temp7)
10251 delete arg7;
10252 }
10253 return NULL;
10254}
10255
10256
c370783e 10257static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10258 PyObject *resultobj;
10259 wxScrollBar *result;
10260 char *kwnames[] = {
10261 NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10265 {
0439c23b 10266 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (wxScrollBar *)new wxScrollBar();
10269
10270 wxPyEndAllowThreads(__tstate);
110da5b0 10271 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10272 }
10273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10274 return resultobj;
10275 fail:
10276 return NULL;
10277}
10278
10279
c370783e 10280static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10281 PyObject *resultobj;
10282 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10283 wxWindow *arg2 = (wxWindow *) 0 ;
10284 int arg3 = (int) -1 ;
10285 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10286 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10287 wxSize const &arg5_defvalue = wxDefaultSize ;
10288 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10289 long arg6 = (long) wxSB_HORIZONTAL ;
10290 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10291 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10292 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10293 wxString *arg8 = (wxString *) &arg8_defvalue ;
10294 bool result;
10295 wxPoint temp4 ;
10296 wxSize temp5 ;
b411df4a 10297 bool temp8 = false ;
d55e5bfc
RD
10298 PyObject * obj0 = 0 ;
10299 PyObject * obj1 = 0 ;
10300 PyObject * obj2 = 0 ;
10301 PyObject * obj3 = 0 ;
10302 PyObject * obj4 = 0 ;
10303 PyObject * obj5 = 0 ;
10304 PyObject * obj6 = 0 ;
10305 PyObject * obj7 = 0 ;
10306 char *kwnames[] = {
10307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10308 };
10309
10310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10315 if (obj2) {
c370783e 10316 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
10317 if (PyErr_Occurred()) SWIG_fail;
10318 }
10319 if (obj3) {
10320 {
10321 arg4 = &temp4;
10322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10323 }
10324 }
10325 if (obj4) {
10326 {
10327 arg5 = &temp5;
10328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10329 }
10330 }
10331 if (obj5) {
c370783e 10332 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 if (obj6) {
10336 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10337 SWIG_POINTER_EXCEPTION | 0)) == -1)
10338 SWIG_fail;
10339 if (arg7 == NULL) {
10340 PyErr_SetString(PyExc_TypeError,"null reference");
10341 SWIG_fail;
10342 }
10343 }
10344 if (obj7) {
10345 {
10346 arg8 = wxString_in_helper(obj7);
10347 if (arg8 == NULL) SWIG_fail;
b411df4a 10348 temp8 = true;
d55e5bfc
RD
10349 }
10350 }
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 {
10359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10360 }
10361 {
10362 if (temp8)
10363 delete arg8;
10364 }
10365 return resultobj;
10366 fail:
10367 {
10368 if (temp8)
10369 delete arg8;
10370 }
10371 return NULL;
10372}
10373
10374
c370783e 10375static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10376 PyObject *resultobj;
10377 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10378 int result;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
c370783e 10394 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10395 return resultobj;
10396 fail:
10397 return NULL;
10398}
10399
10400
c370783e 10401static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10402 PyObject *resultobj;
10403 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10404 int result;
10405 PyObject * obj0 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
c370783e 10420 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10421 return resultobj;
10422 fail:
10423 return NULL;
10424}
10425
10426
c370783e 10427static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10428 PyObject *resultobj;
10429 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10430 int result;
10431 PyObject * obj0 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
c370783e 10446 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10447 return resultobj;
10448 fail:
10449 return NULL;
10450}
10451
10452
c370783e 10453static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10454 PyObject *resultobj;
10455 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10456 int result;
10457 PyObject * obj0 = 0 ;
10458 char *kwnames[] = {
10459 (char *) "self", NULL
10460 };
10461
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (int)((wxScrollBar const *)arg1)->GetRange();
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
c370783e 10472 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10473 return resultobj;
10474 fail:
10475 return NULL;
10476}
10477
10478
c370783e 10479static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10480 PyObject *resultobj;
10481 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10482 bool result;
10483 PyObject * obj0 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 {
10499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10500 }
10501 return resultobj;
10502 fail:
10503 return NULL;
10504}
10505
10506
c370783e 10507static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10508 PyObject *resultobj;
10509 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10510 int arg2 ;
10511 PyObject * obj0 = 0 ;
10512 PyObject * obj1 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self",(char *) "viewStart", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 10520 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10521 if (PyErr_Occurred()) SWIG_fail;
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 (arg1)->SetThumbPosition(arg2);
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 Py_INCREF(Py_None); resultobj = Py_None;
10530 return resultobj;
10531 fail:
10532 return NULL;
10533}
10534
10535
c370783e 10536static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10537 PyObject *resultobj;
10538 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10539 int arg2 ;
10540 int arg3 ;
10541 int arg4 ;
10542 int arg5 ;
b411df4a 10543 bool arg6 = (bool) true ;
d55e5bfc
RD
10544 PyObject * obj0 = 0 ;
10545 PyObject * obj1 = 0 ;
10546 PyObject * obj2 = 0 ;
10547 PyObject * obj3 = 0 ;
10548 PyObject * obj4 = 0 ;
10549 PyObject * obj5 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 10557 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 10558 if (PyErr_Occurred()) SWIG_fail;
c370783e 10559 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 10560 if (PyErr_Occurred()) SWIG_fail;
c370783e 10561 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 10562 if (PyErr_Occurred()) SWIG_fail;
c370783e 10563 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
10564 if (PyErr_Occurred()) SWIG_fail;
10565 if (obj5) {
c370783e 10566 arg6 = (bool)SWIG_As_bool(obj5);
d55e5bfc
RD
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10572
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 Py_INCREF(Py_None); resultobj = Py_None;
10577 return resultobj;
10578 fail:
10579 return NULL;
10580}
10581
10582
c370783e 10583static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
10584 PyObject *resultobj;
10585 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10586 wxVisualAttributes result;
10587 PyObject * obj0 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "variant", NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10593 if (obj0) {
c370783e 10594 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 {
0439c23b 10598 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10601
10602 wxPyEndAllowThreads(__tstate);
110da5b0 10603 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
10604 }
10605 {
10606 wxVisualAttributes * resultptr;
10607 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10609 }
10610 return resultobj;
10611 fail:
10612 return NULL;
10613}
10614
10615
c370783e 10616static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10617 PyObject *obj;
10618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10619 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10620 Py_INCREF(obj);
10621 return Py_BuildValue((char *)"");
10622}
c370783e 10623static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
10624 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10625 return 1;
10626}
10627
10628
10629static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10630 PyObject *pyobj;
10631
10632 {
10633#if wxUSE_UNICODE
10634 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10635#else
10636 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10637#endif
10638 }
10639 return pyobj;
10640}
10641
10642
c370783e 10643static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
10644 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10645 return 1;
10646}
10647
10648
10649static PyObject *_wrap_SpinCtrlNameStr_get() {
10650 PyObject *pyobj;
10651
10652 {
10653#if wxUSE_UNICODE
10654 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10655#else
10656 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10657#endif
10658 }
10659 return pyobj;
10660}
10661
10662
c370783e 10663static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10664 PyObject *resultobj;
10665 wxWindow *arg1 = (wxWindow *) 0 ;
10666 int arg2 = (int) -1 ;
10667 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10668 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10669 wxSize const &arg4_defvalue = wxDefaultSize ;
10670 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10671 long arg5 = (long) wxSP_HORIZONTAL ;
10672 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10673 wxString *arg6 = (wxString *) &arg6_defvalue ;
10674 wxSpinButton *result;
10675 wxPoint temp3 ;
10676 wxSize temp4 ;
b411df4a 10677 bool temp6 = false ;
d55e5bfc
RD
10678 PyObject * obj0 = 0 ;
10679 PyObject * obj1 = 0 ;
10680 PyObject * obj2 = 0 ;
10681 PyObject * obj3 = 0 ;
10682 PyObject * obj4 = 0 ;
10683 PyObject * obj5 = 0 ;
10684 char *kwnames[] = {
10685 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10686 };
10687
10688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10691 if (obj1) {
c370783e 10692 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 if (obj2) {
10696 {
10697 arg3 = &temp3;
10698 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10699 }
10700 }
10701 if (obj3) {
10702 {
10703 arg4 = &temp4;
10704 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10705 }
10706 }
10707 if (obj4) {
c370783e 10708 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 if (obj5) {
10712 {
10713 arg6 = wxString_in_helper(obj5);
10714 if (arg6 == NULL) SWIG_fail;
b411df4a 10715 temp6 = true;
d55e5bfc
RD
10716 }
10717 }
10718 {
0439c23b 10719 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10722
10723 wxPyEndAllowThreads(__tstate);
110da5b0 10724 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10725 }
10726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10727 {
10728 if (temp6)
10729 delete arg6;
10730 }
10731 return resultobj;
10732 fail:
10733 {
10734 if (temp6)
10735 delete arg6;
10736 }
10737 return NULL;
10738}
10739
10740
c370783e 10741static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10742 PyObject *resultobj;
10743 wxSpinButton *result;
10744 char *kwnames[] = {
10745 NULL
10746 };
10747
10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10749 {
0439c23b 10750 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 result = (wxSpinButton *)new wxSpinButton();
10753
10754 wxPyEndAllowThreads(__tstate);
110da5b0 10755 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10756 }
10757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10758 return resultobj;
10759 fail:
10760 return NULL;
10761}
10762
10763
c370783e 10764static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10765 PyObject *resultobj;
10766 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10767 wxWindow *arg2 = (wxWindow *) 0 ;
10768 int arg3 = (int) -1 ;
10769 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10770 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10771 wxSize const &arg5_defvalue = wxDefaultSize ;
10772 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10773 long arg6 = (long) wxSP_HORIZONTAL ;
10774 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10775 wxString *arg7 = (wxString *) &arg7_defvalue ;
10776 bool result;
10777 wxPoint temp4 ;
10778 wxSize temp5 ;
b411df4a 10779 bool temp7 = false ;
d55e5bfc
RD
10780 PyObject * obj0 = 0 ;
10781 PyObject * obj1 = 0 ;
10782 PyObject * obj2 = 0 ;
10783 PyObject * obj3 = 0 ;
10784 PyObject * obj4 = 0 ;
10785 PyObject * obj5 = 0 ;
10786 PyObject * obj6 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10796 if (obj2) {
c370783e 10797 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 if (obj3) {
10801 {
10802 arg4 = &temp4;
10803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10804 }
10805 }
10806 if (obj4) {
10807 {
10808 arg5 = &temp5;
10809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10810 }
10811 }
10812 if (obj5) {
c370783e 10813 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 if (obj6) {
10817 {
10818 arg7 = wxString_in_helper(obj6);
10819 if (arg7 == NULL) SWIG_fail;
b411df4a 10820 temp7 = true;
d55e5bfc
RD
10821 }
10822 }
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 {
10831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10832 }
10833 {
10834 if (temp7)
10835 delete arg7;
10836 }
10837 return resultobj;
10838 fail:
10839 {
10840 if (temp7)
10841 delete arg7;
10842 }
10843 return NULL;
10844}
10845
10846
c370783e 10847static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10848 PyObject *resultobj;
10849 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10850 int result;
10851 PyObject * obj0 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "self", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10859 {
10860 PyThreadState* __tstate = wxPyBeginAllowThreads();
10861 result = (int)((wxSpinButton const *)arg1)->GetValue();
10862
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
c370783e 10866 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10867 return resultobj;
10868 fail:
10869 return NULL;
10870}
10871
10872
c370783e 10873static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10874 PyObject *resultobj;
10875 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10876 int result;
10877 PyObject * obj0 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self", NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 result = (int)((wxSpinButton const *)arg1)->GetMin();
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
c370783e 10892 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10893 return resultobj;
10894 fail:
10895 return NULL;
10896}
10897
10898
c370783e 10899static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10900 PyObject *resultobj;
10901 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10902 int result;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (int)((wxSpinButton const *)arg1)->GetMax();
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
c370783e 10918 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10919 return resultobj;
10920 fail:
10921 return NULL;
10922}
10923
10924
c370783e 10925static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10926 PyObject *resultobj;
10927 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10928 int arg2 ;
10929 PyObject * obj0 = 0 ;
10930 PyObject * obj1 = 0 ;
10931 char *kwnames[] = {
10932 (char *) "self",(char *) "val", NULL
10933 };
10934
10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 10938 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10939 if (PyErr_Occurred()) SWIG_fail;
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 (arg1)->SetValue(arg2);
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 Py_INCREF(Py_None); resultobj = Py_None;
10948 return resultobj;
10949 fail:
10950 return NULL;
10951}
10952
10953
c370783e 10954static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10955 PyObject *resultobj;
10956 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10957 int arg2 ;
10958 PyObject * obj0 = 0 ;
10959 PyObject * obj1 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self",(char *) "minVal", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 10967 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10968 if (PyErr_Occurred()) SWIG_fail;
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 (arg1)->SetMin(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
c370783e 10983static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10984 PyObject *resultobj;
10985 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10986 int arg2 ;
10987 PyObject * obj0 = 0 ;
10988 PyObject * obj1 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self",(char *) "maxVal", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 10996 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10997 if (PyErr_Occurred()) SWIG_fail;
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 (arg1)->SetMax(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
c370783e 11012static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11013 PyObject *resultobj;
11014 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11015 int arg2 ;
11016 int arg3 ;
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 PyObject * obj2 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 11027 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 11028 if (PyErr_Occurred()) SWIG_fail;
c370783e 11029 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
11030 if (PyErr_Occurred()) SWIG_fail;
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 (arg1)->SetRange(arg2,arg3);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
f20a2e1f
RD
11038 Py_INCREF(Py_None); resultobj = Py_None;
11039 return resultobj;
11040 fail:
11041 return NULL;
11042}
11043
11044
c370783e 11045static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
11046 PyObject *resultobj;
11047 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11048 bool result;
11049 PyObject * obj0 = 0 ;
11050 char *kwnames[] = {
11051 (char *) "self", NULL
11052 };
11053
11054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
11055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11057 {
11058 PyThreadState* __tstate = wxPyBeginAllowThreads();
11059 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
11060
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 {
11065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11066 }
d55e5bfc
RD
11067 return resultobj;
11068 fail:
11069 return NULL;
11070}
11071
11072
c370783e 11073static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11074 PyObject *resultobj;
f20a2e1f
RD
11075 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11076 wxVisualAttributes result;
d55e5bfc
RD
11077 PyObject * obj0 = 0 ;
11078 char *kwnames[] = {
f20a2e1f 11079 (char *) "variant", NULL
d55e5bfc
RD
11080 };
11081
f20a2e1f
RD
11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11083 if (obj0) {
c370783e 11084 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
d55e5bfc 11087 {
0439c23b 11088 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 11090 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
11091
11092 wxPyEndAllowThreads(__tstate);
110da5b0 11093 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11094 }
11095 {
f20a2e1f
RD
11096 wxVisualAttributes * resultptr;
11097 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
11099 }
11100 return resultobj;
11101 fail:
11102 return NULL;
11103}
11104
11105
c370783e 11106static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11107 PyObject *obj;
11108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11109 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
11110 Py_INCREF(obj);
11111 return Py_BuildValue((char *)"");
11112}
c370783e 11113static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11114 PyObject *resultobj;
11115 wxWindow *arg1 = (wxWindow *) 0 ;
11116 int arg2 = (int) -1 ;
11117 wxString const &arg3_defvalue = wxPyEmptyString ;
11118 wxString *arg3 = (wxString *) &arg3_defvalue ;
11119 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11120 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11121 wxSize const &arg5_defvalue = wxDefaultSize ;
11122 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11123 long arg6 = (long) wxSP_ARROW_KEYS ;
11124 int arg7 = (int) 0 ;
11125 int arg8 = (int) 100 ;
11126 int arg9 = (int) 0 ;
11127 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
11128 wxString *arg10 = (wxString *) &arg10_defvalue ;
11129 wxSpinCtrl *result;
b411df4a 11130 bool temp3 = false ;
d55e5bfc
RD
11131 wxPoint temp4 ;
11132 wxSize temp5 ;
b411df4a 11133 bool temp10 = false ;
d55e5bfc
RD
11134 PyObject * obj0 = 0 ;
11135 PyObject * obj1 = 0 ;
11136 PyObject * obj2 = 0 ;
11137 PyObject * obj3 = 0 ;
11138 PyObject * obj4 = 0 ;
11139 PyObject * obj5 = 0 ;
11140 PyObject * obj6 = 0 ;
11141 PyObject * obj7 = 0 ;
11142 PyObject * obj8 = 0 ;
11143 PyObject * obj9 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11151 if (obj1) {
c370783e 11152 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 if (obj2) {
11156 {
11157 arg3 = wxString_in_helper(obj2);
11158 if (arg3 == NULL) SWIG_fail;
b411df4a 11159 temp3 = true;
d55e5bfc
RD
11160 }
11161 }
11162 if (obj3) {
11163 {
11164 arg4 = &temp4;
11165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11166 }
11167 }
11168 if (obj4) {
11169 {
11170 arg5 = &temp5;
11171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11172 }
11173 }
11174 if (obj5) {
c370783e 11175 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 if (obj6) {
c370783e 11179 arg7 = (int)SWIG_As_int(obj6);
d55e5bfc
RD
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 if (obj7) {
c370783e 11183 arg8 = (int)SWIG_As_int(obj7);
d55e5bfc
RD
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 if (obj8) {
c370783e 11187 arg9 = (int)SWIG_As_int(obj8);
d55e5bfc
RD
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 if (obj9) {
11191 {
11192 arg10 = wxString_in_helper(obj9);
11193 if (arg10 == NULL) SWIG_fail;
b411df4a 11194 temp10 = true;
d55e5bfc
RD
11195 }
11196 }
11197 {
0439c23b 11198 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11201
11202 wxPyEndAllowThreads(__tstate);
110da5b0 11203 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11204 }
11205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11206 {
11207 if (temp3)
11208 delete arg3;
11209 }
11210 {
11211 if (temp10)
11212 delete arg10;
11213 }
11214 return resultobj;
11215 fail:
11216 {
11217 if (temp3)
11218 delete arg3;
11219 }
11220 {
11221 if (temp10)
11222 delete arg10;
11223 }
11224 return NULL;
11225}
11226
11227
c370783e 11228static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11229 PyObject *resultobj;
11230 wxSpinCtrl *result;
11231 char *kwnames[] = {
11232 NULL
11233 };
11234
11235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11236 {
0439c23b 11237 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = (wxSpinCtrl *)new wxSpinCtrl();
11240
11241 wxPyEndAllowThreads(__tstate);
110da5b0 11242 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11243 }
11244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11245 return resultobj;
11246 fail:
11247 return NULL;
11248}
11249
11250
c370783e 11251static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11252 PyObject *resultobj;
11253 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11254 wxWindow *arg2 = (wxWindow *) 0 ;
11255 int arg3 = (int) -1 ;
11256 wxString const &arg4_defvalue = wxPyEmptyString ;
11257 wxString *arg4 = (wxString *) &arg4_defvalue ;
11258 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11259 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11260 wxSize const &arg6_defvalue = wxDefaultSize ;
11261 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11262 long arg7 = (long) wxSP_ARROW_KEYS ;
11263 int arg8 = (int) 0 ;
11264 int arg9 = (int) 100 ;
11265 int arg10 = (int) 0 ;
11266 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11267 wxString *arg11 = (wxString *) &arg11_defvalue ;
11268 bool result;
b411df4a 11269 bool temp4 = false ;
d55e5bfc
RD
11270 wxPoint temp5 ;
11271 wxSize temp6 ;
b411df4a 11272 bool temp11 = false ;
d55e5bfc
RD
11273 PyObject * obj0 = 0 ;
11274 PyObject * obj1 = 0 ;
11275 PyObject * obj2 = 0 ;
11276 PyObject * obj3 = 0 ;
11277 PyObject * obj4 = 0 ;
11278 PyObject * obj5 = 0 ;
11279 PyObject * obj6 = 0 ;
11280 PyObject * obj7 = 0 ;
11281 PyObject * obj8 = 0 ;
11282 PyObject * obj9 = 0 ;
11283 PyObject * obj10 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11293 if (obj2) {
c370783e 11294 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 if (obj3) {
11298 {
11299 arg4 = wxString_in_helper(obj3);
11300 if (arg4 == NULL) SWIG_fail;
b411df4a 11301 temp4 = true;
d55e5bfc
RD
11302 }
11303 }
11304 if (obj4) {
11305 {
11306 arg5 = &temp5;
11307 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11308 }
11309 }
11310 if (obj5) {
11311 {
11312 arg6 = &temp6;
11313 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11314 }
11315 }
11316 if (obj6) {
c370783e 11317 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 if (obj7) {
c370783e 11321 arg8 = (int)SWIG_As_int(obj7);
d55e5bfc
RD
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 if (obj8) {
c370783e 11325 arg9 = (int)SWIG_As_int(obj8);
d55e5bfc
RD
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 if (obj9) {
c370783e 11329 arg10 = (int)SWIG_As_int(obj9);
d55e5bfc
RD
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 if (obj10) {
11333 {
11334 arg11 = wxString_in_helper(obj10);
11335 if (arg11 == NULL) SWIG_fail;
b411df4a 11336 temp11 = true;
d55e5bfc
RD
11337 }
11338 }
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 {
11347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11348 }
11349 {
11350 if (temp4)
11351 delete arg4;
11352 }
11353 {
11354 if (temp11)
11355 delete arg11;
11356 }
11357 return resultobj;
11358 fail:
11359 {
11360 if (temp4)
11361 delete arg4;
11362 }
11363 {
11364 if (temp11)
11365 delete arg11;
11366 }
11367 return NULL;
11368}
11369
11370
c370783e 11371static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11372 PyObject *resultobj;
11373 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11374 int result;
11375 PyObject * obj0 = 0 ;
11376 char *kwnames[] = {
11377 (char *) "self", NULL
11378 };
11379
11380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
c370783e 11390 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11391 return resultobj;
11392 fail:
11393 return NULL;
11394}
11395
11396
c370783e 11397static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11398 PyObject *resultobj;
11399 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11400 int arg2 ;
11401 PyObject * obj0 = 0 ;
11402 PyObject * obj1 = 0 ;
11403 char *kwnames[] = {
11404 (char *) "self",(char *) "value", NULL
11405 };
11406
11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 11410 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11411 if (PyErr_Occurred()) SWIG_fail;
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 (arg1)->SetValue(arg2);
11415
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 Py_INCREF(Py_None); resultobj = Py_None;
11420 return resultobj;
11421 fail:
11422 return NULL;
11423}
11424
11425
c370783e 11426static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11427 PyObject *resultobj;
11428 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11429 wxString *arg2 = 0 ;
b411df4a 11430 bool temp2 = false ;
d55e5bfc
RD
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self",(char *) "text", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11440 {
11441 arg2 = wxString_in_helper(obj1);
11442 if (arg2 == NULL) SWIG_fail;
b411df4a 11443 temp2 = true;
d55e5bfc
RD
11444 }
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 (arg1)->SetValue((wxString const &)*arg2);
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 Py_INCREF(Py_None); resultobj = Py_None;
11453 {
11454 if (temp2)
11455 delete arg2;
11456 }
11457 return resultobj;
11458 fail:
11459 {
11460 if (temp2)
11461 delete arg2;
11462 }
11463 return NULL;
11464}
11465
11466
c370783e 11467static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11468 PyObject *resultobj;
11469 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11470 int arg2 ;
11471 int arg3 ;
11472 PyObject * obj0 = 0 ;
11473 PyObject * obj1 = 0 ;
11474 PyObject * obj2 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 11482 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 11483 if (PyErr_Occurred()) SWIG_fail;
c370783e 11484 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
11485 if (PyErr_Occurred()) SWIG_fail;
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 (arg1)->SetRange(arg2,arg3);
11489
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 Py_INCREF(Py_None); resultobj = Py_None;
11494 return resultobj;
11495 fail:
11496 return NULL;
11497}
11498
11499
c370783e 11500static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11501 PyObject *resultobj;
11502 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11503 int result;
11504 PyObject * obj0 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "self", NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11515
11516 wxPyEndAllowThreads(__tstate);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
c370783e 11519 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11520 return resultobj;
11521 fail:
11522 return NULL;
11523}
11524
11525
c370783e 11526static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11527 PyObject *resultobj;
11528 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11529 int result;
11530 PyObject * obj0 = 0 ;
11531 char *kwnames[] = {
11532 (char *) "self", NULL
11533 };
11534
11535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
c370783e 11545 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11546 return resultobj;
11547 fail:
11548 return NULL;
11549}
11550
11551
c370783e 11552static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11553 PyObject *resultobj;
11554 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11555 long arg2 ;
11556 long arg3 ;
11557 PyObject * obj0 = 0 ;
11558 PyObject * obj1 = 0 ;
11559 PyObject * obj2 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "self",(char *) "from",(char *) "to", NULL
11562 };
11563
11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 11567 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 11568 if (PyErr_Occurred()) SWIG_fail;
c370783e 11569 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
11570 if (PyErr_Occurred()) SWIG_fail;
11571 {
11572 PyThreadState* __tstate = wxPyBeginAllowThreads();
11573 (arg1)->SetSelection(arg2,arg3);
11574
11575 wxPyEndAllowThreads(__tstate);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 Py_INCREF(Py_None); resultobj = Py_None;
11579 return resultobj;
11580 fail:
11581 return NULL;
11582}
11583
11584
c370783e 11585static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
11586 PyObject *resultobj;
11587 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11588 wxVisualAttributes result;
11589 PyObject * obj0 = 0 ;
11590 char *kwnames[] = {
11591 (char *) "variant", NULL
11592 };
11593
11594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11595 if (obj0) {
c370783e 11596 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
0439c23b 11600 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11603
11604 wxPyEndAllowThreads(__tstate);
110da5b0 11605 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11606 }
11607 {
11608 wxVisualAttributes * resultptr;
11609 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11611 }
11612 return resultobj;
11613 fail:
11614 return NULL;
11615}
11616
11617
c370783e 11618static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11619 PyObject *obj;
11620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11621 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11622 Py_INCREF(obj);
11623 return Py_BuildValue((char *)"");
11624}
c370783e 11625static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11626 PyObject *resultobj;
11627 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11628 int arg2 = (int) 0 ;
11629 wxSpinEvent *result;
11630 PyObject * obj0 = 0 ;
11631 PyObject * obj1 = 0 ;
11632 char *kwnames[] = {
11633 (char *) "commandType",(char *) "winid", NULL
11634 };
11635
11636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11637 if (obj0) {
c370783e 11638 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 if (obj1) {
c370783e 11642 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11648
11649 wxPyEndAllowThreads(__tstate);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11653 return resultobj;
11654 fail:
11655 return NULL;
11656}
11657
11658
c370783e 11659static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11660 PyObject *resultobj;
11661 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11662 int result;
11663 PyObject * obj0 = 0 ;
11664 char *kwnames[] = {
11665 (char *) "self", NULL
11666 };
11667
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
c370783e 11678 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11679 return resultobj;
11680 fail:
11681 return NULL;
11682}
11683
11684
c370783e 11685static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11686 PyObject *resultobj;
11687 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11688 int arg2 ;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "pos", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 11698 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11699 if (PyErr_Occurred()) SWIG_fail;
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->SetPosition(arg2);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 Py_INCREF(Py_None); resultobj = Py_None;
11708 return resultobj;
11709 fail:
11710 return NULL;
11711}
11712
11713
c370783e 11714static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11715 PyObject *obj;
11716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11718 Py_INCREF(obj);
11719 return Py_BuildValue((char *)"");
11720}
c370783e 11721static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
11722 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11723 return 1;
11724}
11725
11726
11727static PyObject *_wrap_RadioBoxNameStr_get() {
11728 PyObject *pyobj;
11729
11730 {
11731#if wxUSE_UNICODE
11732 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11733#else
11734 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11735#endif
11736 }
11737 return pyobj;
11738}
11739
11740
c370783e 11741static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
11742 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11743 return 1;
11744}
11745
11746
11747static PyObject *_wrap_RadioButtonNameStr_get() {
11748 PyObject *pyobj;
11749
11750 {
11751#if wxUSE_UNICODE
11752 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11753#else
11754 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11755#endif
11756 }
11757 return pyobj;
11758}
11759
11760
c370783e 11761static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11762 PyObject *resultobj;
11763 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
11764 int arg2 = (int) -1 ;
11765 wxString const &arg3_defvalue = wxPyEmptyString ;
11766 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
11767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11769 wxSize const &arg5_defvalue = wxDefaultSize ;
11770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11771 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11772 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11773 int arg7 = (int) 0 ;
11774 long arg8 = (long) wxRA_HORIZONTAL ;
11775 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11776 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11777 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11778 wxString *arg10 = (wxString *) &arg10_defvalue ;
11779 wxRadioBox *result;
b411df4a 11780 bool temp3 = false ;
d55e5bfc
RD
11781 wxPoint temp4 ;
11782 wxSize temp5 ;
b411df4a
RD
11783 bool temp6 = false ;
11784 bool temp10 = false ;
d55e5bfc
RD
11785 PyObject * obj0 = 0 ;
11786 PyObject * obj1 = 0 ;
11787 PyObject * obj2 = 0 ;
11788 PyObject * obj3 = 0 ;
11789 PyObject * obj4 = 0 ;
11790 PyObject * obj5 = 0 ;
11791 PyObject * obj6 = 0 ;
11792 PyObject * obj7 = 0 ;
11793 PyObject * obj8 = 0 ;
11794 PyObject * obj9 = 0 ;
11795 char *kwnames[] = {
11796 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11797 };
11798
bfddbb17 11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
d55e5bfc
RD
11800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 11802 if (obj1) {
c370783e 11803 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 if (obj2) {
11807 {
11808 arg3 = wxString_in_helper(obj2);
11809 if (arg3 == NULL) SWIG_fail;
b411df4a 11810 temp3 = true;
bfddbb17 11811 }
d55e5bfc
RD
11812 }
11813 if (obj3) {
11814 {
11815 arg4 = &temp4;
11816 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11817 }
11818 }
11819 if (obj4) {
11820 {
11821 arg5 = &temp5;
11822 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11823 }
11824 }
11825 if (obj5) {
11826 {
11827 if (! PySequence_Check(obj5)) {
11828 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11829 SWIG_fail;
11830 }
11831 arg6 = new wxArrayString;
b411df4a 11832 temp6 = true;
d55e5bfc
RD
11833 int i, len=PySequence_Length(obj5);
11834 for (i=0; i<len; i++) {
11835 PyObject* item = PySequence_GetItem(obj5, i);
11836#if wxUSE_UNICODE
11837 PyObject* str = PyObject_Unicode(item);
11838#else
11839 PyObject* str = PyObject_Str(item);
11840#endif
11841 if (PyErr_Occurred()) SWIG_fail;
11842 arg6->Add(Py2wxString(str));
11843 Py_DECREF(item);
11844 Py_DECREF(str);
11845 }
11846 }
11847 }
11848 if (obj6) {
c370783e 11849 arg7 = (int)SWIG_As_int(obj6);
d55e5bfc
RD
11850 if (PyErr_Occurred()) SWIG_fail;
11851 }
11852 if (obj7) {
c370783e 11853 arg8 = (long)SWIG_As_long(obj7);
d55e5bfc
RD
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 if (obj8) {
11857 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11858 SWIG_POINTER_EXCEPTION | 0)) == -1)
11859 SWIG_fail;
11860 if (arg9 == NULL) {
11861 PyErr_SetString(PyExc_TypeError,"null reference");
11862 SWIG_fail;
11863 }
11864 }
11865 if (obj9) {
11866 {
11867 arg10 = wxString_in_helper(obj9);
11868 if (arg10 == NULL) SWIG_fail;
b411df4a 11869 temp10 = true;
d55e5bfc
RD
11870 }
11871 }
11872 {
0439c23b 11873 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11874 PyThreadState* __tstate = wxPyBeginAllowThreads();
11875 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);
11876
11877 wxPyEndAllowThreads(__tstate);
110da5b0 11878 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11879 }
11880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11881 {
11882 if (temp3)
11883 delete arg3;
11884 }
11885 {
11886 if (temp6) delete arg6;
11887 }
11888 {
11889 if (temp10)
11890 delete arg10;
11891 }
11892 return resultobj;
11893 fail:
11894 {
11895 if (temp3)
11896 delete arg3;
11897 }
11898 {
11899 if (temp6) delete arg6;
11900 }
11901 {
11902 if (temp10)
11903 delete arg10;
11904 }
11905 return NULL;
11906}
11907
11908
c370783e 11909static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11910 PyObject *resultobj;
11911 wxRadioBox *result;
11912 char *kwnames[] = {
11913 NULL
11914 };
11915
11916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11917 {
0439c23b 11918 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 result = (wxRadioBox *)new wxRadioBox();
11921
11922 wxPyEndAllowThreads(__tstate);
110da5b0 11923 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11924 }
11925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11926 return resultobj;
11927 fail:
11928 return NULL;
11929}
11930
11931
c370783e 11932static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11933 PyObject *resultobj;
11934 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11935 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
11936 int arg3 = (int) -1 ;
11937 wxString const &arg4_defvalue = wxPyEmptyString ;
11938 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
11939 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11940 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11941 wxSize const &arg6_defvalue = wxDefaultSize ;
11942 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11943 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11944 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11945 int arg8 = (int) 0 ;
11946 long arg9 = (long) wxRA_HORIZONTAL ;
11947 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11948 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11949 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11950 wxString *arg11 = (wxString *) &arg11_defvalue ;
11951 bool result;
b411df4a 11952 bool temp4 = false ;
d55e5bfc
RD
11953 wxPoint temp5 ;
11954 wxSize temp6 ;
b411df4a
RD
11955 bool temp7 = false ;
11956 bool temp11 = false ;
d55e5bfc
RD
11957 PyObject * obj0 = 0 ;
11958 PyObject * obj1 = 0 ;
11959 PyObject * obj2 = 0 ;
11960 PyObject * obj3 = 0 ;
11961 PyObject * obj4 = 0 ;
11962 PyObject * obj5 = 0 ;
11963 PyObject * obj6 = 0 ;
11964 PyObject * obj7 = 0 ;
11965 PyObject * obj8 = 0 ;
11966 PyObject * obj9 = 0 ;
11967 PyObject * obj10 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11970 };
11971
bfddbb17 11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
d55e5bfc
RD
11973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 11977 if (obj2) {
c370783e 11978 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 if (obj3) {
11982 {
11983 arg4 = wxString_in_helper(obj3);
11984 if (arg4 == NULL) SWIG_fail;
b411df4a 11985 temp4 = true;
bfddbb17 11986 }
d55e5bfc
RD
11987 }
11988 if (obj4) {
11989 {
11990 arg5 = &temp5;
11991 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11992 }
11993 }
11994 if (obj5) {
11995 {
11996 arg6 = &temp6;
11997 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11998 }
11999 }
12000 if (obj6) {
12001 {
12002 if (! PySequence_Check(obj6)) {
12003 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12004 SWIG_fail;
12005 }
12006 arg7 = new wxArrayString;
b411df4a 12007 temp7 = true;
d55e5bfc
RD
12008 int i, len=PySequence_Length(obj6);
12009 for (i=0; i<len; i++) {
12010 PyObject* item = PySequence_GetItem(obj6, i);
12011#if wxUSE_UNICODE
12012 PyObject* str = PyObject_Unicode(item);
12013#else
12014 PyObject* str = PyObject_Str(item);
12015#endif
12016 if (PyErr_Occurred()) SWIG_fail;
12017 arg7->Add(Py2wxString(str));
12018 Py_DECREF(item);
12019 Py_DECREF(str);
12020 }
12021 }
12022 }
12023 if (obj7) {
c370783e 12024 arg8 = (int)SWIG_As_int(obj7);
d55e5bfc
RD
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 if (obj8) {
c370783e 12028 arg9 = (long)SWIG_As_long(obj8);
d55e5bfc
RD
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 if (obj9) {
12032 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12033 SWIG_POINTER_EXCEPTION | 0)) == -1)
12034 SWIG_fail;
12035 if (arg10 == NULL) {
12036 PyErr_SetString(PyExc_TypeError,"null reference");
12037 SWIG_fail;
12038 }
12039 }
12040 if (obj10) {
12041 {
12042 arg11 = wxString_in_helper(obj10);
12043 if (arg11 == NULL) SWIG_fail;
b411df4a 12044 temp11 = true;
d55e5bfc
RD
12045 }
12046 }
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 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);
12050
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 {
12055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12056 }
12057 {
12058 if (temp4)
12059 delete arg4;
12060 }
12061 {
12062 if (temp7) delete arg7;
12063 }
12064 {
12065 if (temp11)
12066 delete arg11;
12067 }
12068 return resultobj;
12069 fail:
12070 {
12071 if (temp4)
12072 delete arg4;
12073 }
12074 {
12075 if (temp7) delete arg7;
12076 }
12077 {
12078 if (temp11)
12079 delete arg11;
12080 }
12081 return NULL;
12082}
12083
12084
c370783e 12085static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12086 PyObject *resultobj;
12087 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12088 int arg2 ;
12089 PyObject * obj0 = 0 ;
12090 PyObject * obj1 = 0 ;
12091 char *kwnames[] = {
12092 (char *) "self",(char *) "n", NULL
12093 };
12094
12095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 12098 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12099 if (PyErr_Occurred()) SWIG_fail;
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 (arg1)->SetSelection(arg2);
12103
12104 wxPyEndAllowThreads(__tstate);
12105 if (PyErr_Occurred()) SWIG_fail;
12106 }
12107 Py_INCREF(Py_None); resultobj = Py_None;
12108 return resultobj;
12109 fail:
12110 return NULL;
12111}
12112
12113
c370783e 12114static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12115 PyObject *resultobj;
12116 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12117 int result;
12118 PyObject * obj0 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
12124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (int)((wxRadioBox const *)arg1)->GetSelection();
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
c370783e 12133 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12134 return resultobj;
12135 fail:
12136 return NULL;
12137}
12138
12139
c370783e 12140static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12141 PyObject *resultobj;
12142 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12143 wxString result;
12144 PyObject * obj0 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
12150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 {
12160#if wxUSE_UNICODE
12161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12162#else
12163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12164#endif
12165 }
12166 return resultobj;
12167 fail:
12168 return NULL;
12169}
12170
12171
c370783e 12172static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12173 PyObject *resultobj;
12174 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12175 wxString *arg2 = 0 ;
12176 bool result;
b411df4a 12177 bool temp2 = false ;
d55e5bfc
RD
12178 PyObject * obj0 = 0 ;
12179 PyObject * obj1 = 0 ;
12180 char *kwnames[] = {
12181 (char *) "self",(char *) "s", NULL
12182 };
12183
12184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12187 {
12188 arg2 = wxString_in_helper(obj1);
12189 if (arg2 == NULL) SWIG_fail;
b411df4a 12190 temp2 = true;
d55e5bfc
RD
12191 }
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 {
12200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12201 }
12202 {
12203 if (temp2)
12204 delete arg2;
12205 }
12206 return resultobj;
12207 fail:
12208 {
12209 if (temp2)
12210 delete arg2;
12211 }
12212 return NULL;
12213}
12214
12215
c370783e 12216static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12217 PyObject *resultobj;
12218 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12219 int result;
12220 PyObject * obj0 = 0 ;
12221 char *kwnames[] = {
12222 (char *) "self", NULL
12223 };
12224
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 result = (int)((wxRadioBox const *)arg1)->GetCount();
12231
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
c370783e 12235 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12236 return resultobj;
12237 fail:
12238 return NULL;
12239}
12240
12241
c370783e 12242static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12243 PyObject *resultobj;
12244 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12245 wxString *arg2 = 0 ;
12246 int result;
b411df4a 12247 bool temp2 = false ;
d55e5bfc
RD
12248 PyObject * obj0 = 0 ;
12249 PyObject * obj1 = 0 ;
12250 char *kwnames[] = {
12251 (char *) "self",(char *) "s", NULL
12252 };
12253
12254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12257 {
12258 arg2 = wxString_in_helper(obj1);
12259 if (arg2 == NULL) SWIG_fail;
b411df4a 12260 temp2 = true;
d55e5bfc
RD
12261 }
12262 {
12263 PyThreadState* __tstate = wxPyBeginAllowThreads();
12264 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12265
12266 wxPyEndAllowThreads(__tstate);
12267 if (PyErr_Occurred()) SWIG_fail;
12268 }
c370783e 12269 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12270 {
12271 if (temp2)
12272 delete arg2;
12273 }
12274 return resultobj;
12275 fail:
12276 {
12277 if (temp2)
12278 delete arg2;
12279 }
12280 return NULL;
12281}
12282
12283
c370783e 12284static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12285 PyObject *resultobj;
12286 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12287 int arg2 ;
12288 wxString result;
12289 PyObject * obj0 = 0 ;
12290 PyObject * obj1 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self",(char *) "n", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 12298 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12299 if (PyErr_Occurred()) SWIG_fail;
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 {
12308#if wxUSE_UNICODE
12309 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12310#else
12311 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12312#endif
12313 }
12314 return resultobj;
12315 fail:
12316 return NULL;
12317}
12318
12319
c370783e 12320static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12321 PyObject *resultobj;
12322 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12323 int arg2 ;
12324 wxString *arg3 = 0 ;
b411df4a 12325 bool temp3 = false ;
d55e5bfc
RD
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 PyObject * obj2 = 0 ;
12329 char *kwnames[] = {
12330 (char *) "self",(char *) "n",(char *) "label", NULL
12331 };
12332
12333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 12336 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12337 if (PyErr_Occurred()) SWIG_fail;
12338 {
12339 arg3 = wxString_in_helper(obj2);
12340 if (arg3 == NULL) SWIG_fail;
b411df4a 12341 temp3 = true;
d55e5bfc
RD
12342 }
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 (arg1)->SetString(arg2,(wxString const &)*arg3);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 Py_INCREF(Py_None); resultobj = Py_None;
12351 {
12352 if (temp3)
12353 delete arg3;
12354 }
12355 return resultobj;
12356 fail:
12357 {
12358 if (temp3)
12359 delete arg3;
12360 }
12361 return NULL;
12362}
12363
12364
c370783e 12365static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12366 PyObject *resultobj;
12367 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12368 int arg2 ;
b411df4a 12369 bool arg3 = (bool) true ;
d55e5bfc
RD
12370 PyObject * obj0 = 0 ;
12371 PyObject * obj1 = 0 ;
12372 PyObject * obj2 = 0 ;
12373 char *kwnames[] = {
12374 (char *) "self",(char *) "n",(char *) "enable", NULL
12375 };
12376
12377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 12380 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12381 if (PyErr_Occurred()) SWIG_fail;
12382 if (obj2) {
c370783e 12383 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 (arg1)->Enable(arg2,arg3);
12389
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 Py_INCREF(Py_None); resultobj = Py_None;
12394 return resultobj;
12395 fail:
12396 return NULL;
12397}
12398
12399
c370783e 12400static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12401 PyObject *resultobj;
12402 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12403 int arg2 ;
b411df4a 12404 bool arg3 = (bool) true ;
d55e5bfc
RD
12405 PyObject * obj0 = 0 ;
12406 PyObject * obj1 = 0 ;
12407 PyObject * obj2 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "self",(char *) "n",(char *) "show", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 12415 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12416 if (PyErr_Occurred()) SWIG_fail;
12417 if (obj2) {
c370783e 12418 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
12419 if (PyErr_Occurred()) SWIG_fail;
12420 }
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 (arg1)->Show(arg2,arg3);
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 Py_INCREF(Py_None); resultobj = Py_None;
12429 return resultobj;
12430 fail:
12431 return NULL;
12432}
12433
12434
c370783e 12435static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12436 PyObject *resultobj;
12437 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12438 int result;
12439 PyObject * obj0 = 0 ;
12440 char *kwnames[] = {
12441 (char *) "self", NULL
12442 };
12443
12444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
c370783e 12454 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12455 return resultobj;
12456 fail:
12457 return NULL;
12458}
12459
12460
c370783e 12461static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12462 PyObject *resultobj;
12463 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12464 int result;
12465 PyObject * obj0 = 0 ;
12466 char *kwnames[] = {
12467 (char *) "self", NULL
12468 };
12469
12470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
12476
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
c370783e 12480 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12481 return resultobj;
12482 fail:
12483 return NULL;
12484}
12485
12486
c370783e 12487static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12488 PyObject *resultobj;
12489 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12490 int arg2 ;
12491 int arg3 ;
12492 long arg4 ;
12493 int result;
12494 PyObject * obj0 = 0 ;
12495 PyObject * obj1 = 0 ;
12496 PyObject * obj2 = 0 ;
12497 PyObject * obj3 = 0 ;
12498 char *kwnames[] = {
12499 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12500 };
12501
12502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 12505 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 12506 if (PyErr_Occurred()) SWIG_fail;
c370783e 12507 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 12508 if (PyErr_Occurred()) SWIG_fail;
c370783e 12509 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
12510 if (PyErr_Occurred()) SWIG_fail;
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
12513 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
12514
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
c370783e 12518 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12519 return resultobj;
12520 fail:
12521 return NULL;
12522}
12523
12524
c370783e 12525static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
12526 PyObject *resultobj;
12527 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12528 wxVisualAttributes result;
12529 PyObject * obj0 = 0 ;
12530 char *kwnames[] = {
12531 (char *) "variant", NULL
12532 };
12533
12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12535 if (obj0) {
c370783e 12536 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 {
0439c23b 12540 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12543
12544 wxPyEndAllowThreads(__tstate);
110da5b0 12545 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12546 }
12547 {
12548 wxVisualAttributes * resultptr;
12549 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12550 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12551 }
12552 return resultobj;
12553 fail:
12554 return NULL;
12555}
12556
12557
c370783e 12558static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12559 PyObject *obj;
12560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12561 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12562 Py_INCREF(obj);
12563 return Py_BuildValue((char *)"");
12564}
c370783e 12565static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12566 PyObject *resultobj;
12567 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
12568 int arg2 = (int) -1 ;
12569 wxString const &arg3_defvalue = wxPyEmptyString ;
12570 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
12571 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12572 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12573 wxSize const &arg5_defvalue = wxDefaultSize ;
12574 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12575 long arg6 = (long) 0 ;
12576 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12577 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12578 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12579 wxString *arg8 = (wxString *) &arg8_defvalue ;
12580 wxRadioButton *result;
b411df4a 12581 bool temp3 = false ;
d55e5bfc
RD
12582 wxPoint temp4 ;
12583 wxSize temp5 ;
b411df4a 12584 bool temp8 = false ;
d55e5bfc
RD
12585 PyObject * obj0 = 0 ;
12586 PyObject * obj1 = 0 ;
12587 PyObject * obj2 = 0 ;
12588 PyObject * obj3 = 0 ;
12589 PyObject * obj4 = 0 ;
12590 PyObject * obj5 = 0 ;
12591 PyObject * obj6 = 0 ;
12592 PyObject * obj7 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12595 };
12596
bfddbb17 12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
12598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 12600 if (obj1) {
c370783e 12601 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 if (obj2) {
12605 {
12606 arg3 = wxString_in_helper(obj2);
12607 if (arg3 == NULL) SWIG_fail;
b411df4a 12608 temp3 = true;
bfddbb17 12609 }
d55e5bfc
RD
12610 }
12611 if (obj3) {
12612 {
12613 arg4 = &temp4;
12614 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12615 }
12616 }
12617 if (obj4) {
12618 {
12619 arg5 = &temp5;
12620 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12621 }
12622 }
12623 if (obj5) {
c370783e 12624 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 if (obj6) {
12628 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12629 SWIG_POINTER_EXCEPTION | 0)) == -1)
12630 SWIG_fail;
12631 if (arg7 == NULL) {
12632 PyErr_SetString(PyExc_TypeError,"null reference");
12633 SWIG_fail;
12634 }
12635 }
12636 if (obj7) {
12637 {
12638 arg8 = wxString_in_helper(obj7);
12639 if (arg8 == NULL) SWIG_fail;
b411df4a 12640 temp8 = true;
d55e5bfc
RD
12641 }
12642 }
12643 {
0439c23b 12644 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12647
12648 wxPyEndAllowThreads(__tstate);
110da5b0 12649 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12650 }
12651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12652 {
12653 if (temp3)
12654 delete arg3;
12655 }
12656 {
12657 if (temp8)
12658 delete arg8;
12659 }
12660 return resultobj;
12661 fail:
12662 {
12663 if (temp3)
12664 delete arg3;
12665 }
12666 {
12667 if (temp8)
12668 delete arg8;
12669 }
12670 return NULL;
12671}
12672
12673
c370783e 12674static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12675 PyObject *resultobj;
12676 wxRadioButton *result;
12677 char *kwnames[] = {
12678 NULL
12679 };
12680
12681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12682 {
0439c23b 12683 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 result = (wxRadioButton *)new wxRadioButton();
12686
12687 wxPyEndAllowThreads(__tstate);
110da5b0 12688 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12689 }
12690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12691 return resultobj;
12692 fail:
12693 return NULL;
12694}
12695
12696
c370783e 12697static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12698 PyObject *resultobj;
12699 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12700 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
12701 int arg3 = (int) -1 ;
12702 wxString const &arg4_defvalue = wxPyEmptyString ;
12703 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
12704 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12705 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12706 wxSize const &arg6_defvalue = wxDefaultSize ;
12707 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12708 long arg7 = (long) 0 ;
12709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12711 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12712 wxString *arg9 = (wxString *) &arg9_defvalue ;
12713 bool result;
b411df4a 12714 bool temp4 = false ;
d55e5bfc
RD
12715 wxPoint temp5 ;
12716 wxSize temp6 ;
b411df4a 12717 bool temp9 = false ;
d55e5bfc
RD
12718 PyObject * obj0 = 0 ;
12719 PyObject * obj1 = 0 ;
12720 PyObject * obj2 = 0 ;
12721 PyObject * obj3 = 0 ;
12722 PyObject * obj4 = 0 ;
12723 PyObject * obj5 = 0 ;
12724 PyObject * obj6 = 0 ;
12725 PyObject * obj7 = 0 ;
12726 PyObject * obj8 = 0 ;
12727 char *kwnames[] = {
12728 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12729 };
12730
bfddbb17 12731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
12732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 12736 if (obj2) {
c370783e 12737 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 if (obj3) {
12741 {
12742 arg4 = wxString_in_helper(obj3);
12743 if (arg4 == NULL) SWIG_fail;
b411df4a 12744 temp4 = true;
bfddbb17 12745 }
d55e5bfc
RD
12746 }
12747 if (obj4) {
12748 {
12749 arg5 = &temp5;
12750 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12751 }
12752 }
12753 if (obj5) {
12754 {
12755 arg6 = &temp6;
12756 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12757 }
12758 }
12759 if (obj6) {
c370783e 12760 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
12761 if (PyErr_Occurred()) SWIG_fail;
12762 }
12763 if (obj7) {
12764 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12765 SWIG_POINTER_EXCEPTION | 0)) == -1)
12766 SWIG_fail;
12767 if (arg8 == NULL) {
12768 PyErr_SetString(PyExc_TypeError,"null reference");
12769 SWIG_fail;
12770 }
12771 }
12772 if (obj8) {
12773 {
12774 arg9 = wxString_in_helper(obj8);
12775 if (arg9 == NULL) SWIG_fail;
b411df4a 12776 temp9 = true;
d55e5bfc
RD
12777 }
12778 }
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 {
12787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12788 }
12789 {
12790 if (temp4)
12791 delete arg4;
12792 }
12793 {
12794 if (temp9)
12795 delete arg9;
12796 }
12797 return resultobj;
12798 fail:
12799 {
12800 if (temp4)
12801 delete arg4;
12802 }
12803 {
12804 if (temp9)
12805 delete arg9;
12806 }
12807 return NULL;
12808}
12809
12810
c370783e 12811static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12812 PyObject *resultobj;
12813 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12814 bool result;
12815 PyObject * obj0 = 0 ;
12816 char *kwnames[] = {
12817 (char *) "self", NULL
12818 };
12819
12820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = (bool)(arg1)->GetValue();
12826
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 {
12831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12832 }
12833 return resultobj;
12834 fail:
12835 return NULL;
12836}
12837
12838
c370783e 12839static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12840 PyObject *resultobj;
12841 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12842 bool arg2 ;
12843 PyObject * obj0 = 0 ;
12844 PyObject * obj1 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self",(char *) "value", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 12852 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
12853 if (PyErr_Occurred()) SWIG_fail;
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 (arg1)->SetValue(arg2);
12857
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 Py_INCREF(Py_None); resultobj = Py_None;
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
c370783e 12868static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
12869 PyObject *resultobj;
12870 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12871 wxVisualAttributes result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "variant", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12878 if (obj0) {
c370783e 12879 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 {
0439c23b 12883 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12886
12887 wxPyEndAllowThreads(__tstate);
110da5b0 12888 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12889 }
12890 {
12891 wxVisualAttributes * resultptr;
12892 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12893 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12894 }
12895 return resultobj;
12896 fail:
12897 return NULL;
12898}
12899
12900
c370783e 12901static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12902 PyObject *obj;
12903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12904 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12905 Py_INCREF(obj);
12906 return Py_BuildValue((char *)"");
12907}
c370783e 12908static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
12909 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12910 return 1;
12911}
12912
12913
12914static PyObject *_wrap_SliderNameStr_get() {
12915 PyObject *pyobj;
12916
12917 {
12918#if wxUSE_UNICODE
12919 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12920#else
12921 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12922#endif
12923 }
12924 return pyobj;
12925}
12926
12927
c370783e 12928static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12929 PyObject *resultobj;
12930 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
12931 int arg2 = (int) -1 ;
12932 int arg3 = (int) 0 ;
12933 int arg4 = (int) 0 ;
12934 int arg5 = (int) 100 ;
d55e5bfc
RD
12935 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12936 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12937 wxSize const &arg7_defvalue = wxDefaultSize ;
12938 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12939 long arg8 = (long) wxSL_HORIZONTAL ;
12940 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12941 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12942 wxString const &arg10_defvalue = wxPySliderNameStr ;
12943 wxString *arg10 = (wxString *) &arg10_defvalue ;
12944 wxSlider *result;
12945 wxPoint temp6 ;
12946 wxSize temp7 ;
b411df4a 12947 bool temp10 = false ;
d55e5bfc
RD
12948 PyObject * obj0 = 0 ;
12949 PyObject * obj1 = 0 ;
12950 PyObject * obj2 = 0 ;
12951 PyObject * obj3 = 0 ;
12952 PyObject * obj4 = 0 ;
12953 PyObject * obj5 = 0 ;
12954 PyObject * obj6 = 0 ;
12955 PyObject * obj7 = 0 ;
12956 PyObject * obj8 = 0 ;
12957 PyObject * obj9 = 0 ;
12958 char *kwnames[] = {
12959 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12960 };
12961
bfddbb17 12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
d55e5bfc
RD
12963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 12965 if (obj1) {
c370783e 12966 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 if (obj2) {
c370783e 12970 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 if (obj3) {
c370783e 12974 arg4 = (int)SWIG_As_int(obj3);
bfddbb17
RD
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 if (obj4) {
c370783e 12978 arg5 = (int)SWIG_As_int(obj4);
bfddbb17
RD
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
d55e5bfc
RD
12981 if (obj5) {
12982 {
12983 arg6 = &temp6;
12984 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12985 }
12986 }
12987 if (obj6) {
12988 {
12989 arg7 = &temp7;
12990 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12991 }
12992 }
12993 if (obj7) {
c370783e 12994 arg8 = (long)SWIG_As_long(obj7);
d55e5bfc
RD
12995 if (PyErr_Occurred()) SWIG_fail;
12996 }
12997 if (obj8) {
12998 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12999 SWIG_POINTER_EXCEPTION | 0)) == -1)
13000 SWIG_fail;
13001 if (arg9 == NULL) {
13002 PyErr_SetString(PyExc_TypeError,"null reference");
13003 SWIG_fail;
13004 }
13005 }
13006 if (obj9) {
13007 {
13008 arg10 = wxString_in_helper(obj9);
13009 if (arg10 == NULL) SWIG_fail;
b411df4a 13010 temp10 = true;
d55e5bfc
RD
13011 }
13012 }
13013 {
0439c23b 13014 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
13017
13018 wxPyEndAllowThreads(__tstate);
110da5b0 13019 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13020 }
13021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13022 {
13023 if (temp10)
13024 delete arg10;
13025 }
13026 return resultobj;
13027 fail:
13028 {
13029 if (temp10)
13030 delete arg10;
13031 }
13032 return NULL;
13033}
13034
13035
c370783e 13036static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13037 PyObject *resultobj;
13038 wxSlider *result;
13039 char *kwnames[] = {
13040 NULL
13041 };
13042
13043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
13044 {
0439c23b 13045 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13046 PyThreadState* __tstate = wxPyBeginAllowThreads();
13047 result = (wxSlider *)new wxSlider();
13048
13049 wxPyEndAllowThreads(__tstate);
110da5b0 13050 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13051 }
13052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13053 return resultobj;
13054 fail:
13055 return NULL;
13056}
13057
13058
c370783e 13059static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13060 PyObject *resultobj;
13061 wxSlider *arg1 = (wxSlider *) 0 ;
13062 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
13063 int arg3 = (int) -1 ;
13064 int arg4 = (int) 0 ;
13065 int arg5 = (int) 0 ;
13066 int arg6 = (int) 100 ;
d55e5bfc
RD
13067 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13068 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13069 wxSize const &arg8_defvalue = wxDefaultSize ;
13070 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
13071 long arg9 = (long) wxSL_HORIZONTAL ;
13072 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13073 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13074 wxString const &arg11_defvalue = wxPySliderNameStr ;
13075 wxString *arg11 = (wxString *) &arg11_defvalue ;
13076 bool result;
13077 wxPoint temp7 ;
13078 wxSize temp8 ;
b411df4a 13079 bool temp11 = false ;
d55e5bfc
RD
13080 PyObject * obj0 = 0 ;
13081 PyObject * obj1 = 0 ;
13082 PyObject * obj2 = 0 ;
13083 PyObject * obj3 = 0 ;
13084 PyObject * obj4 = 0 ;
13085 PyObject * obj5 = 0 ;
13086 PyObject * obj6 = 0 ;
13087 PyObject * obj7 = 0 ;
13088 PyObject * obj8 = 0 ;
13089 PyObject * obj9 = 0 ;
13090 PyObject * obj10 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13093 };
13094
bfddbb17 13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
d55e5bfc
RD
13096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 13100 if (obj2) {
c370783e 13101 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 if (obj3) {
c370783e 13105 arg4 = (int)SWIG_As_int(obj3);
bfddbb17
RD
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 if (obj4) {
c370783e 13109 arg5 = (int)SWIG_As_int(obj4);
bfddbb17
RD
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 if (obj5) {
c370783e 13113 arg6 = (int)SWIG_As_int(obj5);
bfddbb17
RD
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
d55e5bfc
RD
13116 if (obj6) {
13117 {
13118 arg7 = &temp7;
13119 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13120 }
13121 }
13122 if (obj7) {
13123 {
13124 arg8 = &temp8;
13125 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
13126 }
13127 }
13128 if (obj8) {
c370783e 13129 arg9 = (long)SWIG_As_long(obj8);
d55e5bfc
RD
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 if (obj9) {
13133 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
13134 SWIG_POINTER_EXCEPTION | 0)) == -1)
13135 SWIG_fail;
13136 if (arg10 == NULL) {
13137 PyErr_SetString(PyExc_TypeError,"null reference");
13138 SWIG_fail;
13139 }
13140 }
13141 if (obj10) {
13142 {
13143 arg11 = wxString_in_helper(obj10);
13144 if (arg11 == NULL) SWIG_fail;
b411df4a 13145 temp11 = true;
d55e5bfc
RD
13146 }
13147 }
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13151
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 {
13156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13157 }
13158 {
13159 if (temp11)
13160 delete arg11;
13161 }
13162 return resultobj;
13163 fail:
13164 {
13165 if (temp11)
13166 delete arg11;
13167 }
13168 return NULL;
13169}
13170
13171
c370783e 13172static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13173 PyObject *resultobj;
13174 wxSlider *arg1 = (wxSlider *) 0 ;
13175 int result;
13176 PyObject * obj0 = 0 ;
13177 char *kwnames[] = {
13178 (char *) "self", NULL
13179 };
13180
13181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
13182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13184 {
13185 PyThreadState* __tstate = wxPyBeginAllowThreads();
13186 result = (int)((wxSlider const *)arg1)->GetValue();
13187
13188 wxPyEndAllowThreads(__tstate);
13189 if (PyErr_Occurred()) SWIG_fail;
13190 }
c370783e 13191 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13192 return resultobj;
13193 fail:
13194 return NULL;
13195}
13196
13197
c370783e 13198static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13199 PyObject *resultobj;
13200 wxSlider *arg1 = (wxSlider *) 0 ;
13201 int arg2 ;
13202 PyObject * obj0 = 0 ;
13203 PyObject * obj1 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "self",(char *) "value", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13211 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13212 if (PyErr_Occurred()) SWIG_fail;
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 (arg1)->SetValue(arg2);
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
13220 Py_INCREF(Py_None); resultobj = Py_None;
13221 return resultobj;
13222 fail:
13223 return NULL;
13224}
13225
13226
c370783e 13227static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13228 PyObject *resultobj;
13229 wxSlider *arg1 = (wxSlider *) 0 ;
13230 int arg2 ;
13231 int arg3 ;
13232 PyObject * obj0 = 0 ;
13233 PyObject * obj1 = 0 ;
13234 PyObject * obj2 = 0 ;
13235 char *kwnames[] = {
13236 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13237 };
13238
13239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13242 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 13243 if (PyErr_Occurred()) SWIG_fail;
c370783e 13244 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13245 if (PyErr_Occurred()) SWIG_fail;
13246 {
13247 PyThreadState* __tstate = wxPyBeginAllowThreads();
13248 (arg1)->SetRange(arg2,arg3);
13249
13250 wxPyEndAllowThreads(__tstate);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 Py_INCREF(Py_None); resultobj = Py_None;
13254 return resultobj;
13255 fail:
13256 return NULL;
13257}
13258
13259
c370783e 13260static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13261 PyObject *resultobj;
13262 wxSlider *arg1 = (wxSlider *) 0 ;
13263 int result;
13264 PyObject * obj0 = 0 ;
13265 char *kwnames[] = {
13266 (char *) "self", NULL
13267 };
13268
13269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13272 {
13273 PyThreadState* __tstate = wxPyBeginAllowThreads();
13274 result = (int)((wxSlider const *)arg1)->GetMin();
13275
13276 wxPyEndAllowThreads(__tstate);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
c370783e 13279 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13280 return resultobj;
13281 fail:
13282 return NULL;
13283}
13284
13285
c370783e 13286static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13287 PyObject *resultobj;
13288 wxSlider *arg1 = (wxSlider *) 0 ;
13289 int result;
13290 PyObject * obj0 = 0 ;
13291 char *kwnames[] = {
13292 (char *) "self", NULL
13293 };
13294
13295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (int)((wxSlider const *)arg1)->GetMax();
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
c370783e 13305 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13306 return resultobj;
13307 fail:
13308 return NULL;
13309}
13310
13311
c370783e 13312static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13313 PyObject *resultobj;
13314 wxSlider *arg1 = (wxSlider *) 0 ;
13315 int arg2 ;
13316 PyObject * obj0 = 0 ;
13317 PyObject * obj1 = 0 ;
13318 char *kwnames[] = {
13319 (char *) "self",(char *) "minValue", NULL
13320 };
13321
13322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13325 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13326 if (PyErr_Occurred()) SWIG_fail;
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 (arg1)->SetMin(arg2);
13330
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
13334 Py_INCREF(Py_None); resultobj = Py_None;
13335 return resultobj;
13336 fail:
13337 return NULL;
13338}
13339
13340
c370783e 13341static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13342 PyObject *resultobj;
13343 wxSlider *arg1 = (wxSlider *) 0 ;
13344 int arg2 ;
13345 PyObject * obj0 = 0 ;
13346 PyObject * obj1 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self",(char *) "maxValue", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13354 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13355 if (PyErr_Occurred()) SWIG_fail;
13356 {
13357 PyThreadState* __tstate = wxPyBeginAllowThreads();
13358 (arg1)->SetMax(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
c370783e 13370static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13371 PyObject *resultobj;
13372 wxSlider *arg1 = (wxSlider *) 0 ;
13373 int arg2 ;
13374 PyObject * obj0 = 0 ;
13375 PyObject * obj1 = 0 ;
13376 char *kwnames[] = {
13377 (char *) "self",(char *) "lineSize", NULL
13378 };
13379
13380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13383 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13384 if (PyErr_Occurred()) SWIG_fail;
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 (arg1)->SetLineSize(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
c370783e 13399static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13400 PyObject *resultobj;
13401 wxSlider *arg1 = (wxSlider *) 0 ;
13402 int arg2 ;
13403 PyObject * obj0 = 0 ;
13404 PyObject * obj1 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self",(char *) "pageSize", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13412 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13413 if (PyErr_Occurred()) SWIG_fail;
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 (arg1)->SetPageSize(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
c370783e 13428static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13429 PyObject *resultobj;
13430 wxSlider *arg1 = (wxSlider *) 0 ;
13431 int result;
13432 PyObject * obj0 = 0 ;
13433 char *kwnames[] = {
13434 (char *) "self", NULL
13435 };
13436
13437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (int)((wxSlider const *)arg1)->GetLineSize();
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
c370783e 13447 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13448 return resultobj;
13449 fail:
13450 return NULL;
13451}
13452
13453
c370783e 13454static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13455 PyObject *resultobj;
13456 wxSlider *arg1 = (wxSlider *) 0 ;
13457 int result;
13458 PyObject * obj0 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (int)((wxSlider const *)arg1)->GetPageSize();
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
c370783e 13473 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13474 return resultobj;
13475 fail:
13476 return NULL;
13477}
13478
13479
c370783e 13480static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13481 PyObject *resultobj;
13482 wxSlider *arg1 = (wxSlider *) 0 ;
13483 int arg2 ;
13484 PyObject * obj0 = 0 ;
13485 PyObject * obj1 = 0 ;
13486 char *kwnames[] = {
13487 (char *) "self",(char *) "lenPixels", NULL
13488 };
13489
13490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13493 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13494 if (PyErr_Occurred()) SWIG_fail;
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 (arg1)->SetThumbLength(arg2);
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 Py_INCREF(Py_None); resultobj = Py_None;
13503 return resultobj;
13504 fail:
13505 return NULL;
13506}
13507
13508
c370783e 13509static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13510 PyObject *resultobj;
13511 wxSlider *arg1 = (wxSlider *) 0 ;
13512 int result;
13513 PyObject * obj0 = 0 ;
13514 char *kwnames[] = {
13515 (char *) "self", NULL
13516 };
13517
13518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
c370783e 13528 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13529 return resultobj;
13530 fail:
13531 return NULL;
13532}
13533
13534
c370783e 13535static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13536 PyObject *resultobj;
13537 wxSlider *arg1 = (wxSlider *) 0 ;
13538 int arg2 ;
13539 int arg3 = (int) 1 ;
13540 PyObject * obj0 = 0 ;
13541 PyObject * obj1 = 0 ;
13542 PyObject * obj2 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self",(char *) "n",(char *) "pos", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13550 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13551 if (PyErr_Occurred()) SWIG_fail;
13552 if (obj2) {
c370783e 13553 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 (arg1)->SetTickFreq(arg2,arg3);
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 Py_INCREF(Py_None); resultobj = Py_None;
13564 return resultobj;
13565 fail:
13566 return NULL;
13567}
13568
13569
c370783e 13570static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13571 PyObject *resultobj;
13572 wxSlider *arg1 = (wxSlider *) 0 ;
13573 int result;
13574 PyObject * obj0 = 0 ;
13575 char *kwnames[] = {
13576 (char *) "self", NULL
13577 };
13578
13579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13585
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
c370783e 13589 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13590 return resultobj;
13591 fail:
13592 return NULL;
13593}
13594
13595
c370783e 13596static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13597 PyObject *resultobj;
13598 wxSlider *arg1 = (wxSlider *) 0 ;
13599 PyObject * obj0 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 (arg1)->ClearTicks();
13610
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 Py_INCREF(Py_None); resultobj = Py_None;
13615 return resultobj;
13616 fail:
13617 return NULL;
13618}
13619
13620
c370783e 13621static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13622 PyObject *resultobj;
13623 wxSlider *arg1 = (wxSlider *) 0 ;
13624 int arg2 ;
13625 PyObject * obj0 = 0 ;
13626 PyObject * obj1 = 0 ;
13627 char *kwnames[] = {
13628 (char *) "self",(char *) "tickPos", NULL
13629 };
13630
13631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13634 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13635 if (PyErr_Occurred()) SWIG_fail;
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 (arg1)->SetTick(arg2);
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
c370783e 13650static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13651 PyObject *resultobj;
13652 wxSlider *arg1 = (wxSlider *) 0 ;
13653 PyObject * obj0 = 0 ;
13654 char *kwnames[] = {
13655 (char *) "self", NULL
13656 };
13657
13658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13661 {
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 (arg1)->ClearSel();
13664
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 Py_INCREF(Py_None); resultobj = Py_None;
13669 return resultobj;
13670 fail:
13671 return NULL;
13672}
13673
13674
c370783e 13675static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13676 PyObject *resultobj;
13677 wxSlider *arg1 = (wxSlider *) 0 ;
13678 int result;
13679 PyObject * obj0 = 0 ;
13680 char *kwnames[] = {
13681 (char *) "self", NULL
13682 };
13683
13684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13687 {
13688 PyThreadState* __tstate = wxPyBeginAllowThreads();
13689 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13690
13691 wxPyEndAllowThreads(__tstate);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 }
c370783e 13694 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13695 return resultobj;
13696 fail:
13697 return NULL;
13698}
13699
13700
c370783e 13701static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13702 PyObject *resultobj;
13703 wxSlider *arg1 = (wxSlider *) 0 ;
13704 int result;
13705 PyObject * obj0 = 0 ;
13706 char *kwnames[] = {
13707 (char *) "self", NULL
13708 };
13709
13710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 result = (int)((wxSlider const *)arg1)->GetSelStart();
13716
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
c370783e 13720 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13721 return resultobj;
13722 fail:
13723 return NULL;
13724}
13725
13726
c370783e 13727static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13728 PyObject *resultobj;
13729 wxSlider *arg1 = (wxSlider *) 0 ;
13730 int arg2 ;
13731 int arg3 ;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj1 = 0 ;
13734 PyObject * obj2 = 0 ;
13735 char *kwnames[] = {
13736 (char *) "self",(char *) "min",(char *) "max", NULL
13737 };
13738
13739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 13742 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 13743 if (PyErr_Occurred()) SWIG_fail;
c370783e 13744 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13745 if (PyErr_Occurred()) SWIG_fail;
13746 {
13747 PyThreadState* __tstate = wxPyBeginAllowThreads();
13748 (arg1)->SetSelection(arg2,arg3);
13749
13750 wxPyEndAllowThreads(__tstate);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 Py_INCREF(Py_None); resultobj = Py_None;
13754 return resultobj;
13755 fail:
13756 return NULL;
13757}
13758
13759
c370783e 13760static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
13761 PyObject *resultobj;
13762 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13763 wxVisualAttributes result;
13764 PyObject * obj0 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "variant", NULL
13767 };
13768
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13770 if (obj0) {
c370783e 13771 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 {
0439c23b 13775 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13778
13779 wxPyEndAllowThreads(__tstate);
110da5b0 13780 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13781 }
13782 {
13783 wxVisualAttributes * resultptr;
13784 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13785 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13786 }
13787 return resultobj;
13788 fail:
13789 return NULL;
13790}
13791
13792
c370783e 13793static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13794 PyObject *obj;
13795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13796 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13797 Py_INCREF(obj);
13798 return Py_BuildValue((char *)"");
13799}
c370783e 13800static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13801 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13802 return 1;
13803}
13804
13805
13806static PyObject *_wrap_ToggleButtonNameStr_get() {
13807 PyObject *pyobj;
13808
13809 {
13810#if wxUSE_UNICODE
13811 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13812#else
13813 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13814#endif
13815 }
13816 return pyobj;
13817}
13818
13819
c370783e 13820static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13821 PyObject *resultobj;
13822 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
13823 int arg2 = (int) -1 ;
13824 wxString const &arg3_defvalue = wxPyEmptyString ;
13825 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13826 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13827 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13828 wxSize const &arg5_defvalue = wxDefaultSize ;
13829 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13830 long arg6 = (long) 0 ;
13831 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13832 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13833 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13834 wxString *arg8 = (wxString *) &arg8_defvalue ;
13835 wxToggleButton *result;
b411df4a 13836 bool temp3 = false ;
d55e5bfc
RD
13837 wxPoint temp4 ;
13838 wxSize temp5 ;
b411df4a 13839 bool temp8 = false ;
d55e5bfc
RD
13840 PyObject * obj0 = 0 ;
13841 PyObject * obj1 = 0 ;
13842 PyObject * obj2 = 0 ;
13843 PyObject * obj3 = 0 ;
13844 PyObject * obj4 = 0 ;
13845 PyObject * obj5 = 0 ;
13846 PyObject * obj6 = 0 ;
13847 PyObject * obj7 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13850 };
13851
bfddbb17 13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
13853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 13855 if (obj1) {
c370783e 13856 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 if (obj2) {
13860 {
13861 arg3 = wxString_in_helper(obj2);
13862 if (arg3 == NULL) SWIG_fail;
b411df4a 13863 temp3 = true;
bfddbb17 13864 }
d55e5bfc
RD
13865 }
13866 if (obj3) {
13867 {
13868 arg4 = &temp4;
13869 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13870 }
13871 }
13872 if (obj4) {
13873 {
13874 arg5 = &temp5;
13875 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13876 }
13877 }
13878 if (obj5) {
c370783e 13879 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 if (obj6) {
13883 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13884 SWIG_POINTER_EXCEPTION | 0)) == -1)
13885 SWIG_fail;
13886 if (arg7 == NULL) {
13887 PyErr_SetString(PyExc_TypeError,"null reference");
13888 SWIG_fail;
13889 }
13890 }
13891 if (obj7) {
13892 {
13893 arg8 = wxString_in_helper(obj7);
13894 if (arg8 == NULL) SWIG_fail;
b411df4a 13895 temp8 = true;
d55e5bfc
RD
13896 }
13897 }
13898 {
0439c23b 13899 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13902
13903 wxPyEndAllowThreads(__tstate);
110da5b0 13904 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13905 }
13906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13907 {
13908 if (temp3)
13909 delete arg3;
13910 }
13911 {
13912 if (temp8)
13913 delete arg8;
13914 }
13915 return resultobj;
13916 fail:
13917 {
13918 if (temp3)
13919 delete arg3;
13920 }
13921 {
13922 if (temp8)
13923 delete arg8;
13924 }
13925 return NULL;
13926}
13927
13928
c370783e 13929static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13930 PyObject *resultobj;
13931 wxToggleButton *result;
13932 char *kwnames[] = {
13933 NULL
13934 };
13935
13936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13937 {
0439c23b 13938 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 result = (wxToggleButton *)new wxToggleButton();
13941
13942 wxPyEndAllowThreads(__tstate);
110da5b0 13943 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13944 }
13945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13946 return resultobj;
13947 fail:
13948 return NULL;
13949}
13950
13951
c370783e 13952static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
13953 PyObject *resultobj;
13954 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13955 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
13956 int arg3 = (int) -1 ;
13957 wxString const &arg4_defvalue = wxPyEmptyString ;
13958 wxString *arg4 = (wxString *) &arg4_defvalue ;
121b9a67
RD
13959 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13960 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13961 wxSize const &arg6_defvalue = wxDefaultSize ;
13962 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13963 long arg7 = (long) 0 ;
13964 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13965 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13966 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13967 wxString *arg9 = (wxString *) &arg9_defvalue ;
13968 bool result;
b411df4a 13969 bool temp4 = false ;
121b9a67
RD
13970 wxPoint temp5 ;
13971 wxSize temp6 ;
b411df4a 13972 bool temp9 = false ;
121b9a67
RD
13973 PyObject * obj0 = 0 ;
13974 PyObject * obj1 = 0 ;
13975 PyObject * obj2 = 0 ;
13976 PyObject * obj3 = 0 ;
13977 PyObject * obj4 = 0 ;
13978 PyObject * obj5 = 0 ;
13979 PyObject * obj6 = 0 ;
13980 PyObject * obj7 = 0 ;
13981 PyObject * obj8 = 0 ;
13982 char *kwnames[] = {
13983 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13984 };
13985
bfddbb17 13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
121b9a67
RD
13987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 13991 if (obj2) {
c370783e 13992 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 if (obj3) {
13996 {
13997 arg4 = wxString_in_helper(obj3);
13998 if (arg4 == NULL) SWIG_fail;
b411df4a 13999 temp4 = true;
bfddbb17 14000 }
121b9a67
RD
14001 }
14002 if (obj4) {
14003 {
14004 arg5 = &temp5;
14005 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14006 }
14007 }
14008 if (obj5) {
14009 {
14010 arg6 = &temp6;
14011 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14012 }
14013 }
14014 if (obj6) {
c370783e 14015 arg7 = (long)SWIG_As_long(obj6);
121b9a67
RD
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 if (obj7) {
14019 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
14020 SWIG_POINTER_EXCEPTION | 0)) == -1)
14021 SWIG_fail;
14022 if (arg8 == NULL) {
14023 PyErr_SetString(PyExc_TypeError,"null reference");
14024 SWIG_fail;
14025 }
14026 }
14027 if (obj8) {
14028 {
14029 arg9 = wxString_in_helper(obj8);
14030 if (arg9 == NULL) SWIG_fail;
b411df4a 14031 temp9 = true;
121b9a67
RD
14032 }
14033 }
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 {
14042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14043 }
14044 {
14045 if (temp4)
14046 delete arg4;
14047 }
14048 {
14049 if (temp9)
14050 delete arg9;
14051 }
14052 return resultobj;
14053 fail:
14054 {
14055 if (temp4)
14056 delete arg4;
14057 }
14058 {
14059 if (temp9)
14060 delete arg9;
14061 }
14062 return NULL;
14063}
14064
14065
c370783e 14066static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
14067 PyObject *resultobj;
14068 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14069 bool arg2 ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "self",(char *) "value", NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14079 arg2 = (bool)SWIG_As_bool(obj1);
121b9a67
RD
14080 if (PyErr_Occurred()) SWIG_fail;
14081 {
14082 PyThreadState* __tstate = wxPyBeginAllowThreads();
14083 (arg1)->SetValue(arg2);
14084
14085 wxPyEndAllowThreads(__tstate);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 Py_INCREF(Py_None); resultobj = Py_None;
14089 return resultobj;
14090 fail:
14091 return NULL;
14092}
14093
14094
c370783e 14095static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
14096 PyObject *resultobj;
14097 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14098 bool result;
14099 PyObject * obj0 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "self", NULL
14102 };
14103
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
14105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 result = (bool)((wxToggleButton const *)arg1)->GetValue();
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 {
14115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14116 }
14117 return resultobj;
14118 fail:
14119 return NULL;
14120}
14121
14122
c370783e 14123static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
14124 PyObject *resultobj;
14125 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14126 wxString *arg2 = 0 ;
b411df4a 14127 bool temp2 = false ;
121b9a67
RD
14128 PyObject * obj0 = 0 ;
14129 PyObject * obj1 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "self",(char *) "label", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
14135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14137 {
14138 arg2 = wxString_in_helper(obj1);
14139 if (arg2 == NULL) SWIG_fail;
b411df4a 14140 temp2 = true;
121b9a67
RD
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 (arg1)->SetLabel((wxString const &)*arg2);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 Py_INCREF(Py_None); resultobj = Py_None;
14150 {
14151 if (temp2)
14152 delete arg2;
14153 }
14154 return resultobj;
14155 fail:
14156 {
14157 if (temp2)
14158 delete arg2;
14159 }
14160 return NULL;
14161}
14162
14163
c370783e 14164static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
14165 PyObject *resultobj;
14166 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14167 wxVisualAttributes result;
14168 PyObject * obj0 = 0 ;
14169 char *kwnames[] = {
14170 (char *) "variant", NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14174 if (obj0) {
c370783e 14175 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 {
0439c23b 14179 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14180 PyThreadState* __tstate = wxPyBeginAllowThreads();
14181 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14182
14183 wxPyEndAllowThreads(__tstate);
110da5b0 14184 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14185 }
14186 {
14187 wxVisualAttributes * resultptr;
14188 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14190 }
14191 return resultobj;
14192 fail:
14193 return NULL;
14194}
14195
14196
c370783e 14197static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14198 PyObject *obj;
14199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14200 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14201 Py_INCREF(obj);
14202 return Py_BuildValue((char *)"");
14203}
c370783e 14204static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
d55e5bfc
RD
14205 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14206 return 1;
14207}
14208
14209
14210static PyObject *_wrap_NOTEBOOK_NAME_get() {
14211 PyObject *pyobj;
14212
14213 {
14214#if wxUSE_UNICODE
14215 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14216#else
14217 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14218#endif
14219 }
14220 return pyobj;
14221}
14222
14223
6e0de3df 14224static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14225 PyObject *resultobj;
6e0de3df 14226 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14227 size_t result;
14228 PyObject * obj0 = 0 ;
14229 char *kwnames[] = {
14230 (char *) "self", NULL
14231 };
14232
6e0de3df
RD
14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
14234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 14238 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
c370783e 14243 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
14244 return resultobj;
14245 fail:
14246 return NULL;
14247}
14248
14249
6e0de3df 14250static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14251 PyObject *resultobj;
6e0de3df 14252 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14253 size_t arg2 ;
14254 wxWindow *result;
14255 PyObject * obj0 = 0 ;
14256 PyObject * obj1 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self",(char *) "n", NULL
14259 };
14260
6e0de3df
RD
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
14262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc 14263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14264 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
14265 if (PyErr_Occurred()) SWIG_fail;
14266 {
14267 PyThreadState* __tstate = wxPyBeginAllowThreads();
14268 result = (wxWindow *)(arg1)->GetPage(arg2);
14269
14270 wxPyEndAllowThreads(__tstate);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 {
412d302d 14274 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
14275 }
14276 return resultobj;
14277 fail:
14278 return NULL;
14279}
14280
14281
6e0de3df 14282static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 14283 PyObject *resultobj;
6e0de3df 14284 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
14285 wxWindow *result;
14286 PyObject * obj0 = 0 ;
14287 char *kwnames[] = {
14288 (char *) "self", NULL
14289 };
14290
6e0de3df
RD
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
14292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
8fb0e70a
RD
14293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 14296 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 {
14302 resultobj = wxPyMake_wxObject(result, 0);
14303 }
14304 return resultobj;
14305 fail:
14306 return NULL;
14307}
14308
14309
6e0de3df 14310static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14311 PyObject *resultobj;
6e0de3df 14312 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14313 int result;
14314 PyObject * obj0 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self", NULL
14317 };
14318
6e0de3df
RD
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
14320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 14324 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
14325
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
c370783e 14329 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14330 return resultobj;
14331 fail:
14332 return NULL;
14333}
14334
14335
6e0de3df 14336static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14337 PyObject *resultobj;
6e0de3df 14338 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14339 size_t arg2 ;
14340 wxString *arg3 = 0 ;
14341 bool result;
b411df4a 14342 bool temp3 = false ;
d55e5bfc
RD
14343 PyObject * obj0 = 0 ;
14344 PyObject * obj1 = 0 ;
14345 PyObject * obj2 = 0 ;
14346 char *kwnames[] = {
14347 (char *) "self",(char *) "n",(char *) "strText", NULL
14348 };
14349
6e0de3df
RD
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc 14352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14353 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
14354 if (PyErr_Occurred()) SWIG_fail;
14355 {
14356 arg3 = wxString_in_helper(obj2);
14357 if (arg3 == NULL) SWIG_fail;
b411df4a 14358 temp3 = true;
d55e5bfc
RD
14359 }
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 {
14368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14369 }
14370 {
14371 if (temp3)
14372 delete arg3;
14373 }
14374 return resultobj;
14375 fail:
14376 {
14377 if (temp3)
14378 delete arg3;
14379 }
14380 return NULL;
14381}
14382
14383
6e0de3df 14384static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14385 PyObject *resultobj;
6e0de3df 14386 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14387 size_t arg2 ;
14388 wxString result;
14389 PyObject * obj0 = 0 ;
14390 PyObject * obj1 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "self",(char *) "n", NULL
14393 };
14394
6e0de3df
RD
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc 14397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14398 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
14399 if (PyErr_Occurred()) SWIG_fail;
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 14402 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 {
14408#if wxUSE_UNICODE
14409 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14410#else
14411 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14412#endif
14413 }
14414 return resultobj;
14415 fail:
14416 return NULL;
14417}
14418
14419
6e0de3df 14420static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14421 PyObject *resultobj;
6e0de3df 14422 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14423 wxImageList *arg2 = (wxImageList *) 0 ;
14424 PyObject * obj0 = 0 ;
14425 PyObject * obj1 = 0 ;
14426 char *kwnames[] = {
14427 (char *) "self",(char *) "imageList", NULL
14428 };
14429
6e0de3df
RD
14430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14435 {
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
14437 (arg1)->SetImageList(arg2);
14438
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
14442 Py_INCREF(Py_None); resultobj = Py_None;
14443 return resultobj;
14444 fail:
14445 return NULL;
14446}
14447
14448
6e0de3df 14449static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14450 PyObject *resultobj;
6e0de3df 14451 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14452 wxImageList *arg2 = (wxImageList *) 0 ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self",(char *) "imageList", NULL
14457 };
14458
6e0de3df
RD
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14463 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 (arg1)->AssignImageList(arg2);
14467
14468 wxPyEndAllowThreads(__tstate);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 Py_INCREF(Py_None); resultobj = Py_None;
14472 return resultobj;
14473 fail:
14474 return NULL;
14475}
14476
14477
6e0de3df 14478static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14479 PyObject *resultobj;
6e0de3df 14480 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14481 wxImageList *result;
14482 PyObject * obj0 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self", NULL
14485 };
14486
6e0de3df
RD
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 14492 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 {
412d302d 14498 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
14499 }
14500 return resultobj;
14501 fail:
14502 return NULL;
14503}
14504
14505
6e0de3df 14506static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14507 PyObject *resultobj;
6e0de3df 14508 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14509 size_t arg2 ;
14510 int result;
14511 PyObject * obj0 = 0 ;
14512 PyObject * obj1 = 0 ;
14513 char *kwnames[] = {
14514 (char *) "self",(char *) "n", NULL
14515 };
14516
6e0de3df
RD
14517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc 14519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14520 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
14521 if (PyErr_Occurred()) SWIG_fail;
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 14524 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
c370783e 14529 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14530 return resultobj;
14531 fail:
14532 return NULL;
14533}
14534
14535
6e0de3df 14536static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14537 PyObject *resultobj;
6e0de3df 14538 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14539 size_t arg2 ;
14540 int arg3 ;
14541 bool result;
14542 PyObject * obj0 = 0 ;
14543 PyObject * obj1 = 0 ;
14544 PyObject * obj2 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self",(char *) "n",(char *) "imageId", NULL
14547 };
14548
6e0de3df
RD
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc 14551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14552 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 14553 if (PyErr_Occurred()) SWIG_fail;
c370783e 14554 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
14555 if (PyErr_Occurred()) SWIG_fail;
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14559
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 {
14564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14565 }
14566 return resultobj;
14567 fail:
14568 return NULL;
14569}
14570
14571
6e0de3df 14572static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14573 PyObject *resultobj;
6e0de3df 14574 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14575 wxSize *arg2 = 0 ;
14576 wxSize temp2 ;
14577 PyObject * obj0 = 0 ;
14578 PyObject * obj1 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self",(char *) "size", NULL
14581 };
14582
6e0de3df
RD
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14586 {
14587 arg2 = &temp2;
14588 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14589 }
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 (arg1)->SetPageSize((wxSize const &)*arg2);
14593
14594 wxPyEndAllowThreads(__tstate);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
14597 Py_INCREF(Py_None); resultobj = Py_None;
14598 return resultobj;
14599 fail:
14600 return NULL;
14601}
14602
14603
6e0de3df 14604static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14605 PyObject *resultobj;
6e0de3df 14606 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14607 wxSize *arg2 = 0 ;
14608 wxSize result;
14609 wxSize temp2 ;
14610 PyObject * obj0 = 0 ;
14611 PyObject * obj1 = 0 ;
14612 char *kwnames[] = {
14613 (char *) "self",(char *) "sizePage", NULL
14614 };
14615
6e0de3df
RD
14616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14619 {
14620 arg2 = &temp2;
14621 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14622 }
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 14625 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 {
14631 wxSize * resultptr;
14632 resultptr = new wxSize((wxSize &) result);
14633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14634 }
14635 return resultobj;
14636 fail:
14637 return NULL;
14638}
14639
14640
6e0de3df 14641static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14642 PyObject *resultobj;
6e0de3df 14643 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14644 size_t arg2 ;
14645 bool result;
14646 PyObject * obj0 = 0 ;
14647 PyObject * obj1 = 0 ;
14648 char *kwnames[] = {
14649 (char *) "self",(char *) "n", NULL
14650 };
14651
6e0de3df
RD
14652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc 14654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14655 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
14656 if (PyErr_Occurred()) SWIG_fail;
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 result = (bool)(arg1)->DeletePage(arg2);
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 {
14665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14666 }
14667 return resultobj;
14668 fail:
14669 return NULL;
14670}
14671
14672
6e0de3df 14673static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14674 PyObject *resultobj;
6e0de3df 14675 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14676 size_t arg2 ;
14677 bool result;
14678 PyObject * obj0 = 0 ;
14679 PyObject * obj1 = 0 ;
14680 char *kwnames[] = {
14681 (char *) "self",(char *) "n", NULL
14682 };
14683
6e0de3df
RD
14684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc 14686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14687 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
14688 if (PyErr_Occurred()) SWIG_fail;
14689 {
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 result = (bool)(arg1)->RemovePage(arg2);
14692
14693 wxPyEndAllowThreads(__tstate);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 {
14697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14698 }
14699 return resultobj;
14700 fail:
14701 return NULL;
14702}
14703
14704
6e0de3df 14705static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14706 PyObject *resultobj;
6e0de3df 14707 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14708 bool result;
14709 PyObject * obj0 = 0 ;
14710 char *kwnames[] = {
14711 (char *) "self", NULL
14712 };
14713
6e0de3df
RD
14714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
14715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14717 {
14718 PyThreadState* __tstate = wxPyBeginAllowThreads();
14719 result = (bool)(arg1)->DeleteAllPages();
14720
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 {
14725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14726 }
14727 return resultobj;
14728 fail:
14729 return NULL;
14730}
14731
14732
6e0de3df 14733static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14734 PyObject *resultobj;
6e0de3df 14735 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14736 wxWindow *arg2 = (wxWindow *) 0 ;
14737 wxString *arg3 = 0 ;
b411df4a 14738 bool arg4 = (bool) false ;
d55e5bfc
RD
14739 int arg5 = (int) -1 ;
14740 bool result;
b411df4a 14741 bool temp3 = false ;
d55e5bfc
RD
14742 PyObject * obj0 = 0 ;
14743 PyObject * obj1 = 0 ;
14744 PyObject * obj2 = 0 ;
14745 PyObject * obj3 = 0 ;
14746 PyObject * obj4 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14749 };
14750
6e0de3df
RD
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14756 {
14757 arg3 = wxString_in_helper(obj2);
14758 if (arg3 == NULL) SWIG_fail;
b411df4a 14759 temp3 = true;
d55e5bfc
RD
14760 }
14761 if (obj3) {
c370783e 14762 arg4 = (bool)SWIG_As_bool(obj3);
d55e5bfc
RD
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 if (obj4) {
c370783e 14766 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 {
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14772
14773 wxPyEndAllowThreads(__tstate);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 {
14777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14778 }
14779 {
14780 if (temp3)
14781 delete arg3;
14782 }
14783 return resultobj;
14784 fail:
14785 {
14786 if (temp3)
14787 delete arg3;
14788 }
14789 return NULL;
14790}
14791
14792
6e0de3df 14793static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14794 PyObject *resultobj;
6e0de3df 14795 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14796 size_t arg2 ;
14797 wxWindow *arg3 = (wxWindow *) 0 ;
14798 wxString *arg4 = 0 ;
b411df4a 14799 bool arg5 = (bool) false ;
d55e5bfc
RD
14800 int arg6 = (int) -1 ;
14801 bool result;
b411df4a 14802 bool temp4 = false ;
d55e5bfc
RD
14803 PyObject * obj0 = 0 ;
14804 PyObject * obj1 = 0 ;
14805 PyObject * obj2 = 0 ;
14806 PyObject * obj3 = 0 ;
14807 PyObject * obj4 = 0 ;
14808 PyObject * obj5 = 0 ;
14809 char *kwnames[] = {
14810 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14811 };
14812
6e0de3df
RD
14813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc 14815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14816 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
14817 if (PyErr_Occurred()) SWIG_fail;
14818 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14820 {
14821 arg4 = wxString_in_helper(obj3);
14822 if (arg4 == NULL) SWIG_fail;
b411df4a 14823 temp4 = true;
d55e5bfc
RD
14824 }
14825 if (obj4) {
c370783e 14826 arg5 = (bool)SWIG_As_bool(obj4);
d55e5bfc
RD
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 if (obj5) {
c370783e 14830 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
14831 if (PyErr_Occurred()) SWIG_fail;
14832 }
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14836
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 {
14841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14842 }
14843 {
14844 if (temp4)
14845 delete arg4;
14846 }
14847 return resultobj;
14848 fail:
14849 {
14850 if (temp4)
14851 delete arg4;
14852 }
14853 return NULL;
14854}
14855
14856
6e0de3df 14857static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14858 PyObject *resultobj;
6e0de3df 14859 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
14860 size_t arg2 ;
14861 int result;
14862 PyObject * obj0 = 0 ;
14863 PyObject * obj1 = 0 ;
14864 char *kwnames[] = {
14865 (char *) "self",(char *) "n", NULL
14866 };
14867
6e0de3df
RD
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc 14870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 14871 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
14872 if (PyErr_Occurred()) SWIG_fail;
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 result = (int)(arg1)->SetSelection(arg2);
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
c370783e 14880 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14881 return resultobj;
14882 fail:
14883 return NULL;
14884}
14885
14886
6e0de3df 14887static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 14888 PyObject *resultobj;
6e0de3df 14889 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
b411df4a 14890 bool arg2 = (bool) true ;
d55e5bfc
RD
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self",(char *) "forward", NULL
14895 };
14896
6e0de3df
RD
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14900 if (obj1) {
c370783e 14901 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 {
14905 PyThreadState* __tstate = wxPyBeginAllowThreads();
14906 (arg1)->AdvanceSelection(arg2);
14907
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 Py_INCREF(Py_None); resultobj = Py_None;
14912 return resultobj;
14913 fail:
14914 return NULL;
14915}
14916
14917
6e0de3df 14918static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
14919 PyObject *resultobj;
14920 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14921 wxVisualAttributes result;
14922 PyObject * obj0 = 0 ;
14923 char *kwnames[] = {
14924 (char *) "variant", NULL
14925 };
14926
6e0de3df 14927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 14928 if (obj0) {
c370783e 14929 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 {
0439c23b 14933 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 14935 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
f20a2e1f
RD
14936
14937 wxPyEndAllowThreads(__tstate);
110da5b0 14938 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14939 }
14940 {
14941 wxVisualAttributes * resultptr;
14942 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14944 }
14945 return resultobj;
14946 fail:
14947 return NULL;
14948}
14949
14950
6e0de3df 14951static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14952 PyObject *obj;
14953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 14954 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
14955 Py_INCREF(obj);
14956 return Py_BuildValue((char *)"");
14957}
6e0de3df 14958static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14959 PyObject *resultobj;
14960 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14961 int arg2 = (int) 0 ;
14962 int arg3 = (int) -1 ;
14963 int arg4 = (int) -1 ;
6e0de3df 14964 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
14965 PyObject * obj0 = 0 ;
14966 PyObject * obj1 = 0 ;
14967 PyObject * obj2 = 0 ;
14968 PyObject * obj3 = 0 ;
14969 char *kwnames[] = {
14970 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14971 };
14972
6e0de3df 14973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 14974 if (obj0) {
c370783e 14975 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 if (obj1) {
c370783e 14979 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 if (obj2) {
c370783e 14983 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 if (obj3) {
c370783e 14987 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 14992 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
14993
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
6e0de3df 14997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
14998 return resultobj;
14999 fail:
15000 return NULL;
15001}
15002
15003
6e0de3df 15004static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 15005 PyObject *resultobj;
6e0de3df 15006 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
15007 int result;
15008 PyObject * obj0 = 0 ;
15009 char *kwnames[] = {
15010 (char *) "self", NULL
15011 };
15012
6e0de3df
RD
15013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
15014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBaseEvent,
d55e5bfc
RD
15015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 15018 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
c370783e 15023 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15024 return resultobj;
15025 fail:
15026 return NULL;
15027}
15028
15029
6e0de3df 15030static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 15031 PyObject *resultobj;
6e0de3df 15032 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
15033 int arg2 ;
15034 PyObject * obj0 = 0 ;
15035 PyObject * obj1 = 0 ;
15036 char *kwnames[] = {
15037 (char *) "self",(char *) "nSel", NULL
15038 };
15039
6e0de3df
RD
15040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBaseEvent,
d55e5bfc 15042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 15043 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15044 if (PyErr_Occurred()) SWIG_fail;
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 (arg1)->SetSelection(arg2);
15048
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 Py_INCREF(Py_None); resultobj = Py_None;
15053 return resultobj;
15054 fail:
15055 return NULL;
15056}
15057
15058
6e0de3df 15059static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 15060 PyObject *resultobj;
6e0de3df 15061 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
15062 int result;
15063 PyObject * obj0 = 0 ;
15064 char *kwnames[] = {
15065 (char *) "self", NULL
15066 };
15067
6e0de3df
RD
15068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBaseEvent,
d55e5bfc
RD
15070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 15073 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
c370783e 15078 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15079 return resultobj;
15080 fail:
15081 return NULL;
15082}
15083
15084
6e0de3df 15085static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 15086 PyObject *resultobj;
6e0de3df 15087 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
15088 int arg2 ;
15089 PyObject * obj0 = 0 ;
15090 PyObject * obj1 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self",(char *) "nOldSel", NULL
15093 };
15094
6e0de3df
RD
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBaseEvent,
d55e5bfc 15097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 15098 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15099 if (PyErr_Occurred()) SWIG_fail;
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 (arg1)->SetOldSelection(arg2);
15103
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 Py_INCREF(Py_None); resultobj = Py_None;
15108 return resultobj;
15109 fail:
15110 return NULL;
15111}
15112
15113
6e0de3df 15114static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15115 PyObject *obj;
15116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 15117 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
15118 Py_INCREF(obj);
15119 return Py_BuildValue((char *)"");
15120}
c370783e 15121static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15122 PyObject *resultobj;
15123 wxWindow *arg1 = (wxWindow *) 0 ;
15124 int arg2 = (int) -1 ;
15125 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15126 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15127 wxSize const &arg4_defvalue = wxDefaultSize ;
15128 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15129 long arg5 = (long) 0 ;
15130 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15131 wxString *arg6 = (wxString *) &arg6_defvalue ;
15132 wxNotebook *result;
15133 wxPoint temp3 ;
15134 wxSize temp4 ;
b411df4a 15135 bool temp6 = false ;
d55e5bfc
RD
15136 PyObject * obj0 = 0 ;
15137 PyObject * obj1 = 0 ;
15138 PyObject * obj2 = 0 ;
15139 PyObject * obj3 = 0 ;
15140 PyObject * obj4 = 0 ;
15141 PyObject * obj5 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15149 if (obj1) {
c370783e 15150 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15151 if (PyErr_Occurred()) SWIG_fail;
15152 }
15153 if (obj2) {
15154 {
15155 arg3 = &temp3;
15156 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15157 }
15158 }
15159 if (obj3) {
15160 {
15161 arg4 = &temp4;
15162 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15163 }
15164 }
15165 if (obj4) {
c370783e 15166 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 if (obj5) {
15170 {
15171 arg6 = wxString_in_helper(obj5);
15172 if (arg6 == NULL) SWIG_fail;
b411df4a 15173 temp6 = true;
d55e5bfc
RD
15174 }
15175 }
15176 {
0439c23b 15177 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15180
15181 wxPyEndAllowThreads(__tstate);
110da5b0 15182 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15183 }
b0f7404b 15184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
15185 {
15186 if (temp6)
15187 delete arg6;
15188 }
15189 return resultobj;
15190 fail:
15191 {
15192 if (temp6)
15193 delete arg6;
15194 }
15195 return NULL;
15196}
15197
15198
c370783e 15199static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15200 PyObject *resultobj;
15201 wxNotebook *result;
15202 char *kwnames[] = {
15203 NULL
15204 };
15205
15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15207 {
0439c23b 15208 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15209 PyThreadState* __tstate = wxPyBeginAllowThreads();
15210 result = (wxNotebook *)new wxNotebook();
15211
15212 wxPyEndAllowThreads(__tstate);
110da5b0 15213 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15214 }
b0f7404b 15215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
15216 return resultobj;
15217 fail:
15218 return NULL;
15219}
15220
15221
c370783e 15222static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15223 PyObject *resultobj;
15224 wxNotebook *arg1 = (wxNotebook *) 0 ;
15225 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 15226 int arg3 = (int) -1 ;
d55e5bfc
RD
15227 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15228 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15229 wxSize const &arg5_defvalue = wxDefaultSize ;
15230 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15231 long arg6 = (long) 0 ;
15232 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15233 wxString *arg7 = (wxString *) &arg7_defvalue ;
15234 bool result;
15235 wxPoint temp4 ;
15236 wxSize temp5 ;
b411df4a 15237 bool temp7 = false ;
d55e5bfc
RD
15238 PyObject * obj0 = 0 ;
15239 PyObject * obj1 = 0 ;
15240 PyObject * obj2 = 0 ;
15241 PyObject * obj3 = 0 ;
15242 PyObject * obj4 = 0 ;
15243 PyObject * obj5 = 0 ;
15244 PyObject * obj6 = 0 ;
15245 char *kwnames[] = {
15246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15247 };
15248
bfddbb17 15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 15254 if (obj2) {
c370783e 15255 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
15256 if (PyErr_Occurred()) SWIG_fail;
15257 }
d55e5bfc
RD
15258 if (obj3) {
15259 {
15260 arg4 = &temp4;
15261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15262 }
15263 }
15264 if (obj4) {
15265 {
15266 arg5 = &temp5;
15267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15268 }
15269 }
15270 if (obj5) {
c370783e 15271 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 if (obj6) {
15275 {
15276 arg7 = wxString_in_helper(obj6);
15277 if (arg7 == NULL) SWIG_fail;
b411df4a 15278 temp7 = true;
d55e5bfc
RD
15279 }
15280 }
15281 {
15282 PyThreadState* __tstate = wxPyBeginAllowThreads();
15283 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15284
15285 wxPyEndAllowThreads(__tstate);
15286 if (PyErr_Occurred()) SWIG_fail;
15287 }
15288 {
15289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15290 }
15291 {
15292 if (temp7)
15293 delete arg7;
15294 }
15295 return resultobj;
15296 fail:
15297 {
15298 if (temp7)
15299 delete arg7;
15300 }
15301 return NULL;
15302}
15303
15304
c370783e 15305static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15306 PyObject *resultobj;
15307 wxNotebook *arg1 = (wxNotebook *) 0 ;
15308 int result;
15309 PyObject * obj0 = 0 ;
15310 char *kwnames[] = {
15311 (char *) "self", NULL
15312 };
15313
15314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15320
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
c370783e 15324 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15325 return resultobj;
15326 fail:
15327 return NULL;
15328}
15329
15330
c370783e 15331static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15332 PyObject *resultobj;
15333 wxNotebook *arg1 = (wxNotebook *) 0 ;
15334 wxSize *arg2 = 0 ;
15335 wxSize temp2 ;
15336 PyObject * obj0 = 0 ;
15337 PyObject * obj1 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self",(char *) "padding", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15345 {
15346 arg2 = &temp2;
15347 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15348 }
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 (arg1)->SetPadding((wxSize const &)*arg2);
15352
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
15356 Py_INCREF(Py_None); resultobj = Py_None;
15357 return resultobj;
15358 fail:
15359 return NULL;
15360}
15361
15362
c370783e 15363static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15364 PyObject *resultobj;
15365 wxNotebook *arg1 = (wxNotebook *) 0 ;
15366 wxSize *arg2 = 0 ;
15367 wxSize temp2 ;
15368 PyObject * obj0 = 0 ;
15369 PyObject * obj1 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self",(char *) "sz", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 {
15378 arg2 = &temp2;
15379 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15380 }
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 (arg1)->SetTabSize((wxSize const &)*arg2);
15384
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
15388 Py_INCREF(Py_None); resultobj = Py_None;
15389 return resultobj;
15390 fail:
15391 return NULL;
15392}
15393
15394
c370783e 15395static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15396 PyObject *resultobj;
15397 wxNotebook *arg1 = (wxNotebook *) 0 ;
15398 wxPoint *arg2 = 0 ;
15399 long *arg3 = (long *) 0 ;
15400 int result;
15401 wxPoint temp2 ;
15402 long temp3 ;
c370783e 15403 int res3 = 0 ;
d55e5bfc
RD
15404 PyObject * obj0 = 0 ;
15405 PyObject * obj1 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self",(char *) "pt", NULL
15408 };
15409
c370783e 15410 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15414 {
15415 arg2 = &temp2;
15416 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15417 }
15418 {
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15421
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
c370783e
RD
15425 resultobj = SWIG_From_int((int)result);
15426 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15427 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
15428 return resultobj;
15429 fail:
15430 return NULL;
15431}
15432
15433
c370783e 15434static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15435 PyObject *resultobj;
15436 wxNotebook *arg1 = (wxNotebook *) 0 ;
15437 wxSize *arg2 = 0 ;
15438 wxSize result;
15439 wxSize temp2 ;
15440 PyObject * obj0 = 0 ;
15441 PyObject * obj1 = 0 ;
15442 char *kwnames[] = {
15443 (char *) "self",(char *) "sizePage", NULL
15444 };
15445
15446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15449 {
15450 arg2 = &temp2;
15451 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15452 }
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15456
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 {
15461 wxSize * resultptr;
15462 resultptr = new wxSize((wxSize &) result);
15463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15464 }
15465 return resultobj;
15466 fail:
15467 return NULL;
15468}
15469
15470
c370783e 15471static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
15472 PyObject *resultobj;
15473 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15474 wxVisualAttributes result;
15475 PyObject * obj0 = 0 ;
15476 char *kwnames[] = {
15477 (char *) "variant", NULL
15478 };
15479
15480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15481 if (obj0) {
c370783e 15482 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 {
0439c23b 15486 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15489
15490 wxPyEndAllowThreads(__tstate);
110da5b0 15491 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15492 }
15493 {
15494 wxVisualAttributes * resultptr;
15495 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15497 }
15498 return resultobj;
15499 fail:
15500 return NULL;
15501}
15502
15503
c370783e 15504static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15505 PyObject *obj;
15506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15507 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15508 Py_INCREF(obj);
15509 return Py_BuildValue((char *)"");
15510}
c370783e 15511static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15512 PyObject *resultobj;
15513 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15514 int arg2 = (int) 0 ;
15515 int arg3 = (int) -1 ;
15516 int arg4 = (int) -1 ;
15517 wxNotebookEvent *result;
15518 PyObject * obj0 = 0 ;
15519 PyObject * obj1 = 0 ;
15520 PyObject * obj2 = 0 ;
15521 PyObject * obj3 = 0 ;
15522 char *kwnames[] = {
15523 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15524 };
15525
15526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15527 if (obj0) {
c370783e 15528 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
15529 if (PyErr_Occurred()) SWIG_fail;
15530 }
15531 if (obj1) {
c370783e 15532 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 if (obj2) {
c370783e 15536 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 if (obj3) {
c370783e 15540 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15551 return resultobj;
15552 fail:
15553 return NULL;
15554}
15555
15556
c370783e 15557static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15558 PyObject *obj;
15559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15560 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15561 Py_INCREF(obj);
15562 return Py_BuildValue((char *)"");
15563}
c370783e 15564static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15565 PyObject *resultobj;
15566 wxWindow *arg1 = (wxWindow *) 0 ;
15567 int arg2 = (int) -1 ;
15568 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15569 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15570 wxSize const &arg4_defvalue = wxDefaultSize ;
15571 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15572 long arg5 = (long) 0 ;
15573 wxString const &arg6_defvalue = wxPyEmptyString ;
15574 wxString *arg6 = (wxString *) &arg6_defvalue ;
15575 wxListbook *result;
15576 wxPoint temp3 ;
15577 wxSize temp4 ;
b411df4a 15578 bool temp6 = false ;
d55e5bfc
RD
15579 PyObject * obj0 = 0 ;
15580 PyObject * obj1 = 0 ;
15581 PyObject * obj2 = 0 ;
15582 PyObject * obj3 = 0 ;
15583 PyObject * obj4 = 0 ;
15584 PyObject * obj5 = 0 ;
15585 char *kwnames[] = {
15586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15587 };
15588
15589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15592 if (obj1) {
c370783e 15593 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 if (obj2) {
15597 {
15598 arg3 = &temp3;
15599 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15600 }
15601 }
15602 if (obj3) {
15603 {
15604 arg4 = &temp4;
15605 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15606 }
15607 }
15608 if (obj4) {
c370783e 15609 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
15610 if (PyErr_Occurred()) SWIG_fail;
15611 }
15612 if (obj5) {
15613 {
15614 arg6 = wxString_in_helper(obj5);
15615 if (arg6 == NULL) SWIG_fail;
b411df4a 15616 temp6 = true;
d55e5bfc
RD
15617 }
15618 }
15619 {
0439c23b 15620 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15621 PyThreadState* __tstate = wxPyBeginAllowThreads();
15622 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15623
15624 wxPyEndAllowThreads(__tstate);
110da5b0 15625 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15626 }
15627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15628 {
15629 if (temp6)
15630 delete arg6;
15631 }
15632 return resultobj;
15633 fail:
15634 {
15635 if (temp6)
15636 delete arg6;
15637 }
15638 return NULL;
15639}
15640
15641
c370783e 15642static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15643 PyObject *resultobj;
15644 wxListbook *result;
15645 char *kwnames[] = {
15646 NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15650 {
0439c23b 15651 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 result = (wxListbook *)new wxListbook();
15654
15655 wxPyEndAllowThreads(__tstate);
110da5b0 15656 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15657 }
15658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15659 return resultobj;
15660 fail:
15661 return NULL;
15662}
15663
15664
c370783e 15665static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15666 PyObject *resultobj;
15667 wxListbook *arg1 = (wxListbook *) 0 ;
15668 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 15669 int arg3 = (int) -1 ;
d55e5bfc
RD
15670 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15671 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15672 wxSize const &arg5_defvalue = wxDefaultSize ;
15673 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15674 long arg6 = (long) 0 ;
15675 wxString const &arg7_defvalue = wxPyEmptyString ;
15676 wxString *arg7 = (wxString *) &arg7_defvalue ;
15677 bool result;
15678 wxPoint temp4 ;
15679 wxSize temp5 ;
b411df4a 15680 bool temp7 = false ;
d55e5bfc
RD
15681 PyObject * obj0 = 0 ;
15682 PyObject * obj1 = 0 ;
15683 PyObject * obj2 = 0 ;
15684 PyObject * obj3 = 0 ;
15685 PyObject * obj4 = 0 ;
15686 PyObject * obj5 = 0 ;
15687 PyObject * obj6 = 0 ;
15688 char *kwnames[] = {
15689 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15690 };
15691
bfddbb17 15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 15697 if (obj2) {
c370783e 15698 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
d55e5bfc
RD
15701 if (obj3) {
15702 {
15703 arg4 = &temp4;
15704 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15705 }
15706 }
15707 if (obj4) {
15708 {
15709 arg5 = &temp5;
15710 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15711 }
15712 }
15713 if (obj5) {
c370783e 15714 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 if (obj6) {
15718 {
15719 arg7 = wxString_in_helper(obj6);
15720 if (arg7 == NULL) SWIG_fail;
b411df4a 15721 temp7 = true;
d55e5bfc
RD
15722 }
15723 }
15724 {
15725 PyThreadState* __tstate = wxPyBeginAllowThreads();
15726 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15727
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 {
15732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15733 }
15734 {
15735 if (temp7)
15736 delete arg7;
15737 }
15738 return resultobj;
15739 fail:
15740 {
15741 if (temp7)
15742 delete arg7;
15743 }
15744 return NULL;
15745}
15746
15747
c370783e 15748static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15749 PyObject *resultobj;
15750 wxListbook *arg1 = (wxListbook *) 0 ;
15751 bool result;
15752 PyObject * obj0 = 0 ;
15753 char *kwnames[] = {
15754 (char *) "self", NULL
15755 };
15756
15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15760 {
15761 PyThreadState* __tstate = wxPyBeginAllowThreads();
15762 result = (bool)((wxListbook const *)arg1)->IsVertical();
15763
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
15767 {
15768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15769 }
15770 return resultobj;
15771 fail:
15772 return NULL;
15773}
15774
15775
44bf767a
RD
15776static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj;
15778 wxListbook *arg1 = (wxListbook *) 0 ;
15779 wxListView *result;
15780 PyObject * obj0 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
15786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15788 {
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
15790 result = (wxListView *)(arg1)->GetListView();
15791
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
15796 return resultobj;
15797 fail:
15798 return NULL;
15799}
15800
15801
c370783e 15802static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15803 PyObject *obj;
15804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15805 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15806 Py_INCREF(obj);
15807 return Py_BuildValue((char *)"");
15808}
c370783e 15809static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15810 PyObject *resultobj;
15811 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15812 int arg2 = (int) 0 ;
15813 int arg3 = (int) -1 ;
15814 int arg4 = (int) -1 ;
15815 wxListbookEvent *result;
15816 PyObject * obj0 = 0 ;
15817 PyObject * obj1 = 0 ;
15818 PyObject * obj2 = 0 ;
15819 PyObject * obj3 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15825 if (obj0) {
c370783e 15826 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 if (obj1) {
c370783e 15830 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 if (obj2) {
c370783e 15834 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
15837 if (obj3) {
c370783e 15838 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15844
15845 wxPyEndAllowThreads(__tstate);
15846 if (PyErr_Occurred()) SWIG_fail;
15847 }
15848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15849 return resultobj;
15850 fail:
15851 return NULL;
15852}
15853
15854
c370783e 15855static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15856 PyObject *obj;
15857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15858 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15859 Py_INCREF(obj);
15860 return Py_BuildValue((char *)"");
15861}
b411df4a
RD
15862static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15863 PyObject *resultobj;
15864 wxWindow *arg1 = (wxWindow *) 0 ;
15865 int arg2 ;
15866 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15867 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15868 wxSize const &arg4_defvalue = wxDefaultSize ;
15869 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15870 long arg5 = (long) 0 ;
15871 wxString const &arg6_defvalue = wxPyEmptyString ;
15872 wxString *arg6 = (wxString *) &arg6_defvalue ;
15873 wxChoicebook *result;
15874 wxPoint temp3 ;
15875 wxSize temp4 ;
15876 bool temp6 = false ;
15877 PyObject * obj0 = 0 ;
15878 PyObject * obj1 = 0 ;
15879 PyObject * obj2 = 0 ;
15880 PyObject * obj3 = 0 ;
15881 PyObject * obj4 = 0 ;
15882 PyObject * obj5 = 0 ;
15883 char *kwnames[] = {
15884 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15885 };
15886
15887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15890 arg2 = (int)SWIG_As_int(obj1);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 if (obj2) {
15893 {
15894 arg3 = &temp3;
15895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15896 }
15897 }
15898 if (obj3) {
15899 {
15900 arg4 = &temp4;
15901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15902 }
15903 }
15904 if (obj4) {
15905 arg5 = (long)SWIG_As_long(obj4);
15906 if (PyErr_Occurred()) SWIG_fail;
15907 }
15908 if (obj5) {
15909 {
15910 arg6 = wxString_in_helper(obj5);
15911 if (arg6 == NULL) SWIG_fail;
15912 temp6 = true;
15913 }
15914 }
15915 {
15916 if (!wxPyCheckForApp()) SWIG_fail;
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15919
15920 wxPyEndAllowThreads(__tstate);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
15924 {
15925 if (temp6)
15926 delete arg6;
15927 }
15928 return resultobj;
15929 fail:
15930 {
15931 if (temp6)
15932 delete arg6;
15933 }
15934 return NULL;
15935}
15936
15937
15938static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxChoicebook *result;
15941 char *kwnames[] = {
15942 NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
15946 {
15947 if (!wxPyCheckForApp()) SWIG_fail;
15948 PyThreadState* __tstate = wxPyBeginAllowThreads();
15949 result = (wxChoicebook *)new wxChoicebook();
15950
15951 wxPyEndAllowThreads(__tstate);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
15955 return resultobj;
15956 fail:
15957 return NULL;
15958}
15959
15960
15961static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15962 PyObject *resultobj;
15963 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
15964 wxWindow *arg2 = (wxWindow *) 0 ;
15965 int arg3 ;
15966 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15967 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15968 wxSize const &arg5_defvalue = wxDefaultSize ;
15969 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15970 long arg6 = (long) 0 ;
15971 wxString const &arg7_defvalue = wxPyEmptyString ;
15972 wxString *arg7 = (wxString *) &arg7_defvalue ;
15973 bool result;
15974 wxPoint temp4 ;
15975 wxSize temp5 ;
15976 bool temp7 = false ;
15977 PyObject * obj0 = 0 ;
15978 PyObject * obj1 = 0 ;
15979 PyObject * obj2 = 0 ;
15980 PyObject * obj3 = 0 ;
15981 PyObject * obj4 = 0 ;
15982 PyObject * obj5 = 0 ;
15983 PyObject * obj6 = 0 ;
15984 char *kwnames[] = {
15985 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15986 };
15987
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
15990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15993 arg3 = (int)SWIG_As_int(obj2);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 if (obj3) {
15996 {
15997 arg4 = &temp4;
15998 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15999 }
16000 }
16001 if (obj4) {
16002 {
16003 arg5 = &temp5;
16004 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16005 }
16006 }
16007 if (obj5) {
16008 arg6 = (long)SWIG_As_long(obj5);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 if (obj6) {
16012 {
16013 arg7 = wxString_in_helper(obj6);
16014 if (arg7 == NULL) SWIG_fail;
16015 temp7 = true;
16016 }
16017 }
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 {
16026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16027 }
16028 {
16029 if (temp7)
16030 delete arg7;
16031 }
16032 return resultobj;
16033 fail:
16034 {
16035 if (temp7)
16036 delete arg7;
16037 }
16038 return NULL;
16039}
16040
16041
16042static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16043 PyObject *resultobj;
16044 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16045 bool result;
16046 PyObject * obj0 = 0 ;
16047 char *kwnames[] = {
16048 (char *) "self", NULL
16049 };
16050
16051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
16052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16054 {
16055 PyThreadState* __tstate = wxPyBeginAllowThreads();
16056 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
16057
16058 wxPyEndAllowThreads(__tstate);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 }
16061 {
16062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16063 }
16064 return resultobj;
16065 fail:
16066 return NULL;
16067}
16068
16069
16070static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16071 PyObject *resultobj;
16072 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16073 bool result;
16074 PyObject * obj0 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
16080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 result = (bool)(arg1)->DeleteAllPages();
16085
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 {
16090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16091 }
16092 return resultobj;
16093 fail:
16094 return NULL;
16095}
16096
16097
16098static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
16099 PyObject *obj;
16100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16101 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
16102 Py_INCREF(obj);
16103 return Py_BuildValue((char *)"");
16104}
16105static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16106 PyObject *resultobj;
16107 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16108 int arg2 = (int) 0 ;
16109 int arg3 = (int) -1 ;
16110 int arg4 = (int) -1 ;
16111 wxChoicebookEvent *result;
16112 PyObject * obj0 = 0 ;
16113 PyObject * obj1 = 0 ;
16114 PyObject * obj2 = 0 ;
16115 PyObject * obj3 = 0 ;
16116 char *kwnames[] = {
16117 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16118 };
16119
16120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16121 if (obj0) {
16122 arg1 = (wxEventType)SWIG_As_int(obj0);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 if (obj1) {
16126 arg2 = (int)SWIG_As_int(obj1);
16127 if (PyErr_Occurred()) SWIG_fail;
16128 }
16129 if (obj2) {
16130 arg3 = (int)SWIG_As_int(obj2);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 if (obj3) {
16134 arg4 = (int)SWIG_As_int(obj3);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 {
16138 PyThreadState* __tstate = wxPyBeginAllowThreads();
16139 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
16140
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
16144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
16145 return resultobj;
16146 fail:
16147 return NULL;
16148}
16149
16150
16151static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
16152 PyObject *obj;
16153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16154 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
16155 Py_INCREF(obj);
16156 return Py_BuildValue((char *)"");
16157}
c370783e 16158static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16159 PyObject *resultobj;
6e0de3df 16160 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16161 wxBookCtrlSizer *result;
16162 PyObject * obj0 = 0 ;
16163 char *kwnames[] = {
16164 (char *) "nb", NULL
16165 };
16166
16167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
6e0de3df 16168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
d55e5bfc
RD
16169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
16177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
16178 return resultobj;
16179 fail:
16180 return NULL;
16181}
16182
16183
c370783e 16184static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16185 PyObject *resultobj;
16186 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16187 PyObject * obj0 = 0 ;
16188 char *kwnames[] = {
16189 (char *) "self", NULL
16190 };
16191
16192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 (arg1)->RecalcSizes();
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 Py_INCREF(Py_None); resultobj = Py_None;
16203 return resultobj;
16204 fail:
16205 return NULL;
16206}
16207
16208
c370783e 16209static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16210 PyObject *resultobj;
16211 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16212 wxSize result;
16213 PyObject * obj0 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self", NULL
16216 };
16217
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
16219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (arg1)->CalcMin();
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 {
16229 wxSize * resultptr;
16230 resultptr = new wxSize((wxSize &) result);
16231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16232 }
16233 return resultobj;
16234 fail:
16235 return NULL;
16236}
16237
16238
c370783e 16239static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16240 PyObject *resultobj;
16241 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
6e0de3df 16242 wxBookCtrlBase *result;
d55e5bfc
RD
16243 PyObject * obj0 = 0 ;
16244 char *kwnames[] = {
16245 (char *) "self", NULL
16246 };
16247
16248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
16249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16253 result = (wxBookCtrlBase *)(arg1)->GetControl();
d55e5bfc
RD
16254
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
6e0de3df 16258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d55e5bfc
RD
16259 return resultobj;
16260 fail:
16261 return NULL;
16262}
16263
16264
c370783e 16265static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16266 PyObject *obj;
16267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16268 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
16269 Py_INCREF(obj);
16270 return Py_BuildValue((char *)"");
16271}
c370783e 16272static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16273 PyObject *resultobj;
16274 wxNotebook *arg1 = (wxNotebook *) 0 ;
16275 wxNotebookSizer *result;
16276 PyObject * obj0 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "nb", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
16282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
16283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
16287
16288 wxPyEndAllowThreads(__tstate);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
16292 return resultobj;
16293 fail:
16294 return NULL;
16295}
16296
16297
c370783e 16298static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16299 PyObject *resultobj;
16300 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16301 PyObject * obj0 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 (arg1)->RecalcSizes();
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 Py_INCREF(Py_None); resultobj = Py_None;
16317 return resultobj;
16318 fail:
16319 return NULL;
16320}
16321
16322
c370783e 16323static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16324 PyObject *resultobj;
16325 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16326 wxSize result;
16327 PyObject * obj0 = 0 ;
16328 char *kwnames[] = {
16329 (char *) "self", NULL
16330 };
16331
16332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
16333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 result = (arg1)->CalcMin();
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 {
16343 wxSize * resultptr;
16344 resultptr = new wxSize((wxSize &) result);
16345 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16346 }
16347 return resultobj;
16348 fail:
16349 return NULL;
16350}
16351
16352
c370783e 16353static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16354 PyObject *resultobj;
16355 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16356 wxNotebook *result;
16357 PyObject * obj0 = 0 ;
16358 char *kwnames[] = {
16359 (char *) "self", NULL
16360 };
16361
16362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
16363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16365 {
16366 PyThreadState* __tstate = wxPyBeginAllowThreads();
16367 result = (wxNotebook *)(arg1)->GetNotebook();
16368
16369 wxPyEndAllowThreads(__tstate);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 }
16372 {
412d302d 16373 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16374 }
16375 return resultobj;
16376 fail:
16377 return NULL;
16378}
16379
16380
c370783e 16381static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16382 PyObject *obj;
16383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16384 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
16385 Py_INCREF(obj);
16386 return Py_BuildValue((char *)"");
16387}
c370783e 16388static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16389 PyObject *resultobj;
16390 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16391 int result;
16392 PyObject * obj0 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
16398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
16402 result = (int)(arg1)->GetId();
16403
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
c370783e 16407 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16408 return resultobj;
16409 fail:
16410 return NULL;
16411}
16412
16413
c370783e 16414static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16415 PyObject *resultobj;
16416 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16417 wxControl *result;
16418 PyObject * obj0 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
16424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 result = (wxControl *)(arg1)->GetControl();
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 {
412d302d 16434 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16435 }
16436 return resultobj;
16437 fail:
16438 return NULL;
16439}
16440
16441
c370783e 16442static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16443 PyObject *resultobj;
16444 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16445 wxToolBarBase *result;
16446 PyObject * obj0 = 0 ;
16447 char *kwnames[] = {
16448 (char *) "self", NULL
16449 };
16450
16451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
16452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 result = (wxToolBarBase *)(arg1)->GetToolBar();
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 {
412d302d 16462 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16463 }
16464 return resultobj;
16465 fail:
16466 return NULL;
16467}
16468
16469
c370783e 16470static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16471 PyObject *resultobj;
16472 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16473 int result;
16474 PyObject * obj0 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
16480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16482 {
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 result = (int)(arg1)->IsButton();
16485
16486 wxPyEndAllowThreads(__tstate);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 }
c370783e 16489 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16490 return resultobj;
16491 fail:
16492 return NULL;
16493}
16494
16495
c370783e 16496static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16497 PyObject *resultobj;
16498 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16499 int result;
16500 PyObject * obj0 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (int)(arg1)->IsControl();
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
c370783e 16515 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16516 return resultobj;
16517 fail:
16518 return NULL;
16519}
16520
16521
c370783e 16522static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16523 PyObject *resultobj;
16524 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16525 int result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = (int)(arg1)->IsSeparator();
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
c370783e 16541 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16542 return resultobj;
16543 fail:
16544 return NULL;
16545}
16546
16547
c370783e 16548static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16549 PyObject *resultobj;
16550 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16551 int result;
16552 PyObject * obj0 = 0 ;
16553 char *kwnames[] = {
16554 (char *) "self", NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 result = (int)(arg1)->GetStyle();
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
c370783e 16567 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16568 return resultobj;
16569 fail:
16570 return NULL;
16571}
16572
16573
c370783e 16574static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16575 PyObject *resultobj;
16576 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16577 int result;
16578 PyObject * obj0 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
16588 result = (int)(arg1)->GetKind();
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
c370783e 16593 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16594 return resultobj;
16595 fail:
16596 return NULL;
16597}
16598
16599
c370783e 16600static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16601 PyObject *resultobj;
16602 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16603 bool result;
16604 PyObject * obj0 = 0 ;
16605 char *kwnames[] = {
16606 (char *) "self", NULL
16607 };
16608
16609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16612 {
16613 PyThreadState* __tstate = wxPyBeginAllowThreads();
16614 result = (bool)(arg1)->IsEnabled();
16615
16616 wxPyEndAllowThreads(__tstate);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 }
16619 {
16620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16621 }
16622 return resultobj;
16623 fail:
16624 return NULL;
16625}
16626
16627
c370783e 16628static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16629 PyObject *resultobj;
16630 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16631 bool result;
16632 PyObject * obj0 = 0 ;
16633 char *kwnames[] = {
16634 (char *) "self", NULL
16635 };
16636
16637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16640 {
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 result = (bool)(arg1)->IsToggled();
16643
16644 wxPyEndAllowThreads(__tstate);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 {
16648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16649 }
16650 return resultobj;
16651 fail:
16652 return NULL;
16653}
16654
16655
c370783e 16656static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16657 PyObject *resultobj;
16658 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16659 bool result;
16660 PyObject * obj0 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = (bool)(arg1)->CanBeToggled();
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 {
16676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16677 }
16678 return resultobj;
16679 fail:
16680 return NULL;
16681}
16682
16683
c370783e 16684static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16685 PyObject *resultobj;
16686 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16687 wxBitmap *result;
16688 PyObject * obj0 = 0 ;
16689 char *kwnames[] = {
16690 (char *) "self", NULL
16691 };
16692
16693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16696 {
16697 PyThreadState* __tstate = wxPyBeginAllowThreads();
16698 {
16699 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16700 result = (wxBitmap *) &_result_ref;
16701 }
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 {
16707 wxBitmap* resultptr = new wxBitmap(*result);
16708 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16709 }
16710 return resultobj;
16711 fail:
16712 return NULL;
16713}
16714
16715
c370783e 16716static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16717 PyObject *resultobj;
16718 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16719 wxBitmap *result;
16720 PyObject * obj0 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self", NULL
16723 };
16724
16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16728 {
16729 PyThreadState* __tstate = wxPyBeginAllowThreads();
16730 {
16731 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16732 result = (wxBitmap *) &_result_ref;
16733 }
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 {
16739 wxBitmap* resultptr = new wxBitmap(*result);
16740 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16741 }
16742 return resultobj;
16743 fail:
16744 return NULL;
16745}
16746
16747
c370783e 16748static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16749 PyObject *resultobj;
16750 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16751 wxBitmap result;
16752 PyObject * obj0 = 0 ;
16753 char *kwnames[] = {
16754 (char *) "self", NULL
16755 };
16756
16757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 result = (arg1)->GetBitmap();
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 {
16768 wxBitmap * resultptr;
16769 resultptr = new wxBitmap((wxBitmap &) result);
16770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16771 }
16772 return resultobj;
16773 fail:
16774 return NULL;
16775}
16776
16777
c370783e 16778static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16779 PyObject *resultobj;
16780 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16781 wxString result;
16782 PyObject * obj0 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (arg1)->GetLabel();
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 {
16798#if wxUSE_UNICODE
16799 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16800#else
16801 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16802#endif
16803 }
16804 return resultobj;
16805 fail:
16806 return NULL;
16807}
16808
16809
c370783e 16810static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16811 PyObject *resultobj;
16812 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16813 wxString result;
16814 PyObject * obj0 = 0 ;
16815 char *kwnames[] = {
16816 (char *) "self", NULL
16817 };
16818
16819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = (arg1)->GetShortHelp();
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 {
16830#if wxUSE_UNICODE
16831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16832#else
16833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16834#endif
16835 }
16836 return resultobj;
16837 fail:
16838 return NULL;
16839}
16840
16841
c370783e 16842static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16843 PyObject *resultobj;
16844 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16845 wxString result;
16846 PyObject * obj0 = 0 ;
16847 char *kwnames[] = {
16848 (char *) "self", NULL
16849 };
16850
16851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16854 {
16855 PyThreadState* __tstate = wxPyBeginAllowThreads();
16856 result = (arg1)->GetLongHelp();
16857
16858 wxPyEndAllowThreads(__tstate);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 }
16861 {
16862#if wxUSE_UNICODE
16863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16864#else
16865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16866#endif
16867 }
16868 return resultobj;
16869 fail:
16870 return NULL;
16871}
16872
16873
c370783e 16874static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16875 PyObject *resultobj;
16876 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16877 bool arg2 ;
16878 bool result;
16879 PyObject * obj0 = 0 ;
16880 PyObject * obj1 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self",(char *) "enable", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 16888 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16889 if (PyErr_Occurred()) SWIG_fail;
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = (bool)(arg1)->Enable(arg2);
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 {
16898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16899 }
16900 return resultobj;
16901 fail:
16902 return NULL;
16903}
16904
16905
c370783e 16906static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16907 PyObject *resultobj;
16908 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16909 PyObject * obj0 = 0 ;
16910 char *kwnames[] = {
16911 (char *) "self", NULL
16912 };
16913
16914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 (arg1)->Toggle();
16920
16921 wxPyEndAllowThreads(__tstate);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 Py_INCREF(Py_None); resultobj = Py_None;
16925 return resultobj;
16926 fail:
16927 return NULL;
16928}
16929
16930
c370783e 16931static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16932 PyObject *resultobj;
16933 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16934 bool arg2 ;
16935 bool result;
16936 PyObject * obj0 = 0 ;
16937 PyObject * obj1 = 0 ;
16938 char *kwnames[] = {
16939 (char *) "self",(char *) "toggle", NULL
16940 };
16941
16942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 16945 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16946 if (PyErr_Occurred()) SWIG_fail;
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 result = (bool)(arg1)->SetToggle(arg2);
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 {
16955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16956 }
16957 return resultobj;
16958 fail:
16959 return NULL;
16960}
16961
16962
c370783e 16963static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16964 PyObject *resultobj;
16965 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16966 wxString *arg2 = 0 ;
16967 bool result;
b411df4a 16968 bool temp2 = false ;
d55e5bfc
RD
16969 PyObject * obj0 = 0 ;
16970 PyObject * obj1 = 0 ;
16971 char *kwnames[] = {
16972 (char *) "self",(char *) "help", NULL
16973 };
16974
16975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16978 {
16979 arg2 = wxString_in_helper(obj1);
16980 if (arg2 == NULL) SWIG_fail;
b411df4a 16981 temp2 = true;
d55e5bfc
RD
16982 }
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 {
16991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16992 }
16993 {
16994 if (temp2)
16995 delete arg2;
16996 }
16997 return resultobj;
16998 fail:
16999 {
17000 if (temp2)
17001 delete arg2;
17002 }
17003 return NULL;
17004}
17005
17006
c370783e 17007static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17008 PyObject *resultobj;
17009 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17010 wxString *arg2 = 0 ;
17011 bool result;
b411df4a 17012 bool temp2 = false ;
d55e5bfc
RD
17013 PyObject * obj0 = 0 ;
17014 PyObject * obj1 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self",(char *) "help", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
17020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17022 {
17023 arg2 = wxString_in_helper(obj1);
17024 if (arg2 == NULL) SWIG_fail;
b411df4a 17025 temp2 = true;
d55e5bfc
RD
17026 }
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 {
17035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17036 }
17037 {
17038 if (temp2)
17039 delete arg2;
17040 }
17041 return resultobj;
17042 fail:
17043 {
17044 if (temp2)
17045 delete arg2;
17046 }
17047 return NULL;
17048}
17049
17050
c370783e 17051static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17052 PyObject *resultobj;
17053 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17054 wxBitmap *arg2 = 0 ;
17055 PyObject * obj0 = 0 ;
17056 PyObject * obj1 = 0 ;
17057 char *kwnames[] = {
17058 (char *) "self",(char *) "bmp", NULL
17059 };
17060
17061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
17062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17065 SWIG_POINTER_EXCEPTION | 0)) == -1)
17066 SWIG_fail;
17067 if (arg2 == NULL) {
17068 PyErr_SetString(PyExc_TypeError,"null reference");
17069 SWIG_fail;
17070 }
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
17074
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 Py_INCREF(Py_None); resultobj = Py_None;
17079 return resultobj;
17080 fail:
17081 return NULL;
17082}
17083
17084
c370783e 17085static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17086 PyObject *resultobj;
17087 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17088 wxBitmap *arg2 = 0 ;
17089 PyObject * obj0 = 0 ;
17090 PyObject * obj1 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self",(char *) "bmp", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
17096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17099 SWIG_POINTER_EXCEPTION | 0)) == -1)
17100 SWIG_fail;
17101 if (arg2 == NULL) {
17102 PyErr_SetString(PyExc_TypeError,"null reference");
17103 SWIG_fail;
17104 }
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 Py_INCREF(Py_None); resultobj = Py_None;
17113 return resultobj;
17114 fail:
17115 return NULL;
17116}
17117
17118
c370783e 17119static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17120 PyObject *resultobj;
17121 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17122 wxString *arg2 = 0 ;
b411df4a 17123 bool temp2 = false ;
d55e5bfc
RD
17124 PyObject * obj0 = 0 ;
17125 PyObject * obj1 = 0 ;
17126 char *kwnames[] = {
17127 (char *) "self",(char *) "label", NULL
17128 };
17129
17130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
17131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17133 {
17134 arg2 = wxString_in_helper(obj1);
17135 if (arg2 == NULL) SWIG_fail;
b411df4a 17136 temp2 = true;
d55e5bfc
RD
17137 }
17138 {
17139 PyThreadState* __tstate = wxPyBeginAllowThreads();
17140 (arg1)->SetLabel((wxString const &)*arg2);
17141
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 Py_INCREF(Py_None); resultobj = Py_None;
17146 {
17147 if (temp2)
17148 delete arg2;
17149 }
17150 return resultobj;
17151 fail:
17152 {
17153 if (temp2)
17154 delete arg2;
17155 }
17156 return NULL;
17157}
17158
17159
c370783e 17160static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17161 PyObject *resultobj;
17162 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17163 PyObject * obj0 = 0 ;
17164 char *kwnames[] = {
17165 (char *) "self", NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
17169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->Detach();
17174
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 Py_INCREF(Py_None); resultobj = Py_None;
17179 return resultobj;
17180 fail:
17181 return NULL;
17182}
17183
17184
c370783e 17185static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17186 PyObject *resultobj;
17187 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17188 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
17189 PyObject * obj0 = 0 ;
17190 PyObject * obj1 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self",(char *) "tbar", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
17199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 (arg1)->Attach(arg2);
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 Py_INCREF(Py_None); resultobj = Py_None;
17208 return resultobj;
17209 fail:
17210 return NULL;
17211}
17212
17213
c370783e 17214static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17215 PyObject *resultobj;
17216 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17217 PyObject *result;
17218 PyObject * obj0 = 0 ;
17219 char *kwnames[] = {
17220 (char *) "self", NULL
17221 };
17222
17223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
17224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17226 {
17227 PyThreadState* __tstate = wxPyBeginAllowThreads();
17228 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
17229
17230 wxPyEndAllowThreads(__tstate);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 }
17233 resultobj = result;
17234 return resultobj;
17235 fail:
17236 return NULL;
17237}
17238
17239
c370783e 17240static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17241 PyObject *resultobj;
17242 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17243 PyObject *arg2 = (PyObject *) 0 ;
17244 PyObject * obj0 = 0 ;
17245 PyObject * obj1 = 0 ;
17246 char *kwnames[] = {
17247 (char *) "self",(char *) "clientData", NULL
17248 };
17249
17250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
17251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17253 arg2 = obj1;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 wxToolBarToolBase_SetClientData(arg1,arg2);
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 Py_INCREF(Py_None); resultobj = Py_None;
17262 return resultobj;
17263 fail:
17264 return NULL;
17265}
17266
17267
c370783e 17268static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17269 PyObject *obj;
17270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17271 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
17272 Py_INCREF(obj);
17273 return Py_BuildValue((char *)"");
17274}
c370783e 17275static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17276 PyObject *resultobj;
17277 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17278 int arg2 ;
17279 wxString *arg3 = 0 ;
17280 wxBitmap *arg4 = 0 ;
17281 wxBitmap const &arg5_defvalue = wxNullBitmap ;
17282 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
17283 int arg6 = (int) wxITEM_NORMAL ;
17284 wxString const &arg7_defvalue = wxPyEmptyString ;
17285 wxString *arg7 = (wxString *) &arg7_defvalue ;
17286 wxString const &arg8_defvalue = wxPyEmptyString ;
17287 wxString *arg8 = (wxString *) &arg8_defvalue ;
17288 PyObject *arg9 = (PyObject *) NULL ;
17289 wxToolBarToolBase *result;
b411df4a
RD
17290 bool temp3 = false ;
17291 bool temp7 = false ;
17292 bool temp8 = false ;
d55e5bfc
RD
17293 PyObject * obj0 = 0 ;
17294 PyObject * obj1 = 0 ;
17295 PyObject * obj2 = 0 ;
17296 PyObject * obj3 = 0 ;
17297 PyObject * obj4 = 0 ;
17298 PyObject * obj5 = 0 ;
17299 PyObject * obj6 = 0 ;
17300 PyObject * obj7 = 0 ;
17301 PyObject * obj8 = 0 ;
17302 char *kwnames[] = {
17303 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17304 };
17305
17306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
17307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17309 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17310 if (PyErr_Occurred()) SWIG_fail;
17311 {
17312 arg3 = wxString_in_helper(obj2);
17313 if (arg3 == NULL) SWIG_fail;
b411df4a 17314 temp3 = true;
d55e5bfc
RD
17315 }
17316 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
17317 SWIG_POINTER_EXCEPTION | 0)) == -1)
17318 SWIG_fail;
17319 if (arg4 == NULL) {
17320 PyErr_SetString(PyExc_TypeError,"null reference");
17321 SWIG_fail;
17322 }
17323 if (obj4) {
17324 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17325 SWIG_POINTER_EXCEPTION | 0)) == -1)
17326 SWIG_fail;
17327 if (arg5 == NULL) {
17328 PyErr_SetString(PyExc_TypeError,"null reference");
17329 SWIG_fail;
17330 }
17331 }
17332 if (obj5) {
c370783e 17333 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 if (obj6) {
17337 {
17338 arg7 = wxString_in_helper(obj6);
17339 if (arg7 == NULL) SWIG_fail;
b411df4a 17340 temp7 = true;
d55e5bfc
RD
17341 }
17342 }
17343 if (obj7) {
17344 {
17345 arg8 = wxString_in_helper(obj7);
17346 if (arg8 == NULL) SWIG_fail;
b411df4a 17347 temp8 = true;
d55e5bfc
RD
17348 }
17349 }
17350 if (obj8) {
17351 arg9 = obj8;
17352 }
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 {
412d302d 17361 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17362 }
17363 {
17364 if (temp3)
17365 delete arg3;
17366 }
17367 {
17368 if (temp7)
17369 delete arg7;
17370 }
17371 {
17372 if (temp8)
17373 delete arg8;
17374 }
17375 return resultobj;
17376 fail:
17377 {
17378 if (temp3)
17379 delete arg3;
17380 }
17381 {
17382 if (temp7)
17383 delete arg7;
17384 }
17385 {
17386 if (temp8)
17387 delete arg8;
17388 }
17389 return NULL;
17390}
17391
17392
c370783e 17393static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17394 PyObject *resultobj;
17395 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17396 size_t arg2 ;
17397 int arg3 ;
17398 wxString *arg4 = 0 ;
17399 wxBitmap *arg5 = 0 ;
17400 wxBitmap const &arg6_defvalue = wxNullBitmap ;
17401 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
17402 int arg7 = (int) wxITEM_NORMAL ;
17403 wxString const &arg8_defvalue = wxPyEmptyString ;
17404 wxString *arg8 = (wxString *) &arg8_defvalue ;
17405 wxString const &arg9_defvalue = wxPyEmptyString ;
17406 wxString *arg9 = (wxString *) &arg9_defvalue ;
17407 PyObject *arg10 = (PyObject *) NULL ;
17408 wxToolBarToolBase *result;
b411df4a
RD
17409 bool temp4 = false ;
17410 bool temp8 = false ;
17411 bool temp9 = false ;
d55e5bfc
RD
17412 PyObject * obj0 = 0 ;
17413 PyObject * obj1 = 0 ;
17414 PyObject * obj2 = 0 ;
17415 PyObject * obj3 = 0 ;
17416 PyObject * obj4 = 0 ;
17417 PyObject * obj5 = 0 ;
17418 PyObject * obj6 = 0 ;
17419 PyObject * obj7 = 0 ;
17420 PyObject * obj8 = 0 ;
17421 PyObject * obj9 = 0 ;
17422 char *kwnames[] = {
17423 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17424 };
17425
17426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
17427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17429 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 17430 if (PyErr_Occurred()) SWIG_fail;
c370783e 17431 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17432 if (PyErr_Occurred()) SWIG_fail;
17433 {
17434 arg4 = wxString_in_helper(obj3);
17435 if (arg4 == NULL) SWIG_fail;
b411df4a 17436 temp4 = true;
d55e5bfc
RD
17437 }
17438 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17439 SWIG_POINTER_EXCEPTION | 0)) == -1)
17440 SWIG_fail;
17441 if (arg5 == NULL) {
17442 PyErr_SetString(PyExc_TypeError,"null reference");
17443 SWIG_fail;
17444 }
17445 if (obj5) {
17446 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17447 SWIG_POINTER_EXCEPTION | 0)) == -1)
17448 SWIG_fail;
17449 if (arg6 == NULL) {
17450 PyErr_SetString(PyExc_TypeError,"null reference");
17451 SWIG_fail;
17452 }
17453 }
17454 if (obj6) {
c370783e 17455 arg7 = (int)SWIG_As_int(obj6);
d55e5bfc
RD
17456 if (PyErr_Occurred()) SWIG_fail;
17457 }
17458 if (obj7) {
17459 {
17460 arg8 = wxString_in_helper(obj7);
17461 if (arg8 == NULL) SWIG_fail;
b411df4a 17462 temp8 = true;
d55e5bfc
RD
17463 }
17464 }
17465 if (obj8) {
17466 {
17467 arg9 = wxString_in_helper(obj8);
17468 if (arg9 == NULL) SWIG_fail;
b411df4a 17469 temp9 = true;
d55e5bfc
RD
17470 }
17471 }
17472 if (obj9) {
17473 arg10 = obj9;
17474 }
17475 {
17476 PyThreadState* __tstate = wxPyBeginAllowThreads();
17477 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);
17478
17479 wxPyEndAllowThreads(__tstate);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 }
17482 {
412d302d 17483 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17484 }
17485 {
17486 if (temp4)
17487 delete arg4;
17488 }
17489 {
17490 if (temp8)
17491 delete arg8;
17492 }
17493 {
17494 if (temp9)
17495 delete arg9;
17496 }
17497 return resultobj;
17498 fail:
17499 {
17500 if (temp4)
17501 delete arg4;
17502 }
17503 {
17504 if (temp8)
17505 delete arg8;
17506 }
17507 {
17508 if (temp9)
17509 delete arg9;
17510 }
17511 return NULL;
17512}
17513
17514
c370783e 17515static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17516 PyObject *resultobj;
17517 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17518 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17519 wxToolBarToolBase *result;
17520 PyObject * obj0 = 0 ;
17521 PyObject * obj1 = 0 ;
17522 char *kwnames[] = {
17523 (char *) "self",(char *) "tool", NULL
17524 };
17525
17526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17534
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 {
412d302d 17539 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17540 }
17541 return resultobj;
17542 fail:
17543 return NULL;
17544}
17545
17546
c370783e 17547static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17548 PyObject *resultobj;
17549 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17550 size_t arg2 ;
17551 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17552 wxToolBarToolBase *result;
17553 PyObject * obj0 = 0 ;
17554 PyObject * obj1 = 0 ;
17555 PyObject * obj2 = 0 ;
17556 char *kwnames[] = {
17557 (char *) "self",(char *) "pos",(char *) "tool", NULL
17558 };
17559
17560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17563 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
17564 if (PyErr_Occurred()) SWIG_fail;
17565 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17567 {
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17570
17571 wxPyEndAllowThreads(__tstate);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 {
412d302d 17575 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17576 }
17577 return resultobj;
17578 fail:
17579 return NULL;
17580}
17581
17582
c370783e 17583static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17584 PyObject *resultobj;
17585 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17586 wxControl *arg2 = (wxControl *) 0 ;
17587 wxToolBarToolBase *result;
17588 PyObject * obj0 = 0 ;
17589 PyObject * obj1 = 0 ;
17590 char *kwnames[] = {
17591 (char *) "self",(char *) "control", NULL
17592 };
17593
17594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17602
17603 wxPyEndAllowThreads(__tstate);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
17606 {
412d302d 17607 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17608 }
17609 return resultobj;
17610 fail:
17611 return NULL;
17612}
17613
17614
c370783e 17615static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17616 PyObject *resultobj;
17617 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17618 size_t arg2 ;
17619 wxControl *arg3 = (wxControl *) 0 ;
17620 wxToolBarToolBase *result;
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 PyObject * obj2 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self",(char *) "pos",(char *) "control", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17631 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
17632 if (PyErr_Occurred()) SWIG_fail;
17633 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17638
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 {
412d302d 17643 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17644 }
17645 return resultobj;
17646 fail:
17647 return NULL;
17648}
17649
17650
c370783e 17651static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17652 PyObject *resultobj;
17653 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17654 int arg2 ;
17655 wxControl *result;
17656 PyObject * obj0 = 0 ;
17657 PyObject * obj1 = 0 ;
17658 char *kwnames[] = {
17659 (char *) "self",(char *) "id", NULL
17660 };
17661
17662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17665 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17666 if (PyErr_Occurred()) SWIG_fail;
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (wxControl *)(arg1)->FindControl(arg2);
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 {
412d302d 17675 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17676 }
17677 return resultobj;
17678 fail:
17679 return NULL;
17680}
17681
17682
c370783e 17683static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17684 PyObject *resultobj;
17685 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17686 wxToolBarToolBase *result;
17687 PyObject * obj0 = 0 ;
17688 char *kwnames[] = {
17689 (char *) "self", NULL
17690 };
17691
17692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 {
412d302d 17703 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17704 }
17705 return resultobj;
17706 fail:
17707 return NULL;
17708}
17709
17710
c370783e 17711static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17712 PyObject *resultobj;
17713 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17714 size_t arg2 ;
17715 wxToolBarToolBase *result;
17716 PyObject * obj0 = 0 ;
17717 PyObject * obj1 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self",(char *) "pos", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17725 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
17726 if (PyErr_Occurred()) SWIG_fail;
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17730
17731 wxPyEndAllowThreads(__tstate);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 }
17734 {
412d302d 17735 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17736 }
17737 return resultobj;
17738 fail:
17739 return NULL;
17740}
17741
17742
c370783e 17743static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17744 PyObject *resultobj;
17745 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17746 int arg2 ;
17747 wxToolBarToolBase *result;
17748 PyObject * obj0 = 0 ;
17749 PyObject * obj1 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self",(char *) "id", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17757 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17758 if (PyErr_Occurred()) SWIG_fail;
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 {
412d302d 17767 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17768 }
17769 return resultobj;
17770 fail:
17771 return NULL;
17772}
17773
17774
c370783e 17775static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17776 PyObject *resultobj;
17777 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17778 size_t arg2 ;
17779 bool result;
17780 PyObject * obj0 = 0 ;
17781 PyObject * obj1 = 0 ;
17782 char *kwnames[] = {
17783 (char *) "self",(char *) "pos", NULL
17784 };
17785
17786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17789 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
17790 if (PyErr_Occurred()) SWIG_fail;
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 result = (bool)(arg1)->DeleteToolByPos(arg2);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 {
17799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17800 }
17801 return resultobj;
17802 fail:
17803 return NULL;
17804}
17805
17806
c370783e 17807static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17808 PyObject *resultobj;
17809 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17810 int arg2 ;
17811 bool result;
17812 PyObject * obj0 = 0 ;
17813 PyObject * obj1 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self",(char *) "id", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17821 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17822 if (PyErr_Occurred()) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (bool)(arg1)->DeleteTool(arg2);
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 {
17831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17832 }
17833 return resultobj;
17834 fail:
17835 return NULL;
17836}
17837
17838
c370783e 17839static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17840 PyObject *resultobj;
17841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17842 PyObject * obj0 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 (arg1)->ClearTools();
17853
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 Py_INCREF(Py_None); resultobj = Py_None;
17858 return resultobj;
17859 fail:
17860 return NULL;
17861}
17862
17863
c370783e 17864static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17865 PyObject *resultobj;
17866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17867 bool result;
17868 PyObject * obj0 = 0 ;
17869 char *kwnames[] = {
17870 (char *) "self", NULL
17871 };
17872
17873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 result = (bool)(arg1)->Realize();
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 {
17884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17885 }
17886 return resultobj;
17887 fail:
17888 return NULL;
17889}
17890
17891
c370783e 17892static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17893 PyObject *resultobj;
17894 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17895 int arg2 ;
17896 bool arg3 ;
17897 PyObject * obj0 = 0 ;
17898 PyObject * obj1 = 0 ;
17899 PyObject * obj2 = 0 ;
17900 char *kwnames[] = {
17901 (char *) "self",(char *) "id",(char *) "enable", NULL
17902 };
17903
17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17907 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17908 if (PyErr_Occurred()) SWIG_fail;
c370783e 17909 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
17910 if (PyErr_Occurred()) SWIG_fail;
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 (arg1)->EnableTool(arg2,arg3);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 Py_INCREF(Py_None); resultobj = Py_None;
17919 return resultobj;
17920 fail:
17921 return NULL;
17922}
17923
17924
c370783e 17925static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17926 PyObject *resultobj;
17927 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17928 int arg2 ;
17929 bool arg3 ;
17930 PyObject * obj0 = 0 ;
17931 PyObject * obj1 = 0 ;
17932 PyObject * obj2 = 0 ;
17933 char *kwnames[] = {
17934 (char *) "self",(char *) "id",(char *) "toggle", NULL
17935 };
17936
17937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17940 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17941 if (PyErr_Occurred()) SWIG_fail;
c370783e 17942 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
17943 if (PyErr_Occurred()) SWIG_fail;
17944 {
17945 PyThreadState* __tstate = wxPyBeginAllowThreads();
17946 (arg1)->ToggleTool(arg2,arg3);
17947
17948 wxPyEndAllowThreads(__tstate);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 Py_INCREF(Py_None); resultobj = Py_None;
17952 return resultobj;
17953 fail:
17954 return NULL;
17955}
17956
17957
c370783e 17958static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17959 PyObject *resultobj;
17960 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17961 int arg2 ;
17962 bool arg3 ;
17963 PyObject * obj0 = 0 ;
17964 PyObject * obj1 = 0 ;
17965 PyObject * obj2 = 0 ;
17966 char *kwnames[] = {
17967 (char *) "self",(char *) "id",(char *) "toggle", NULL
17968 };
17969
17970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 17973 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17974 if (PyErr_Occurred()) SWIG_fail;
c370783e 17975 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
17976 if (PyErr_Occurred()) SWIG_fail;
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 (arg1)->SetToggle(arg2,arg3);
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 Py_INCREF(Py_None); resultobj = Py_None;
17985 return resultobj;
17986 fail:
17987 return NULL;
17988}
17989
17990
c370783e 17991static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17992 PyObject *resultobj;
17993 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17994 int arg2 ;
17995 PyObject *result;
17996 PyObject * obj0 = 0 ;
17997 PyObject * obj1 = 0 ;
17998 char *kwnames[] = {
17999 (char *) "self",(char *) "id", NULL
18000 };
18001
18002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
18003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18005 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18006 if (PyErr_Occurred()) SWIG_fail;
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 resultobj = result;
18015 return resultobj;
18016 fail:
18017 return NULL;
18018}
18019
18020
c370783e 18021static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18022 PyObject *resultobj;
18023 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18024 int arg2 ;
18025 PyObject *arg3 = (PyObject *) 0 ;
18026 PyObject * obj0 = 0 ;
18027 PyObject * obj1 = 0 ;
18028 PyObject * obj2 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self",(char *) "id",(char *) "clientData", NULL
18031 };
18032
18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
18034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18036 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18037 if (PyErr_Occurred()) SWIG_fail;
18038 arg3 = obj2;
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 Py_INCREF(Py_None); resultobj = Py_None;
18047 return resultobj;
18048 fail:
18049 return NULL;
18050}
18051
18052
c370783e 18053static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18054 PyObject *resultobj;
18055 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18056 int arg2 ;
18057 int result;
18058 PyObject * obj0 = 0 ;
18059 PyObject * obj1 = 0 ;
18060 char *kwnames[] = {
18061 (char *) "self",(char *) "id", NULL
18062 };
18063
18064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
18065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18067 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18068 if (PyErr_Occurred()) SWIG_fail;
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
c370783e 18076 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18077 return resultobj;
18078 fail:
18079 return NULL;
18080}
18081
18082
c370783e 18083static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18084 PyObject *resultobj;
18085 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18086 int arg2 ;
18087 bool result;
18088 PyObject * obj0 = 0 ;
18089 PyObject * obj1 = 0 ;
18090 char *kwnames[] = {
18091 (char *) "self",(char *) "id", NULL
18092 };
18093
18094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
18095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18097 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18098 if (PyErr_Occurred()) SWIG_fail;
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 result = (bool)(arg1)->GetToolState(arg2);
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 {
18107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18108 }
18109 return resultobj;
18110 fail:
18111 return NULL;
18112}
18113
18114
c370783e 18115static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18116 PyObject *resultobj;
18117 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18118 int arg2 ;
18119 bool result;
18120 PyObject * obj0 = 0 ;
18121 PyObject * obj1 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "self",(char *) "id", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
18127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18129 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18130 if (PyErr_Occurred()) SWIG_fail;
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 result = (bool)(arg1)->GetToolEnabled(arg2);
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 {
18139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18140 }
18141 return resultobj;
18142 fail:
18143 return NULL;
18144}
18145
18146
c370783e 18147static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18148 PyObject *resultobj;
18149 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18150 int arg2 ;
18151 wxString *arg3 = 0 ;
b411df4a 18152 bool temp3 = false ;
d55e5bfc
RD
18153 PyObject * obj0 = 0 ;
18154 PyObject * obj1 = 0 ;
18155 PyObject * obj2 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "self",(char *) "id",(char *) "helpString", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18163 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18164 if (PyErr_Occurred()) SWIG_fail;
18165 {
18166 arg3 = wxString_in_helper(obj2);
18167 if (arg3 == NULL) SWIG_fail;
b411df4a 18168 temp3 = true;
d55e5bfc
RD
18169 }
18170 {
18171 PyThreadState* __tstate = wxPyBeginAllowThreads();
18172 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
18173
18174 wxPyEndAllowThreads(__tstate);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 }
18177 Py_INCREF(Py_None); resultobj = Py_None;
18178 {
18179 if (temp3)
18180 delete arg3;
18181 }
18182 return resultobj;
18183 fail:
18184 {
18185 if (temp3)
18186 delete arg3;
18187 }
18188 return NULL;
18189}
18190
18191
c370783e 18192static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18193 PyObject *resultobj;
18194 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18195 int arg2 ;
18196 wxString result;
18197 PyObject * obj0 = 0 ;
18198 PyObject * obj1 = 0 ;
18199 char *kwnames[] = {
18200 (char *) "self",(char *) "id", NULL
18201 };
18202
18203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
18204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18206 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18207 if (PyErr_Occurred()) SWIG_fail;
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 result = (arg1)->GetToolShortHelp(arg2);
18211
18212 wxPyEndAllowThreads(__tstate);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
18215 {
18216#if wxUSE_UNICODE
18217 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18218#else
18219 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18220#endif
18221 }
18222 return resultobj;
18223 fail:
18224 return NULL;
18225}
18226
18227
c370783e 18228static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18229 PyObject *resultobj;
18230 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18231 int arg2 ;
18232 wxString *arg3 = 0 ;
b411df4a 18233 bool temp3 = false ;
d55e5bfc
RD
18234 PyObject * obj0 = 0 ;
18235 PyObject * obj1 = 0 ;
18236 PyObject * obj2 = 0 ;
18237 char *kwnames[] = {
18238 (char *) "self",(char *) "id",(char *) "helpString", NULL
18239 };
18240
18241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18244 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18245 if (PyErr_Occurred()) SWIG_fail;
18246 {
18247 arg3 = wxString_in_helper(obj2);
18248 if (arg3 == NULL) SWIG_fail;
b411df4a 18249 temp3 = true;
d55e5bfc
RD
18250 }
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 Py_INCREF(Py_None); resultobj = Py_None;
18259 {
18260 if (temp3)
18261 delete arg3;
18262 }
18263 return resultobj;
18264 fail:
18265 {
18266 if (temp3)
18267 delete arg3;
18268 }
18269 return NULL;
18270}
18271
18272
c370783e 18273static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18274 PyObject *resultobj;
18275 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18276 int arg2 ;
18277 wxString result;
18278 PyObject * obj0 = 0 ;
18279 PyObject * obj1 = 0 ;
18280 char *kwnames[] = {
18281 (char *) "self",(char *) "id", NULL
18282 };
18283
18284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
18285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18287 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18288 if (PyErr_Occurred()) SWIG_fail;
18289 {
18290 PyThreadState* __tstate = wxPyBeginAllowThreads();
18291 result = (arg1)->GetToolLongHelp(arg2);
18292
18293 wxPyEndAllowThreads(__tstate);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 {
18297#if wxUSE_UNICODE
18298 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18299#else
18300 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18301#endif
18302 }
18303 return resultobj;
18304 fail:
18305 return NULL;
18306}
18307
18308
c370783e 18309static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18310 PyObject *resultobj;
18311 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18312 int arg2 ;
18313 int arg3 ;
18314 PyObject * obj0 = 0 ;
18315 PyObject * obj1 = 0 ;
18316 PyObject * obj2 = 0 ;
18317 char *kwnames[] = {
18318 (char *) "self",(char *) "x",(char *) "y", NULL
18319 };
18320
18321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
18322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18324 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 18325 if (PyErr_Occurred()) SWIG_fail;
c370783e 18326 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18327 if (PyErr_Occurred()) SWIG_fail;
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 (arg1)->SetMargins(arg2,arg3);
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 Py_INCREF(Py_None); resultobj = Py_None;
18336 return resultobj;
18337 fail:
18338 return NULL;
18339}
18340
18341
c370783e 18342static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18343 PyObject *resultobj;
18344 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18345 wxSize *arg2 = 0 ;
18346 wxSize temp2 ;
18347 PyObject * obj0 = 0 ;
18348 PyObject * obj1 = 0 ;
18349 char *kwnames[] = {
18350 (char *) "self",(char *) "size", NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
18354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18356 {
18357 arg2 = &temp2;
18358 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18359 }
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 (arg1)->SetMargins((wxSize const &)*arg2);
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 Py_INCREF(Py_None); resultobj = Py_None;
18368 return resultobj;
18369 fail:
18370 return NULL;
18371}
18372
18373
c370783e 18374static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18375 PyObject *resultobj;
18376 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18377 int arg2 ;
18378 PyObject * obj0 = 0 ;
18379 PyObject * obj1 = 0 ;
18380 char *kwnames[] = {
18381 (char *) "self",(char *) "packing", NULL
18382 };
18383
18384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
18385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18387 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18388 if (PyErr_Occurred()) SWIG_fail;
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 (arg1)->SetToolPacking(arg2);
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 Py_INCREF(Py_None); resultobj = Py_None;
18397 return resultobj;
18398 fail:
18399 return NULL;
18400}
18401
18402
c370783e 18403static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18404 PyObject *resultobj;
18405 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18406 int arg2 ;
18407 PyObject * obj0 = 0 ;
18408 PyObject * obj1 = 0 ;
18409 char *kwnames[] = {
18410 (char *) "self",(char *) "separation", NULL
18411 };
18412
18413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
18414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18416 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18417 if (PyErr_Occurred()) SWIG_fail;
18418 {
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 (arg1)->SetToolSeparation(arg2);
18421
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 Py_INCREF(Py_None); resultobj = Py_None;
18426 return resultobj;
18427 fail:
18428 return NULL;
18429}
18430
18431
c370783e 18432static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18433 PyObject *resultobj;
18434 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18435 wxSize result;
18436 PyObject * obj0 = 0 ;
18437 char *kwnames[] = {
18438 (char *) "self", NULL
18439 };
18440
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
18442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18444 {
18445 PyThreadState* __tstate = wxPyBeginAllowThreads();
18446 result = (arg1)->GetToolMargins();
18447
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 {
18452 wxSize * resultptr;
18453 resultptr = new wxSize((wxSize &) result);
18454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18455 }
18456 return resultobj;
18457 fail:
18458 return NULL;
18459}
18460
18461
c370783e 18462static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18463 PyObject *resultobj;
18464 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18465 wxSize result;
18466 PyObject * obj0 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "self", NULL
18469 };
18470
18471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
18472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 result = (arg1)->GetMargins();
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 {
18482 wxSize * resultptr;
18483 resultptr = new wxSize((wxSize &) result);
18484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18485 }
18486 return resultobj;
18487 fail:
18488 return NULL;
18489}
18490
18491
c370783e 18492static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18493 PyObject *resultobj;
18494 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18495 int result;
18496 PyObject * obj0 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (int)(arg1)->GetToolPacking();
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
c370783e 18511 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18512 return resultobj;
18513 fail:
18514 return NULL;
18515}
18516
18517
c370783e 18518static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18519 PyObject *resultobj;
18520 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18521 int result;
18522 PyObject * obj0 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (int)(arg1)->GetToolSeparation();
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
c370783e 18537 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18538 return resultobj;
18539 fail:
18540 return NULL;
18541}
18542
18543
c370783e 18544static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18545 PyObject *resultobj;
18546 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18547 int arg2 ;
18548 PyObject * obj0 = 0 ;
18549 PyObject * obj1 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self",(char *) "nRows", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18557 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18558 if (PyErr_Occurred()) SWIG_fail;
18559 {
18560 PyThreadState* __tstate = wxPyBeginAllowThreads();
18561 (arg1)->SetRows(arg2);
18562
18563 wxPyEndAllowThreads(__tstate);
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
18566 Py_INCREF(Py_None); resultobj = Py_None;
18567 return resultobj;
18568 fail:
18569 return NULL;
18570}
18571
18572
c370783e 18573static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18574 PyObject *resultobj;
18575 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18576 int arg2 ;
18577 int arg3 ;
18578 PyObject * obj0 = 0 ;
18579 PyObject * obj1 = 0 ;
18580 PyObject * obj2 = 0 ;
18581 char *kwnames[] = {
18582 (char *) "self",(char *) "rows",(char *) "cols", NULL
18583 };
18584
18585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18588 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 18589 if (PyErr_Occurred()) SWIG_fail;
c370783e 18590 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18591 if (PyErr_Occurred()) SWIG_fail;
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 (arg1)->SetMaxRowsCols(arg2,arg3);
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 Py_INCREF(Py_None); resultobj = Py_None;
18600 return resultobj;
18601 fail:
18602 return NULL;
18603}
18604
18605
c370783e 18606static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18607 PyObject *resultobj;
18608 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18609 int result;
18610 PyObject * obj0 = 0 ;
18611 char *kwnames[] = {
18612 (char *) "self", NULL
18613 };
18614
18615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 result = (int)(arg1)->GetMaxRows();
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
c370783e 18625 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18626 return resultobj;
18627 fail:
18628 return NULL;
18629}
18630
18631
c370783e 18632static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18633 PyObject *resultobj;
18634 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18635 int result;
18636 PyObject * obj0 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 result = (int)(arg1)->GetMaxCols();
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
c370783e 18651 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18652 return resultobj;
18653 fail:
18654 return NULL;
18655}
18656
18657
c370783e 18658static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18659 PyObject *resultobj;
18660 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18661 wxSize *arg2 = 0 ;
18662 wxSize temp2 ;
18663 PyObject * obj0 = 0 ;
18664 PyObject * obj1 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self",(char *) "size", NULL
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18672 {
18673 arg2 = &temp2;
18674 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18675 }
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 Py_INCREF(Py_None); resultobj = Py_None;
18684 return resultobj;
18685 fail:
18686 return NULL;
18687}
18688
18689
c370783e 18690static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18691 PyObject *resultobj;
18692 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18693 wxSize result;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 result = (arg1)->GetToolBitmapSize();
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 {
18710 wxSize * resultptr;
18711 resultptr = new wxSize((wxSize &) result);
18712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18713 }
18714 return resultobj;
18715 fail:
18716 return NULL;
18717}
18718
18719
c370783e 18720static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18721 PyObject *resultobj;
18722 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18723 wxSize result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (arg1)->GetToolSize();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 {
18740 wxSize * resultptr;
18741 resultptr = new wxSize((wxSize &) result);
18742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18743 }
18744 return resultobj;
18745 fail:
18746 return NULL;
18747}
18748
18749
c370783e 18750static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18751 PyObject *resultobj;
18752 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18753 int arg2 ;
18754 int arg3 ;
18755 wxToolBarToolBase *result;
18756 PyObject * obj0 = 0 ;
18757 PyObject * obj1 = 0 ;
18758 PyObject * obj2 = 0 ;
18759 char *kwnames[] = {
18760 (char *) "self",(char *) "x",(char *) "y", NULL
18761 };
18762
18763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18766 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 18767 if (PyErr_Occurred()) SWIG_fail;
c370783e 18768 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18769 if (PyErr_Occurred()) SWIG_fail;
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 {
412d302d 18778 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18779 }
18780 return resultobj;
18781 fail:
18782 return NULL;
18783}
18784
18785
c370783e 18786static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18787 PyObject *resultobj;
18788 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18789 int arg2 ;
18790 wxToolBarToolBase *result;
18791 PyObject * obj0 = 0 ;
18792 PyObject * obj1 = 0 ;
18793 char *kwnames[] = {
18794 (char *) "self",(char *) "toolid", NULL
18795 };
18796
18797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 18800 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18801 if (PyErr_Occurred()) SWIG_fail;
18802 {
18803 PyThreadState* __tstate = wxPyBeginAllowThreads();
18804 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18805
18806 wxPyEndAllowThreads(__tstate);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 {
412d302d 18810 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18811 }
18812 return resultobj;
18813 fail:
18814 return NULL;
18815}
18816
18817
c370783e 18818static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18819 PyObject *resultobj;
18820 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18821 bool result;
18822 PyObject * obj0 = 0 ;
18823 char *kwnames[] = {
18824 (char *) "self", NULL
18825 };
18826
18827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 result = (bool)(arg1)->IsVertical();
18833
18834 wxPyEndAllowThreads(__tstate);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 }
18837 {
18838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18839 }
18840 return resultobj;
18841 fail:
18842 return NULL;
18843}
18844
18845
c370783e 18846static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18847 PyObject *obj;
18848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18849 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18850 Py_INCREF(obj);
18851 return Py_BuildValue((char *)"");
18852}
c370783e 18853static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18854 PyObject *resultobj;
18855 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 18856 int arg2 = (int) -1 ;
d55e5bfc
RD
18857 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18858 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18859 wxSize const &arg4_defvalue = wxDefaultSize ;
18860 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18861 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18862 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18863 wxString *arg6 = (wxString *) &arg6_defvalue ;
18864 wxToolBar *result;
18865 wxPoint temp3 ;
18866 wxSize temp4 ;
b411df4a 18867 bool temp6 = false ;
d55e5bfc
RD
18868 PyObject * obj0 = 0 ;
18869 PyObject * obj1 = 0 ;
18870 PyObject * obj2 = 0 ;
18871 PyObject * obj3 = 0 ;
18872 PyObject * obj4 = 0 ;
18873 PyObject * obj5 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18876 };
18877
bfddbb17 18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
18879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 18881 if (obj1) {
c370783e 18882 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
d55e5bfc
RD
18885 if (obj2) {
18886 {
18887 arg3 = &temp3;
18888 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18889 }
18890 }
18891 if (obj3) {
18892 {
18893 arg4 = &temp4;
18894 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18895 }
18896 }
18897 if (obj4) {
c370783e 18898 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 if (obj5) {
18902 {
18903 arg6 = wxString_in_helper(obj5);
18904 if (arg6 == NULL) SWIG_fail;
b411df4a 18905 temp6 = true;
d55e5bfc
RD
18906 }
18907 }
18908 {
0439c23b 18909 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18910 PyThreadState* __tstate = wxPyBeginAllowThreads();
18911 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18912
18913 wxPyEndAllowThreads(__tstate);
110da5b0 18914 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18915 }
b0f7404b 18916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
18917 {
18918 if (temp6)
18919 delete arg6;
18920 }
18921 return resultobj;
18922 fail:
18923 {
18924 if (temp6)
18925 delete arg6;
18926 }
18927 return NULL;
18928}
18929
18930
c370783e 18931static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18932 PyObject *resultobj;
18933 wxToolBar *result;
18934 char *kwnames[] = {
18935 NULL
18936 };
18937
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18939 {
0439c23b 18940 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 result = (wxToolBar *)new wxToolBar();
18943
18944 wxPyEndAllowThreads(__tstate);
110da5b0 18945 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18946 }
b0f7404b 18947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
18948 return resultobj;
18949 fail:
18950 return NULL;
18951}
18952
18953
c370783e 18954static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18955 PyObject *resultobj;
18956 wxToolBar *arg1 = (wxToolBar *) 0 ;
18957 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 18958 int arg3 = (int) -1 ;
d55e5bfc
RD
18959 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18960 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18961 wxSize const &arg5_defvalue = wxDefaultSize ;
18962 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18963 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18964 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18965 wxString *arg7 = (wxString *) &arg7_defvalue ;
18966 bool result;
18967 wxPoint temp4 ;
18968 wxSize temp5 ;
b411df4a 18969 bool temp7 = false ;
d55e5bfc
RD
18970 PyObject * obj0 = 0 ;
18971 PyObject * obj1 = 0 ;
18972 PyObject * obj2 = 0 ;
18973 PyObject * obj3 = 0 ;
18974 PyObject * obj4 = 0 ;
18975 PyObject * obj5 = 0 ;
18976 PyObject * obj6 = 0 ;
18977 char *kwnames[] = {
18978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18979 };
18980
bfddbb17 18981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
18982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 18986 if (obj2) {
c370783e 18987 arg3 = (int)SWIG_As_int(obj2);
bfddbb17
RD
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
d55e5bfc
RD
18990 if (obj3) {
18991 {
18992 arg4 = &temp4;
18993 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18994 }
18995 }
18996 if (obj4) {
18997 {
18998 arg5 = &temp5;
18999 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19000 }
19001 }
19002 if (obj5) {
c370783e 19003 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 if (obj6) {
19007 {
19008 arg7 = wxString_in_helper(obj6);
19009 if (arg7 == NULL) SWIG_fail;
b411df4a 19010 temp7 = true;
d55e5bfc
RD
19011 }
19012 }
19013 {
19014 PyThreadState* __tstate = wxPyBeginAllowThreads();
19015 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19016
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
19020 {
19021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19022 }
19023 {
19024 if (temp7)
19025 delete arg7;
19026 }
19027 return resultobj;
19028 fail:
19029 {
19030 if (temp7)
19031 delete arg7;
19032 }
19033 return NULL;
19034}
19035
19036
c370783e 19037static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19038 PyObject *resultobj;
19039 wxToolBar *arg1 = (wxToolBar *) 0 ;
19040 int arg2 ;
19041 int arg3 ;
19042 wxToolBarToolBase *result;
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 PyObject * obj2 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self",(char *) "x",(char *) "y", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
19052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19053 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 19054 if (PyErr_Occurred()) SWIG_fail;
c370783e 19055 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
19056 if (PyErr_Occurred()) SWIG_fail;
19057 {
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
19060
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 {
412d302d 19065 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19066 }
19067 return resultobj;
19068 fail:
19069 return NULL;
19070}
19071
19072
c370783e 19073static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
19074 PyObject *resultobj;
19075 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
19076 wxVisualAttributes result;
19077 PyObject * obj0 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "variant", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
19083 if (obj0) {
c370783e 19084 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
19085 if (PyErr_Occurred()) SWIG_fail;
19086 }
19087 {
0439c23b 19088 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
19090 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
19091
19092 wxPyEndAllowThreads(__tstate);
110da5b0 19093 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
19094 }
19095 {
19096 wxVisualAttributes * resultptr;
19097 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
19098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19099 }
19100 return resultobj;
19101 fail:
19102 return NULL;
19103}
19104
19105
c370783e 19106static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19107 PyObject *obj;
19108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19109 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
19110 Py_INCREF(obj);
19111 return Py_BuildValue((char *)"");
19112}
c370783e 19113static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
19114 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
19115 return 1;
19116}
19117
19118
19119static PyObject *_wrap_ListCtrlNameStr_get() {
19120 PyObject *pyobj;
19121
19122 {
19123#if wxUSE_UNICODE
19124 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19125#else
19126 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19127#endif
19128 }
19129 return pyobj;
19130}
19131
19132
c370783e 19133static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19134 PyObject *resultobj;
19135 wxColour const &arg1_defvalue = wxNullColour ;
19136 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
19137 wxColour const &arg2_defvalue = wxNullColour ;
19138 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19139 wxFont const &arg3_defvalue = wxNullFont ;
19140 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
19141 wxListItemAttr *result;
19142 wxColour temp1 ;
19143 wxColour temp2 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 PyObject * obj2 = 0 ;
19147 char *kwnames[] = {
19148 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19149 };
19150
19151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
19152 if (obj0) {
19153 {
19154 arg1 = &temp1;
19155 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
19156 }
19157 }
19158 if (obj1) {
19159 {
19160 arg2 = &temp2;
19161 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19162 }
19163 }
19164 if (obj2) {
19165 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
19166 SWIG_POINTER_EXCEPTION | 0)) == -1)
19167 SWIG_fail;
19168 if (arg3 == NULL) {
19169 PyErr_SetString(PyExc_TypeError,"null reference");
19170 SWIG_fail;
19171 }
19172 }
19173 {
19174 PyThreadState* __tstate = wxPyBeginAllowThreads();
19175 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
19176
19177 wxPyEndAllowThreads(__tstate);
19178 if (PyErr_Occurred()) SWIG_fail;
19179 }
19180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
19181 return resultobj;
19182 fail:
19183 return NULL;
19184}
19185
19186
c370783e 19187static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19188 PyObject *resultobj;
19189 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19190 wxColour *arg2 = 0 ;
19191 wxColour temp2 ;
19192 PyObject * obj0 = 0 ;
19193 PyObject * obj1 = 0 ;
19194 char *kwnames[] = {
19195 (char *) "self",(char *) "colText", NULL
19196 };
19197
19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19201 {
19202 arg2 = &temp2;
19203 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19204 }
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 (arg1)->SetTextColour((wxColour const &)*arg2);
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 Py_INCREF(Py_None); resultobj = Py_None;
19213 return resultobj;
19214 fail:
19215 return NULL;
19216}
19217
19218
c370783e 19219static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19220 PyObject *resultobj;
19221 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19222 wxColour *arg2 = 0 ;
19223 wxColour temp2 ;
19224 PyObject * obj0 = 0 ;
19225 PyObject * obj1 = 0 ;
19226 char *kwnames[] = {
19227 (char *) "self",(char *) "colBack", NULL
19228 };
19229
19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19233 {
19234 arg2 = &temp2;
19235 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19236 }
19237 {
19238 PyThreadState* __tstate = wxPyBeginAllowThreads();
19239 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19240
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 Py_INCREF(Py_None); resultobj = Py_None;
19245 return resultobj;
19246 fail:
19247 return NULL;
19248}
19249
19250
c370783e 19251static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19252 PyObject *resultobj;
19253 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19254 wxFont *arg2 = 0 ;
19255 PyObject * obj0 = 0 ;
19256 PyObject * obj1 = 0 ;
19257 char *kwnames[] = {
19258 (char *) "self",(char *) "font", NULL
19259 };
19260
19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
19262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19265 SWIG_POINTER_EXCEPTION | 0)) == -1)
19266 SWIG_fail;
19267 if (arg2 == NULL) {
19268 PyErr_SetString(PyExc_TypeError,"null reference");
19269 SWIG_fail;
19270 }
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 (arg1)->SetFont((wxFont const &)*arg2);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 Py_INCREF(Py_None); resultobj = Py_None;
19279 return resultobj;
19280 fail:
19281 return NULL;
19282}
19283
19284
c370783e 19285static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19286 PyObject *resultobj;
19287 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19288 bool result;
19289 PyObject * obj0 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
19295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19297 {
19298 PyThreadState* __tstate = wxPyBeginAllowThreads();
19299 result = (bool)(arg1)->HasTextColour();
19300
19301 wxPyEndAllowThreads(__tstate);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 {
19305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19306 }
19307 return resultobj;
19308 fail:
19309 return NULL;
19310}
19311
19312
c370783e 19313static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19314 PyObject *resultobj;
19315 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19316 bool result;
19317 PyObject * obj0 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
19323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19325 {
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 result = (bool)(arg1)->HasBackgroundColour();
19328
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
19332 {
19333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19334 }
19335 return resultobj;
19336 fail:
19337 return NULL;
19338}
19339
19340
c370783e 19341static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19342 PyObject *resultobj;
19343 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19344 bool result;
19345 PyObject * obj0 = 0 ;
19346 char *kwnames[] = {
19347 (char *) "self", NULL
19348 };
19349
19350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
19351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19353 {
19354 PyThreadState* __tstate = wxPyBeginAllowThreads();
19355 result = (bool)(arg1)->HasFont();
19356
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 {
19361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19362 }
19363 return resultobj;
19364 fail:
19365 return NULL;
19366}
19367
19368
c370783e 19369static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19370 PyObject *resultobj;
19371 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19372 wxColour result;
19373 PyObject * obj0 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self", NULL
19376 };
19377
19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
19379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 result = (arg1)->GetTextColour();
19384
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 {
19389 wxColour * resultptr;
19390 resultptr = new wxColour((wxColour &) result);
19391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19392 }
19393 return resultobj;
19394 fail:
19395 return NULL;
19396}
19397
19398
c370783e 19399static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19400 PyObject *resultobj;
19401 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19402 wxColour result;
19403 PyObject * obj0 = 0 ;
19404 char *kwnames[] = {
19405 (char *) "self", NULL
19406 };
19407
19408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
19409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19411 {
19412 PyThreadState* __tstate = wxPyBeginAllowThreads();
19413 result = (arg1)->GetBackgroundColour();
19414
19415 wxPyEndAllowThreads(__tstate);
19416 if (PyErr_Occurred()) SWIG_fail;
19417 }
19418 {
19419 wxColour * resultptr;
19420 resultptr = new wxColour((wxColour &) result);
19421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19422 }
19423 return resultobj;
19424 fail:
19425 return NULL;
19426}
19427
19428
c370783e 19429static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19430 PyObject *resultobj;
19431 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19432 wxFont result;
19433 PyObject * obj0 = 0 ;
19434 char *kwnames[] = {
19435 (char *) "self", NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
19439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 result = (arg1)->GetFont();
19444
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 {
19449 wxFont * resultptr;
19450 resultptr = new wxFont((wxFont &) result);
19451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19452 }
19453 return resultobj;
19454 fail:
19455 return NULL;
19456}
19457
19458
c370783e 19459static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19460 PyObject *resultobj;
19461 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19462 PyObject * obj0 = 0 ;
19463 char *kwnames[] = {
19464 (char *) "self", NULL
19465 };
19466
19467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
19468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 wxListItemAttr_Destroy(arg1);
19473
19474 wxPyEndAllowThreads(__tstate);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 Py_INCREF(Py_None); resultobj = Py_None;
19478 return resultobj;
19479 fail:
19480 return NULL;
19481}
19482
19483
c370783e 19484static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19485 PyObject *obj;
19486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19487 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19488 Py_INCREF(obj);
19489 return Py_BuildValue((char *)"");
19490}
c370783e 19491static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19492 PyObject *resultobj;
19493 wxListItem *result;
19494 char *kwnames[] = {
19495 NULL
19496 };
19497
19498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 result = (wxListItem *)new wxListItem();
19502
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 {
412d302d 19507 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
19508 }
19509 return resultobj;
19510 fail:
19511 return NULL;
19512}
19513
19514
c370783e 19515static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19516 PyObject *resultobj;
19517 wxListItem *arg1 = (wxListItem *) 0 ;
19518 PyObject * obj0 = 0 ;
19519 char *kwnames[] = {
19520 (char *) "self", NULL
19521 };
19522
19523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19526 {
19527 PyThreadState* __tstate = wxPyBeginAllowThreads();
19528 delete arg1;
19529
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 Py_INCREF(Py_None); resultobj = Py_None;
19534 return resultobj;
19535 fail:
19536 return NULL;
19537}
19538
19539
c370783e 19540static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19541 PyObject *resultobj;
19542 wxListItem *arg1 = (wxListItem *) 0 ;
19543 PyObject * obj0 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 (arg1)->Clear();
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 Py_INCREF(Py_None); resultobj = Py_None;
19559 return resultobj;
19560 fail:
19561 return NULL;
19562}
19563
19564
c370783e 19565static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19566 PyObject *resultobj;
19567 wxListItem *arg1 = (wxListItem *) 0 ;
19568 PyObject * obj0 = 0 ;
19569 char *kwnames[] = {
19570 (char *) "self", NULL
19571 };
19572
19573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
19578 (arg1)->ClearAttributes();
19579
19580 wxPyEndAllowThreads(__tstate);
19581 if (PyErr_Occurred()) SWIG_fail;
19582 }
19583 Py_INCREF(Py_None); resultobj = Py_None;
19584 return resultobj;
19585 fail:
19586 return NULL;
19587}
19588
19589
c370783e 19590static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19591 PyObject *resultobj;
19592 wxListItem *arg1 = (wxListItem *) 0 ;
19593 long arg2 ;
19594 PyObject * obj0 = 0 ;
19595 PyObject * obj1 = 0 ;
19596 char *kwnames[] = {
19597 (char *) "self",(char *) "mask", NULL
19598 };
19599
19600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19603 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19604 if (PyErr_Occurred()) SWIG_fail;
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 (arg1)->SetMask(arg2);
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 Py_INCREF(Py_None); resultobj = Py_None;
19613 return resultobj;
19614 fail:
19615 return NULL;
19616}
19617
19618
c370783e 19619static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19620 PyObject *resultobj;
19621 wxListItem *arg1 = (wxListItem *) 0 ;
19622 long arg2 ;
19623 PyObject * obj0 = 0 ;
19624 PyObject * obj1 = 0 ;
19625 char *kwnames[] = {
19626 (char *) "self",(char *) "id", NULL
19627 };
19628
19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19632 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19633 if (PyErr_Occurred()) SWIG_fail;
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
19636 (arg1)->SetId(arg2);
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 Py_INCREF(Py_None); resultobj = Py_None;
19642 return resultobj;
19643 fail:
19644 return NULL;
19645}
19646
19647
c370783e 19648static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19649 PyObject *resultobj;
19650 wxListItem *arg1 = (wxListItem *) 0 ;
19651 int arg2 ;
19652 PyObject * obj0 = 0 ;
19653 PyObject * obj1 = 0 ;
19654 char *kwnames[] = {
19655 (char *) "self",(char *) "col", NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19661 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19662 if (PyErr_Occurred()) SWIG_fail;
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 (arg1)->SetColumn(arg2);
19666
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 Py_INCREF(Py_None); resultobj = Py_None;
19671 return resultobj;
19672 fail:
19673 return NULL;
19674}
19675
19676
c370783e 19677static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19678 PyObject *resultobj;
19679 wxListItem *arg1 = (wxListItem *) 0 ;
19680 long arg2 ;
19681 PyObject * obj0 = 0 ;
19682 PyObject * obj1 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self",(char *) "state", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19690 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19691 if (PyErr_Occurred()) SWIG_fail;
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 (arg1)->SetState(arg2);
19695
19696 wxPyEndAllowThreads(__tstate);
19697 if (PyErr_Occurred()) SWIG_fail;
19698 }
19699 Py_INCREF(Py_None); resultobj = Py_None;
19700 return resultobj;
19701 fail:
19702 return NULL;
19703}
19704
19705
c370783e 19706static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19707 PyObject *resultobj;
19708 wxListItem *arg1 = (wxListItem *) 0 ;
19709 long arg2 ;
19710 PyObject * obj0 = 0 ;
19711 PyObject * obj1 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self",(char *) "stateMask", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19719 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19720 if (PyErr_Occurred()) SWIG_fail;
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 (arg1)->SetStateMask(arg2);
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 Py_INCREF(Py_None); resultobj = Py_None;
19729 return resultobj;
19730 fail:
19731 return NULL;
19732}
19733
19734
c370783e 19735static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19736 PyObject *resultobj;
19737 wxListItem *arg1 = (wxListItem *) 0 ;
19738 wxString *arg2 = 0 ;
b411df4a 19739 bool temp2 = false ;
d55e5bfc
RD
19740 PyObject * obj0 = 0 ;
19741 PyObject * obj1 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self",(char *) "text", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19749 {
19750 arg2 = wxString_in_helper(obj1);
19751 if (arg2 == NULL) SWIG_fail;
b411df4a 19752 temp2 = true;
d55e5bfc
RD
19753 }
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 (arg1)->SetText((wxString const &)*arg2);
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
19761 Py_INCREF(Py_None); resultobj = Py_None;
19762 {
19763 if (temp2)
19764 delete arg2;
19765 }
19766 return resultobj;
19767 fail:
19768 {
19769 if (temp2)
19770 delete arg2;
19771 }
19772 return NULL;
19773}
19774
19775
c370783e 19776static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19777 PyObject *resultobj;
19778 wxListItem *arg1 = (wxListItem *) 0 ;
19779 int arg2 ;
19780 PyObject * obj0 = 0 ;
19781 PyObject * obj1 = 0 ;
19782 char *kwnames[] = {
19783 (char *) "self",(char *) "image", NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19789 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19790 if (PyErr_Occurred()) SWIG_fail;
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 (arg1)->SetImage(arg2);
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 Py_INCREF(Py_None); resultobj = Py_None;
19799 return resultobj;
19800 fail:
19801 return NULL;
19802}
19803
19804
c370783e 19805static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19806 PyObject *resultobj;
19807 wxListItem *arg1 = (wxListItem *) 0 ;
19808 long arg2 ;
19809 PyObject * obj0 = 0 ;
19810 PyObject * obj1 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self",(char *) "data", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19818 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19819 if (PyErr_Occurred()) SWIG_fail;
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 (arg1)->SetData(arg2);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 Py_INCREF(Py_None); resultobj = Py_None;
19828 return resultobj;
19829 fail:
19830 return NULL;
19831}
19832
19833
c370783e 19834static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19835 PyObject *resultobj;
19836 wxListItem *arg1 = (wxListItem *) 0 ;
19837 int arg2 ;
19838 PyObject * obj0 = 0 ;
19839 PyObject * obj1 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self",(char *) "width", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19847 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19848 if (PyErr_Occurred()) SWIG_fail;
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 (arg1)->SetWidth(arg2);
19852
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 Py_INCREF(Py_None); resultobj = Py_None;
19857 return resultobj;
19858 fail:
19859 return NULL;
19860}
19861
19862
c370783e 19863static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19864 PyObject *resultobj;
19865 wxListItem *arg1 = (wxListItem *) 0 ;
19866 int arg2 ;
19867 PyObject * obj0 = 0 ;
19868 PyObject * obj1 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self",(char *) "align", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 19876 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19877 if (PyErr_Occurred()) SWIG_fail;
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 (arg1)->SetAlign((wxListColumnFormat )arg2);
19881
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 Py_INCREF(Py_None); resultobj = Py_None;
19886 return resultobj;
19887 fail:
19888 return NULL;
19889}
19890
19891
c370783e 19892static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19893 PyObject *resultobj;
19894 wxListItem *arg1 = (wxListItem *) 0 ;
19895 wxColour *arg2 = 0 ;
19896 wxColour temp2 ;
19897 PyObject * obj0 = 0 ;
19898 PyObject * obj1 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self",(char *) "colText", NULL
19901 };
19902
19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19906 {
19907 arg2 = &temp2;
19908 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19909 }
19910 {
19911 PyThreadState* __tstate = wxPyBeginAllowThreads();
19912 (arg1)->SetTextColour((wxColour const &)*arg2);
19913
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 Py_INCREF(Py_None); resultobj = Py_None;
19918 return resultobj;
19919 fail:
19920 return NULL;
19921}
19922
19923
c370783e 19924static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19925 PyObject *resultobj;
19926 wxListItem *arg1 = (wxListItem *) 0 ;
19927 wxColour *arg2 = 0 ;
19928 wxColour temp2 ;
19929 PyObject * obj0 = 0 ;
19930 PyObject * obj1 = 0 ;
19931 char *kwnames[] = {
19932 (char *) "self",(char *) "colBack", NULL
19933 };
19934
19935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19938 {
19939 arg2 = &temp2;
19940 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19941 }
19942 {
19943 PyThreadState* __tstate = wxPyBeginAllowThreads();
19944 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19945
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 Py_INCREF(Py_None); resultobj = Py_None;
19950 return resultobj;
19951 fail:
19952 return NULL;
19953}
19954
19955
c370783e 19956static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19957 PyObject *resultobj;
19958 wxListItem *arg1 = (wxListItem *) 0 ;
19959 wxFont *arg2 = 0 ;
19960 PyObject * obj0 = 0 ;
19961 PyObject * obj1 = 0 ;
19962 char *kwnames[] = {
19963 (char *) "self",(char *) "font", NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19970 SWIG_POINTER_EXCEPTION | 0)) == -1)
19971 SWIG_fail;
19972 if (arg2 == NULL) {
19973 PyErr_SetString(PyExc_TypeError,"null reference");
19974 SWIG_fail;
19975 }
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->SetFont((wxFont const &)*arg2);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 Py_INCREF(Py_None); resultobj = Py_None;
19984 return resultobj;
19985 fail:
19986 return NULL;
19987}
19988
19989
c370783e 19990static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19991 PyObject *resultobj;
19992 wxListItem *arg1 = (wxListItem *) 0 ;
19993 long result;
19994 PyObject * obj0 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20002 {
20003 PyThreadState* __tstate = wxPyBeginAllowThreads();
20004 result = (long)(arg1)->GetMask();
20005
20006 wxPyEndAllowThreads(__tstate);
20007 if (PyErr_Occurred()) SWIG_fail;
20008 }
c370783e 20009 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20010 return resultobj;
20011 fail:
20012 return NULL;
20013}
20014
20015
c370783e 20016static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20017 PyObject *resultobj;
20018 wxListItem *arg1 = (wxListItem *) 0 ;
20019 long result;
20020 PyObject * obj0 = 0 ;
20021 char *kwnames[] = {
20022 (char *) "self", NULL
20023 };
20024
20025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
20026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20028 {
20029 PyThreadState* __tstate = wxPyBeginAllowThreads();
20030 result = (long)(arg1)->GetId();
20031
20032 wxPyEndAllowThreads(__tstate);
20033 if (PyErr_Occurred()) SWIG_fail;
20034 }
c370783e 20035 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20036 return resultobj;
20037 fail:
20038 return NULL;
20039}
20040
20041
c370783e 20042static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20043 PyObject *resultobj;
20044 wxListItem *arg1 = (wxListItem *) 0 ;
20045 int result;
20046 PyObject * obj0 = 0 ;
20047 char *kwnames[] = {
20048 (char *) "self", NULL
20049 };
20050
20051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
20052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20054 {
20055 PyThreadState* __tstate = wxPyBeginAllowThreads();
20056 result = (int)(arg1)->GetColumn();
20057
20058 wxPyEndAllowThreads(__tstate);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
c370783e 20061 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20062 return resultobj;
20063 fail:
20064 return NULL;
20065}
20066
20067
c370783e 20068static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20069 PyObject *resultobj;
20070 wxListItem *arg1 = (wxListItem *) 0 ;
20071 long result;
20072 PyObject * obj0 = 0 ;
20073 char *kwnames[] = {
20074 (char *) "self", NULL
20075 };
20076
20077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
20078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 result = (long)(arg1)->GetState();
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
c370783e 20087 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20088 return resultobj;
20089 fail:
20090 return NULL;
20091}
20092
20093
c370783e 20094static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20095 PyObject *resultobj;
20096 wxListItem *arg1 = (wxListItem *) 0 ;
20097 wxString *result;
20098 PyObject * obj0 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
20104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 {
20109 wxString const &_result_ref = (arg1)->GetText();
20110 result = (wxString *) &_result_ref;
20111 }
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 {
20117#if wxUSE_UNICODE
20118 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20119#else
20120 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20121#endif
20122 }
20123 return resultobj;
20124 fail:
20125 return NULL;
20126}
20127
20128
c370783e 20129static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20130 PyObject *resultobj;
20131 wxListItem *arg1 = (wxListItem *) 0 ;
20132 int result;
20133 PyObject * obj0 = 0 ;
20134 char *kwnames[] = {
20135 (char *) "self", NULL
20136 };
20137
20138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
20139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 result = (int)(arg1)->GetImage();
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
c370783e 20148 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20149 return resultobj;
20150 fail:
20151 return NULL;
20152}
20153
20154
c370783e 20155static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20156 PyObject *resultobj;
20157 wxListItem *arg1 = (wxListItem *) 0 ;
20158 long result;
20159 PyObject * obj0 = 0 ;
20160 char *kwnames[] = {
20161 (char *) "self", NULL
20162 };
20163
20164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
20165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 result = (long)(arg1)->GetData();
20170
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
c370783e 20174 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20175 return resultobj;
20176 fail:
20177 return NULL;
20178}
20179
20180
c370783e 20181static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20182 PyObject *resultobj;
20183 wxListItem *arg1 = (wxListItem *) 0 ;
20184 int result;
20185 PyObject * obj0 = 0 ;
20186 char *kwnames[] = {
20187 (char *) "self", NULL
20188 };
20189
20190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
20191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 result = (int)(arg1)->GetWidth();
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
c370783e 20200 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20201 return resultobj;
20202 fail:
20203 return NULL;
20204}
20205
20206
c370783e 20207static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20208 PyObject *resultobj;
20209 wxListItem *arg1 = (wxListItem *) 0 ;
20210 int result;
20211 PyObject * obj0 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 result = (int)(arg1)->GetAlign();
20222
20223 wxPyEndAllowThreads(__tstate);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
c370783e 20226 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20227 return resultobj;
20228 fail:
20229 return NULL;
20230}
20231
20232
c370783e 20233static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20234 PyObject *resultobj;
20235 wxListItem *arg1 = (wxListItem *) 0 ;
20236 wxListItemAttr *result;
20237 PyObject * obj0 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
20243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = (wxListItemAttr *)(arg1)->GetAttributes();
20248
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
20253 return resultobj;
20254 fail:
20255 return NULL;
20256}
20257
20258
c370783e 20259static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20260 PyObject *resultobj;
20261 wxListItem *arg1 = (wxListItem *) 0 ;
20262 bool result;
20263 PyObject * obj0 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "self", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
20269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 result = (bool)(arg1)->HasAttributes();
20274
20275 wxPyEndAllowThreads(__tstate);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 {
20279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20280 }
20281 return resultobj;
20282 fail:
20283 return NULL;
20284}
20285
20286
c370783e 20287static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20288 PyObject *resultobj;
20289 wxListItem *arg1 = (wxListItem *) 0 ;
20290 wxColour result;
20291 PyObject * obj0 = 0 ;
20292 char *kwnames[] = {
20293 (char *) "self", NULL
20294 };
20295
20296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
20297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20299 {
20300 PyThreadState* __tstate = wxPyBeginAllowThreads();
20301 result = ((wxListItem const *)arg1)->GetTextColour();
20302
20303 wxPyEndAllowThreads(__tstate);
20304 if (PyErr_Occurred()) SWIG_fail;
20305 }
20306 {
20307 wxColour * resultptr;
20308 resultptr = new wxColour((wxColour &) result);
20309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20310 }
20311 return resultobj;
20312 fail:
20313 return NULL;
20314}
20315
20316
c370783e 20317static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20318 PyObject *resultobj;
20319 wxListItem *arg1 = (wxListItem *) 0 ;
20320 wxColour result;
20321 PyObject * obj0 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
20327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 result = ((wxListItem const *)arg1)->GetBackgroundColour();
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 {
20337 wxColour * resultptr;
20338 resultptr = new wxColour((wxColour &) result);
20339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20340 }
20341 return resultobj;
20342 fail:
20343 return NULL;
20344}
20345
20346
c370783e 20347static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20348 PyObject *resultobj;
20349 wxListItem *arg1 = (wxListItem *) 0 ;
20350 wxFont result;
20351 PyObject * obj0 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20359 {
20360 PyThreadState* __tstate = wxPyBeginAllowThreads();
20361 result = ((wxListItem const *)arg1)->GetFont();
20362
20363 wxPyEndAllowThreads(__tstate);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
20366 {
20367 wxFont * resultptr;
20368 resultptr = new wxFont((wxFont &) result);
20369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
20370 }
20371 return resultobj;
20372 fail:
20373 return NULL;
20374}
20375
20376
c370783e 20377static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20378 PyObject *resultobj;
20379 wxListItem *arg1 = (wxListItem *) 0 ;
20380 long arg2 ;
20381 PyObject * obj0 = 0 ;
20382 PyObject * obj1 = 0 ;
20383 char *kwnames[] = {
20384 (char *) "self",(char *) "m_mask", NULL
20385 };
20386
20387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
20388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20390 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
20391 if (PyErr_Occurred()) SWIG_fail;
20392 if (arg1) (arg1)->m_mask = arg2;
20393
20394 Py_INCREF(Py_None); resultobj = Py_None;
20395 return resultobj;
20396 fail:
20397 return NULL;
20398}
20399
20400
c370783e 20401static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20402 PyObject *resultobj;
20403 wxListItem *arg1 = (wxListItem *) 0 ;
20404 long result;
20405 PyObject * obj0 = 0 ;
20406 char *kwnames[] = {
20407 (char *) "self", NULL
20408 };
20409
20410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
20411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20413 result = (long) ((arg1)->m_mask);
20414
c370783e 20415 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20416 return resultobj;
20417 fail:
20418 return NULL;
20419}
20420
20421
c370783e 20422static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20423 PyObject *resultobj;
20424 wxListItem *arg1 = (wxListItem *) 0 ;
20425 long arg2 ;
20426 PyObject * obj0 = 0 ;
20427 PyObject * obj1 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self",(char *) "m_itemId", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
20433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20435 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
20436 if (PyErr_Occurred()) SWIG_fail;
20437 if (arg1) (arg1)->m_itemId = arg2;
20438
20439 Py_INCREF(Py_None); resultobj = Py_None;
20440 return resultobj;
20441 fail:
20442 return NULL;
20443}
20444
20445
c370783e 20446static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20447 PyObject *resultobj;
20448 wxListItem *arg1 = (wxListItem *) 0 ;
20449 long result;
20450 PyObject * obj0 = 0 ;
20451 char *kwnames[] = {
20452 (char *) "self", NULL
20453 };
20454
20455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
20456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20458 result = (long) ((arg1)->m_itemId);
20459
c370783e 20460 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20461 return resultobj;
20462 fail:
20463 return NULL;
20464}
20465
20466
c370783e 20467static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20468 PyObject *resultobj;
20469 wxListItem *arg1 = (wxListItem *) 0 ;
20470 int arg2 ;
20471 PyObject * obj0 = 0 ;
20472 PyObject * obj1 = 0 ;
20473 char *kwnames[] = {
20474 (char *) "self",(char *) "m_col", NULL
20475 };
20476
20477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20480 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20481 if (PyErr_Occurred()) SWIG_fail;
20482 if (arg1) (arg1)->m_col = arg2;
20483
20484 Py_INCREF(Py_None); resultobj = Py_None;
20485 return resultobj;
20486 fail:
20487 return NULL;
20488}
20489
20490
c370783e 20491static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20492 PyObject *resultobj;
20493 wxListItem *arg1 = (wxListItem *) 0 ;
20494 int result;
20495 PyObject * obj0 = 0 ;
20496 char *kwnames[] = {
20497 (char *) "self", NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20503 result = (int) ((arg1)->m_col);
20504
c370783e 20505 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20506 return resultobj;
20507 fail:
20508 return NULL;
20509}
20510
20511
c370783e 20512static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20513 PyObject *resultobj;
20514 wxListItem *arg1 = (wxListItem *) 0 ;
20515 long arg2 ;
20516 PyObject * obj0 = 0 ;
20517 PyObject * obj1 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "self",(char *) "m_state", NULL
20520 };
20521
20522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20525 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
20526 if (PyErr_Occurred()) SWIG_fail;
20527 if (arg1) (arg1)->m_state = arg2;
20528
20529 Py_INCREF(Py_None); resultobj = Py_None;
20530 return resultobj;
20531 fail:
20532 return NULL;
20533}
20534
20535
c370783e 20536static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20537 PyObject *resultobj;
20538 wxListItem *arg1 = (wxListItem *) 0 ;
20539 long result;
20540 PyObject * obj0 = 0 ;
20541 char *kwnames[] = {
20542 (char *) "self", NULL
20543 };
20544
20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20548 result = (long) ((arg1)->m_state);
20549
c370783e 20550 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20551 return resultobj;
20552 fail:
20553 return NULL;
20554}
20555
20556
c370783e 20557static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20558 PyObject *resultobj;
20559 wxListItem *arg1 = (wxListItem *) 0 ;
20560 long arg2 ;
20561 PyObject * obj0 = 0 ;
20562 PyObject * obj1 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self",(char *) "m_stateMask", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20570 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
20571 if (PyErr_Occurred()) SWIG_fail;
20572 if (arg1) (arg1)->m_stateMask = arg2;
20573
20574 Py_INCREF(Py_None); resultobj = Py_None;
20575 return resultobj;
20576 fail:
20577 return NULL;
20578}
20579
20580
c370783e 20581static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20582 PyObject *resultobj;
20583 wxListItem *arg1 = (wxListItem *) 0 ;
20584 long result;
20585 PyObject * obj0 = 0 ;
20586 char *kwnames[] = {
20587 (char *) "self", NULL
20588 };
20589
20590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20593 result = (long) ((arg1)->m_stateMask);
20594
c370783e 20595 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20596 return resultobj;
20597 fail:
20598 return NULL;
20599}
20600
20601
c370783e 20602static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20603 PyObject *resultobj;
20604 wxListItem *arg1 = (wxListItem *) 0 ;
20605 wxString *arg2 = (wxString *) 0 ;
b411df4a 20606 bool temp2 = false ;
d55e5bfc
RD
20607 PyObject * obj0 = 0 ;
20608 PyObject * obj1 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self",(char *) "m_text", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20616 {
20617 arg2 = wxString_in_helper(obj1);
20618 if (arg2 == NULL) SWIG_fail;
b411df4a 20619 temp2 = true;
d55e5bfc
RD
20620 }
20621 if (arg1) (arg1)->m_text = *arg2;
20622
20623 Py_INCREF(Py_None); resultobj = Py_None;
20624 {
20625 if (temp2)
20626 delete arg2;
20627 }
20628 return resultobj;
20629 fail:
20630 {
20631 if (temp2)
20632 delete arg2;
20633 }
20634 return NULL;
20635}
20636
20637
c370783e 20638static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20639 PyObject *resultobj;
20640 wxListItem *arg1 = (wxListItem *) 0 ;
20641 wxString *result;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20650 result = (wxString *)& ((arg1)->m_text);
20651
20652 {
20653#if wxUSE_UNICODE
20654 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20655#else
20656 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20657#endif
20658 }
20659 return resultobj;
20660 fail:
20661 return NULL;
20662}
20663
20664
c370783e 20665static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20666 PyObject *resultobj;
20667 wxListItem *arg1 = (wxListItem *) 0 ;
20668 int arg2 ;
20669 PyObject * obj0 = 0 ;
20670 PyObject * obj1 = 0 ;
20671 char *kwnames[] = {
20672 (char *) "self",(char *) "m_image", NULL
20673 };
20674
20675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20678 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20679 if (PyErr_Occurred()) SWIG_fail;
20680 if (arg1) (arg1)->m_image = arg2;
20681
20682 Py_INCREF(Py_None); resultobj = Py_None;
20683 return resultobj;
20684 fail:
20685 return NULL;
20686}
20687
20688
c370783e 20689static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20690 PyObject *resultobj;
20691 wxListItem *arg1 = (wxListItem *) 0 ;
20692 int result;
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20701 result = (int) ((arg1)->m_image);
20702
c370783e 20703 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20704 return resultobj;
20705 fail:
20706 return NULL;
20707}
20708
20709
c370783e 20710static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20711 PyObject *resultobj;
20712 wxListItem *arg1 = (wxListItem *) 0 ;
20713 long arg2 ;
20714 PyObject * obj0 = 0 ;
20715 PyObject * obj1 = 0 ;
20716 char *kwnames[] = {
20717 (char *) "self",(char *) "m_data", NULL
20718 };
20719
20720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20723 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
20724 if (PyErr_Occurred()) SWIG_fail;
20725 if (arg1) (arg1)->m_data = arg2;
20726
20727 Py_INCREF(Py_None); resultobj = Py_None;
20728 return resultobj;
20729 fail:
20730 return NULL;
20731}
20732
20733
c370783e 20734static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20735 PyObject *resultobj;
20736 wxListItem *arg1 = (wxListItem *) 0 ;
20737 long result;
20738 PyObject * obj0 = 0 ;
20739 char *kwnames[] = {
20740 (char *) "self", NULL
20741 };
20742
20743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20746 result = (long) ((arg1)->m_data);
20747
c370783e 20748 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20749 return resultobj;
20750 fail:
20751 return NULL;
20752}
20753
20754
c370783e 20755static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20756 PyObject *resultobj;
20757 wxListItem *arg1 = (wxListItem *) 0 ;
20758 int arg2 ;
20759 PyObject * obj0 = 0 ;
20760 PyObject * obj1 = 0 ;
20761 char *kwnames[] = {
20762 (char *) "self",(char *) "m_format", NULL
20763 };
20764
20765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20768 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20769 if (PyErr_Occurred()) SWIG_fail;
20770 if (arg1) (arg1)->m_format = arg2;
20771
20772 Py_INCREF(Py_None); resultobj = Py_None;
20773 return resultobj;
20774 fail:
20775 return NULL;
20776}
20777
20778
c370783e 20779static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20780 PyObject *resultobj;
20781 wxListItem *arg1 = (wxListItem *) 0 ;
20782 int result;
20783 PyObject * obj0 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "self", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20791 result = (int) ((arg1)->m_format);
20792
c370783e 20793 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20794 return resultobj;
20795 fail:
20796 return NULL;
20797}
20798
20799
c370783e 20800static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20801 PyObject *resultobj;
20802 wxListItem *arg1 = (wxListItem *) 0 ;
20803 int arg2 ;
20804 PyObject * obj0 = 0 ;
20805 PyObject * obj1 = 0 ;
20806 char *kwnames[] = {
20807 (char *) "self",(char *) "m_width", NULL
20808 };
20809
20810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20813 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20814 if (PyErr_Occurred()) SWIG_fail;
20815 if (arg1) (arg1)->m_width = arg2;
20816
20817 Py_INCREF(Py_None); resultobj = Py_None;
20818 return resultobj;
20819 fail:
20820 return NULL;
20821}
20822
20823
c370783e 20824static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20825 PyObject *resultobj;
20826 wxListItem *arg1 = (wxListItem *) 0 ;
20827 int result;
20828 PyObject * obj0 = 0 ;
20829 char *kwnames[] = {
20830 (char *) "self", NULL
20831 };
20832
20833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20836 result = (int) ((arg1)->m_width);
20837
c370783e 20838 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20839 return resultobj;
20840 fail:
20841 return NULL;
20842}
20843
20844
c370783e 20845static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20846 PyObject *obj;
20847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20848 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20849 Py_INCREF(obj);
20850 return Py_BuildValue((char *)"");
20851}
c370783e 20852static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20853 PyObject *resultobj;
20854 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20855 int arg2 = (int) 0 ;
20856 wxListEvent *result;
20857 PyObject * obj0 = 0 ;
20858 PyObject * obj1 = 0 ;
20859 char *kwnames[] = {
20860 (char *) "commandType",(char *) "id", NULL
20861 };
20862
20863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20864 if (obj0) {
c370783e 20865 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 if (obj1) {
c370783e 20869 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20880 return resultobj;
20881 fail:
20882 return NULL;
20883}
20884
20885
c370783e 20886static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20887 PyObject *resultobj;
20888 wxListEvent *arg1 = (wxListEvent *) 0 ;
20889 int arg2 ;
20890 PyObject * obj0 = 0 ;
20891 PyObject * obj1 = 0 ;
20892 char *kwnames[] = {
20893 (char *) "self",(char *) "m_code", NULL
20894 };
20895
20896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20899 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20900 if (PyErr_Occurred()) SWIG_fail;
20901 if (arg1) (arg1)->m_code = arg2;
20902
20903 Py_INCREF(Py_None); resultobj = Py_None;
20904 return resultobj;
20905 fail:
20906 return NULL;
20907}
20908
20909
c370783e 20910static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20911 PyObject *resultobj;
20912 wxListEvent *arg1 = (wxListEvent *) 0 ;
20913 int result;
20914 PyObject * obj0 = 0 ;
20915 char *kwnames[] = {
20916 (char *) "self", NULL
20917 };
20918
20919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20922 result = (int) ((arg1)->m_code);
20923
c370783e 20924 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20925 return resultobj;
20926 fail:
20927 return NULL;
20928}
20929
20930
c370783e 20931static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20932 PyObject *resultobj;
20933 wxListEvent *arg1 = (wxListEvent *) 0 ;
20934 long arg2 ;
20935 PyObject * obj0 = 0 ;
20936 PyObject * obj1 = 0 ;
20937 char *kwnames[] = {
20938 (char *) "self",(char *) "m_oldItemIndex", NULL
20939 };
20940
20941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20944 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
20945 if (PyErr_Occurred()) SWIG_fail;
20946 if (arg1) (arg1)->m_oldItemIndex = arg2;
20947
20948 Py_INCREF(Py_None); resultobj = Py_None;
20949 return resultobj;
20950 fail:
20951 return NULL;
20952}
20953
20954
c370783e 20955static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20956 PyObject *resultobj;
20957 wxListEvent *arg1 = (wxListEvent *) 0 ;
20958 long result;
20959 PyObject * obj0 = 0 ;
20960 char *kwnames[] = {
20961 (char *) "self", NULL
20962 };
20963
20964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20967 result = (long) ((arg1)->m_oldItemIndex);
20968
c370783e 20969 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20970 return resultobj;
20971 fail:
20972 return NULL;
20973}
20974
20975
c370783e 20976static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20977 PyObject *resultobj;
20978 wxListEvent *arg1 = (wxListEvent *) 0 ;
20979 long arg2 ;
20980 PyObject * obj0 = 0 ;
20981 PyObject * obj1 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "self",(char *) "m_itemIndex", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 20989 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
20990 if (PyErr_Occurred()) SWIG_fail;
20991 if (arg1) (arg1)->m_itemIndex = arg2;
20992
20993 Py_INCREF(Py_None); resultobj = Py_None;
20994 return resultobj;
20995 fail:
20996 return NULL;
20997}
20998
20999
c370783e 21000static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21001 PyObject *resultobj;
21002 wxListEvent *arg1 = (wxListEvent *) 0 ;
21003 long result;
21004 PyObject * obj0 = 0 ;
21005 char *kwnames[] = {
21006 (char *) "self", NULL
21007 };
21008
21009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
21010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21012 result = (long) ((arg1)->m_itemIndex);
21013
c370783e 21014 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
21015 return resultobj;
21016 fail:
21017 return NULL;
21018}
21019
21020
c370783e 21021static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21022 PyObject *resultobj;
21023 wxListEvent *arg1 = (wxListEvent *) 0 ;
21024 int arg2 ;
21025 PyObject * obj0 = 0 ;
21026 PyObject * obj1 = 0 ;
21027 char *kwnames[] = {
21028 (char *) "self",(char *) "m_col", NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
21032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 21034 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21035 if (PyErr_Occurred()) SWIG_fail;
21036 if (arg1) (arg1)->m_col = arg2;
21037
21038 Py_INCREF(Py_None); resultobj = Py_None;
21039 return resultobj;
21040 fail:
21041 return NULL;
21042}
21043
21044
c370783e 21045static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21046 PyObject *resultobj;
21047 wxListEvent *arg1 = (wxListEvent *) 0 ;
21048 int result;
21049 PyObject * obj0 = 0 ;
21050 char *kwnames[] = {
21051 (char *) "self", NULL
21052 };
21053
21054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
21055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21057 result = (int) ((arg1)->m_col);
21058
c370783e 21059 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21060 return resultobj;
21061 fail:
21062 return NULL;
21063}
21064
21065
c370783e 21066static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21067 PyObject *resultobj;
21068 wxListEvent *arg1 = (wxListEvent *) 0 ;
21069 wxPoint *arg2 = (wxPoint *) 0 ;
21070 PyObject * obj0 = 0 ;
21071 PyObject * obj1 = 0 ;
21072 char *kwnames[] = {
21073 (char *) "self",(char *) "m_pointDrag", NULL
21074 };
21075
21076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
21077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
21080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21081 if (arg1) (arg1)->m_pointDrag = *arg2;
21082
21083 Py_INCREF(Py_None); resultobj = Py_None;
21084 return resultobj;
21085 fail:
21086 return NULL;
21087}
21088
21089
c370783e 21090static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21091 PyObject *resultobj;
21092 wxListEvent *arg1 = (wxListEvent *) 0 ;
21093 wxPoint *result;
21094 PyObject * obj0 = 0 ;
21095 char *kwnames[] = {
21096 (char *) "self", NULL
21097 };
21098
21099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
21100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21102 result = (wxPoint *)& ((arg1)->m_pointDrag);
21103
21104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
21105 return resultobj;
21106 fail:
21107 return NULL;
21108}
21109
21110
c370783e 21111static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21112 PyObject *resultobj;
21113 wxListEvent *arg1 = (wxListEvent *) 0 ;
21114 wxListItem *result;
21115 PyObject * obj0 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21123 result = (wxListItem *)& ((arg1)->m_item);
21124
21125 {
412d302d 21126 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21127 }
21128 return resultobj;
21129 fail:
21130 return NULL;
21131}
21132
21133
c370783e 21134static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21135 PyObject *resultobj;
21136 wxListEvent *arg1 = (wxListEvent *) 0 ;
21137 int result;
21138 PyObject * obj0 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
21144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 result = (int)(arg1)->GetKeyCode();
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
c370783e 21153 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21154 return resultobj;
21155 fail:
21156 return NULL;
21157}
21158
21159
c370783e 21160static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21161 PyObject *resultobj;
21162 wxListEvent *arg1 = (wxListEvent *) 0 ;
21163 long result;
21164 PyObject * obj0 = 0 ;
21165 char *kwnames[] = {
21166 (char *) "self", NULL
21167 };
21168
21169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
21170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21172 {
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 result = (long)(arg1)->GetIndex();
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
c370783e 21179 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
21180 return resultobj;
21181 fail:
21182 return NULL;
21183}
21184
21185
c370783e 21186static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21187 PyObject *resultobj;
21188 wxListEvent *arg1 = (wxListEvent *) 0 ;
21189 int result;
21190 PyObject * obj0 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21198 {
21199 PyThreadState* __tstate = wxPyBeginAllowThreads();
21200 result = (int)(arg1)->GetColumn();
21201
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
c370783e 21205 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21206 return resultobj;
21207 fail:
21208 return NULL;
21209}
21210
21211
c370783e 21212static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21213 PyObject *resultobj;
21214 wxListEvent *arg1 = (wxListEvent *) 0 ;
21215 wxPoint result;
21216 PyObject * obj0 = 0 ;
21217 char *kwnames[] = {
21218 (char *) "self", NULL
21219 };
21220
21221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
21222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 result = (arg1)->GetPoint();
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 {
21232 wxPoint * resultptr;
21233 resultptr = new wxPoint((wxPoint &) result);
21234 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21235 }
21236 return resultobj;
21237 fail:
21238 return NULL;
21239}
21240
21241
c370783e 21242static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21243 PyObject *resultobj;
21244 wxListEvent *arg1 = (wxListEvent *) 0 ;
21245 wxString *result;
21246 PyObject * obj0 = 0 ;
21247 char *kwnames[] = {
21248 (char *) "self", NULL
21249 };
21250
21251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
21252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 {
21257 wxString const &_result_ref = (arg1)->GetLabel();
21258 result = (wxString *) &_result_ref;
21259 }
21260
21261 wxPyEndAllowThreads(__tstate);
21262 if (PyErr_Occurred()) SWIG_fail;
21263 }
21264 {
21265#if wxUSE_UNICODE
21266 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21267#else
21268 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21269#endif
21270 }
21271 return resultobj;
21272 fail:
21273 return NULL;
21274}
21275
21276
c370783e 21277static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21278 PyObject *resultobj;
21279 wxListEvent *arg1 = (wxListEvent *) 0 ;
21280 wxString *result;
21281 PyObject * obj0 = 0 ;
21282 char *kwnames[] = {
21283 (char *) "self", NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
21287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 {
21292 wxString const &_result_ref = (arg1)->GetText();
21293 result = (wxString *) &_result_ref;
21294 }
21295
21296 wxPyEndAllowThreads(__tstate);
21297 if (PyErr_Occurred()) SWIG_fail;
21298 }
21299 {
21300#if wxUSE_UNICODE
21301 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21302#else
21303 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21304#endif
21305 }
21306 return resultobj;
21307 fail:
21308 return NULL;
21309}
21310
21311
c370783e 21312static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21313 PyObject *resultobj;
21314 wxListEvent *arg1 = (wxListEvent *) 0 ;
21315 int result;
21316 PyObject * obj0 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = (int)(arg1)->GetImage();
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
c370783e 21331 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21332 return resultobj;
21333 fail:
21334 return NULL;
21335}
21336
21337
c370783e 21338static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21339 PyObject *resultobj;
21340 wxListEvent *arg1 = (wxListEvent *) 0 ;
21341 long result;
21342 PyObject * obj0 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = (long)(arg1)->GetData();
21353
21354 wxPyEndAllowThreads(__tstate);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
c370783e 21357 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
21358 return resultobj;
21359 fail:
21360 return NULL;
21361}
21362
21363
c370783e 21364static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21365 PyObject *resultobj;
21366 wxListEvent *arg1 = (wxListEvent *) 0 ;
21367 long result;
21368 PyObject * obj0 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
21374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21376 {
21377 PyThreadState* __tstate = wxPyBeginAllowThreads();
21378 result = (long)(arg1)->GetMask();
21379
21380 wxPyEndAllowThreads(__tstate);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 }
c370783e 21383 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
21384 return resultobj;
21385 fail:
21386 return NULL;
21387}
21388
21389
c370783e 21390static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21391 PyObject *resultobj;
21392 wxListEvent *arg1 = (wxListEvent *) 0 ;
21393 wxListItem *result;
21394 PyObject * obj0 = 0 ;
21395 char *kwnames[] = {
21396 (char *) "self", NULL
21397 };
21398
21399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
21400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 {
21405 wxListItem const &_result_ref = (arg1)->GetItem();
21406 result = (wxListItem *) &_result_ref;
21407 }
21408
21409 wxPyEndAllowThreads(__tstate);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
21413 return resultobj;
21414 fail:
21415 return NULL;
21416}
21417
21418
c370783e 21419static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21420 PyObject *resultobj;
21421 wxListEvent *arg1 = (wxListEvent *) 0 ;
21422 long result;
21423 PyObject * obj0 = 0 ;
21424 char *kwnames[] = {
21425 (char *) "self", NULL
21426 };
21427
21428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
21429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21431 {
21432 PyThreadState* __tstate = wxPyBeginAllowThreads();
21433 result = (long)(arg1)->GetCacheFrom();
21434
21435 wxPyEndAllowThreads(__tstate);
21436 if (PyErr_Occurred()) SWIG_fail;
21437 }
c370783e 21438 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
21439 return resultobj;
21440 fail:
21441 return NULL;
21442}
21443
21444
c370783e 21445static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21446 PyObject *resultobj;
21447 wxListEvent *arg1 = (wxListEvent *) 0 ;
21448 long result;
21449 PyObject * obj0 = 0 ;
21450 char *kwnames[] = {
21451 (char *) "self", NULL
21452 };
21453
21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
21455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21457 {
21458 PyThreadState* __tstate = wxPyBeginAllowThreads();
21459 result = (long)(arg1)->GetCacheTo();
21460
21461 wxPyEndAllowThreads(__tstate);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 }
c370783e 21464 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
21465 return resultobj;
21466 fail:
21467 return NULL;
21468}
21469
21470
c370783e 21471static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21472 PyObject *resultobj;
21473 wxListEvent *arg1 = (wxListEvent *) 0 ;
21474 bool result;
21475 PyObject * obj0 = 0 ;
21476 char *kwnames[] = {
21477 (char *) "self", NULL
21478 };
21479
21480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 {
21491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21492 }
21493 return resultobj;
21494 fail:
21495 return NULL;
21496}
21497
21498
c370783e 21499static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21500 PyObject *resultobj;
21501 wxListEvent *arg1 = (wxListEvent *) 0 ;
21502 bool arg2 ;
21503 PyObject * obj0 = 0 ;
21504 PyObject * obj1 = 0 ;
21505 char *kwnames[] = {
21506 (char *) "self",(char *) "editCancelled", NULL
21507 };
21508
21509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 21512 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21513 if (PyErr_Occurred()) SWIG_fail;
21514 {
21515 PyThreadState* __tstate = wxPyBeginAllowThreads();
21516 (arg1)->SetEditCanceled(arg2);
21517
21518 wxPyEndAllowThreads(__tstate);
21519 if (PyErr_Occurred()) SWIG_fail;
21520 }
21521 Py_INCREF(Py_None); resultobj = Py_None;
21522 return resultobj;
21523 fail:
21524 return NULL;
21525}
21526
21527
c370783e 21528static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21529 PyObject *obj;
21530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21531 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21532 Py_INCREF(obj);
21533 return Py_BuildValue((char *)"");
21534}
c370783e 21535static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21536 PyObject *resultobj;
21537 wxWindow *arg1 = (wxWindow *) 0 ;
21538 int arg2 = (int) -1 ;
21539 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21540 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21541 wxSize const &arg4_defvalue = wxDefaultSize ;
21542 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21543 long arg5 = (long) wxLC_ICON ;
21544 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21545 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21546 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21547 wxString *arg7 = (wxString *) &arg7_defvalue ;
21548 wxPyListCtrl *result;
21549 wxPoint temp3 ;
21550 wxSize temp4 ;
b411df4a 21551 bool temp7 = false ;
d55e5bfc
RD
21552 PyObject * obj0 = 0 ;
21553 PyObject * obj1 = 0 ;
21554 PyObject * obj2 = 0 ;
21555 PyObject * obj3 = 0 ;
21556 PyObject * obj4 = 0 ;
21557 PyObject * obj5 = 0 ;
21558 PyObject * obj6 = 0 ;
21559 char *kwnames[] = {
21560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21561 };
21562
21563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21566 if (obj1) {
c370783e 21567 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 if (obj2) {
21571 {
21572 arg3 = &temp3;
21573 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21574 }
21575 }
21576 if (obj3) {
21577 {
21578 arg4 = &temp4;
21579 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21580 }
21581 }
21582 if (obj4) {
c370783e 21583 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 if (obj5) {
21587 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21588 SWIG_POINTER_EXCEPTION | 0)) == -1)
21589 SWIG_fail;
21590 if (arg6 == NULL) {
21591 PyErr_SetString(PyExc_TypeError,"null reference");
21592 SWIG_fail;
21593 }
21594 }
21595 if (obj6) {
21596 {
21597 arg7 = wxString_in_helper(obj6);
21598 if (arg7 == NULL) SWIG_fail;
b411df4a 21599 temp7 = true;
d55e5bfc
RD
21600 }
21601 }
21602 {
0439c23b 21603 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21606
21607 wxPyEndAllowThreads(__tstate);
110da5b0 21608 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21609 }
21610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21611 {
21612 if (temp7)
21613 delete arg7;
21614 }
21615 return resultobj;
21616 fail:
21617 {
21618 if (temp7)
21619 delete arg7;
21620 }
21621 return NULL;
21622}
21623
21624
c370783e 21625static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21626 PyObject *resultobj;
21627 wxPyListCtrl *result;
21628 char *kwnames[] = {
21629 NULL
21630 };
21631
21632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21633 {
0439c23b 21634 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 result = (wxPyListCtrl *)new wxPyListCtrl();
21637
21638 wxPyEndAllowThreads(__tstate);
110da5b0 21639 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21640 }
21641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21642 return resultobj;
21643 fail:
21644 return NULL;
21645}
21646
21647
c370783e 21648static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21649 PyObject *resultobj;
21650 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21651 wxWindow *arg2 = (wxWindow *) 0 ;
21652 int arg3 = (int) -1 ;
21653 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21654 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21655 wxSize const &arg5_defvalue = wxDefaultSize ;
21656 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21657 long arg6 = (long) wxLC_ICON ;
21658 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21659 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21660 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21661 wxString *arg8 = (wxString *) &arg8_defvalue ;
21662 bool result;
21663 wxPoint temp4 ;
21664 wxSize temp5 ;
b411df4a 21665 bool temp8 = false ;
d55e5bfc
RD
21666 PyObject * obj0 = 0 ;
21667 PyObject * obj1 = 0 ;
21668 PyObject * obj2 = 0 ;
21669 PyObject * obj3 = 0 ;
21670 PyObject * obj4 = 0 ;
21671 PyObject * obj5 = 0 ;
21672 PyObject * obj6 = 0 ;
21673 PyObject * obj7 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21683 if (obj2) {
c370783e 21684 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
21685 if (PyErr_Occurred()) SWIG_fail;
21686 }
21687 if (obj3) {
21688 {
21689 arg4 = &temp4;
21690 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21691 }
21692 }
21693 if (obj4) {
21694 {
21695 arg5 = &temp5;
21696 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21697 }
21698 }
21699 if (obj5) {
c370783e 21700 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
21703 if (obj6) {
21704 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21705 SWIG_POINTER_EXCEPTION | 0)) == -1)
21706 SWIG_fail;
21707 if (arg7 == NULL) {
21708 PyErr_SetString(PyExc_TypeError,"null reference");
21709 SWIG_fail;
21710 }
21711 }
21712 if (obj7) {
21713 {
21714 arg8 = wxString_in_helper(obj7);
21715 if (arg8 == NULL) SWIG_fail;
b411df4a 21716 temp8 = true;
d55e5bfc
RD
21717 }
21718 }
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 {
21727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21728 }
21729 {
21730 if (temp8)
21731 delete arg8;
21732 }
21733 return resultobj;
21734 fail:
21735 {
21736 if (temp8)
21737 delete arg8;
21738 }
21739 return NULL;
21740}
21741
21742
c370783e 21743static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21744 PyObject *resultobj;
21745 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21746 PyObject *arg2 = (PyObject *) 0 ;
21747 PyObject *arg3 = (PyObject *) 0 ;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 PyObject * obj2 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self",(char *) "self",(char *) "_class", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21758 arg2 = obj1;
21759 arg3 = obj2;
21760 {
21761 PyThreadState* __tstate = wxPyBeginAllowThreads();
21762 (arg1)->_setCallbackInfo(arg2,arg3);
21763
21764 wxPyEndAllowThreads(__tstate);
21765 if (PyErr_Occurred()) SWIG_fail;
21766 }
21767 Py_INCREF(Py_None); resultobj = Py_None;
21768 return resultobj;
21769 fail:
21770 return NULL;
21771}
21772
21773
c370783e 21774static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21775 PyObject *resultobj;
21776 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21777 wxColour *arg2 = 0 ;
21778 bool result;
21779 wxColour temp2 ;
21780 PyObject * obj0 = 0 ;
21781 PyObject * obj1 = 0 ;
21782 char *kwnames[] = {
21783 (char *) "self",(char *) "col", NULL
21784 };
21785
21786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21789 {
21790 arg2 = &temp2;
21791 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21792 }
21793 {
21794 PyThreadState* __tstate = wxPyBeginAllowThreads();
21795 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21796
21797 wxPyEndAllowThreads(__tstate);
21798 if (PyErr_Occurred()) SWIG_fail;
21799 }
21800 {
21801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21802 }
21803 return resultobj;
21804 fail:
21805 return NULL;
21806}
21807
21808
c370783e 21809static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21810 PyObject *resultobj;
21811 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21812 wxColour *arg2 = 0 ;
21813 bool result;
21814 wxColour temp2 ;
21815 PyObject * obj0 = 0 ;
21816 PyObject * obj1 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "self",(char *) "col", NULL
21819 };
21820
21821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21824 {
21825 arg2 = &temp2;
21826 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21827 }
21828 {
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21831
21832 wxPyEndAllowThreads(__tstate);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 {
21836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21837 }
21838 return resultobj;
21839 fail:
21840 return NULL;
21841}
21842
21843
c370783e 21844static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21845 PyObject *resultobj;
21846 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21847 int arg2 ;
21848 wxListItem *result;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "col", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 21858 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21859 if (PyErr_Occurred()) SWIG_fail;
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 {
412d302d 21868 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21869 }
21870 return resultobj;
21871 fail:
21872 return NULL;
21873}
21874
21875
c370783e 21876static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21877 PyObject *resultobj;
21878 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21879 int arg2 ;
21880 wxListItem *arg3 = 0 ;
21881 bool result;
21882 PyObject * obj0 = 0 ;
21883 PyObject * obj1 = 0 ;
21884 PyObject * obj2 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self",(char *) "col",(char *) "item", NULL
21887 };
21888
21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 21892 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21893 if (PyErr_Occurred()) SWIG_fail;
21894 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21895 SWIG_POINTER_EXCEPTION | 0)) == -1)
21896 SWIG_fail;
21897 if (arg3 == NULL) {
21898 PyErr_SetString(PyExc_TypeError,"null reference");
21899 SWIG_fail;
21900 }
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21904
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
21908 {
21909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21910 }
21911 return resultobj;
21912 fail:
21913 return NULL;
21914}
21915
21916
c370783e 21917static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21918 PyObject *resultobj;
21919 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21920 int arg2 ;
21921 int result;
21922 PyObject * obj0 = 0 ;
21923 PyObject * obj1 = 0 ;
21924 char *kwnames[] = {
21925 (char *) "self",(char *) "col", NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 21931 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21932 if (PyErr_Occurred()) SWIG_fail;
21933 {
21934 PyThreadState* __tstate = wxPyBeginAllowThreads();
21935 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21936
21937 wxPyEndAllowThreads(__tstate);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 }
c370783e 21940 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21941 return resultobj;
21942 fail:
21943 return NULL;
21944}
21945
21946
c370783e 21947static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21948 PyObject *resultobj;
21949 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21950 int arg2 ;
21951 int arg3 ;
21952 bool result;
21953 PyObject * obj0 = 0 ;
21954 PyObject * obj1 = 0 ;
21955 PyObject * obj2 = 0 ;
21956 char *kwnames[] = {
21957 (char *) "self",(char *) "col",(char *) "width", NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 21963 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 21964 if (PyErr_Occurred()) SWIG_fail;
c370783e 21965 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
21966 if (PyErr_Occurred()) SWIG_fail;
21967 {
21968 PyThreadState* __tstate = wxPyBeginAllowThreads();
21969 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21970
21971 wxPyEndAllowThreads(__tstate);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 }
21974 {
21975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21976 }
21977 return resultobj;
21978 fail:
21979 return NULL;
21980}
21981
21982
c370783e 21983static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21984 PyObject *resultobj;
21985 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21986 int result;
21987 PyObject * obj0 = 0 ;
21988 char *kwnames[] = {
21989 (char *) "self", NULL
21990 };
21991
21992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21995 {
21996 PyThreadState* __tstate = wxPyBeginAllowThreads();
21997 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21998
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
c370783e 22002 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22003 return resultobj;
22004 fail:
22005 return NULL;
22006}
22007
22008
c370783e 22009static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22010 PyObject *resultobj;
22011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22012 wxRect result;
22013 PyObject * obj0 = 0 ;
22014 char *kwnames[] = {
22015 (char *) "self", NULL
22016 };
22017
22018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
22019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
22024
22025 wxPyEndAllowThreads(__tstate);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 }
22028 {
22029 wxRect * resultptr;
22030 resultptr = new wxRect((wxRect &) result);
22031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22032 }
22033 return resultobj;
22034 fail:
22035 return NULL;
22036}
22037
22038
c370783e 22039static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22040 PyObject *resultobj;
22041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22042 long arg2 ;
22043 int arg3 = (int) 0 ;
22044 wxListItem *result;
22045 PyObject * obj0 = 0 ;
22046 PyObject * obj1 = 0 ;
22047 PyObject * obj2 = 0 ;
22048 char *kwnames[] = {
22049 (char *) "self",(char *) "itemId",(char *) "col", NULL
22050 };
22051
22052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22055 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22056 if (PyErr_Occurred()) SWIG_fail;
22057 if (obj2) {
c370783e 22058 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 {
412d302d 22069 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
22070 }
22071 return resultobj;
22072 fail:
22073 return NULL;
22074}
22075
22076
c370783e 22077static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22078 PyObject *resultobj;
22079 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22080 wxListItem *arg2 = 0 ;
22081 bool result;
22082 PyObject * obj0 = 0 ;
22083 PyObject * obj1 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self",(char *) "info", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
22089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22092 SWIG_POINTER_EXCEPTION | 0)) == -1)
22093 SWIG_fail;
22094 if (arg2 == NULL) {
22095 PyErr_SetString(PyExc_TypeError,"null reference");
22096 SWIG_fail;
22097 }
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = (bool)(arg1)->SetItem(*arg2);
22101
22102 wxPyEndAllowThreads(__tstate);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22107 }
22108 return resultobj;
22109 fail:
22110 return NULL;
22111}
22112
22113
c370783e 22114static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22115 PyObject *resultobj;
22116 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22117 long arg2 ;
22118 int arg3 ;
22119 wxString *arg4 = 0 ;
22120 int arg5 = (int) -1 ;
22121 long result;
b411df4a 22122 bool temp4 = false ;
d55e5bfc
RD
22123 PyObject * obj0 = 0 ;
22124 PyObject * obj1 = 0 ;
22125 PyObject * obj2 = 0 ;
22126 PyObject * obj3 = 0 ;
22127 PyObject * obj4 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22135 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 22136 if (PyErr_Occurred()) SWIG_fail;
c370783e 22137 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22138 if (PyErr_Occurred()) SWIG_fail;
22139 {
22140 arg4 = wxString_in_helper(obj3);
22141 if (arg4 == NULL) SWIG_fail;
b411df4a 22142 temp4 = true;
d55e5bfc
RD
22143 }
22144 if (obj4) {
c370783e 22145 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
22148 {
22149 PyThreadState* __tstate = wxPyBeginAllowThreads();
22150 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
22151
22152 wxPyEndAllowThreads(__tstate);
22153 if (PyErr_Occurred()) SWIG_fail;
22154 }
c370783e 22155 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
22156 {
22157 if (temp4)
22158 delete arg4;
22159 }
22160 return resultobj;
22161 fail:
22162 {
22163 if (temp4)
22164 delete arg4;
22165 }
22166 return NULL;
22167}
22168
22169
c370783e 22170static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22171 PyObject *resultobj;
22172 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22173 long arg2 ;
22174 long arg3 ;
22175 int result;
22176 PyObject * obj0 = 0 ;
22177 PyObject * obj1 = 0 ;
22178 PyObject * obj2 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
22184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22186 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 22187 if (PyErr_Occurred()) SWIG_fail;
c370783e 22188 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
22189 if (PyErr_Occurred()) SWIG_fail;
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
c370783e 22197 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22198 return resultobj;
22199 fail:
22200 return NULL;
22201}
22202
22203
c370783e 22204static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22205 PyObject *resultobj;
22206 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22207 long arg2 ;
22208 long arg3 ;
22209 long arg4 ;
22210 bool result;
22211 PyObject * obj0 = 0 ;
22212 PyObject * obj1 = 0 ;
22213 PyObject * obj2 = 0 ;
22214 PyObject * obj3 = 0 ;
22215 char *kwnames[] = {
22216 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22217 };
22218
22219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22222 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 22223 if (PyErr_Occurred()) SWIG_fail;
c370783e 22224 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc 22225 if (PyErr_Occurred()) SWIG_fail;
c370783e 22226 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
22227 if (PyErr_Occurred()) SWIG_fail;
22228 {
22229 PyThreadState* __tstate = wxPyBeginAllowThreads();
22230 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
22231
22232 wxPyEndAllowThreads(__tstate);
22233 if (PyErr_Occurred()) SWIG_fail;
22234 }
22235 {
22236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22237 }
22238 return resultobj;
22239 fail:
22240 return NULL;
22241}
22242
22243
c370783e 22244static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22245 PyObject *resultobj;
22246 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22247 long arg2 ;
22248 int arg3 ;
84f85550 22249 int arg4 = (int) -1 ;
d55e5bfc
RD
22250 bool result;
22251 PyObject * obj0 = 0 ;
22252 PyObject * obj1 = 0 ;
22253 PyObject * obj2 = 0 ;
22254 PyObject * obj3 = 0 ;
22255 char *kwnames[] = {
22256 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22257 };
22258
84f85550 22259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
22260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22262 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 22263 if (PyErr_Occurred()) SWIG_fail;
c370783e 22264 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 22265 if (PyErr_Occurred()) SWIG_fail;
84f85550
RD
22266 if (obj3) {
22267 arg4 = (int)SWIG_As_int(obj3);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
d55e5bfc
RD
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 {
22278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22279 }
22280 return resultobj;
22281 fail:
22282 return NULL;
22283}
22284
22285
c370783e 22286static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22287 PyObject *resultobj;
22288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22289 long arg2 ;
22290 wxString result;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "item", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22300 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22301 if (PyErr_Occurred()) SWIG_fail;
22302 {
22303 PyThreadState* __tstate = wxPyBeginAllowThreads();
22304 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
22305
22306 wxPyEndAllowThreads(__tstate);
22307 if (PyErr_Occurred()) SWIG_fail;
22308 }
22309 {
22310#if wxUSE_UNICODE
22311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22312#else
22313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22314#endif
22315 }
22316 return resultobj;
22317 fail:
22318 return NULL;
22319}
22320
22321
c370783e 22322static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22323 PyObject *resultobj;
22324 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22325 long arg2 ;
22326 wxString *arg3 = 0 ;
b411df4a 22327 bool temp3 = false ;
d55e5bfc
RD
22328 PyObject * obj0 = 0 ;
22329 PyObject * obj1 = 0 ;
22330 PyObject * obj2 = 0 ;
22331 char *kwnames[] = {
22332 (char *) "self",(char *) "item",(char *) "str", NULL
22333 };
22334
22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
22336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22338 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22339 if (PyErr_Occurred()) SWIG_fail;
22340 {
22341 arg3 = wxString_in_helper(obj2);
22342 if (arg3 == NULL) SWIG_fail;
b411df4a 22343 temp3 = true;
d55e5bfc
RD
22344 }
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 Py_INCREF(Py_None); resultobj = Py_None;
22353 {
22354 if (temp3)
22355 delete arg3;
22356 }
22357 return resultobj;
22358 fail:
22359 {
22360 if (temp3)
22361 delete arg3;
22362 }
22363 return NULL;
22364}
22365
22366
c370783e 22367static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22368 PyObject *resultobj;
22369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22370 long arg2 ;
22371 long result;
22372 PyObject * obj0 = 0 ;
22373 PyObject * obj1 = 0 ;
22374 char *kwnames[] = {
22375 (char *) "self",(char *) "item", NULL
22376 };
22377
22378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22381 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22382 if (PyErr_Occurred()) SWIG_fail;
22383 {
22384 PyThreadState* __tstate = wxPyBeginAllowThreads();
22385 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
22386
22387 wxPyEndAllowThreads(__tstate);
22388 if (PyErr_Occurred()) SWIG_fail;
22389 }
c370783e 22390 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
22391 return resultobj;
22392 fail:
22393 return NULL;
22394}
22395
22396
c370783e 22397static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22398 PyObject *resultobj;
22399 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22400 long arg2 ;
22401 long arg3 ;
22402 bool result;
22403 PyObject * obj0 = 0 ;
22404 PyObject * obj1 = 0 ;
22405 PyObject * obj2 = 0 ;
22406 char *kwnames[] = {
22407 (char *) "self",(char *) "item",(char *) "data", NULL
22408 };
22409
22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22413 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 22414 if (PyErr_Occurred()) SWIG_fail;
c370783e 22415 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
22416 if (PyErr_Occurred()) SWIG_fail;
22417 {
22418 PyThreadState* __tstate = wxPyBeginAllowThreads();
22419 result = (bool)(arg1)->SetItemData(arg2,arg3);
22420
22421 wxPyEndAllowThreads(__tstate);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 {
22425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22426 }
22427 return resultobj;
22428 fail:
22429 return NULL;
22430}
22431
22432
c370783e 22433static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22434 PyObject *resultobj;
22435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22436 long arg2 ;
22437 wxPoint result;
22438 PyObject * obj0 = 0 ;
22439 PyObject * obj1 = 0 ;
22440 char *kwnames[] = {
22441 (char *) "self",(char *) "item", NULL
22442 };
22443
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
22445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22447 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22448 if (PyErr_Occurred()) SWIG_fail;
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22452
22453 wxPyEndAllowThreads(__tstate);
22454 if (PyErr_Occurred()) SWIG_fail;
22455 }
22456 {
22457 wxPoint * resultptr;
22458 resultptr = new wxPoint((wxPoint &) result);
22459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22460 }
22461 return resultobj;
22462 fail:
22463 return NULL;
22464}
22465
22466
c370783e 22467static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22468 PyObject *resultobj;
22469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22470 long arg2 ;
22471 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22472 wxRect result;
22473 PyObject * obj0 = 0 ;
22474 PyObject * obj1 = 0 ;
22475 PyObject * obj2 = 0 ;
22476 char *kwnames[] = {
22477 (char *) "self",(char *) "item",(char *) "code", NULL
22478 };
22479
22480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22483 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22484 if (PyErr_Occurred()) SWIG_fail;
22485 if (obj2) {
c370783e 22486 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 {
22497 wxRect * resultptr;
22498 resultptr = new wxRect((wxRect &) result);
22499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22500 }
22501 return resultobj;
22502 fail:
22503 return NULL;
22504}
22505
22506
c370783e 22507static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22508 PyObject *resultobj;
22509 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22510 long arg2 ;
22511 wxPoint *arg3 = 0 ;
22512 bool result;
22513 wxPoint temp3 ;
22514 PyObject * obj0 = 0 ;
22515 PyObject * obj1 = 0 ;
22516 PyObject * obj2 = 0 ;
22517 char *kwnames[] = {
22518 (char *) "self",(char *) "item",(char *) "pos", NULL
22519 };
22520
22521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22524 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22525 if (PyErr_Occurred()) SWIG_fail;
22526 {
22527 arg3 = &temp3;
22528 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22529 }
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
22532 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22533
22534 wxPyEndAllowThreads(__tstate);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 }
22537 {
22538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22539 }
22540 return resultobj;
22541 fail:
22542 return NULL;
22543}
22544
22545
c370783e 22546static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22547 PyObject *resultobj;
22548 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22549 int result;
22550 PyObject * obj0 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22561
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
c370783e 22565 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22566 return resultobj;
22567 fail:
22568 return NULL;
22569}
22570
22571
c370783e 22572static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22573 PyObject *resultobj;
22574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22575 int result;
22576 PyObject * obj0 = 0 ;
22577 char *kwnames[] = {
22578 (char *) "self", NULL
22579 };
22580
22581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
c370783e 22591 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22592 return resultobj;
22593 fail:
22594 return NULL;
22595}
22596
22597
c370783e 22598static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22599 PyObject *resultobj;
22600 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22601 wxSize result;
22602 PyObject * obj0 = 0 ;
22603 char *kwnames[] = {
22604 (char *) "self", NULL
22605 };
22606
22607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 {
22618 wxSize * resultptr;
22619 resultptr = new wxSize((wxSize &) result);
22620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22621 }
22622 return resultobj;
22623 fail:
22624 return NULL;
22625}
22626
22627
c370783e 22628static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22629 PyObject *resultobj;
22630 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22631 int arg2 ;
b411df4a 22632 bool arg3 = (bool) false ;
d55e5bfc
RD
22633 PyObject * obj0 = 0 ;
22634 PyObject * obj1 = 0 ;
22635 PyObject * obj2 = 0 ;
22636 char *kwnames[] = {
22637 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22638 };
22639
22640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
22641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22643 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22644 if (PyErr_Occurred()) SWIG_fail;
22645 if (obj2) {
c370783e 22646 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
22647 if (PyErr_Occurred()) SWIG_fail;
22648 }
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 (arg1)->SetItemSpacing(arg2,arg3);
22652
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 Py_INCREF(Py_None); resultobj = Py_None;
22657 return resultobj;
22658 fail:
22659 return NULL;
22660}
22661
22662
c370783e 22663static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22664 PyObject *resultobj;
22665 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22666 int result;
22667 PyObject * obj0 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
c370783e 22682 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22683 return resultobj;
22684 fail:
22685 return NULL;
22686}
22687
22688
c370783e 22689static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22690 PyObject *resultobj;
22691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22692 wxColour result;
22693 PyObject * obj0 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22701 {
22702 PyThreadState* __tstate = wxPyBeginAllowThreads();
22703 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22704
22705 wxPyEndAllowThreads(__tstate);
22706 if (PyErr_Occurred()) SWIG_fail;
22707 }
22708 {
22709 wxColour * resultptr;
22710 resultptr = new wxColour((wxColour &) result);
22711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22712 }
22713 return resultobj;
22714 fail:
22715 return NULL;
22716}
22717
22718
c370783e 22719static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22720 PyObject *resultobj;
22721 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22722 wxColour *arg2 = 0 ;
22723 wxColour temp2 ;
22724 PyObject * obj0 = 0 ;
22725 PyObject * obj1 = 0 ;
22726 char *kwnames[] = {
22727 (char *) "self",(char *) "col", NULL
22728 };
22729
22730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22733 {
22734 arg2 = &temp2;
22735 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22736 }
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 (arg1)->SetTextColour((wxColour const &)*arg2);
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 Py_INCREF(Py_None); resultobj = Py_None;
22745 return resultobj;
22746 fail:
22747 return NULL;
22748}
22749
22750
c370783e 22751static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22752 PyObject *resultobj;
22753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22754 long result;
22755 PyObject * obj0 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self", NULL
22758 };
22759
22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22763 {
22764 PyThreadState* __tstate = wxPyBeginAllowThreads();
22765 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22766
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
c370783e 22770 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
22771 return resultobj;
22772 fail:
22773 return NULL;
22774}
22775
22776
c370783e 22777static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22778 PyObject *resultobj;
22779 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22780 long arg2 ;
b411df4a 22781 bool arg3 = (bool) true ;
d55e5bfc
RD
22782 PyObject * obj0 = 0 ;
22783 PyObject * obj1 = 0 ;
22784 PyObject * obj2 = 0 ;
22785 char *kwnames[] = {
22786 (char *) "self",(char *) "style",(char *) "add", NULL
22787 };
22788
22789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22792 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22793 if (PyErr_Occurred()) SWIG_fail;
22794 if (obj2) {
c370783e 22795 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 (arg1)->SetSingleStyle(arg2,arg3);
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 Py_INCREF(Py_None); resultobj = Py_None;
22806 return resultobj;
22807 fail:
22808 return NULL;
22809}
22810
22811
c370783e 22812static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22813 PyObject *resultobj;
22814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22815 long arg2 ;
22816 PyObject * obj0 = 0 ;
22817 PyObject * obj1 = 0 ;
22818 char *kwnames[] = {
22819 (char *) "self",(char *) "style", NULL
22820 };
22821
22822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22825 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22826 if (PyErr_Occurred()) SWIG_fail;
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 (arg1)->SetWindowStyleFlag(arg2);
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 Py_INCREF(Py_None); resultobj = Py_None;
22835 return resultobj;
22836 fail:
22837 return NULL;
22838}
22839
22840
c370783e 22841static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22842 PyObject *resultobj;
22843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22844 long arg2 ;
22845 int arg3 = (int) wxLIST_NEXT_ALL ;
22846 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22847 long result;
22848 PyObject * obj0 = 0 ;
22849 PyObject * obj1 = 0 ;
22850 PyObject * obj2 = 0 ;
22851 PyObject * obj3 = 0 ;
22852 char *kwnames[] = {
22853 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22854 };
22855
22856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22859 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22860 if (PyErr_Occurred()) SWIG_fail;
22861 if (obj2) {
c370783e 22862 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22863 if (PyErr_Occurred()) SWIG_fail;
22864 }
22865 if (obj3) {
c370783e 22866 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
c370783e 22876 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
22877 return resultobj;
22878 fail:
22879 return NULL;
22880}
22881
22882
c370783e 22883static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22884 PyObject *resultobj;
22885 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22886 int arg2 ;
22887 wxImageList *result;
22888 PyObject * obj0 = 0 ;
22889 PyObject * obj1 = 0 ;
22890 char *kwnames[] = {
22891 (char *) "self",(char *) "which", NULL
22892 };
22893
22894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22897 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22898 if (PyErr_Occurred()) SWIG_fail;
22899 {
22900 PyThreadState* __tstate = wxPyBeginAllowThreads();
22901 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22902
22903 wxPyEndAllowThreads(__tstate);
22904 if (PyErr_Occurred()) SWIG_fail;
22905 }
22906 {
412d302d 22907 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
22908 }
22909 return resultobj;
22910 fail:
22911 return NULL;
22912}
22913
22914
c370783e 22915static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22916 PyObject *resultobj;
22917 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22918 wxImageList *arg2 = (wxImageList *) 0 ;
22919 int arg3 ;
22920 PyObject * obj0 = 0 ;
22921 PyObject * obj1 = 0 ;
22922 PyObject * obj2 = 0 ;
22923 char *kwnames[] = {
22924 (char *) "self",(char *) "imageList",(char *) "which", NULL
22925 };
22926
22927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22930 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 22932 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22933 if (PyErr_Occurred()) SWIG_fail;
22934 {
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 (arg1)->SetImageList(arg2,arg3);
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 Py_INCREF(Py_None); resultobj = Py_None;
22942 return resultobj;
22943 fail:
22944 return NULL;
22945}
22946
22947
c370783e 22948static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22949 PyObject *resultobj;
22950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22951 wxImageList *arg2 = (wxImageList *) 0 ;
22952 int arg3 ;
22953 PyObject * obj0 = 0 ;
22954 PyObject * obj1 = 0 ;
22955 PyObject * obj2 = 0 ;
22956 char *kwnames[] = {
22957 (char *) "self",(char *) "imageList",(char *) "which", NULL
22958 };
22959
22960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22964 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
c370783e 22965 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22966 if (PyErr_Occurred()) SWIG_fail;
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 (arg1)->AssignImageList(arg2,arg3);
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 Py_INCREF(Py_None); resultobj = Py_None;
22975 return resultobj;
22976 fail:
22977 return NULL;
22978}
22979
22980
c370783e 22981static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22982 PyObject *resultobj;
22983 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22984 bool result;
22985 PyObject * obj0 = 0 ;
22986 char *kwnames[] = {
22987 (char *) "self", NULL
22988 };
22989
22990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22993 {
22994 PyThreadState* __tstate = wxPyBeginAllowThreads();
22995 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22996
22997 wxPyEndAllowThreads(__tstate);
22998 if (PyErr_Occurred()) SWIG_fail;
22999 }
23000 {
23001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23002 }
23003 return resultobj;
23004 fail:
23005 return NULL;
23006}
23007
23008
c370783e 23009static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23010 PyObject *resultobj;
23011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23012 bool result;
23013 PyObject * obj0 = 0 ;
23014 char *kwnames[] = {
23015 (char *) "self", NULL
23016 };
23017
23018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
23019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 {
23029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23030 }
23031 return resultobj;
23032 fail:
23033 return NULL;
23034}
23035
23036
c370783e 23037static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23038 PyObject *resultobj;
23039 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23040 long arg2 ;
23041 PyObject * obj0 = 0 ;
23042 PyObject * obj1 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self",(char *) "item", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
23048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23050 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23051 if (PyErr_Occurred()) SWIG_fail;
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 (arg1)->RefreshItem(arg2);
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 Py_INCREF(Py_None); resultobj = Py_None;
23060 return resultobj;
23061 fail:
23062 return NULL;
23063}
23064
23065
c370783e 23066static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23067 PyObject *resultobj;
23068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23069 long arg2 ;
23070 long arg3 ;
23071 PyObject * obj0 = 0 ;
23072 PyObject * obj1 = 0 ;
23073 PyObject * obj2 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
23079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23081 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 23082 if (PyErr_Occurred()) SWIG_fail;
c370783e 23083 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
23084 if (PyErr_Occurred()) SWIG_fail;
23085 {
23086 PyThreadState* __tstate = wxPyBeginAllowThreads();
23087 (arg1)->RefreshItems(arg2,arg3);
23088
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
23092 Py_INCREF(Py_None); resultobj = Py_None;
23093 return resultobj;
23094 fail:
23095 return NULL;
23096}
23097
23098
c370783e 23099static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23100 PyObject *resultobj;
23101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23102 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
23103 bool result;
23104 PyObject * obj0 = 0 ;
23105 PyObject * obj1 = 0 ;
23106 char *kwnames[] = {
23107 (char *) "self",(char *) "flag", NULL
23108 };
23109
23110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
23111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23113 if (obj1) {
c370783e 23114 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 {
23118 PyThreadState* __tstate = wxPyBeginAllowThreads();
23119 result = (bool)(arg1)->Arrange(arg2);
23120
23121 wxPyEndAllowThreads(__tstate);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 }
23124 {
23125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23126 }
23127 return resultobj;
23128 fail:
23129 return NULL;
23130}
23131
23132
c370783e 23133static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23134 PyObject *resultobj;
23135 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23136 long arg2 ;
23137 bool result;
23138 PyObject * obj0 = 0 ;
23139 PyObject * obj1 = 0 ;
23140 char *kwnames[] = {
23141 (char *) "self",(char *) "item", NULL
23142 };
23143
23144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
23145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23147 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23148 if (PyErr_Occurred()) SWIG_fail;
23149 {
23150 PyThreadState* __tstate = wxPyBeginAllowThreads();
23151 result = (bool)(arg1)->DeleteItem(arg2);
23152
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 {
23157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23158 }
23159 return resultobj;
23160 fail:
23161 return NULL;
23162}
23163
23164
c370783e 23165static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23166 PyObject *resultobj;
23167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23168 bool result;
23169 PyObject * obj0 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 result = (bool)(arg1)->DeleteAllItems();
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 {
23185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23186 }
23187 return resultobj;
23188 fail:
23189 return NULL;
23190}
23191
23192
c370783e 23193static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23194 PyObject *resultobj;
23195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23196 int arg2 ;
23197 bool result;
23198 PyObject * obj0 = 0 ;
23199 PyObject * obj1 = 0 ;
23200 char *kwnames[] = {
23201 (char *) "self",(char *) "col", NULL
23202 };
23203
23204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
23205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23207 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23208 if (PyErr_Occurred()) SWIG_fail;
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (bool)(arg1)->DeleteColumn(arg2);
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 {
23217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23218 }
23219 return resultobj;
23220 fail:
23221 return NULL;
23222}
23223
23224
c370783e 23225static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23226 PyObject *resultobj;
23227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23228 bool result;
23229 PyObject * obj0 = 0 ;
23230 char *kwnames[] = {
23231 (char *) "self", NULL
23232 };
23233
23234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
23235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 result = (bool)(arg1)->DeleteAllColumns();
23240
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 {
23245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23246 }
23247 return resultobj;
23248 fail:
23249 return NULL;
23250}
23251
23252
c370783e 23253static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23254 PyObject *resultobj;
23255 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23256 PyObject * obj0 = 0 ;
23257 char *kwnames[] = {
23258 (char *) "self", NULL
23259 };
23260
23261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
23262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23264 {
23265 PyThreadState* __tstate = wxPyBeginAllowThreads();
23266 (arg1)->ClearAll();
23267
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 Py_INCREF(Py_None); resultobj = Py_None;
23272 return resultobj;
23273 fail:
23274 return NULL;
23275}
23276
23277
c370783e 23278static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23279 PyObject *resultobj;
23280 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23281 long arg2 ;
23282 PyObject * obj0 = 0 ;
23283 PyObject * obj1 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self",(char *) "item", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23291 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23292 if (PyErr_Occurred()) SWIG_fail;
23293 {
23294 PyThreadState* __tstate = wxPyBeginAllowThreads();
23295 (arg1)->EditLabel(arg2);
23296
23297 wxPyEndAllowThreads(__tstate);
23298 if (PyErr_Occurred()) SWIG_fail;
23299 }
23300 Py_INCREF(Py_None); resultobj = Py_None;
23301 return resultobj;
23302 fail:
23303 return NULL;
23304}
23305
23306
c370783e 23307static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23308 PyObject *resultobj;
23309 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23310 long arg2 ;
23311 bool result;
23312 PyObject * obj0 = 0 ;
23313 PyObject * obj1 = 0 ;
23314 char *kwnames[] = {
23315 (char *) "self",(char *) "item", NULL
23316 };
23317
23318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23321 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23322 if (PyErr_Occurred()) SWIG_fail;
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 result = (bool)(arg1)->EnsureVisible(arg2);
23326
23327 wxPyEndAllowThreads(__tstate);
23328 if (PyErr_Occurred()) SWIG_fail;
23329 }
23330 {
23331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23332 }
23333 return resultobj;
23334 fail:
23335 return NULL;
23336}
23337
23338
c370783e 23339static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23340 PyObject *resultobj;
23341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23342 long arg2 ;
23343 wxString *arg3 = 0 ;
b411df4a 23344 bool arg4 = (bool) false ;
d55e5bfc 23345 long result;
b411df4a 23346 bool temp3 = false ;
d55e5bfc
RD
23347 PyObject * obj0 = 0 ;
23348 PyObject * obj1 = 0 ;
23349 PyObject * obj2 = 0 ;
23350 PyObject * obj3 = 0 ;
23351 char *kwnames[] = {
23352 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23358 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23359 if (PyErr_Occurred()) SWIG_fail;
23360 {
23361 arg3 = wxString_in_helper(obj2);
23362 if (arg3 == NULL) SWIG_fail;
b411df4a 23363 temp3 = true;
d55e5bfc
RD
23364 }
23365 if (obj3) {
c370783e 23366 arg4 = (bool)SWIG_As_bool(obj3);
d55e5bfc
RD
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
c370783e 23376 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
23377 {
23378 if (temp3)
23379 delete arg3;
23380 }
23381 return resultobj;
23382 fail:
23383 {
23384 if (temp3)
23385 delete arg3;
23386 }
23387 return NULL;
23388}
23389
23390
c370783e 23391static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23392 PyObject *resultobj;
23393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23394 long arg2 ;
23395 long arg3 ;
23396 long result;
23397 PyObject * obj0 = 0 ;
23398 PyObject * obj1 = 0 ;
23399 PyObject * obj2 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self",(char *) "start",(char *) "data", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
23405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23407 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 23408 if (PyErr_Occurred()) SWIG_fail;
c370783e 23409 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
23410 if (PyErr_Occurred()) SWIG_fail;
23411 {
23412 PyThreadState* __tstate = wxPyBeginAllowThreads();
23413 result = (long)(arg1)->FindItem(arg2,arg3);
23414
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
c370783e 23418 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
23419 return resultobj;
23420 fail:
23421 return NULL;
23422}
23423
23424
c370783e 23425static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23426 PyObject *resultobj;
23427 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23428 long arg2 ;
23429 wxPoint *arg3 = 0 ;
23430 int arg4 ;
23431 long result;
23432 wxPoint temp3 ;
23433 PyObject * obj0 = 0 ;
23434 PyObject * obj1 = 0 ;
23435 PyObject * obj2 = 0 ;
23436 PyObject * obj3 = 0 ;
23437 char *kwnames[] = {
23438 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23439 };
23440
23441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23444 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23445 if (PyErr_Occurred()) SWIG_fail;
23446 {
23447 arg3 = &temp3;
23448 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23449 }
c370783e 23450 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
23451 if (PyErr_Occurred()) SWIG_fail;
23452 {
23453 PyThreadState* __tstate = wxPyBeginAllowThreads();
23454 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
c370783e 23459 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
23460 return resultobj;
23461 fail:
23462 return NULL;
23463}
23464
23465
c370783e 23466static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23467 PyObject *resultobj;
23468 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23469 wxPoint *arg2 = 0 ;
23470 int *arg3 = 0 ;
23471 long result;
23472 wxPoint temp2 ;
23473 int temp3 ;
c370783e 23474 int res3 = 0 ;
d55e5bfc
RD
23475 PyObject * obj0 = 0 ;
23476 PyObject * obj1 = 0 ;
23477 char *kwnames[] = {
23478 (char *) "self",(char *) "point", NULL
23479 };
23480
c370783e 23481 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23485 {
23486 arg2 = &temp2;
23487 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23488 }
23489 {
23490 PyThreadState* __tstate = wxPyBeginAllowThreads();
23491 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23492
23493 wxPyEndAllowThreads(__tstate);
23494 if (PyErr_Occurred()) SWIG_fail;
23495 }
c370783e
RD
23496 resultobj = SWIG_From_long((long)result);
23497 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23498 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
23499 return resultobj;
23500 fail:
23501 return NULL;
23502}
23503
23504
c370783e 23505static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23506 PyObject *resultobj;
23507 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23508 wxListItem *arg2 = 0 ;
23509 long result;
23510 PyObject * obj0 = 0 ;
23511 PyObject * obj1 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self",(char *) "info", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23520 SWIG_POINTER_EXCEPTION | 0)) == -1)
23521 SWIG_fail;
23522 if (arg2 == NULL) {
23523 PyErr_SetString(PyExc_TypeError,"null reference");
23524 SWIG_fail;
23525 }
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 result = (long)(arg1)->InsertItem(*arg2);
23529
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
c370783e 23533 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
23534 return resultobj;
23535 fail:
23536 return NULL;
23537}
23538
23539
c370783e 23540static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23541 PyObject *resultobj;
23542 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23543 long arg2 ;
23544 wxString *arg3 = 0 ;
23545 long result;
b411df4a 23546 bool temp3 = false ;
d55e5bfc
RD
23547 PyObject * obj0 = 0 ;
23548 PyObject * obj1 = 0 ;
23549 PyObject * obj2 = 0 ;
23550 char *kwnames[] = {
23551 (char *) "self",(char *) "index",(char *) "label", NULL
23552 };
23553
23554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23557 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23558 if (PyErr_Occurred()) SWIG_fail;
23559 {
23560 arg3 = wxString_in_helper(obj2);
23561 if (arg3 == NULL) SWIG_fail;
b411df4a 23562 temp3 = true;
d55e5bfc
RD
23563 }
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23567
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
c370783e 23571 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
23572 {
23573 if (temp3)
23574 delete arg3;
23575 }
23576 return resultobj;
23577 fail:
23578 {
23579 if (temp3)
23580 delete arg3;
23581 }
23582 return NULL;
23583}
23584
23585
c370783e 23586static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23587 PyObject *resultobj;
23588 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23589 long arg2 ;
23590 int arg3 ;
23591 long result;
23592 PyObject * obj0 = 0 ;
23593 PyObject * obj1 = 0 ;
23594 PyObject * obj2 = 0 ;
23595 char *kwnames[] = {
23596 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23602 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 23603 if (PyErr_Occurred()) SWIG_fail;
c370783e 23604 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
23605 if (PyErr_Occurred()) SWIG_fail;
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 result = (long)(arg1)->InsertItem(arg2,arg3);
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
c370783e 23613 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
23614 return resultobj;
23615 fail:
23616 return NULL;
23617}
23618
23619
c370783e 23620static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23621 PyObject *resultobj;
23622 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23623 long arg2 ;
23624 wxString *arg3 = 0 ;
23625 int arg4 ;
23626 long result;
b411df4a 23627 bool temp3 = false ;
d55e5bfc
RD
23628 PyObject * obj0 = 0 ;
23629 PyObject * obj1 = 0 ;
23630 PyObject * obj2 = 0 ;
23631 PyObject * obj3 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23639 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23640 if (PyErr_Occurred()) SWIG_fail;
23641 {
23642 arg3 = wxString_in_helper(obj2);
23643 if (arg3 == NULL) SWIG_fail;
b411df4a 23644 temp3 = true;
d55e5bfc 23645 }
c370783e 23646 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
23647 if (PyErr_Occurred()) SWIG_fail;
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
c370783e 23655 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
23656 {
23657 if (temp3)
23658 delete arg3;
23659 }
23660 return resultobj;
23661 fail:
23662 {
23663 if (temp3)
23664 delete arg3;
23665 }
23666 return NULL;
23667}
23668
23669
c370783e 23670static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23671 PyObject *resultobj;
23672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23673 long arg2 ;
23674 wxListItem *arg3 = 0 ;
23675 long result;
23676 PyObject * obj0 = 0 ;
23677 PyObject * obj1 = 0 ;
23678 PyObject * obj2 = 0 ;
23679 char *kwnames[] = {
23680 (char *) "self",(char *) "col",(char *) "info", NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23686 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23687 if (PyErr_Occurred()) SWIG_fail;
23688 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23689 SWIG_POINTER_EXCEPTION | 0)) == -1)
23690 SWIG_fail;
23691 if (arg3 == NULL) {
23692 PyErr_SetString(PyExc_TypeError,"null reference");
23693 SWIG_fail;
23694 }
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23698
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
c370783e 23702 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
23703 return resultobj;
23704 fail:
23705 return NULL;
23706}
23707
23708
c370783e 23709static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23710 PyObject *resultobj;
23711 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23712 long arg2 ;
23713 wxString *arg3 = 0 ;
23714 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23715 int arg5 = (int) -1 ;
23716 long result;
b411df4a 23717 bool temp3 = false ;
d55e5bfc
RD
23718 PyObject * obj0 = 0 ;
23719 PyObject * obj1 = 0 ;
23720 PyObject * obj2 = 0 ;
23721 PyObject * obj3 = 0 ;
23722 PyObject * obj4 = 0 ;
23723 char *kwnames[] = {
23724 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23725 };
23726
23727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23730 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23731 if (PyErr_Occurred()) SWIG_fail;
23732 {
23733 arg3 = wxString_in_helper(obj2);
23734 if (arg3 == NULL) SWIG_fail;
b411df4a 23735 temp3 = true;
d55e5bfc
RD
23736 }
23737 if (obj3) {
c370783e 23738 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 if (obj4) {
c370783e 23742 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 {
23746 PyThreadState* __tstate = wxPyBeginAllowThreads();
23747 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23748
23749 wxPyEndAllowThreads(__tstate);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 }
c370783e 23752 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
23753 {
23754 if (temp3)
23755 delete arg3;
23756 }
23757 return resultobj;
23758 fail:
23759 {
23760 if (temp3)
23761 delete arg3;
23762 }
23763 return NULL;
23764}
23765
23766
c370783e 23767static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23768 PyObject *resultobj;
23769 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23770 long arg2 ;
23771 PyObject * obj0 = 0 ;
23772 PyObject * obj1 = 0 ;
23773 char *kwnames[] = {
23774 (char *) "self",(char *) "count", NULL
23775 };
23776
23777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23780 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23781 if (PyErr_Occurred()) SWIG_fail;
23782 {
23783 PyThreadState* __tstate = wxPyBeginAllowThreads();
23784 (arg1)->SetItemCount(arg2);
23785
23786 wxPyEndAllowThreads(__tstate);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 Py_INCREF(Py_None); resultobj = Py_None;
23790 return resultobj;
23791 fail:
23792 return NULL;
23793}
23794
23795
c370783e 23796static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23797 PyObject *resultobj;
23798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23799 int arg2 ;
23800 int arg3 ;
23801 bool result;
23802 PyObject * obj0 = 0 ;
23803 PyObject * obj1 = 0 ;
23804 PyObject * obj2 = 0 ;
23805 char *kwnames[] = {
23806 (char *) "self",(char *) "dx",(char *) "dy", NULL
23807 };
23808
23809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23812 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 23813 if (PyErr_Occurred()) SWIG_fail;
c370783e 23814 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
23815 if (PyErr_Occurred()) SWIG_fail;
23816 {
23817 PyThreadState* __tstate = wxPyBeginAllowThreads();
23818 result = (bool)(arg1)->ScrollList(arg2,arg3);
23819
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
23823 {
23824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23825 }
23826 return resultobj;
23827 fail:
23828 return NULL;
23829}
23830
23831
c370783e 23832static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23833 PyObject *resultobj;
23834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23835 long arg2 ;
23836 wxColour *arg3 = 0 ;
23837 wxColour temp3 ;
23838 PyObject * obj0 = 0 ;
23839 PyObject * obj1 = 0 ;
23840 PyObject * obj2 = 0 ;
23841 char *kwnames[] = {
23842 (char *) "self",(char *) "item",(char *) "col", NULL
23843 };
23844
23845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23848 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23849 if (PyErr_Occurred()) SWIG_fail;
23850 {
23851 arg3 = &temp3;
23852 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23853 }
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 Py_INCREF(Py_None); resultobj = Py_None;
23862 return resultobj;
23863 fail:
23864 return NULL;
23865}
23866
23867
c370783e 23868static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23869 PyObject *resultobj;
23870 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23871 long arg2 ;
23872 wxColour result;
23873 PyObject * obj0 = 0 ;
23874 PyObject * obj1 = 0 ;
23875 char *kwnames[] = {
23876 (char *) "self",(char *) "item", NULL
23877 };
23878
23879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23882 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23883 if (PyErr_Occurred()) SWIG_fail;
23884 {
23885 PyThreadState* __tstate = wxPyBeginAllowThreads();
23886 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23887
23888 wxPyEndAllowThreads(__tstate);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 {
23892 wxColour * resultptr;
23893 resultptr = new wxColour((wxColour &) result);
23894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23895 }
23896 return resultobj;
23897 fail:
23898 return NULL;
23899}
23900
23901
c370783e 23902static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23903 PyObject *resultobj;
23904 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23905 long arg2 ;
23906 wxColour *arg3 = 0 ;
23907 wxColour temp3 ;
23908 PyObject * obj0 = 0 ;
23909 PyObject * obj1 = 0 ;
23910 PyObject * obj2 = 0 ;
23911 char *kwnames[] = {
23912 (char *) "self",(char *) "item",(char *) "col", NULL
23913 };
23914
23915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23918 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23919 if (PyErr_Occurred()) SWIG_fail;
23920 {
23921 arg3 = &temp3;
23922 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23923 }
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 Py_INCREF(Py_None); resultobj = Py_None;
23932 return resultobj;
23933 fail:
23934 return NULL;
23935}
23936
23937
c370783e 23938static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23939 PyObject *resultobj;
23940 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23941 long arg2 ;
23942 wxColour result;
23943 PyObject * obj0 = 0 ;
23944 PyObject * obj1 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self",(char *) "item", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 23952 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23953 if (PyErr_Occurred()) SWIG_fail;
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 {
23962 wxColour * resultptr;
23963 resultptr = new wxColour((wxColour &) result);
23964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23965 }
23966 return resultobj;
23967 fail:
23968 return NULL;
23969}
23970
23971
c370783e 23972static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23973 PyObject *resultobj;
23974 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23975 PyObject *arg2 = (PyObject *) 0 ;
23976 bool result;
23977 PyObject * obj0 = 0 ;
23978 PyObject * obj1 = 0 ;
23979 char *kwnames[] = {
23980 (char *) "self",(char *) "func", NULL
23981 };
23982
23983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23986 arg2 = obj1;
23987 {
23988 PyThreadState* __tstate = wxPyBeginAllowThreads();
23989 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23990
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 {
23995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23996 }
23997 return resultobj;
23998 fail:
23999 return NULL;
24000}
24001
24002
c370783e 24003static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24004 PyObject *resultobj;
24005 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24006 wxWindow *result;
24007 PyObject * obj0 = 0 ;
24008 char *kwnames[] = {
24009 (char *) "self", NULL
24010 };
24011
24012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
24013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24015 {
24016 PyThreadState* __tstate = wxPyBeginAllowThreads();
24017 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
24018
24019 wxPyEndAllowThreads(__tstate);
24020 if (PyErr_Occurred()) SWIG_fail;
24021 }
24022 {
412d302d 24023 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24024 }
24025 return resultobj;
24026 fail:
24027 return NULL;
24028}
24029
24030
c370783e 24031static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24032 PyObject *resultobj;
24033 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
24034 wxVisualAttributes result;
24035 PyObject * obj0 = 0 ;
24036 char *kwnames[] = {
24037 (char *) "variant", NULL
24038 };
24039
24040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
24041 if (obj0) {
c370783e 24042 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
24043 if (PyErr_Occurred()) SWIG_fail;
24044 }
24045 {
0439c23b 24046 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
24049
24050 wxPyEndAllowThreads(__tstate);
110da5b0 24051 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24052 }
24053 {
24054 wxVisualAttributes * resultptr;
24055 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
24056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
24057 }
24058 return resultobj;
24059 fail:
24060 return NULL;
24061}
24062
24063
c370783e 24064static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24065 PyObject *obj;
24066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24067 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
24068 Py_INCREF(obj);
24069 return Py_BuildValue((char *)"");
24070}
c370783e 24071static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24072 PyObject *resultobj;
24073 wxWindow *arg1 = (wxWindow *) 0 ;
24074 int arg2 = (int) -1 ;
24075 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24076 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24077 wxSize const &arg4_defvalue = wxDefaultSize ;
24078 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24079 long arg5 = (long) wxLC_REPORT ;
24080 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24081 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24082 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
24083 wxString *arg7 = (wxString *) &arg7_defvalue ;
24084 wxListView *result;
24085 wxPoint temp3 ;
24086 wxSize temp4 ;
b411df4a 24087 bool temp7 = false ;
d55e5bfc
RD
24088 PyObject * obj0 = 0 ;
24089 PyObject * obj1 = 0 ;
24090 PyObject * obj2 = 0 ;
24091 PyObject * obj3 = 0 ;
24092 PyObject * obj4 = 0 ;
24093 PyObject * obj5 = 0 ;
24094 PyObject * obj6 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24102 if (obj1) {
c370783e 24103 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 if (obj2) {
24107 {
24108 arg3 = &temp3;
24109 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24110 }
24111 }
24112 if (obj3) {
24113 {
24114 arg4 = &temp4;
24115 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24116 }
24117 }
24118 if (obj4) {
c370783e 24119 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 if (obj5) {
24123 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24124 SWIG_POINTER_EXCEPTION | 0)) == -1)
24125 SWIG_fail;
24126 if (arg6 == NULL) {
24127 PyErr_SetString(PyExc_TypeError,"null reference");
24128 SWIG_fail;
24129 }
24130 }
24131 if (obj6) {
24132 {
24133 arg7 = wxString_in_helper(obj6);
24134 if (arg7 == NULL) SWIG_fail;
b411df4a 24135 temp7 = true;
d55e5bfc
RD
24136 }
24137 }
24138 {
0439c23b 24139 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24142
24143 wxPyEndAllowThreads(__tstate);
110da5b0 24144 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24145 }
24146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24147 {
24148 if (temp7)
24149 delete arg7;
24150 }
24151 return resultobj;
24152 fail:
24153 {
24154 if (temp7)
24155 delete arg7;
24156 }
24157 return NULL;
24158}
24159
24160
c370783e 24161static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24162 PyObject *resultobj;
24163 wxListView *result;
24164 char *kwnames[] = {
24165 NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
24169 {
0439c23b 24170 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 result = (wxListView *)new wxListView();
24173
24174 wxPyEndAllowThreads(__tstate);
110da5b0 24175 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24176 }
24177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24178 return resultobj;
24179 fail:
24180 return NULL;
24181}
24182
24183
c370783e 24184static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24185 PyObject *resultobj;
24186 wxListView *arg1 = (wxListView *) 0 ;
24187 wxWindow *arg2 = (wxWindow *) 0 ;
24188 int arg3 = (int) -1 ;
24189 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24190 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24191 wxSize const &arg5_defvalue = wxDefaultSize ;
24192 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24193 long arg6 = (long) wxLC_REPORT ;
24194 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24195 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24196 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
24197 wxString *arg8 = (wxString *) &arg8_defvalue ;
24198 bool result;
24199 wxPoint temp4 ;
24200 wxSize temp5 ;
b411df4a 24201 bool temp8 = false ;
d55e5bfc
RD
24202 PyObject * obj0 = 0 ;
24203 PyObject * obj1 = 0 ;
24204 PyObject * obj2 = 0 ;
24205 PyObject * obj3 = 0 ;
24206 PyObject * obj4 = 0 ;
24207 PyObject * obj5 = 0 ;
24208 PyObject * obj6 = 0 ;
24209 PyObject * obj7 = 0 ;
24210 char *kwnames[] = {
24211 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24212 };
24213
24214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24217 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24219 if (obj2) {
c370783e 24220 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
24223 if (obj3) {
24224 {
24225 arg4 = &temp4;
24226 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24227 }
24228 }
24229 if (obj4) {
24230 {
24231 arg5 = &temp5;
24232 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24233 }
24234 }
24235 if (obj5) {
c370783e 24236 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 if (obj6) {
24240 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24241 SWIG_POINTER_EXCEPTION | 0)) == -1)
24242 SWIG_fail;
24243 if (arg7 == NULL) {
24244 PyErr_SetString(PyExc_TypeError,"null reference");
24245 SWIG_fail;
24246 }
24247 }
24248 if (obj7) {
24249 {
24250 arg8 = wxString_in_helper(obj7);
24251 if (arg8 == NULL) SWIG_fail;
b411df4a 24252 temp8 = true;
d55e5bfc
RD
24253 }
24254 }
24255 {
24256 PyThreadState* __tstate = wxPyBeginAllowThreads();
24257 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24258
24259 wxPyEndAllowThreads(__tstate);
24260 if (PyErr_Occurred()) SWIG_fail;
24261 }
24262 {
24263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24264 }
24265 {
24266 if (temp8)
24267 delete arg8;
24268 }
24269 return resultobj;
24270 fail:
24271 {
24272 if (temp8)
24273 delete arg8;
24274 }
24275 return NULL;
24276}
24277
24278
c370783e 24279static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24280 PyObject *resultobj;
24281 wxListView *arg1 = (wxListView *) 0 ;
24282 long arg2 ;
b411df4a 24283 bool arg3 = (bool) true ;
d55e5bfc
RD
24284 PyObject * obj0 = 0 ;
24285 PyObject * obj1 = 0 ;
24286 PyObject * obj2 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "n",(char *) "on", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
24292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 24294 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
24295 if (PyErr_Occurred()) SWIG_fail;
24296 if (obj2) {
c370783e 24297 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
24298 if (PyErr_Occurred()) SWIG_fail;
24299 }
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 (arg1)->Select(arg2,arg3);
24303
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 Py_INCREF(Py_None); resultobj = Py_None;
24308 return resultobj;
24309 fail:
24310 return NULL;
24311}
24312
24313
c370783e 24314static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24315 PyObject *resultobj;
24316 wxListView *arg1 = (wxListView *) 0 ;
24317 long arg2 ;
24318 PyObject * obj0 = 0 ;
24319 PyObject * obj1 = 0 ;
24320 char *kwnames[] = {
24321 (char *) "self",(char *) "index", NULL
24322 };
24323
24324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
24325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 24327 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
24328 if (PyErr_Occurred()) SWIG_fail;
24329 {
24330 PyThreadState* __tstate = wxPyBeginAllowThreads();
24331 (arg1)->Focus(arg2);
24332
24333 wxPyEndAllowThreads(__tstate);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 }
24336 Py_INCREF(Py_None); resultobj = Py_None;
24337 return resultobj;
24338 fail:
24339 return NULL;
24340}
24341
24342
c370783e 24343static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24344 PyObject *resultobj;
24345 wxListView *arg1 = (wxListView *) 0 ;
24346 long result;
24347 PyObject * obj0 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24355 {
24356 PyThreadState* __tstate = wxPyBeginAllowThreads();
24357 result = (long)((wxListView const *)arg1)->GetFocusedItem();
24358
24359 wxPyEndAllowThreads(__tstate);
24360 if (PyErr_Occurred()) SWIG_fail;
24361 }
c370783e 24362 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
24363 return resultobj;
24364 fail:
24365 return NULL;
24366}
24367
24368
c370783e 24369static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24370 PyObject *resultobj;
24371 wxListView *arg1 = (wxListView *) 0 ;
24372 long arg2 ;
24373 long result;
24374 PyObject * obj0 = 0 ;
24375 PyObject * obj1 = 0 ;
24376 char *kwnames[] = {
24377 (char *) "self",(char *) "item", NULL
24378 };
24379
24380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
24381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 24383 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
24384 if (PyErr_Occurred()) SWIG_fail;
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
24388
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
c370783e 24392 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
24393 return resultobj;
24394 fail:
24395 return NULL;
24396}
24397
24398
c370783e 24399static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24400 PyObject *resultobj;
24401 wxListView *arg1 = (wxListView *) 0 ;
24402 long result;
24403 PyObject * obj0 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
24409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24414
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
c370783e 24418 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
24419 return resultobj;
24420 fail:
24421 return NULL;
24422}
24423
24424
c370783e 24425static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24426 PyObject *resultobj;
24427 wxListView *arg1 = (wxListView *) 0 ;
24428 long arg2 ;
24429 bool result;
24430 PyObject * obj0 = 0 ;
24431 PyObject * obj1 = 0 ;
24432 char *kwnames[] = {
24433 (char *) "self",(char *) "index", NULL
24434 };
24435
24436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 24439 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
24440 if (PyErr_Occurred()) SWIG_fail;
24441 {
24442 PyThreadState* __tstate = wxPyBeginAllowThreads();
24443 result = (bool)(arg1)->IsSelected(arg2);
24444
24445 wxPyEndAllowThreads(__tstate);
24446 if (PyErr_Occurred()) SWIG_fail;
24447 }
24448 {
24449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24450 }
24451 return resultobj;
24452 fail:
24453 return NULL;
24454}
24455
24456
c370783e 24457static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24458 PyObject *resultobj;
24459 wxListView *arg1 = (wxListView *) 0 ;
24460 int arg2 ;
24461 int arg3 ;
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 PyObject * obj2 = 0 ;
24465 char *kwnames[] = {
24466 (char *) "self",(char *) "col",(char *) "image", NULL
24467 };
24468
24469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 24472 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 24473 if (PyErr_Occurred()) SWIG_fail;
c370783e 24474 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
24475 if (PyErr_Occurred()) SWIG_fail;
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
24478 (arg1)->SetColumnImage(arg2,arg3);
24479
24480 wxPyEndAllowThreads(__tstate);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 Py_INCREF(Py_None); resultobj = Py_None;
24484 return resultobj;
24485 fail:
24486 return NULL;
24487}
24488
24489
c370783e 24490static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24491 PyObject *resultobj;
24492 wxListView *arg1 = (wxListView *) 0 ;
24493 int arg2 ;
24494 PyObject * obj0 = 0 ;
24495 PyObject * obj1 = 0 ;
24496 char *kwnames[] = {
24497 (char *) "self",(char *) "col", NULL
24498 };
24499
24500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 24503 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24504 if (PyErr_Occurred()) SWIG_fail;
24505 {
24506 PyThreadState* __tstate = wxPyBeginAllowThreads();
24507 (arg1)->ClearColumnImage(arg2);
24508
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 Py_INCREF(Py_None); resultobj = Py_None;
24513 return resultobj;
24514 fail:
24515 return NULL;
24516}
24517
24518
c370783e 24519static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24520 PyObject *obj;
24521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24522 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24523 Py_INCREF(obj);
24524 return Py_BuildValue((char *)"");
24525}
c370783e 24526static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
24527 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24528 return 1;
24529}
24530
24531
24532static PyObject *_wrap_TreeCtrlNameStr_get() {
24533 PyObject *pyobj;
24534
24535 {
24536#if wxUSE_UNICODE
24537 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24538#else
24539 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24540#endif
24541 }
24542 return pyobj;
24543}
24544
24545
c370783e 24546static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24547 PyObject *resultobj;
24548 wxTreeItemId *result;
24549 char *kwnames[] = {
24550 NULL
24551 };
24552
24553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 result = (wxTreeItemId *)new wxTreeItemId();
24557
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24562 return resultobj;
24563 fail:
24564 return NULL;
24565}
24566
24567
c370783e 24568static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24569 PyObject *resultobj;
24570 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24571 PyObject * obj0 = 0 ;
24572 char *kwnames[] = {
24573 (char *) "self", NULL
24574 };
24575
24576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24579 {
24580 PyThreadState* __tstate = wxPyBeginAllowThreads();
24581 delete arg1;
24582
24583 wxPyEndAllowThreads(__tstate);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 Py_INCREF(Py_None); resultobj = Py_None;
24587 return resultobj;
24588 fail:
24589 return NULL;
24590}
24591
24592
c370783e 24593static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24594 PyObject *resultobj;
24595 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24596 bool result;
24597 PyObject * obj0 = 0 ;
24598 char *kwnames[] = {
24599 (char *) "self", NULL
24600 };
24601
24602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24608
24609 wxPyEndAllowThreads(__tstate);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
24612 {
24613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24614 }
24615 return resultobj;
24616 fail:
24617 return NULL;
24618}
24619
24620
c370783e 24621static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24622 PyObject *resultobj;
24623 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24624 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24625 bool result;
24626 PyObject * obj0 = 0 ;
24627 PyObject * obj1 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self",(char *) "other", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24637 {
24638 PyThreadState* __tstate = wxPyBeginAllowThreads();
24639 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24640
24641 wxPyEndAllowThreads(__tstate);
24642 if (PyErr_Occurred()) SWIG_fail;
24643 }
24644 {
24645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24646 }
24647 return resultobj;
24648 fail:
24649 return NULL;
24650}
24651
24652
c370783e 24653static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24654 PyObject *resultobj;
24655 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24656 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24657 bool result;
24658 PyObject * obj0 = 0 ;
24659 PyObject * obj1 = 0 ;
24660 char *kwnames[] = {
24661 (char *) "self",(char *) "other", NULL
24662 };
24663
24664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24669 {
24670 PyThreadState* __tstate = wxPyBeginAllowThreads();
24671 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24672
24673 wxPyEndAllowThreads(__tstate);
24674 if (PyErr_Occurred()) SWIG_fail;
24675 }
24676 {
24677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24678 }
24679 return resultobj;
24680 fail:
24681 return NULL;
24682}
24683
24684
c370783e 24685static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24686 PyObject *resultobj;
24687 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24688 void *arg2 = (void *) 0 ;
24689 PyObject * obj0 = 0 ;
24690 PyObject * obj1 = 0 ;
24691 char *kwnames[] = {
24692 (char *) "self",(char *) "m_pItem", NULL
24693 };
24694
24695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24698 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24699 if (arg1) (arg1)->m_pItem = arg2;
24700
24701 Py_INCREF(Py_None); resultobj = Py_None;
24702 return resultobj;
24703 fail:
24704 return NULL;
24705}
24706
24707
c370783e 24708static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24709 PyObject *resultobj;
24710 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24711 void *result;
24712 PyObject * obj0 = 0 ;
24713 char *kwnames[] = {
24714 (char *) "self", NULL
24715 };
24716
24717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24720 result = (void *) ((arg1)->m_pItem);
24721
24722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24723 return resultobj;
24724 fail:
24725 return NULL;
24726}
24727
24728
c370783e 24729static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24730 PyObject *obj;
24731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24732 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24733 Py_INCREF(obj);
24734 return Py_BuildValue((char *)"");
24735}
c370783e 24736static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24737 PyObject *resultobj;
24738 PyObject *arg1 = (PyObject *) NULL ;
24739 wxPyTreeItemData *result;
24740 PyObject * obj0 = 0 ;
24741 char *kwnames[] = {
24742 (char *) "obj", NULL
24743 };
24744
24745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24746 if (obj0) {
24747 arg1 = obj0;
24748 }
24749 {
24750 PyThreadState* __tstate = wxPyBeginAllowThreads();
24751 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24752
24753 wxPyEndAllowThreads(__tstate);
24754 if (PyErr_Occurred()) SWIG_fail;
24755 }
24756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24757 return resultobj;
24758 fail:
24759 return NULL;
24760}
24761
24762
c370783e 24763static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24764 PyObject *resultobj;
24765 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24766 PyObject *result;
24767 PyObject * obj0 = 0 ;
24768 char *kwnames[] = {
24769 (char *) "self", NULL
24770 };
24771
24772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24775 {
24776 PyThreadState* __tstate = wxPyBeginAllowThreads();
24777 result = (PyObject *)(arg1)->GetData();
24778
24779 wxPyEndAllowThreads(__tstate);
24780 if (PyErr_Occurred()) SWIG_fail;
24781 }
24782 resultobj = result;
24783 return resultobj;
24784 fail:
24785 return NULL;
24786}
24787
24788
c370783e 24789static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24790 PyObject *resultobj;
24791 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24792 PyObject *arg2 = (PyObject *) 0 ;
24793 PyObject * obj0 = 0 ;
24794 PyObject * obj1 = 0 ;
24795 char *kwnames[] = {
24796 (char *) "self",(char *) "obj", NULL
24797 };
24798
24799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24802 arg2 = obj1;
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 (arg1)->SetData(arg2);
24806
24807 wxPyEndAllowThreads(__tstate);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 Py_INCREF(Py_None); resultobj = Py_None;
24811 return resultobj;
24812 fail:
24813 return NULL;
24814}
24815
24816
c370783e 24817static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24818 PyObject *resultobj;
24819 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24820 wxTreeItemId *result;
24821 PyObject * obj0 = 0 ;
24822 char *kwnames[] = {
24823 (char *) "self", NULL
24824 };
24825
24826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24829 {
24830 PyThreadState* __tstate = wxPyBeginAllowThreads();
24831 {
24832 wxTreeItemId const &_result_ref = (arg1)->GetId();
24833 result = (wxTreeItemId *) &_result_ref;
24834 }
24835
24836 wxPyEndAllowThreads(__tstate);
24837 if (PyErr_Occurred()) SWIG_fail;
24838 }
24839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24840 return resultobj;
24841 fail:
24842 return NULL;
24843}
24844
24845
c370783e 24846static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24847 PyObject *resultobj;
24848 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24849 wxTreeItemId *arg2 = 0 ;
24850 PyObject * obj0 = 0 ;
24851 PyObject * obj1 = 0 ;
24852 char *kwnames[] = {
24853 (char *) "self",(char *) "id", NULL
24854 };
24855
24856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24860 SWIG_POINTER_EXCEPTION | 0)) == -1)
24861 SWIG_fail;
24862 if (arg2 == NULL) {
24863 PyErr_SetString(PyExc_TypeError,"null reference");
24864 SWIG_fail;
24865 }
24866 {
24867 PyThreadState* __tstate = wxPyBeginAllowThreads();
24868 (arg1)->SetId((wxTreeItemId const &)*arg2);
24869
24870 wxPyEndAllowThreads(__tstate);
24871 if (PyErr_Occurred()) SWIG_fail;
24872 }
24873 Py_INCREF(Py_None); resultobj = Py_None;
24874 return resultobj;
24875 fail:
24876 return NULL;
24877}
24878
24879
c370783e 24880static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24881 PyObject *resultobj;
24882 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24883 PyObject * obj0 = 0 ;
24884 char *kwnames[] = {
24885 (char *) "self", NULL
24886 };
24887
24888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24891 {
24892 PyThreadState* __tstate = wxPyBeginAllowThreads();
24893 wxPyTreeItemData_Destroy(arg1);
24894
24895 wxPyEndAllowThreads(__tstate);
24896 if (PyErr_Occurred()) SWIG_fail;
24897 }
24898 Py_INCREF(Py_None); resultobj = Py_None;
24899 return resultobj;
24900 fail:
24901 return NULL;
24902}
24903
24904
c370783e 24905static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24906 PyObject *obj;
24907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24908 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24909 Py_INCREF(obj);
24910 return Py_BuildValue((char *)"");
24911}
c370783e 24912static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24913 PyObject *resultobj;
24914 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24915 int arg2 = (int) 0 ;
24916 wxTreeEvent *result;
24917 PyObject * obj0 = 0 ;
24918 PyObject * obj1 = 0 ;
24919 char *kwnames[] = {
24920 (char *) "commandType",(char *) "id", NULL
24921 };
24922
24923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24924 if (obj0) {
c370783e 24925 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
24928 if (obj1) {
c370783e 24929 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
24932 {
24933 PyThreadState* __tstate = wxPyBeginAllowThreads();
24934 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24935
24936 wxPyEndAllowThreads(__tstate);
24937 if (PyErr_Occurred()) SWIG_fail;
24938 }
24939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24940 return resultobj;
24941 fail:
24942 return NULL;
24943}
24944
24945
c370783e 24946static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24947 PyObject *resultobj;
24948 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24949 wxTreeItemId result;
24950 PyObject * obj0 = 0 ;
24951 char *kwnames[] = {
24952 (char *) "self", NULL
24953 };
24954
24955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24958 {
24959 PyThreadState* __tstate = wxPyBeginAllowThreads();
24960 result = ((wxTreeEvent const *)arg1)->GetItem();
24961
24962 wxPyEndAllowThreads(__tstate);
24963 if (PyErr_Occurred()) SWIG_fail;
24964 }
24965 {
24966 wxTreeItemId * resultptr;
24967 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24969 }
24970 return resultobj;
24971 fail:
24972 return NULL;
24973}
24974
24975
c370783e 24976static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24977 PyObject *resultobj;
24978 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24979 wxTreeItemId *arg2 = 0 ;
24980 PyObject * obj0 = 0 ;
24981 PyObject * obj1 = 0 ;
24982 char *kwnames[] = {
24983 (char *) "self",(char *) "item", NULL
24984 };
24985
24986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24990 SWIG_POINTER_EXCEPTION | 0)) == -1)
24991 SWIG_fail;
24992 if (arg2 == NULL) {
24993 PyErr_SetString(PyExc_TypeError,"null reference");
24994 SWIG_fail;
24995 }
24996 {
24997 PyThreadState* __tstate = wxPyBeginAllowThreads();
24998 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24999
25000 wxPyEndAllowThreads(__tstate);
25001 if (PyErr_Occurred()) SWIG_fail;
25002 }
25003 Py_INCREF(Py_None); resultobj = Py_None;
25004 return resultobj;
25005 fail:
25006 return NULL;
25007}
25008
25009
c370783e 25010static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25011 PyObject *resultobj;
25012 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25013 wxTreeItemId result;
25014 PyObject * obj0 = 0 ;
25015 char *kwnames[] = {
25016 (char *) "self", NULL
25017 };
25018
25019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
25020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 result = ((wxTreeEvent const *)arg1)->GetOldItem();
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 {
25030 wxTreeItemId * resultptr;
25031 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25033 }
25034 return resultobj;
25035 fail:
25036 return NULL;
25037}
25038
25039
c370783e 25040static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25041 PyObject *resultobj;
25042 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25043 wxTreeItemId *arg2 = 0 ;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 char *kwnames[] = {
25047 (char *) "self",(char *) "item", NULL
25048 };
25049
25050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
25051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25054 SWIG_POINTER_EXCEPTION | 0)) == -1)
25055 SWIG_fail;
25056 if (arg2 == NULL) {
25057 PyErr_SetString(PyExc_TypeError,"null reference");
25058 SWIG_fail;
25059 }
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
25063
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 Py_INCREF(Py_None); resultobj = Py_None;
25068 return resultobj;
25069 fail:
25070 return NULL;
25071}
25072
25073
c370783e 25074static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25075 PyObject *resultobj;
25076 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25077 wxPoint result;
25078 PyObject * obj0 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "self", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
25084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25086 {
25087 PyThreadState* __tstate = wxPyBeginAllowThreads();
25088 result = ((wxTreeEvent const *)arg1)->GetPoint();
25089
25090 wxPyEndAllowThreads(__tstate);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 }
25093 {
25094 wxPoint * resultptr;
25095 resultptr = new wxPoint((wxPoint &) result);
25096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25097 }
25098 return resultobj;
25099 fail:
25100 return NULL;
25101}
25102
25103
c370783e 25104static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25105 PyObject *resultobj;
25106 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25107 wxPoint *arg2 = 0 ;
25108 wxPoint temp2 ;
25109 PyObject * obj0 = 0 ;
25110 PyObject * obj1 = 0 ;
25111 char *kwnames[] = {
25112 (char *) "self",(char *) "pt", NULL
25113 };
25114
25115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
25116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25118 {
25119 arg2 = &temp2;
25120 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25121 }
25122 {
25123 PyThreadState* __tstate = wxPyBeginAllowThreads();
25124 (arg1)->SetPoint((wxPoint const &)*arg2);
25125
25126 wxPyEndAllowThreads(__tstate);
25127 if (PyErr_Occurred()) SWIG_fail;
25128 }
25129 Py_INCREF(Py_None); resultobj = Py_None;
25130 return resultobj;
25131 fail:
25132 return NULL;
25133}
25134
25135
c370783e 25136static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25137 PyObject *resultobj;
25138 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25139 wxKeyEvent *result;
25140 PyObject * obj0 = 0 ;
25141 char *kwnames[] = {
25142 (char *) "self", NULL
25143 };
25144
25145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
25146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25148 {
25149 PyThreadState* __tstate = wxPyBeginAllowThreads();
25150 {
25151 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
25152 result = (wxKeyEvent *) &_result_ref;
25153 }
25154
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
25159 return resultobj;
25160 fail:
25161 return NULL;
25162}
25163
25164
c370783e 25165static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25166 PyObject *resultobj;
25167 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25168 int result;
25169 PyObject * obj0 = 0 ;
25170 char *kwnames[] = {
25171 (char *) "self", NULL
25172 };
25173
25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
25175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
c370783e 25184 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
25185 return resultobj;
25186 fail:
25187 return NULL;
25188}
25189
25190
c370783e 25191static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25192 PyObject *resultobj;
25193 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25194 wxKeyEvent *arg2 = 0 ;
25195 PyObject * obj0 = 0 ;
25196 PyObject * obj1 = 0 ;
25197 char *kwnames[] = {
25198 (char *) "self",(char *) "evt", NULL
25199 };
25200
25201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
25202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
25205 SWIG_POINTER_EXCEPTION | 0)) == -1)
25206 SWIG_fail;
25207 if (arg2 == NULL) {
25208 PyErr_SetString(PyExc_TypeError,"null reference");
25209 SWIG_fail;
25210 }
25211 {
25212 PyThreadState* __tstate = wxPyBeginAllowThreads();
25213 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
25214
25215 wxPyEndAllowThreads(__tstate);
25216 if (PyErr_Occurred()) SWIG_fail;
25217 }
25218 Py_INCREF(Py_None); resultobj = Py_None;
25219 return resultobj;
25220 fail:
25221 return NULL;
25222}
25223
25224
c370783e 25225static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25226 PyObject *resultobj;
25227 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25228 wxString *result;
25229 PyObject * obj0 = 0 ;
25230 char *kwnames[] = {
25231 (char *) "self", NULL
25232 };
25233
25234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
25235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25237 {
25238 PyThreadState* __tstate = wxPyBeginAllowThreads();
25239 {
25240 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
25241 result = (wxString *) &_result_ref;
25242 }
25243
25244 wxPyEndAllowThreads(__tstate);
25245 if (PyErr_Occurred()) SWIG_fail;
25246 }
25247 {
25248#if wxUSE_UNICODE
25249 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25250#else
25251 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25252#endif
25253 }
25254 return resultobj;
25255 fail:
25256 return NULL;
25257}
25258
25259
c370783e 25260static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25261 PyObject *resultobj;
25262 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25263 wxString *arg2 = 0 ;
b411df4a 25264 bool temp2 = false ;
d55e5bfc
RD
25265 PyObject * obj0 = 0 ;
25266 PyObject * obj1 = 0 ;
25267 char *kwnames[] = {
25268 (char *) "self",(char *) "label", NULL
25269 };
25270
25271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
25272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25274 {
25275 arg2 = wxString_in_helper(obj1);
25276 if (arg2 == NULL) SWIG_fail;
b411df4a 25277 temp2 = true;
d55e5bfc
RD
25278 }
25279 {
25280 PyThreadState* __tstate = wxPyBeginAllowThreads();
25281 (arg1)->SetLabel((wxString const &)*arg2);
25282
25283 wxPyEndAllowThreads(__tstate);
25284 if (PyErr_Occurred()) SWIG_fail;
25285 }
25286 Py_INCREF(Py_None); resultobj = Py_None;
25287 {
25288 if (temp2)
25289 delete arg2;
25290 }
25291 return resultobj;
25292 fail:
25293 {
25294 if (temp2)
25295 delete arg2;
25296 }
25297 return NULL;
25298}
25299
25300
c370783e 25301static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25302 PyObject *resultobj;
25303 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25304 bool result;
25305 PyObject * obj0 = 0 ;
25306 char *kwnames[] = {
25307 (char *) "self", NULL
25308 };
25309
25310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
25311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 {
25321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25322 }
25323 return resultobj;
25324 fail:
25325 return NULL;
25326}
25327
25328
c370783e 25329static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25330 PyObject *resultobj;
25331 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25332 bool arg2 ;
25333 PyObject * obj0 = 0 ;
25334 PyObject * obj1 = 0 ;
25335 char *kwnames[] = {
25336 (char *) "self",(char *) "editCancelled", NULL
25337 };
25338
25339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
25340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 25342 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
25343 if (PyErr_Occurred()) SWIG_fail;
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 (arg1)->SetEditCanceled(arg2);
25347
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 Py_INCREF(Py_None); resultobj = Py_None;
25352 return resultobj;
25353 fail:
25354 return NULL;
25355}
25356
25357
c370783e 25358static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25359 PyObject *resultobj;
25360 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25361 wxString *arg2 = 0 ;
b411df4a 25362 bool temp2 = false ;
d55e5bfc
RD
25363 PyObject * obj0 = 0 ;
25364 PyObject * obj1 = 0 ;
25365 char *kwnames[] = {
25366 (char *) "self",(char *) "toolTip", NULL
25367 };
25368
25369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
25370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25372 {
25373 arg2 = wxString_in_helper(obj1);
25374 if (arg2 == NULL) SWIG_fail;
b411df4a 25375 temp2 = true;
d55e5bfc
RD
25376 }
25377 {
25378 PyThreadState* __tstate = wxPyBeginAllowThreads();
25379 (arg1)->SetToolTip((wxString const &)*arg2);
25380
25381 wxPyEndAllowThreads(__tstate);
25382 if (PyErr_Occurred()) SWIG_fail;
25383 }
25384 Py_INCREF(Py_None); resultobj = Py_None;
25385 {
25386 if (temp2)
25387 delete arg2;
25388 }
25389 return resultobj;
25390 fail:
25391 {
25392 if (temp2)
25393 delete arg2;
25394 }
25395 return NULL;
25396}
25397
25398
c370783e 25399static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25400 PyObject *obj;
25401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25402 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25403 Py_INCREF(obj);
25404 return Py_BuildValue((char *)"");
25405}
c370783e 25406static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25407 PyObject *resultobj;
25408 wxWindow *arg1 = (wxWindow *) 0 ;
25409 int arg2 = (int) -1 ;
25410 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25411 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25412 wxSize const &arg4_defvalue = wxDefaultSize ;
25413 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25414 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25415 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25416 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25417 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
25418 wxString *arg7 = (wxString *) &arg7_defvalue ;
25419 wxPyTreeCtrl *result;
25420 wxPoint temp3 ;
25421 wxSize temp4 ;
b411df4a 25422 bool temp7 = false ;
d55e5bfc
RD
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj1 = 0 ;
25425 PyObject * obj2 = 0 ;
25426 PyObject * obj3 = 0 ;
25427 PyObject * obj4 = 0 ;
25428 PyObject * obj5 = 0 ;
25429 PyObject * obj6 = 0 ;
25430 char *kwnames[] = {
25431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25432 };
25433
25434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25437 if (obj1) {
c370783e 25438 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
25439 if (PyErr_Occurred()) SWIG_fail;
25440 }
25441 if (obj2) {
25442 {
25443 arg3 = &temp3;
25444 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25445 }
25446 }
25447 if (obj3) {
25448 {
25449 arg4 = &temp4;
25450 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25451 }
25452 }
25453 if (obj4) {
c370783e 25454 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 if (obj5) {
25458 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25459 SWIG_POINTER_EXCEPTION | 0)) == -1)
25460 SWIG_fail;
25461 if (arg6 == NULL) {
25462 PyErr_SetString(PyExc_TypeError,"null reference");
25463 SWIG_fail;
25464 }
25465 }
25466 if (obj6) {
25467 {
25468 arg7 = wxString_in_helper(obj6);
25469 if (arg7 == NULL) SWIG_fail;
b411df4a 25470 temp7 = true;
d55e5bfc
RD
25471 }
25472 }
25473 {
0439c23b 25474 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25477
25478 wxPyEndAllowThreads(__tstate);
110da5b0 25479 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 25480 }
b0f7404b 25481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
25482 {
25483 if (temp7)
25484 delete arg7;
25485 }
25486 return resultobj;
25487 fail:
25488 {
25489 if (temp7)
25490 delete arg7;
25491 }
25492 return NULL;
25493}
25494
25495
c370783e 25496static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25497 PyObject *resultobj;
25498 wxPyTreeCtrl *result;
25499 char *kwnames[] = {
25500 NULL
25501 };
25502
25503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25504 {
0439c23b 25505 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25506 PyThreadState* __tstate = wxPyBeginAllowThreads();
25507 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25508
25509 wxPyEndAllowThreads(__tstate);
110da5b0 25510 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 25511 }
b0f7404b 25512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
25513 return resultobj;
25514 fail:
25515 return NULL;
25516}
25517
25518
c370783e 25519static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25520 PyObject *resultobj;
25521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25522 wxWindow *arg2 = (wxWindow *) 0 ;
25523 int arg3 = (int) -1 ;
25524 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25525 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25526 wxSize const &arg5_defvalue = wxDefaultSize ;
25527 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25528 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25529 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25530 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25531 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25532 wxString *arg8 = (wxString *) &arg8_defvalue ;
25533 bool result;
25534 wxPoint temp4 ;
25535 wxSize temp5 ;
b411df4a 25536 bool temp8 = false ;
d55e5bfc
RD
25537 PyObject * obj0 = 0 ;
25538 PyObject * obj1 = 0 ;
25539 PyObject * obj2 = 0 ;
25540 PyObject * obj3 = 0 ;
25541 PyObject * obj4 = 0 ;
25542 PyObject * obj5 = 0 ;
25543 PyObject * obj6 = 0 ;
25544 PyObject * obj7 = 0 ;
25545 char *kwnames[] = {
25546 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25547 };
25548
25549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25554 if (obj2) {
c370783e 25555 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 if (obj3) {
25559 {
25560 arg4 = &temp4;
25561 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25562 }
25563 }
25564 if (obj4) {
25565 {
25566 arg5 = &temp5;
25567 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25568 }
25569 }
25570 if (obj5) {
c370783e 25571 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 if (obj6) {
25575 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25576 SWIG_POINTER_EXCEPTION | 0)) == -1)
25577 SWIG_fail;
25578 if (arg7 == NULL) {
25579 PyErr_SetString(PyExc_TypeError,"null reference");
25580 SWIG_fail;
25581 }
25582 }
25583 if (obj7) {
25584 {
25585 arg8 = wxString_in_helper(obj7);
25586 if (arg8 == NULL) SWIG_fail;
b411df4a 25587 temp8 = true;
d55e5bfc
RD
25588 }
25589 }
25590 {
25591 PyThreadState* __tstate = wxPyBeginAllowThreads();
25592 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25593
25594 wxPyEndAllowThreads(__tstate);
25595 if (PyErr_Occurred()) SWIG_fail;
25596 }
25597 {
25598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25599 }
25600 {
25601 if (temp8)
25602 delete arg8;
25603 }
25604 return resultobj;
25605 fail:
25606 {
25607 if (temp8)
25608 delete arg8;
25609 }
25610 return NULL;
25611}
25612
25613
c370783e 25614static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25615 PyObject *resultobj;
25616 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25617 PyObject *arg2 = (PyObject *) 0 ;
25618 PyObject *arg3 = (PyObject *) 0 ;
25619 PyObject * obj0 = 0 ;
25620 PyObject * obj1 = 0 ;
25621 PyObject * obj2 = 0 ;
25622 char *kwnames[] = {
25623 (char *) "self",(char *) "self",(char *) "_class", NULL
25624 };
25625
25626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25629 arg2 = obj1;
25630 arg3 = obj2;
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 (arg1)->_setCallbackInfo(arg2,arg3);
25634
25635 wxPyEndAllowThreads(__tstate);
25636 if (PyErr_Occurred()) SWIG_fail;
25637 }
25638 Py_INCREF(Py_None); resultobj = Py_None;
25639 return resultobj;
25640 fail:
25641 return NULL;
25642}
25643
25644
c370783e 25645static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25646 PyObject *resultobj;
25647 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25648 size_t result;
25649 PyObject * obj0 = 0 ;
25650 char *kwnames[] = {
25651 (char *) "self", NULL
25652 };
25653
25654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25657 {
25658 PyThreadState* __tstate = wxPyBeginAllowThreads();
25659 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25660
25661 wxPyEndAllowThreads(__tstate);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
c370783e 25664 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
25665 return resultobj;
25666 fail:
25667 return NULL;
25668}
25669
25670
c370783e 25671static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25672 PyObject *resultobj;
25673 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25674 unsigned int result;
25675 PyObject * obj0 = 0 ;
25676 char *kwnames[] = {
25677 (char *) "self", NULL
25678 };
25679
25680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25683 {
25684 PyThreadState* __tstate = wxPyBeginAllowThreads();
25685 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25686
25687 wxPyEndAllowThreads(__tstate);
25688 if (PyErr_Occurred()) SWIG_fail;
25689 }
c370783e 25690 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d55e5bfc
RD
25691 return resultobj;
25692 fail:
25693 return NULL;
25694}
25695
25696
c370783e 25697static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25698 PyObject *resultobj;
25699 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25700 unsigned int arg2 ;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 char *kwnames[] = {
25704 (char *) "self",(char *) "indent", NULL
25705 };
25706
25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 25710 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
d55e5bfc
RD
25711 if (PyErr_Occurred()) SWIG_fail;
25712 {
25713 PyThreadState* __tstate = wxPyBeginAllowThreads();
25714 (arg1)->SetIndent(arg2);
25715
25716 wxPyEndAllowThreads(__tstate);
25717 if (PyErr_Occurred()) SWIG_fail;
25718 }
25719 Py_INCREF(Py_None); resultobj = Py_None;
25720 return resultobj;
25721 fail:
25722 return NULL;
25723}
25724
25725
c370783e 25726static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25727 PyObject *resultobj;
25728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25729 unsigned int result;
25730 PyObject * obj0 = 0 ;
25731 char *kwnames[] = {
25732 (char *) "self", NULL
25733 };
25734
25735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25738 {
25739 PyThreadState* __tstate = wxPyBeginAllowThreads();
25740 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25741
25742 wxPyEndAllowThreads(__tstate);
25743 if (PyErr_Occurred()) SWIG_fail;
25744 }
c370783e 25745 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d55e5bfc
RD
25746 return resultobj;
25747 fail:
25748 return NULL;
25749}
25750
25751
c370783e 25752static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25753 PyObject *resultobj;
25754 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25755 unsigned int arg2 ;
25756 PyObject * obj0 = 0 ;
25757 PyObject * obj1 = 0 ;
25758 char *kwnames[] = {
25759 (char *) "self",(char *) "spacing", NULL
25760 };
25761
25762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 25765 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
d55e5bfc
RD
25766 if (PyErr_Occurred()) SWIG_fail;
25767 {
25768 PyThreadState* __tstate = wxPyBeginAllowThreads();
25769 (arg1)->SetSpacing(arg2);
25770
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 Py_INCREF(Py_None); resultobj = Py_None;
25775 return resultobj;
25776 fail:
25777 return NULL;
25778}
25779
25780
c370783e 25781static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25782 PyObject *resultobj;
25783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25784 wxImageList *result;
25785 PyObject * obj0 = 0 ;
25786 char *kwnames[] = {
25787 (char *) "self", NULL
25788 };
25789
25790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25793 {
25794 PyThreadState* __tstate = wxPyBeginAllowThreads();
25795 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25796
25797 wxPyEndAllowThreads(__tstate);
25798 if (PyErr_Occurred()) SWIG_fail;
25799 }
25800 {
412d302d 25801 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25802 }
25803 return resultobj;
25804 fail:
25805 return NULL;
25806}
25807
25808
c370783e 25809static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25810 PyObject *resultobj;
25811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25812 wxImageList *result;
25813 PyObject * obj0 = 0 ;
25814 char *kwnames[] = {
25815 (char *) "self", NULL
25816 };
25817
25818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 {
412d302d 25829 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25830 }
25831 return resultobj;
25832 fail:
25833 return NULL;
25834}
25835
25836
c370783e 25837static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25838 PyObject *resultobj;
25839 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25840 wxImageList *arg2 = (wxImageList *) 0 ;
25841 PyObject * obj0 = 0 ;
25842 PyObject * obj1 = 0 ;
25843 char *kwnames[] = {
25844 (char *) "self",(char *) "imageList", NULL
25845 };
25846
25847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25850 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25852 {
25853 PyThreadState* __tstate = wxPyBeginAllowThreads();
25854 (arg1)->SetImageList(arg2);
25855
25856 wxPyEndAllowThreads(__tstate);
25857 if (PyErr_Occurred()) SWIG_fail;
25858 }
25859 Py_INCREF(Py_None); resultobj = Py_None;
25860 return resultobj;
25861 fail:
25862 return NULL;
25863}
25864
25865
c370783e 25866static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25867 PyObject *resultobj;
25868 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25869 wxImageList *arg2 = (wxImageList *) 0 ;
25870 PyObject * obj0 = 0 ;
25871 PyObject * obj1 = 0 ;
25872 char *kwnames[] = {
25873 (char *) "self",(char *) "imageList", NULL
25874 };
25875
25876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 (arg1)->SetStateImageList(arg2);
25884
25885 wxPyEndAllowThreads(__tstate);
25886 if (PyErr_Occurred()) SWIG_fail;
25887 }
25888 Py_INCREF(Py_None); resultobj = Py_None;
25889 return resultobj;
25890 fail:
25891 return NULL;
25892}
25893
25894
c370783e 25895static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25896 PyObject *resultobj;
25897 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25898 wxImageList *arg2 = (wxImageList *) 0 ;
25899 PyObject * obj0 = 0 ;
25900 PyObject * obj1 = 0 ;
25901 char *kwnames[] = {
25902 (char *) "self",(char *) "imageList", NULL
25903 };
25904
25905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25909 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25910 {
25911 PyThreadState* __tstate = wxPyBeginAllowThreads();
25912 (arg1)->AssignImageList(arg2);
25913
25914 wxPyEndAllowThreads(__tstate);
25915 if (PyErr_Occurred()) SWIG_fail;
25916 }
25917 Py_INCREF(Py_None); resultobj = Py_None;
25918 return resultobj;
25919 fail:
25920 return NULL;
25921}
25922
25923
c370783e 25924static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25925 PyObject *resultobj;
25926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25927 wxImageList *arg2 = (wxImageList *) 0 ;
25928 PyObject * obj0 = 0 ;
25929 PyObject * obj1 = 0 ;
25930 char *kwnames[] = {
25931 (char *) "self",(char *) "imageList", NULL
25932 };
25933
25934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25938 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 (arg1)->AssignStateImageList(arg2);
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 Py_INCREF(Py_None); resultobj = Py_None;
25947 return resultobj;
25948 fail:
25949 return NULL;
25950}
25951
25952
c370783e 25953static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25954 PyObject *resultobj;
25955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25956 wxTreeItemId *arg2 = 0 ;
25957 wxString result;
25958 PyObject * obj0 = 0 ;
25959 PyObject * obj1 = 0 ;
25960 char *kwnames[] = {
25961 (char *) "self",(char *) "item", NULL
25962 };
25963
25964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25968 SWIG_POINTER_EXCEPTION | 0)) == -1)
25969 SWIG_fail;
25970 if (arg2 == NULL) {
25971 PyErr_SetString(PyExc_TypeError,"null reference");
25972 SWIG_fail;
25973 }
25974 {
25975 PyThreadState* __tstate = wxPyBeginAllowThreads();
25976 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25977
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 {
25982#if wxUSE_UNICODE
25983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25984#else
25985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25986#endif
25987 }
25988 return resultobj;
25989 fail:
25990 return NULL;
25991}
25992
25993
c370783e 25994static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25995 PyObject *resultobj;
25996 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25997 wxTreeItemId *arg2 = 0 ;
25998 int arg3 = (int) wxTreeItemIcon_Normal ;
25999 int result;
26000 PyObject * obj0 = 0 ;
26001 PyObject * obj1 = 0 ;
26002 PyObject * obj2 = 0 ;
26003 char *kwnames[] = {
26004 (char *) "self",(char *) "item",(char *) "which", NULL
26005 };
26006
26007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26011 SWIG_POINTER_EXCEPTION | 0)) == -1)
26012 SWIG_fail;
26013 if (arg2 == NULL) {
26014 PyErr_SetString(PyExc_TypeError,"null reference");
26015 SWIG_fail;
26016 }
26017 if (obj2) {
c370783e 26018 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
26019 if (PyErr_Occurred()) SWIG_fail;
26020 }
26021 {
26022 PyThreadState* __tstate = wxPyBeginAllowThreads();
26023 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
26024
26025 wxPyEndAllowThreads(__tstate);
26026 if (PyErr_Occurred()) SWIG_fail;
26027 }
c370783e 26028 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
26029 return resultobj;
26030 fail:
26031 return NULL;
26032}
26033
26034
c370783e 26035static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26036 PyObject *resultobj;
26037 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26038 wxTreeItemId *arg2 = 0 ;
26039 wxPyTreeItemData *result;
26040 PyObject * obj0 = 0 ;
26041 PyObject * obj1 = 0 ;
26042 char *kwnames[] = {
26043 (char *) "self",(char *) "item", NULL
26044 };
26045
26046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
26047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26050 SWIG_POINTER_EXCEPTION | 0)) == -1)
26051 SWIG_fail;
26052 if (arg2 == NULL) {
26053 PyErr_SetString(PyExc_TypeError,"null reference");
26054 SWIG_fail;
26055 }
26056 {
26057 PyThreadState* __tstate = wxPyBeginAllowThreads();
26058 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
26059
26060 wxPyEndAllowThreads(__tstate);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
26063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
26064 return resultobj;
26065 fail:
26066 return NULL;
26067}
26068
26069
c370783e 26070static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26071 PyObject *resultobj;
26072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26073 wxTreeItemId *arg2 = 0 ;
26074 PyObject *result;
26075 PyObject * obj0 = 0 ;
26076 PyObject * obj1 = 0 ;
26077 char *kwnames[] = {
26078 (char *) "self",(char *) "item", NULL
26079 };
26080
26081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
26082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26085 SWIG_POINTER_EXCEPTION | 0)) == -1)
26086 SWIG_fail;
26087 if (arg2 == NULL) {
26088 PyErr_SetString(PyExc_TypeError,"null reference");
26089 SWIG_fail;
26090 }
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
26093 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
26094
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 resultobj = result;
26099 return resultobj;
26100 fail:
26101 return NULL;
26102}
26103
26104
c370783e 26105static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26106 PyObject *resultobj;
26107 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26108 wxTreeItemId *arg2 = 0 ;
26109 wxColour result;
26110 PyObject * obj0 = 0 ;
26111 PyObject * obj1 = 0 ;
26112 char *kwnames[] = {
26113 (char *) "self",(char *) "item", NULL
26114 };
26115
26116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26120 SWIG_POINTER_EXCEPTION | 0)) == -1)
26121 SWIG_fail;
26122 if (arg2 == NULL) {
26123 PyErr_SetString(PyExc_TypeError,"null reference");
26124 SWIG_fail;
26125 }
26126 {
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
26129
26130 wxPyEndAllowThreads(__tstate);
26131 if (PyErr_Occurred()) SWIG_fail;
26132 }
26133 {
26134 wxColour * resultptr;
26135 resultptr = new wxColour((wxColour &) result);
26136 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26137 }
26138 return resultobj;
26139 fail:
26140 return NULL;
26141}
26142
26143
c370783e 26144static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26145 PyObject *resultobj;
26146 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26147 wxTreeItemId *arg2 = 0 ;
26148 wxColour result;
26149 PyObject * obj0 = 0 ;
26150 PyObject * obj1 = 0 ;
26151 char *kwnames[] = {
26152 (char *) "self",(char *) "item", NULL
26153 };
26154
26155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26159 SWIG_POINTER_EXCEPTION | 0)) == -1)
26160 SWIG_fail;
26161 if (arg2 == NULL) {
26162 PyErr_SetString(PyExc_TypeError,"null reference");
26163 SWIG_fail;
26164 }
26165 {
26166 PyThreadState* __tstate = wxPyBeginAllowThreads();
26167 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
26168
26169 wxPyEndAllowThreads(__tstate);
26170 if (PyErr_Occurred()) SWIG_fail;
26171 }
26172 {
26173 wxColour * resultptr;
26174 resultptr = new wxColour((wxColour &) result);
26175 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26176 }
26177 return resultobj;
26178 fail:
26179 return NULL;
26180}
26181
26182
c370783e 26183static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26184 PyObject *resultobj;
26185 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26186 wxTreeItemId *arg2 = 0 ;
26187 wxFont result;
26188 PyObject * obj0 = 0 ;
26189 PyObject * obj1 = 0 ;
26190 char *kwnames[] = {
26191 (char *) "self",(char *) "item", NULL
26192 };
26193
26194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
26195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26198 SWIG_POINTER_EXCEPTION | 0)) == -1)
26199 SWIG_fail;
26200 if (arg2 == NULL) {
26201 PyErr_SetString(PyExc_TypeError,"null reference");
26202 SWIG_fail;
26203 }
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
26207
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 {
26212 wxFont * resultptr;
26213 resultptr = new wxFont((wxFont &) result);
26214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
26215 }
26216 return resultobj;
26217 fail:
26218 return NULL;
26219}
26220
26221
c370783e 26222static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26223 PyObject *resultobj;
26224 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26225 wxTreeItemId *arg2 = 0 ;
26226 wxString *arg3 = 0 ;
b411df4a 26227 bool temp3 = false ;
d55e5bfc
RD
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 PyObject * obj2 = 0 ;
26231 char *kwnames[] = {
26232 (char *) "self",(char *) "item",(char *) "text", NULL
26233 };
26234
26235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
26236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26239 SWIG_POINTER_EXCEPTION | 0)) == -1)
26240 SWIG_fail;
26241 if (arg2 == NULL) {
26242 PyErr_SetString(PyExc_TypeError,"null reference");
26243 SWIG_fail;
26244 }
26245 {
26246 arg3 = wxString_in_helper(obj2);
26247 if (arg3 == NULL) SWIG_fail;
b411df4a 26248 temp3 = true;
d55e5bfc
RD
26249 }
26250 {
26251 PyThreadState* __tstate = wxPyBeginAllowThreads();
26252 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
26253
26254 wxPyEndAllowThreads(__tstate);
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
26257 Py_INCREF(Py_None); resultobj = Py_None;
26258 {
26259 if (temp3)
26260 delete arg3;
26261 }
26262 return resultobj;
26263 fail:
26264 {
26265 if (temp3)
26266 delete arg3;
26267 }
26268 return NULL;
26269}
26270
26271
c370783e 26272static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26273 PyObject *resultobj;
26274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26275 wxTreeItemId *arg2 = 0 ;
26276 int arg3 ;
26277 int arg4 = (int) wxTreeItemIcon_Normal ;
26278 PyObject * obj0 = 0 ;
26279 PyObject * obj1 = 0 ;
26280 PyObject * obj2 = 0 ;
26281 PyObject * obj3 = 0 ;
26282 char *kwnames[] = {
26283 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26284 };
26285
26286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26290 SWIG_POINTER_EXCEPTION | 0)) == -1)
26291 SWIG_fail;
26292 if (arg2 == NULL) {
26293 PyErr_SetString(PyExc_TypeError,"null reference");
26294 SWIG_fail;
26295 }
c370783e 26296 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
26297 if (PyErr_Occurred()) SWIG_fail;
26298 if (obj3) {
c370783e 26299 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
26300 if (PyErr_Occurred()) SWIG_fail;
26301 }
26302 {
26303 PyThreadState* __tstate = wxPyBeginAllowThreads();
26304 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
26305
26306 wxPyEndAllowThreads(__tstate);
26307 if (PyErr_Occurred()) SWIG_fail;
26308 }
26309 Py_INCREF(Py_None); resultobj = Py_None;
26310 return resultobj;
26311 fail:
26312 return NULL;
26313}
26314
26315
c370783e 26316static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26317 PyObject *resultobj;
26318 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26319 wxTreeItemId *arg2 = 0 ;
26320 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
26321 PyObject * obj0 = 0 ;
26322 PyObject * obj1 = 0 ;
26323 PyObject * obj2 = 0 ;
26324 char *kwnames[] = {
26325 (char *) "self",(char *) "item",(char *) "data", NULL
26326 };
26327
26328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26332 SWIG_POINTER_EXCEPTION | 0)) == -1)
26333 SWIG_fail;
26334 if (arg2 == NULL) {
26335 PyErr_SetString(PyExc_TypeError,"null reference");
26336 SWIG_fail;
26337 }
26338 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
26339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26340 {
26341 PyThreadState* __tstate = wxPyBeginAllowThreads();
26342 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
26343
26344 wxPyEndAllowThreads(__tstate);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 }
26347 Py_INCREF(Py_None); resultobj = Py_None;
26348 return resultobj;
26349 fail:
26350 return NULL;
26351}
26352
26353
c370783e 26354static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26355 PyObject *resultobj;
26356 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26357 wxTreeItemId *arg2 = 0 ;
26358 PyObject *arg3 = (PyObject *) 0 ;
26359 PyObject * obj0 = 0 ;
26360 PyObject * obj1 = 0 ;
26361 PyObject * obj2 = 0 ;
26362 char *kwnames[] = {
26363 (char *) "self",(char *) "item",(char *) "obj", NULL
26364 };
26365
26366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26370 SWIG_POINTER_EXCEPTION | 0)) == -1)
26371 SWIG_fail;
26372 if (arg2 == NULL) {
26373 PyErr_SetString(PyExc_TypeError,"null reference");
26374 SWIG_fail;
26375 }
26376 arg3 = obj2;
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
26380
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
26384 Py_INCREF(Py_None); resultobj = Py_None;
26385 return resultobj;
26386 fail:
26387 return NULL;
26388}
26389
26390
c370783e 26391static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26392 PyObject *resultobj;
26393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26394 wxTreeItemId *arg2 = 0 ;
b411df4a 26395 bool arg3 = (bool) true ;
d55e5bfc
RD
26396 PyObject * obj0 = 0 ;
26397 PyObject * obj1 = 0 ;
26398 PyObject * obj2 = 0 ;
26399 char *kwnames[] = {
26400 (char *) "self",(char *) "item",(char *) "has", NULL
26401 };
26402
26403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
26404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26407 SWIG_POINTER_EXCEPTION | 0)) == -1)
26408 SWIG_fail;
26409 if (arg2 == NULL) {
26410 PyErr_SetString(PyExc_TypeError,"null reference");
26411 SWIG_fail;
26412 }
26413 if (obj2) {
c370783e 26414 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
26415 if (PyErr_Occurred()) SWIG_fail;
26416 }
26417 {
26418 PyThreadState* __tstate = wxPyBeginAllowThreads();
26419 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26420
26421 wxPyEndAllowThreads(__tstate);
26422 if (PyErr_Occurred()) SWIG_fail;
26423 }
26424 Py_INCREF(Py_None); resultobj = Py_None;
26425 return resultobj;
26426 fail:
26427 return NULL;
26428}
26429
26430
c370783e 26431static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26432 PyObject *resultobj;
26433 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26434 wxTreeItemId *arg2 = 0 ;
b411df4a 26435 bool arg3 = (bool) true ;
d55e5bfc
RD
26436 PyObject * obj0 = 0 ;
26437 PyObject * obj1 = 0 ;
26438 PyObject * obj2 = 0 ;
26439 char *kwnames[] = {
26440 (char *) "self",(char *) "item",(char *) "bold", NULL
26441 };
26442
26443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
26444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26447 SWIG_POINTER_EXCEPTION | 0)) == -1)
26448 SWIG_fail;
26449 if (arg2 == NULL) {
26450 PyErr_SetString(PyExc_TypeError,"null reference");
26451 SWIG_fail;
26452 }
26453 if (obj2) {
c370783e 26454 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 {
26458 PyThreadState* __tstate = wxPyBeginAllowThreads();
26459 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26460
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 Py_INCREF(Py_None); resultobj = Py_None;
26465 return resultobj;
26466 fail:
26467 return NULL;
26468}
26469
26470
c370783e 26471static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26472 PyObject *resultobj;
26473 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26474 wxTreeItemId *arg2 = 0 ;
26475 wxColour *arg3 = 0 ;
26476 wxColour temp3 ;
26477 PyObject * obj0 = 0 ;
26478 PyObject * obj1 = 0 ;
26479 PyObject * obj2 = 0 ;
26480 char *kwnames[] = {
26481 (char *) "self",(char *) "item",(char *) "col", NULL
26482 };
26483
26484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26488 SWIG_POINTER_EXCEPTION | 0)) == -1)
26489 SWIG_fail;
26490 if (arg2 == NULL) {
26491 PyErr_SetString(PyExc_TypeError,"null reference");
26492 SWIG_fail;
26493 }
26494 {
26495 arg3 = &temp3;
26496 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26497 }
26498 {
26499 PyThreadState* __tstate = wxPyBeginAllowThreads();
26500 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26501
26502 wxPyEndAllowThreads(__tstate);
26503 if (PyErr_Occurred()) SWIG_fail;
26504 }
26505 Py_INCREF(Py_None); resultobj = Py_None;
26506 return resultobj;
26507 fail:
26508 return NULL;
26509}
26510
26511
c370783e 26512static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26513 PyObject *resultobj;
26514 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26515 wxTreeItemId *arg2 = 0 ;
26516 wxColour *arg3 = 0 ;
26517 wxColour temp3 ;
26518 PyObject * obj0 = 0 ;
26519 PyObject * obj1 = 0 ;
26520 PyObject * obj2 = 0 ;
26521 char *kwnames[] = {
26522 (char *) "self",(char *) "item",(char *) "col", NULL
26523 };
26524
26525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26529 SWIG_POINTER_EXCEPTION | 0)) == -1)
26530 SWIG_fail;
26531 if (arg2 == NULL) {
26532 PyErr_SetString(PyExc_TypeError,"null reference");
26533 SWIG_fail;
26534 }
26535 {
26536 arg3 = &temp3;
26537 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26538 }
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26542
26543 wxPyEndAllowThreads(__tstate);
26544 if (PyErr_Occurred()) SWIG_fail;
26545 }
26546 Py_INCREF(Py_None); resultobj = Py_None;
26547 return resultobj;
26548 fail:
26549 return NULL;
26550}
26551
26552
c370783e 26553static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26554 PyObject *resultobj;
26555 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26556 wxTreeItemId *arg2 = 0 ;
26557 wxFont *arg3 = 0 ;
26558 PyObject * obj0 = 0 ;
26559 PyObject * obj1 = 0 ;
26560 PyObject * obj2 = 0 ;
26561 char *kwnames[] = {
26562 (char *) "self",(char *) "item",(char *) "font", NULL
26563 };
26564
26565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26568 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26569 SWIG_POINTER_EXCEPTION | 0)) == -1)
26570 SWIG_fail;
26571 if (arg2 == NULL) {
26572 PyErr_SetString(PyExc_TypeError,"null reference");
26573 SWIG_fail;
26574 }
26575 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26576 SWIG_POINTER_EXCEPTION | 0)) == -1)
26577 SWIG_fail;
26578 if (arg3 == NULL) {
26579 PyErr_SetString(PyExc_TypeError,"null reference");
26580 SWIG_fail;
26581 }
26582 {
26583 PyThreadState* __tstate = wxPyBeginAllowThreads();
26584 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26585
26586 wxPyEndAllowThreads(__tstate);
26587 if (PyErr_Occurred()) SWIG_fail;
26588 }
26589 Py_INCREF(Py_None); resultobj = Py_None;
26590 return resultobj;
26591 fail:
26592 return NULL;
26593}
26594
26595
c370783e 26596static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26597 PyObject *resultobj;
26598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26599 wxTreeItemId *arg2 = 0 ;
26600 bool result;
26601 PyObject * obj0 = 0 ;
26602 PyObject * obj1 = 0 ;
26603 char *kwnames[] = {
26604 (char *) "self",(char *) "item", NULL
26605 };
26606
26607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26611 SWIG_POINTER_EXCEPTION | 0)) == -1)
26612 SWIG_fail;
26613 if (arg2 == NULL) {
26614 PyErr_SetString(PyExc_TypeError,"null reference");
26615 SWIG_fail;
26616 }
26617 {
26618 PyThreadState* __tstate = wxPyBeginAllowThreads();
26619 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26620
26621 wxPyEndAllowThreads(__tstate);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 }
26624 {
26625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26626 }
26627 return resultobj;
26628 fail:
26629 return NULL;
26630}
26631
26632
c370783e 26633static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26634 PyObject *resultobj;
26635 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26636 wxTreeItemId *arg2 = 0 ;
26637 bool result;
26638 PyObject * obj0 = 0 ;
26639 PyObject * obj1 = 0 ;
26640 char *kwnames[] = {
26641 (char *) "self",(char *) "item", NULL
26642 };
26643
26644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26648 SWIG_POINTER_EXCEPTION | 0)) == -1)
26649 SWIG_fail;
26650 if (arg2 == NULL) {
26651 PyErr_SetString(PyExc_TypeError,"null reference");
26652 SWIG_fail;
26653 }
26654 {
26655 PyThreadState* __tstate = wxPyBeginAllowThreads();
26656 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26657
26658 wxPyEndAllowThreads(__tstate);
26659 if (PyErr_Occurred()) SWIG_fail;
26660 }
26661 {
26662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26663 }
26664 return resultobj;
26665 fail:
26666 return NULL;
26667}
26668
26669
c370783e 26670static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26671 PyObject *resultobj;
26672 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26673 wxTreeItemId *arg2 = 0 ;
26674 bool result;
26675 PyObject * obj0 = 0 ;
26676 PyObject * obj1 = 0 ;
26677 char *kwnames[] = {
26678 (char *) "self",(char *) "item", NULL
26679 };
26680
26681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26685 SWIG_POINTER_EXCEPTION | 0)) == -1)
26686 SWIG_fail;
26687 if (arg2 == NULL) {
26688 PyErr_SetString(PyExc_TypeError,"null reference");
26689 SWIG_fail;
26690 }
26691 {
26692 PyThreadState* __tstate = wxPyBeginAllowThreads();
26693 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26694
26695 wxPyEndAllowThreads(__tstate);
26696 if (PyErr_Occurred()) SWIG_fail;
26697 }
26698 {
26699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26700 }
26701 return resultobj;
26702 fail:
26703 return NULL;
26704}
26705
26706
c370783e 26707static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26708 PyObject *resultobj;
26709 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26710 wxTreeItemId *arg2 = 0 ;
26711 bool result;
26712 PyObject * obj0 = 0 ;
26713 PyObject * obj1 = 0 ;
26714 char *kwnames[] = {
26715 (char *) "self",(char *) "item", NULL
26716 };
26717
26718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26722 SWIG_POINTER_EXCEPTION | 0)) == -1)
26723 SWIG_fail;
26724 if (arg2 == NULL) {
26725 PyErr_SetString(PyExc_TypeError,"null reference");
26726 SWIG_fail;
26727 }
26728 {
26729 PyThreadState* __tstate = wxPyBeginAllowThreads();
26730 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26731
26732 wxPyEndAllowThreads(__tstate);
26733 if (PyErr_Occurred()) SWIG_fail;
26734 }
26735 {
26736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26737 }
26738 return resultobj;
26739 fail:
26740 return NULL;
26741}
26742
26743
c370783e 26744static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26745 PyObject *resultobj;
26746 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26747 wxTreeItemId *arg2 = 0 ;
26748 bool result;
26749 PyObject * obj0 = 0 ;
26750 PyObject * obj1 = 0 ;
26751 char *kwnames[] = {
26752 (char *) "self",(char *) "item", NULL
26753 };
26754
26755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26759 SWIG_POINTER_EXCEPTION | 0)) == -1)
26760 SWIG_fail;
26761 if (arg2 == NULL) {
26762 PyErr_SetString(PyExc_TypeError,"null reference");
26763 SWIG_fail;
26764 }
26765 {
26766 PyThreadState* __tstate = wxPyBeginAllowThreads();
26767 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26768
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 {
26773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26774 }
26775 return resultobj;
26776 fail:
26777 return NULL;
26778}
26779
26780
c370783e 26781static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26782 PyObject *resultobj;
26783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26784 wxTreeItemId *arg2 = 0 ;
b411df4a 26785 bool arg3 = (bool) true ;
d55e5bfc
RD
26786 size_t result;
26787 PyObject * obj0 = 0 ;
26788 PyObject * obj1 = 0 ;
26789 PyObject * obj2 = 0 ;
26790 char *kwnames[] = {
26791 (char *) "self",(char *) "item",(char *) "recursively", NULL
26792 };
26793
26794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26798 SWIG_POINTER_EXCEPTION | 0)) == -1)
26799 SWIG_fail;
26800 if (arg2 == NULL) {
26801 PyErr_SetString(PyExc_TypeError,"null reference");
26802 SWIG_fail;
26803 }
26804 if (obj2) {
c370783e 26805 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
26806 if (PyErr_Occurred()) SWIG_fail;
26807 }
26808 {
26809 PyThreadState* __tstate = wxPyBeginAllowThreads();
26810 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26811
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
c370783e 26815 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
26816 return resultobj;
26817 fail:
26818 return NULL;
26819}
26820
26821
c370783e 26822static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26823 PyObject *resultobj;
26824 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26825 wxTreeItemId result;
26826 PyObject * obj0 = 0 ;
26827 char *kwnames[] = {
26828 (char *) "self", NULL
26829 };
26830
26831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26834 {
26835 PyThreadState* __tstate = wxPyBeginAllowThreads();
26836 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26837
26838 wxPyEndAllowThreads(__tstate);
26839 if (PyErr_Occurred()) SWIG_fail;
26840 }
26841 {
26842 wxTreeItemId * resultptr;
26843 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26845 }
26846 return resultobj;
26847 fail:
26848 return NULL;
26849}
26850
26851
c370783e 26852static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26853 PyObject *resultobj;
26854 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26855 wxTreeItemId result;
26856 PyObject * obj0 = 0 ;
26857 char *kwnames[] = {
26858 (char *) "self", NULL
26859 };
26860
26861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26864 {
26865 PyThreadState* __tstate = wxPyBeginAllowThreads();
26866 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26867
26868 wxPyEndAllowThreads(__tstate);
26869 if (PyErr_Occurred()) SWIG_fail;
26870 }
26871 {
26872 wxTreeItemId * resultptr;
26873 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26875 }
26876 return resultobj;
26877 fail:
26878 return NULL;
26879}
26880
26881
c370783e 26882static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26883 PyObject *resultobj;
26884 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26885 PyObject *result;
26886 PyObject * obj0 = 0 ;
26887 char *kwnames[] = {
26888 (char *) "self", NULL
26889 };
26890
26891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26894 {
26895 PyThreadState* __tstate = wxPyBeginAllowThreads();
26896 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26897
26898 wxPyEndAllowThreads(__tstate);
26899 if (PyErr_Occurred()) SWIG_fail;
26900 }
26901 resultobj = result;
26902 return resultobj;
26903 fail:
26904 return NULL;
26905}
26906
26907
c370783e 26908static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26909 PyObject *resultobj;
26910 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26911 wxTreeItemId *arg2 = 0 ;
26912 wxTreeItemId result;
26913 PyObject * obj0 = 0 ;
26914 PyObject * obj1 = 0 ;
26915 char *kwnames[] = {
26916 (char *) "self",(char *) "item", NULL
26917 };
26918
26919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26923 SWIG_POINTER_EXCEPTION | 0)) == -1)
26924 SWIG_fail;
26925 if (arg2 == NULL) {
26926 PyErr_SetString(PyExc_TypeError,"null reference");
26927 SWIG_fail;
26928 }
26929 {
26930 PyThreadState* __tstate = wxPyBeginAllowThreads();
26931 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26932
26933 wxPyEndAllowThreads(__tstate);
26934 if (PyErr_Occurred()) SWIG_fail;
26935 }
26936 {
26937 wxTreeItemId * resultptr;
26938 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26940 }
26941 return resultobj;
26942 fail:
26943 return NULL;
26944}
26945
26946
c370783e 26947static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26948 PyObject *resultobj;
26949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26950 wxTreeItemId *arg2 = 0 ;
26951 PyObject *result;
26952 PyObject * obj0 = 0 ;
26953 PyObject * obj1 = 0 ;
26954 char *kwnames[] = {
26955 (char *) "self",(char *) "item", NULL
26956 };
26957
26958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26962 SWIG_POINTER_EXCEPTION | 0)) == -1)
26963 SWIG_fail;
26964 if (arg2 == NULL) {
26965 PyErr_SetString(PyExc_TypeError,"null reference");
26966 SWIG_fail;
26967 }
26968 {
26969 PyThreadState* __tstate = wxPyBeginAllowThreads();
26970 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26971
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 resultobj = result;
26976 return resultobj;
26977 fail:
26978 return NULL;
26979}
26980
26981
c370783e 26982static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26983 PyObject *resultobj;
26984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26985 wxTreeItemId *arg2 = 0 ;
26986 void *arg3 = (void *) 0 ;
26987 PyObject *result;
26988 PyObject * obj0 = 0 ;
26989 PyObject * obj1 = 0 ;
26990 PyObject * obj2 = 0 ;
26991 char *kwnames[] = {
26992 (char *) "self",(char *) "item",(char *) "cookie", NULL
26993 };
26994
26995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26999 SWIG_POINTER_EXCEPTION | 0)) == -1)
27000 SWIG_fail;
27001 if (arg2 == NULL) {
27002 PyErr_SetString(PyExc_TypeError,"null reference");
27003 SWIG_fail;
27004 }
27005 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27006 {
27007 PyThreadState* __tstate = wxPyBeginAllowThreads();
27008 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
27009
27010 wxPyEndAllowThreads(__tstate);
27011 if (PyErr_Occurred()) SWIG_fail;
27012 }
27013 resultobj = result;
27014 return resultobj;
27015 fail:
27016 return NULL;
27017}
27018
27019
c370783e 27020static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27021 PyObject *resultobj;
27022 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27023 wxTreeItemId *arg2 = 0 ;
27024 wxTreeItemId result;
27025 PyObject * obj0 = 0 ;
27026 PyObject * obj1 = 0 ;
27027 char *kwnames[] = {
27028 (char *) "self",(char *) "item", NULL
27029 };
27030
27031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
27032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27035 SWIG_POINTER_EXCEPTION | 0)) == -1)
27036 SWIG_fail;
27037 if (arg2 == NULL) {
27038 PyErr_SetString(PyExc_TypeError,"null reference");
27039 SWIG_fail;
27040 }
27041 {
27042 PyThreadState* __tstate = wxPyBeginAllowThreads();
27043 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
27044
27045 wxPyEndAllowThreads(__tstate);
27046 if (PyErr_Occurred()) SWIG_fail;
27047 }
27048 {
27049 wxTreeItemId * resultptr;
27050 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27052 }
27053 return resultobj;
27054 fail:
27055 return NULL;
27056}
27057
27058
c370783e 27059static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27060 PyObject *resultobj;
27061 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27062 wxTreeItemId *arg2 = 0 ;
27063 wxTreeItemId result;
27064 PyObject * obj0 = 0 ;
27065 PyObject * obj1 = 0 ;
27066 char *kwnames[] = {
27067 (char *) "self",(char *) "item", NULL
27068 };
27069
27070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
27071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27074 SWIG_POINTER_EXCEPTION | 0)) == -1)
27075 SWIG_fail;
27076 if (arg2 == NULL) {
27077 PyErr_SetString(PyExc_TypeError,"null reference");
27078 SWIG_fail;
27079 }
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
27087 {
27088 wxTreeItemId * resultptr;
27089 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27090 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27091 }
27092 return resultobj;
27093 fail:
27094 return NULL;
27095}
27096
27097
c370783e 27098static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27099 PyObject *resultobj;
27100 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27101 wxTreeItemId *arg2 = 0 ;
27102 wxTreeItemId result;
27103 PyObject * obj0 = 0 ;
27104 PyObject * obj1 = 0 ;
27105 char *kwnames[] = {
27106 (char *) "self",(char *) "item", NULL
27107 };
27108
27109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
27110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27113 SWIG_POINTER_EXCEPTION | 0)) == -1)
27114 SWIG_fail;
27115 if (arg2 == NULL) {
27116 PyErr_SetString(PyExc_TypeError,"null reference");
27117 SWIG_fail;
27118 }
27119 {
27120 PyThreadState* __tstate = wxPyBeginAllowThreads();
27121 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
27122
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 {
27127 wxTreeItemId * resultptr;
27128 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27129 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27130 }
27131 return resultobj;
27132 fail:
27133 return NULL;
27134}
27135
27136
c370783e 27137static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27138 PyObject *resultobj;
27139 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27140 wxTreeItemId result;
27141 PyObject * obj0 = 0 ;
27142 char *kwnames[] = {
27143 (char *) "self", NULL
27144 };
27145
27146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
27147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27149 {
27150 PyThreadState* __tstate = wxPyBeginAllowThreads();
27151 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
27152
27153 wxPyEndAllowThreads(__tstate);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
27156 {
27157 wxTreeItemId * resultptr;
27158 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27160 }
27161 return resultobj;
27162 fail:
27163 return NULL;
27164}
27165
27166
c370783e 27167static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27168 PyObject *resultobj;
27169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27170 wxTreeItemId *arg2 = 0 ;
27171 wxTreeItemId result;
27172 PyObject * obj0 = 0 ;
27173 PyObject * obj1 = 0 ;
27174 char *kwnames[] = {
27175 (char *) "self",(char *) "item", NULL
27176 };
27177
27178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
27179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27182 SWIG_POINTER_EXCEPTION | 0)) == -1)
27183 SWIG_fail;
27184 if (arg2 == NULL) {
27185 PyErr_SetString(PyExc_TypeError,"null reference");
27186 SWIG_fail;
27187 }
27188 {
27189 PyThreadState* __tstate = wxPyBeginAllowThreads();
27190 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
27191
27192 wxPyEndAllowThreads(__tstate);
27193 if (PyErr_Occurred()) SWIG_fail;
27194 }
27195 {
27196 wxTreeItemId * resultptr;
27197 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27198 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27199 }
27200 return resultobj;
27201 fail:
27202 return NULL;
27203}
27204
27205
c370783e 27206static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27207 PyObject *resultobj;
27208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27209 wxTreeItemId *arg2 = 0 ;
27210 wxTreeItemId result;
27211 PyObject * obj0 = 0 ;
27212 PyObject * obj1 = 0 ;
27213 char *kwnames[] = {
27214 (char *) "self",(char *) "item", NULL
27215 };
27216
27217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
27218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27221 SWIG_POINTER_EXCEPTION | 0)) == -1)
27222 SWIG_fail;
27223 if (arg2 == NULL) {
27224 PyErr_SetString(PyExc_TypeError,"null reference");
27225 SWIG_fail;
27226 }
27227 {
27228 PyThreadState* __tstate = wxPyBeginAllowThreads();
27229 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
27230
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 {
27235 wxTreeItemId * resultptr;
27236 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27237 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27238 }
27239 return resultobj;
27240 fail:
27241 return NULL;
27242}
27243
27244
c370783e 27245static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27246 PyObject *resultobj;
27247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27248 wxString *arg2 = 0 ;
27249 int arg3 = (int) -1 ;
27250 int arg4 = (int) -1 ;
27251 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
27252 wxTreeItemId result;
b411df4a 27253 bool temp2 = false ;
d55e5bfc
RD
27254 PyObject * obj0 = 0 ;
27255 PyObject * obj1 = 0 ;
27256 PyObject * obj2 = 0 ;
27257 PyObject * obj3 = 0 ;
27258 PyObject * obj4 = 0 ;
27259 char *kwnames[] = {
27260 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27261 };
27262
27263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27266 {
27267 arg2 = wxString_in_helper(obj1);
27268 if (arg2 == NULL) SWIG_fail;
b411df4a 27269 temp2 = true;
d55e5bfc
RD
27270 }
27271 if (obj2) {
c370783e 27272 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 if (obj3) {
c370783e 27276 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
27277 if (PyErr_Occurred()) SWIG_fail;
27278 }
27279 if (obj4) {
27280 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
27281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27282 }
27283 {
27284 PyThreadState* __tstate = wxPyBeginAllowThreads();
27285 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
27286
27287 wxPyEndAllowThreads(__tstate);
27288 if (PyErr_Occurred()) SWIG_fail;
27289 }
27290 {
27291 wxTreeItemId * resultptr;
27292 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27294 }
27295 {
27296 if (temp2)
27297 delete arg2;
27298 }
27299 return resultobj;
27300 fail:
27301 {
27302 if (temp2)
27303 delete arg2;
27304 }
27305 return NULL;
27306}
27307
27308
c370783e 27309static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27310 PyObject *resultobj;
27311 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27312 wxTreeItemId *arg2 = 0 ;
27313 wxString *arg3 = 0 ;
27314 int arg4 = (int) -1 ;
27315 int arg5 = (int) -1 ;
27316 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27317 wxTreeItemId result;
b411df4a 27318 bool temp3 = false ;
d55e5bfc
RD
27319 PyObject * obj0 = 0 ;
27320 PyObject * obj1 = 0 ;
27321 PyObject * obj2 = 0 ;
27322 PyObject * obj3 = 0 ;
27323 PyObject * obj4 = 0 ;
27324 PyObject * obj5 = 0 ;
27325 char *kwnames[] = {
27326 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27327 };
27328
27329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27333 SWIG_POINTER_EXCEPTION | 0)) == -1)
27334 SWIG_fail;
27335 if (arg2 == NULL) {
27336 PyErr_SetString(PyExc_TypeError,"null reference");
27337 SWIG_fail;
27338 }
27339 {
27340 arg3 = wxString_in_helper(obj2);
27341 if (arg3 == NULL) SWIG_fail;
b411df4a 27342 temp3 = true;
d55e5bfc
RD
27343 }
27344 if (obj3) {
c370783e 27345 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
27346 if (PyErr_Occurred()) SWIG_fail;
27347 }
27348 if (obj4) {
c370783e 27349 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
27350 if (PyErr_Occurred()) SWIG_fail;
27351 }
27352 if (obj5) {
27353 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27355 }
27356 {
27357 PyThreadState* __tstate = wxPyBeginAllowThreads();
27358 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27359
27360 wxPyEndAllowThreads(__tstate);
27361 if (PyErr_Occurred()) SWIG_fail;
27362 }
27363 {
27364 wxTreeItemId * resultptr;
27365 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27367 }
27368 {
27369 if (temp3)
27370 delete arg3;
27371 }
27372 return resultobj;
27373 fail:
27374 {
27375 if (temp3)
27376 delete arg3;
27377 }
27378 return NULL;
27379}
27380
27381
c370783e 27382static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27383 PyObject *resultobj;
27384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27385 wxTreeItemId *arg2 = 0 ;
27386 wxTreeItemId *arg3 = 0 ;
27387 wxString *arg4 = 0 ;
27388 int arg5 = (int) -1 ;
27389 int arg6 = (int) -1 ;
27390 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27391 wxTreeItemId result;
b411df4a 27392 bool temp4 = false ;
d55e5bfc
RD
27393 PyObject * obj0 = 0 ;
27394 PyObject * obj1 = 0 ;
27395 PyObject * obj2 = 0 ;
27396 PyObject * obj3 = 0 ;
27397 PyObject * obj4 = 0 ;
27398 PyObject * obj5 = 0 ;
27399 PyObject * obj6 = 0 ;
27400 char *kwnames[] = {
27401 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27402 };
27403
27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27408 SWIG_POINTER_EXCEPTION | 0)) == -1)
27409 SWIG_fail;
27410 if (arg2 == NULL) {
27411 PyErr_SetString(PyExc_TypeError,"null reference");
27412 SWIG_fail;
27413 }
27414 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27415 SWIG_POINTER_EXCEPTION | 0)) == -1)
27416 SWIG_fail;
27417 if (arg3 == NULL) {
27418 PyErr_SetString(PyExc_TypeError,"null reference");
27419 SWIG_fail;
27420 }
27421 {
27422 arg4 = wxString_in_helper(obj3);
27423 if (arg4 == NULL) SWIG_fail;
b411df4a 27424 temp4 = true;
d55e5bfc
RD
27425 }
27426 if (obj4) {
c370783e 27427 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
27428 if (PyErr_Occurred()) SWIG_fail;
27429 }
27430 if (obj5) {
c370783e 27431 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
27432 if (PyErr_Occurred()) SWIG_fail;
27433 }
27434 if (obj6) {
27435 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27437 }
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 {
27446 wxTreeItemId * resultptr;
27447 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27449 }
27450 {
27451 if (temp4)
27452 delete arg4;
27453 }
27454 return resultobj;
27455 fail:
27456 {
27457 if (temp4)
27458 delete arg4;
27459 }
27460 return NULL;
27461}
27462
27463
c370783e 27464static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27465 PyObject *resultobj;
27466 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27467 wxTreeItemId *arg2 = 0 ;
27468 size_t arg3 ;
27469 wxString *arg4 = 0 ;
27470 int arg5 = (int) -1 ;
27471 int arg6 = (int) -1 ;
27472 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27473 wxTreeItemId result;
b411df4a 27474 bool temp4 = false ;
d55e5bfc
RD
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 PyObject * obj2 = 0 ;
27478 PyObject * obj3 = 0 ;
27479 PyObject * obj4 = 0 ;
27480 PyObject * obj5 = 0 ;
27481 PyObject * obj6 = 0 ;
27482 char *kwnames[] = {
27483 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27484 };
27485
27486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27490 SWIG_POINTER_EXCEPTION | 0)) == -1)
27491 SWIG_fail;
27492 if (arg2 == NULL) {
27493 PyErr_SetString(PyExc_TypeError,"null reference");
27494 SWIG_fail;
27495 }
c370783e 27496 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
d55e5bfc
RD
27497 if (PyErr_Occurred()) SWIG_fail;
27498 {
27499 arg4 = wxString_in_helper(obj3);
27500 if (arg4 == NULL) SWIG_fail;
b411df4a 27501 temp4 = true;
d55e5bfc
RD
27502 }
27503 if (obj4) {
c370783e 27504 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
27505 if (PyErr_Occurred()) SWIG_fail;
27506 }
27507 if (obj5) {
c370783e 27508 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 if (obj6) {
27512 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27514 }
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27518
27519 wxPyEndAllowThreads(__tstate);
27520 if (PyErr_Occurred()) SWIG_fail;
27521 }
27522 {
27523 wxTreeItemId * resultptr;
27524 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27526 }
27527 {
27528 if (temp4)
27529 delete arg4;
27530 }
27531 return resultobj;
27532 fail:
27533 {
27534 if (temp4)
27535 delete arg4;
27536 }
27537 return NULL;
27538}
27539
27540
c370783e 27541static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27542 PyObject *resultobj;
27543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27544 wxTreeItemId *arg2 = 0 ;
27545 wxString *arg3 = 0 ;
27546 int arg4 = (int) -1 ;
27547 int arg5 = (int) -1 ;
27548 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27549 wxTreeItemId result;
b411df4a 27550 bool temp3 = false ;
d55e5bfc
RD
27551 PyObject * obj0 = 0 ;
27552 PyObject * obj1 = 0 ;
27553 PyObject * obj2 = 0 ;
27554 PyObject * obj3 = 0 ;
27555 PyObject * obj4 = 0 ;
27556 PyObject * obj5 = 0 ;
27557 char *kwnames[] = {
27558 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27559 };
27560
27561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27565 SWIG_POINTER_EXCEPTION | 0)) == -1)
27566 SWIG_fail;
27567 if (arg2 == NULL) {
27568 PyErr_SetString(PyExc_TypeError,"null reference");
27569 SWIG_fail;
27570 }
27571 {
27572 arg3 = wxString_in_helper(obj2);
27573 if (arg3 == NULL) SWIG_fail;
b411df4a 27574 temp3 = true;
d55e5bfc
RD
27575 }
27576 if (obj3) {
c370783e 27577 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
27578 if (PyErr_Occurred()) SWIG_fail;
27579 }
27580 if (obj4) {
c370783e 27581 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
27582 if (PyErr_Occurred()) SWIG_fail;
27583 }
27584 if (obj5) {
27585 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27587 }
27588 {
27589 PyThreadState* __tstate = wxPyBeginAllowThreads();
27590 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27591
27592 wxPyEndAllowThreads(__tstate);
27593 if (PyErr_Occurred()) SWIG_fail;
27594 }
27595 {
27596 wxTreeItemId * resultptr;
27597 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27598 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27599 }
27600 {
27601 if (temp3)
27602 delete arg3;
27603 }
27604 return resultobj;
27605 fail:
27606 {
27607 if (temp3)
27608 delete arg3;
27609 }
27610 return NULL;
27611}
27612
27613
c370783e 27614static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27615 PyObject *resultobj;
27616 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27617 wxTreeItemId *arg2 = 0 ;
27618 PyObject * obj0 = 0 ;
27619 PyObject * obj1 = 0 ;
27620 char *kwnames[] = {
27621 (char *) "self",(char *) "item", NULL
27622 };
27623
27624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27628 SWIG_POINTER_EXCEPTION | 0)) == -1)
27629 SWIG_fail;
27630 if (arg2 == NULL) {
27631 PyErr_SetString(PyExc_TypeError,"null reference");
27632 SWIG_fail;
27633 }
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 (arg1)->Delete((wxTreeItemId const &)*arg2);
27637
27638 wxPyEndAllowThreads(__tstate);
27639 if (PyErr_Occurred()) SWIG_fail;
27640 }
27641 Py_INCREF(Py_None); resultobj = Py_None;
27642 return resultobj;
27643 fail:
27644 return NULL;
27645}
27646
27647
c370783e 27648static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27649 PyObject *resultobj;
27650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27651 wxTreeItemId *arg2 = 0 ;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 char *kwnames[] = {
27655 (char *) "self",(char *) "item", NULL
27656 };
27657
27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27662 SWIG_POINTER_EXCEPTION | 0)) == -1)
27663 SWIG_fail;
27664 if (arg2 == NULL) {
27665 PyErr_SetString(PyExc_TypeError,"null reference");
27666 SWIG_fail;
27667 }
27668 {
27669 PyThreadState* __tstate = wxPyBeginAllowThreads();
27670 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27671
27672 wxPyEndAllowThreads(__tstate);
27673 if (PyErr_Occurred()) SWIG_fail;
27674 }
27675 Py_INCREF(Py_None); resultobj = Py_None;
27676 return resultobj;
27677 fail:
27678 return NULL;
27679}
27680
27681
c370783e 27682static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27683 PyObject *resultobj;
27684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27685 PyObject * obj0 = 0 ;
27686 char *kwnames[] = {
27687 (char *) "self", NULL
27688 };
27689
27690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27693 {
27694 PyThreadState* __tstate = wxPyBeginAllowThreads();
27695 (arg1)->DeleteAllItems();
27696
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 Py_INCREF(Py_None); resultobj = Py_None;
27701 return resultobj;
27702 fail:
27703 return NULL;
27704}
27705
27706
c370783e 27707static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27708 PyObject *resultobj;
27709 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27710 wxTreeItemId *arg2 = 0 ;
27711 PyObject * obj0 = 0 ;
27712 PyObject * obj1 = 0 ;
27713 char *kwnames[] = {
27714 (char *) "self",(char *) "item", NULL
27715 };
27716
27717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27721 SWIG_POINTER_EXCEPTION | 0)) == -1)
27722 SWIG_fail;
27723 if (arg2 == NULL) {
27724 PyErr_SetString(PyExc_TypeError,"null reference");
27725 SWIG_fail;
27726 }
27727 {
27728 PyThreadState* __tstate = wxPyBeginAllowThreads();
27729 (arg1)->Expand((wxTreeItemId const &)*arg2);
27730
27731 wxPyEndAllowThreads(__tstate);
27732 if (PyErr_Occurred()) SWIG_fail;
27733 }
27734 Py_INCREF(Py_None); resultobj = Py_None;
27735 return resultobj;
27736 fail:
27737 return NULL;
27738}
27739
27740
c370783e 27741static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27742 PyObject *resultobj;
27743 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27744 wxTreeItemId *arg2 = 0 ;
27745 PyObject * obj0 = 0 ;
27746 PyObject * obj1 = 0 ;
27747 char *kwnames[] = {
27748 (char *) "self",(char *) "item", NULL
27749 };
27750
27751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27755 SWIG_POINTER_EXCEPTION | 0)) == -1)
27756 SWIG_fail;
27757 if (arg2 == NULL) {
27758 PyErr_SetString(PyExc_TypeError,"null reference");
27759 SWIG_fail;
27760 }
27761 {
27762 PyThreadState* __tstate = wxPyBeginAllowThreads();
27763 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27764
27765 wxPyEndAllowThreads(__tstate);
27766 if (PyErr_Occurred()) SWIG_fail;
27767 }
27768 Py_INCREF(Py_None); resultobj = Py_None;
27769 return resultobj;
27770 fail:
27771 return NULL;
27772}
27773
27774
c370783e 27775static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27776 PyObject *resultobj;
27777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27778 wxTreeItemId *arg2 = 0 ;
27779 PyObject * obj0 = 0 ;
27780 PyObject * obj1 = 0 ;
27781 char *kwnames[] = {
27782 (char *) "self",(char *) "item", NULL
27783 };
27784
27785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27789 SWIG_POINTER_EXCEPTION | 0)) == -1)
27790 SWIG_fail;
27791 if (arg2 == NULL) {
27792 PyErr_SetString(PyExc_TypeError,"null reference");
27793 SWIG_fail;
27794 }
27795 {
27796 PyThreadState* __tstate = wxPyBeginAllowThreads();
27797 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27798
27799 wxPyEndAllowThreads(__tstate);
27800 if (PyErr_Occurred()) SWIG_fail;
27801 }
27802 Py_INCREF(Py_None); resultobj = Py_None;
27803 return resultobj;
27804 fail:
27805 return NULL;
27806}
27807
27808
c370783e 27809static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27810 PyObject *resultobj;
27811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27812 wxTreeItemId *arg2 = 0 ;
27813 PyObject * obj0 = 0 ;
27814 PyObject * obj1 = 0 ;
27815 char *kwnames[] = {
27816 (char *) "self",(char *) "item", NULL
27817 };
27818
27819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27823 SWIG_POINTER_EXCEPTION | 0)) == -1)
27824 SWIG_fail;
27825 if (arg2 == NULL) {
27826 PyErr_SetString(PyExc_TypeError,"null reference");
27827 SWIG_fail;
27828 }
27829 {
27830 PyThreadState* __tstate = wxPyBeginAllowThreads();
27831 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27832
27833 wxPyEndAllowThreads(__tstate);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 Py_INCREF(Py_None); resultobj = Py_None;
27837 return resultobj;
27838 fail:
27839 return NULL;
27840}
27841
27842
c370783e 27843static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27844 PyObject *resultobj;
27845 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27846 PyObject * obj0 = 0 ;
27847 char *kwnames[] = {
27848 (char *) "self", NULL
27849 };
27850
27851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27854 {
27855 PyThreadState* __tstate = wxPyBeginAllowThreads();
27856 (arg1)->Unselect();
27857
27858 wxPyEndAllowThreads(__tstate);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
27861 Py_INCREF(Py_None); resultobj = Py_None;
27862 return resultobj;
27863 fail:
27864 return NULL;
27865}
27866
27867
c370783e 27868static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27869 PyObject *resultobj;
27870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27871 wxTreeItemId *arg2 = 0 ;
27872 PyObject * obj0 = 0 ;
27873 PyObject * obj1 = 0 ;
27874 char *kwnames[] = {
27875 (char *) "self",(char *) "item", NULL
27876 };
27877
27878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
27879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27882 SWIG_POINTER_EXCEPTION | 0)) == -1)
27883 SWIG_fail;
27884 if (arg2 == NULL) {
27885 PyErr_SetString(PyExc_TypeError,"null reference");
27886 SWIG_fail;
27887 }
27888 {
27889 PyThreadState* __tstate = wxPyBeginAllowThreads();
27890 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27891
27892 wxPyEndAllowThreads(__tstate);
27893 if (PyErr_Occurred()) SWIG_fail;
27894 }
27895 Py_INCREF(Py_None); resultobj = Py_None;
27896 return resultobj;
27897 fail:
27898 return NULL;
27899}
27900
27901
c370783e 27902static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27903 PyObject *resultobj;
27904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27905 PyObject * obj0 = 0 ;
27906 char *kwnames[] = {
27907 (char *) "self", NULL
27908 };
27909
27910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27913 {
27914 PyThreadState* __tstate = wxPyBeginAllowThreads();
27915 (arg1)->UnselectAll();
27916
27917 wxPyEndAllowThreads(__tstate);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
27920 Py_INCREF(Py_None); resultobj = Py_None;
27921 return resultobj;
27922 fail:
27923 return NULL;
27924}
27925
27926
c370783e 27927static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27928 PyObject *resultobj;
27929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27930 wxTreeItemId *arg2 = 0 ;
b411df4a 27931 bool arg3 = (bool) true ;
d55e5bfc
RD
27932 PyObject * obj0 = 0 ;
27933 PyObject * obj1 = 0 ;
27934 PyObject * obj2 = 0 ;
27935 char *kwnames[] = {
27936 (char *) "self",(char *) "item",(char *) "select", NULL
27937 };
27938
27939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27943 SWIG_POINTER_EXCEPTION | 0)) == -1)
27944 SWIG_fail;
27945 if (arg2 == NULL) {
27946 PyErr_SetString(PyExc_TypeError,"null reference");
27947 SWIG_fail;
27948 }
27949 if (obj2) {
c370783e 27950 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 {
27954 PyThreadState* __tstate = wxPyBeginAllowThreads();
27955 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27956
27957 wxPyEndAllowThreads(__tstate);
27958 if (PyErr_Occurred()) SWIG_fail;
27959 }
27960 Py_INCREF(Py_None); resultobj = Py_None;
27961 return resultobj;
27962 fail:
27963 return NULL;
27964}
27965
27966
c370783e 27967static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27968 PyObject *resultobj;
27969 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27970 wxTreeItemId *arg2 = 0 ;
27971 PyObject * obj0 = 0 ;
27972 PyObject * obj1 = 0 ;
27973 char *kwnames[] = {
27974 (char *) "self",(char *) "item", NULL
27975 };
27976
27977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27981 SWIG_POINTER_EXCEPTION | 0)) == -1)
27982 SWIG_fail;
27983 if (arg2 == NULL) {
27984 PyErr_SetString(PyExc_TypeError,"null reference");
27985 SWIG_fail;
27986 }
27987 {
27988 PyThreadState* __tstate = wxPyBeginAllowThreads();
27989 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27990
27991 wxPyEndAllowThreads(__tstate);
27992 if (PyErr_Occurred()) SWIG_fail;
27993 }
27994 Py_INCREF(Py_None); resultobj = Py_None;
27995 return resultobj;
27996 fail:
27997 return NULL;
27998}
27999
28000
c370783e 28001static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28002 PyObject *resultobj;
28003 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28004 wxTreeItemId *arg2 = 0 ;
28005 PyObject * obj0 = 0 ;
28006 PyObject * obj1 = 0 ;
28007 char *kwnames[] = {
28008 (char *) "self",(char *) "item", NULL
28009 };
28010
28011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
28012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28015 SWIG_POINTER_EXCEPTION | 0)) == -1)
28016 SWIG_fail;
28017 if (arg2 == NULL) {
28018 PyErr_SetString(PyExc_TypeError,"null reference");
28019 SWIG_fail;
28020 }
28021 {
28022 PyThreadState* __tstate = wxPyBeginAllowThreads();
28023 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
28024
28025 wxPyEndAllowThreads(__tstate);
28026 if (PyErr_Occurred()) SWIG_fail;
28027 }
28028 Py_INCREF(Py_None); resultobj = Py_None;
28029 return resultobj;
28030 fail:
28031 return NULL;
28032}
28033
28034
c370783e 28035static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28036 PyObject *resultobj;
28037 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28038 wxTreeItemId *arg2 = 0 ;
28039 PyObject * obj0 = 0 ;
28040 PyObject * obj1 = 0 ;
28041 char *kwnames[] = {
28042 (char *) "self",(char *) "item", NULL
28043 };
28044
28045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
28046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28049 SWIG_POINTER_EXCEPTION | 0)) == -1)
28050 SWIG_fail;
28051 if (arg2 == NULL) {
28052 PyErr_SetString(PyExc_TypeError,"null reference");
28053 SWIG_fail;
28054 }
28055 {
28056 PyThreadState* __tstate = wxPyBeginAllowThreads();
28057 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
28058
28059 wxPyEndAllowThreads(__tstate);
28060 if (PyErr_Occurred()) SWIG_fail;
28061 }
28062 Py_INCREF(Py_None); resultobj = Py_None;
28063 return resultobj;
28064 fail:
28065 return NULL;
28066}
28067
28068
c370783e 28069static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28070 PyObject *resultobj;
28071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28072 wxTreeItemId *arg2 = 0 ;
28073 PyObject * obj0 = 0 ;
28074 PyObject * obj1 = 0 ;
28075 char *kwnames[] = {
28076 (char *) "self",(char *) "item", NULL
28077 };
28078
28079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
28080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28083 SWIG_POINTER_EXCEPTION | 0)) == -1)
28084 SWIG_fail;
28085 if (arg2 == NULL) {
28086 PyErr_SetString(PyExc_TypeError,"null reference");
28087 SWIG_fail;
28088 }
28089 {
28090 PyThreadState* __tstate = wxPyBeginAllowThreads();
28091 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
28092
28093 wxPyEndAllowThreads(__tstate);
28094 if (PyErr_Occurred()) SWIG_fail;
28095 }
28096 Py_INCREF(Py_None); resultobj = Py_None;
28097 return resultobj;
28098 fail:
28099 return NULL;
28100}
28101
28102
c370783e 28103static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28104 PyObject *resultobj;
28105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28106 wxTextCtrl *result;
28107 PyObject * obj0 = 0 ;
28108 char *kwnames[] = {
28109 (char *) "self", NULL
28110 };
28111
28112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
28113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28115 {
28116 PyThreadState* __tstate = wxPyBeginAllowThreads();
28117 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
28118
28119 wxPyEndAllowThreads(__tstate);
28120 if (PyErr_Occurred()) SWIG_fail;
28121 }
28122 {
412d302d 28123 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28124 }
28125 return resultobj;
28126 fail:
28127 return NULL;
28128}
28129
28130
c370783e 28131static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28132 PyObject *resultobj;
28133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28134 wxTreeItemId *arg2 = 0 ;
28135 PyObject * obj0 = 0 ;
28136 PyObject * obj1 = 0 ;
28137 char *kwnames[] = {
28138 (char *) "self",(char *) "item", NULL
28139 };
28140
28141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
28142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28145 SWIG_POINTER_EXCEPTION | 0)) == -1)
28146 SWIG_fail;
28147 if (arg2 == NULL) {
28148 PyErr_SetString(PyExc_TypeError,"null reference");
28149 SWIG_fail;
28150 }
28151 {
28152 PyThreadState* __tstate = wxPyBeginAllowThreads();
28153 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
28154
28155 wxPyEndAllowThreads(__tstate);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 }
28158 Py_INCREF(Py_None); resultobj = Py_None;
28159 return resultobj;
28160 fail:
28161 return NULL;
28162}
28163
28164
c370783e 28165static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28166 PyObject *resultobj;
28167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28168 wxPoint *arg2 = 0 ;
28169 int *arg3 = 0 ;
28170 wxTreeItemId result;
28171 wxPoint temp2 ;
28172 int temp3 ;
c370783e 28173 int res3 = 0 ;
d55e5bfc
RD
28174 PyObject * obj0 = 0 ;
28175 PyObject * obj1 = 0 ;
28176 char *kwnames[] = {
28177 (char *) "self",(char *) "point", NULL
28178 };
28179
c370783e 28180 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
28181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
28182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28184 {
28185 arg2 = &temp2;
28186 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28187 }
28188 {
28189 PyThreadState* __tstate = wxPyBeginAllowThreads();
28190 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
28191
28192 wxPyEndAllowThreads(__tstate);
28193 if (PyErr_Occurred()) SWIG_fail;
28194 }
28195 {
28196 wxTreeItemId * resultptr;
28197 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28198 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28199 }
c370783e
RD
28200 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
28201 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
28202 return resultobj;
28203 fail:
28204 return NULL;
28205}
28206
28207
c370783e 28208static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28209 PyObject *resultobj;
28210 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28211 wxTreeItemId *arg2 = 0 ;
b411df4a 28212 bool arg3 = (bool) false ;
d55e5bfc
RD
28213 PyObject *result;
28214 PyObject * obj0 = 0 ;
28215 PyObject * obj1 = 0 ;
28216 PyObject * obj2 = 0 ;
28217 char *kwnames[] = {
28218 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28219 };
28220
28221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
28222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28225 SWIG_POINTER_EXCEPTION | 0)) == -1)
28226 SWIG_fail;
28227 if (arg2 == NULL) {
28228 PyErr_SetString(PyExc_TypeError,"null reference");
28229 SWIG_fail;
28230 }
28231 if (obj2) {
c370783e 28232 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
28233 if (PyErr_Occurred()) SWIG_fail;
28234 }
28235 {
28236 PyThreadState* __tstate = wxPyBeginAllowThreads();
28237 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
28238
28239 wxPyEndAllowThreads(__tstate);
28240 if (PyErr_Occurred()) SWIG_fail;
28241 }
28242 resultobj = result;
28243 return resultobj;
28244 fail:
28245 return NULL;
28246}
28247
28248
c370783e 28249static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28250 PyObject *resultobj;
28251 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
28252 wxVisualAttributes result;
28253 PyObject * obj0 = 0 ;
28254 char *kwnames[] = {
28255 (char *) "variant", NULL
28256 };
28257
28258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
28259 if (obj0) {
c370783e 28260 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
28261 if (PyErr_Occurred()) SWIG_fail;
28262 }
28263 {
0439c23b 28264 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28265 PyThreadState* __tstate = wxPyBeginAllowThreads();
28266 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
28267
28268 wxPyEndAllowThreads(__tstate);
110da5b0 28269 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28270 }
28271 {
28272 wxVisualAttributes * resultptr;
28273 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
28274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
28275 }
28276 return resultobj;
28277 fail:
28278 return NULL;
28279}
28280
28281
c370783e 28282static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28283 PyObject *obj;
28284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28285 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
28286 Py_INCREF(obj);
28287 return Py_BuildValue((char *)"");
28288}
c370783e 28289static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
28290 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
28291 return 1;
28292}
28293
28294
28295static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
28296 PyObject *pyobj;
28297
28298 {
28299#if wxUSE_UNICODE
28300 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28301#else
28302 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28303#endif
28304 }
28305 return pyobj;
28306}
28307
28308
c370783e 28309static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28310 PyObject *resultobj;
28311 wxWindow *arg1 = (wxWindow *) 0 ;
28312 int arg2 = (int) (int)-1 ;
28313 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
28314 wxString *arg3 = (wxString *) &arg3_defvalue ;
28315 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28316 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28317 wxSize const &arg5_defvalue = wxDefaultSize ;
28318 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28319 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28320 wxString const &arg7_defvalue = wxPyEmptyString ;
28321 wxString *arg7 = (wxString *) &arg7_defvalue ;
28322 int arg8 = (int) 0 ;
28323 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
28324 wxString *arg9 = (wxString *) &arg9_defvalue ;
28325 wxGenericDirCtrl *result;
b411df4a 28326 bool temp3 = false ;
d55e5bfc
RD
28327 wxPoint temp4 ;
28328 wxSize temp5 ;
b411df4a
RD
28329 bool temp7 = false ;
28330 bool temp9 = false ;
d55e5bfc
RD
28331 PyObject * obj0 = 0 ;
28332 PyObject * obj1 = 0 ;
28333 PyObject * obj2 = 0 ;
28334 PyObject * obj3 = 0 ;
28335 PyObject * obj4 = 0 ;
28336 PyObject * obj5 = 0 ;
28337 PyObject * obj6 = 0 ;
28338 PyObject * obj7 = 0 ;
28339 PyObject * obj8 = 0 ;
28340 char *kwnames[] = {
28341 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28342 };
28343
28344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
28345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28347 if (obj1) {
c370783e 28348 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 if (obj2) {
28352 {
28353 arg3 = wxString_in_helper(obj2);
28354 if (arg3 == NULL) SWIG_fail;
b411df4a 28355 temp3 = true;
d55e5bfc
RD
28356 }
28357 }
28358 if (obj3) {
28359 {
28360 arg4 = &temp4;
28361 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28362 }
28363 }
28364 if (obj4) {
28365 {
28366 arg5 = &temp5;
28367 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28368 }
28369 }
28370 if (obj5) {
c370783e 28371 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
28372 if (PyErr_Occurred()) SWIG_fail;
28373 }
28374 if (obj6) {
28375 {
28376 arg7 = wxString_in_helper(obj6);
28377 if (arg7 == NULL) SWIG_fail;
b411df4a 28378 temp7 = true;
d55e5bfc
RD
28379 }
28380 }
28381 if (obj7) {
c370783e 28382 arg8 = (int)SWIG_As_int(obj7);
d55e5bfc
RD
28383 if (PyErr_Occurred()) SWIG_fail;
28384 }
28385 if (obj8) {
28386 {
28387 arg9 = wxString_in_helper(obj8);
28388 if (arg9 == NULL) SWIG_fail;
b411df4a 28389 temp9 = true;
d55e5bfc
RD
28390 }
28391 }
28392 {
0439c23b 28393 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28394 PyThreadState* __tstate = wxPyBeginAllowThreads();
28395 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
28396
28397 wxPyEndAllowThreads(__tstate);
110da5b0 28398 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28399 }
28400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28401 {
28402 if (temp3)
28403 delete arg3;
28404 }
28405 {
28406 if (temp7)
28407 delete arg7;
28408 }
28409 {
28410 if (temp9)
28411 delete arg9;
28412 }
28413 return resultobj;
28414 fail:
28415 {
28416 if (temp3)
28417 delete arg3;
28418 }
28419 {
28420 if (temp7)
28421 delete arg7;
28422 }
28423 {
28424 if (temp9)
28425 delete arg9;
28426 }
28427 return NULL;
28428}
28429
28430
c370783e 28431static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28432 PyObject *resultobj;
28433 wxGenericDirCtrl *result;
28434 char *kwnames[] = {
28435 NULL
28436 };
28437
28438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28439 {
0439c23b 28440 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28441 PyThreadState* __tstate = wxPyBeginAllowThreads();
28442 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28443
28444 wxPyEndAllowThreads(__tstate);
110da5b0 28445 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28446 }
28447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28448 return resultobj;
28449 fail:
28450 return NULL;
28451}
28452
28453
c370783e 28454static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28455 PyObject *resultobj;
28456 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28457 wxWindow *arg2 = (wxWindow *) 0 ;
28458 int arg3 = (int) (int)-1 ;
28459 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28460 wxString *arg4 = (wxString *) &arg4_defvalue ;
28461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28463 wxSize const &arg6_defvalue = wxDefaultSize ;
28464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28465 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28466 wxString const &arg8_defvalue = wxPyEmptyString ;
28467 wxString *arg8 = (wxString *) &arg8_defvalue ;
28468 int arg9 = (int) 0 ;
28469 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28470 wxString *arg10 = (wxString *) &arg10_defvalue ;
28471 bool result;
b411df4a 28472 bool temp4 = false ;
d55e5bfc
RD
28473 wxPoint temp5 ;
28474 wxSize temp6 ;
b411df4a
RD
28475 bool temp8 = false ;
28476 bool temp10 = false ;
d55e5bfc
RD
28477 PyObject * obj0 = 0 ;
28478 PyObject * obj1 = 0 ;
28479 PyObject * obj2 = 0 ;
28480 PyObject * obj3 = 0 ;
28481 PyObject * obj4 = 0 ;
28482 PyObject * obj5 = 0 ;
28483 PyObject * obj6 = 0 ;
28484 PyObject * obj7 = 0 ;
28485 PyObject * obj8 = 0 ;
28486 PyObject * obj9 = 0 ;
28487 char *kwnames[] = {
28488 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28489 };
28490
28491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28496 if (obj2) {
c370783e 28497 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
28498 if (PyErr_Occurred()) SWIG_fail;
28499 }
28500 if (obj3) {
28501 {
28502 arg4 = wxString_in_helper(obj3);
28503 if (arg4 == NULL) SWIG_fail;
b411df4a 28504 temp4 = true;
d55e5bfc
RD
28505 }
28506 }
28507 if (obj4) {
28508 {
28509 arg5 = &temp5;
28510 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28511 }
28512 }
28513 if (obj5) {
28514 {
28515 arg6 = &temp6;
28516 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28517 }
28518 }
28519 if (obj6) {
c370783e 28520 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
28521 if (PyErr_Occurred()) SWIG_fail;
28522 }
28523 if (obj7) {
28524 {
28525 arg8 = wxString_in_helper(obj7);
28526 if (arg8 == NULL) SWIG_fail;
b411df4a 28527 temp8 = true;
d55e5bfc
RD
28528 }
28529 }
28530 if (obj8) {
c370783e 28531 arg9 = (int)SWIG_As_int(obj8);
d55e5bfc
RD
28532 if (PyErr_Occurred()) SWIG_fail;
28533 }
28534 if (obj9) {
28535 {
28536 arg10 = wxString_in_helper(obj9);
28537 if (arg10 == NULL) SWIG_fail;
b411df4a 28538 temp10 = true;
d55e5bfc
RD
28539 }
28540 }
28541 {
28542 PyThreadState* __tstate = wxPyBeginAllowThreads();
28543 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28544
28545 wxPyEndAllowThreads(__tstate);
28546 if (PyErr_Occurred()) SWIG_fail;
28547 }
28548 {
28549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28550 }
28551 {
28552 if (temp4)
28553 delete arg4;
28554 }
28555 {
28556 if (temp8)
28557 delete arg8;
28558 }
28559 {
28560 if (temp10)
28561 delete arg10;
28562 }
28563 return resultobj;
28564 fail:
28565 {
28566 if (temp4)
28567 delete arg4;
28568 }
28569 {
28570 if (temp8)
28571 delete arg8;
28572 }
28573 {
28574 if (temp10)
28575 delete arg10;
28576 }
28577 return NULL;
28578}
28579
28580
c370783e 28581static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28582 PyObject *resultobj;
28583 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28584 wxString *arg2 = 0 ;
28585 bool result;
b411df4a 28586 bool temp2 = false ;
d55e5bfc
RD
28587 PyObject * obj0 = 0 ;
28588 PyObject * obj1 = 0 ;
28589 char *kwnames[] = {
28590 (char *) "self",(char *) "path", NULL
28591 };
28592
28593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28596 {
28597 arg2 = wxString_in_helper(obj1);
28598 if (arg2 == NULL) SWIG_fail;
b411df4a 28599 temp2 = true;
d55e5bfc
RD
28600 }
28601 {
28602 PyThreadState* __tstate = wxPyBeginAllowThreads();
28603 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28604
28605 wxPyEndAllowThreads(__tstate);
28606 if (PyErr_Occurred()) SWIG_fail;
28607 }
28608 {
28609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28610 }
28611 {
28612 if (temp2)
28613 delete arg2;
28614 }
28615 return resultobj;
28616 fail:
28617 {
28618 if (temp2)
28619 delete arg2;
28620 }
28621 return NULL;
28622}
28623
28624
c370783e 28625static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28626 PyObject *resultobj;
28627 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28628 wxString result;
28629 PyObject * obj0 = 0 ;
28630 char *kwnames[] = {
28631 (char *) "self", NULL
28632 };
28633
28634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28637 {
28638 PyThreadState* __tstate = wxPyBeginAllowThreads();
28639 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28640
28641 wxPyEndAllowThreads(__tstate);
28642 if (PyErr_Occurred()) SWIG_fail;
28643 }
28644 {
28645#if wxUSE_UNICODE
28646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28647#else
28648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28649#endif
28650 }
28651 return resultobj;
28652 fail:
28653 return NULL;
28654}
28655
28656
c370783e 28657static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28658 PyObject *resultobj;
28659 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28660 wxString *arg2 = 0 ;
b411df4a 28661 bool temp2 = false ;
d55e5bfc
RD
28662 PyObject * obj0 = 0 ;
28663 PyObject * obj1 = 0 ;
28664 char *kwnames[] = {
28665 (char *) "self",(char *) "path", NULL
28666 };
28667
28668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28671 {
28672 arg2 = wxString_in_helper(obj1);
28673 if (arg2 == NULL) SWIG_fail;
b411df4a 28674 temp2 = true;
d55e5bfc
RD
28675 }
28676 {
28677 PyThreadState* __tstate = wxPyBeginAllowThreads();
28678 (arg1)->SetDefaultPath((wxString const &)*arg2);
28679
28680 wxPyEndAllowThreads(__tstate);
28681 if (PyErr_Occurred()) SWIG_fail;
28682 }
28683 Py_INCREF(Py_None); resultobj = Py_None;
28684 {
28685 if (temp2)
28686 delete arg2;
28687 }
28688 return resultobj;
28689 fail:
28690 {
28691 if (temp2)
28692 delete arg2;
28693 }
28694 return NULL;
28695}
28696
28697
c370783e 28698static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28699 PyObject *resultobj;
28700 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28701 wxString result;
28702 PyObject * obj0 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "self", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28710 {
28711 PyThreadState* __tstate = wxPyBeginAllowThreads();
28712 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28713
28714 wxPyEndAllowThreads(__tstate);
28715 if (PyErr_Occurred()) SWIG_fail;
28716 }
28717 {
28718#if wxUSE_UNICODE
28719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28720#else
28721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28722#endif
28723 }
28724 return resultobj;
28725 fail:
28726 return NULL;
28727}
28728
28729
c370783e 28730static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28731 PyObject *resultobj;
28732 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28733 wxString result;
28734 PyObject * obj0 = 0 ;
28735 char *kwnames[] = {
28736 (char *) "self", NULL
28737 };
28738
28739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28742 {
28743 PyThreadState* __tstate = wxPyBeginAllowThreads();
28744 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28745
28746 wxPyEndAllowThreads(__tstate);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 }
28749 {
28750#if wxUSE_UNICODE
28751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28752#else
28753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28754#endif
28755 }
28756 return resultobj;
28757 fail:
28758 return NULL;
28759}
28760
28761
c370783e 28762static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28763 PyObject *resultobj;
28764 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28765 wxString *arg2 = 0 ;
b411df4a 28766 bool temp2 = false ;
d55e5bfc
RD
28767 PyObject * obj0 = 0 ;
28768 PyObject * obj1 = 0 ;
28769 char *kwnames[] = {
28770 (char *) "self",(char *) "path", NULL
28771 };
28772
28773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28776 {
28777 arg2 = wxString_in_helper(obj1);
28778 if (arg2 == NULL) SWIG_fail;
b411df4a 28779 temp2 = true;
d55e5bfc
RD
28780 }
28781 {
28782 PyThreadState* __tstate = wxPyBeginAllowThreads();
28783 (arg1)->SetPath((wxString const &)*arg2);
28784
28785 wxPyEndAllowThreads(__tstate);
28786 if (PyErr_Occurred()) SWIG_fail;
28787 }
28788 Py_INCREF(Py_None); resultobj = Py_None;
28789 {
28790 if (temp2)
28791 delete arg2;
28792 }
28793 return resultobj;
28794 fail:
28795 {
28796 if (temp2)
28797 delete arg2;
28798 }
28799 return NULL;
28800}
28801
28802
c370783e 28803static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28804 PyObject *resultobj;
28805 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28806 bool arg2 ;
28807 PyObject * obj0 = 0 ;
28808 PyObject * obj1 = 0 ;
28809 char *kwnames[] = {
28810 (char *) "self",(char *) "show", NULL
28811 };
28812
28813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 28816 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
28817 if (PyErr_Occurred()) SWIG_fail;
28818 {
28819 PyThreadState* __tstate = wxPyBeginAllowThreads();
28820 (arg1)->ShowHidden(arg2);
28821
28822 wxPyEndAllowThreads(__tstate);
28823 if (PyErr_Occurred()) SWIG_fail;
28824 }
28825 Py_INCREF(Py_None); resultobj = Py_None;
28826 return resultobj;
28827 fail:
28828 return NULL;
28829}
28830
28831
c370783e 28832static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28833 PyObject *resultobj;
28834 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28835 bool result;
28836 PyObject * obj0 = 0 ;
28837 char *kwnames[] = {
28838 (char *) "self", NULL
28839 };
28840
28841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28844 {
28845 PyThreadState* __tstate = wxPyBeginAllowThreads();
28846 result = (bool)(arg1)->GetShowHidden();
28847
28848 wxPyEndAllowThreads(__tstate);
28849 if (PyErr_Occurred()) SWIG_fail;
28850 }
28851 {
28852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28853 }
28854 return resultobj;
28855 fail:
28856 return NULL;
28857}
28858
28859
c370783e 28860static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28861 PyObject *resultobj;
28862 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28863 wxString result;
28864 PyObject * obj0 = 0 ;
28865 char *kwnames[] = {
28866 (char *) "self", NULL
28867 };
28868
28869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28872 {
28873 PyThreadState* __tstate = wxPyBeginAllowThreads();
28874 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28875
28876 wxPyEndAllowThreads(__tstate);
28877 if (PyErr_Occurred()) SWIG_fail;
28878 }
28879 {
28880#if wxUSE_UNICODE
28881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28882#else
28883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28884#endif
28885 }
28886 return resultobj;
28887 fail:
28888 return NULL;
28889}
28890
28891
c370783e 28892static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28893 PyObject *resultobj;
28894 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28895 wxString *arg2 = 0 ;
b411df4a 28896 bool temp2 = false ;
d55e5bfc
RD
28897 PyObject * obj0 = 0 ;
28898 PyObject * obj1 = 0 ;
28899 char *kwnames[] = {
28900 (char *) "self",(char *) "filter", NULL
28901 };
28902
28903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28906 {
28907 arg2 = wxString_in_helper(obj1);
28908 if (arg2 == NULL) SWIG_fail;
b411df4a 28909 temp2 = true;
d55e5bfc
RD
28910 }
28911 {
28912 PyThreadState* __tstate = wxPyBeginAllowThreads();
28913 (arg1)->SetFilter((wxString const &)*arg2);
28914
28915 wxPyEndAllowThreads(__tstate);
28916 if (PyErr_Occurred()) SWIG_fail;
28917 }
28918 Py_INCREF(Py_None); resultobj = Py_None;
28919 {
28920 if (temp2)
28921 delete arg2;
28922 }
28923 return resultobj;
28924 fail:
28925 {
28926 if (temp2)
28927 delete arg2;
28928 }
28929 return NULL;
28930}
28931
28932
c370783e 28933static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28934 PyObject *resultobj;
28935 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28936 int result;
28937 PyObject * obj0 = 0 ;
28938 char *kwnames[] = {
28939 (char *) "self", NULL
28940 };
28941
28942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28945 {
28946 PyThreadState* __tstate = wxPyBeginAllowThreads();
28947 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28948
28949 wxPyEndAllowThreads(__tstate);
28950 if (PyErr_Occurred()) SWIG_fail;
28951 }
c370783e 28952 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
28953 return resultobj;
28954 fail:
28955 return NULL;
28956}
28957
28958
c370783e 28959static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28960 PyObject *resultobj;
28961 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28962 int arg2 ;
28963 PyObject * obj0 = 0 ;
28964 PyObject * obj1 = 0 ;
28965 char *kwnames[] = {
28966 (char *) "self",(char *) "n", NULL
28967 };
28968
28969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 28972 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
28973 if (PyErr_Occurred()) SWIG_fail;
28974 {
28975 PyThreadState* __tstate = wxPyBeginAllowThreads();
28976 (arg1)->SetFilterIndex(arg2);
28977
28978 wxPyEndAllowThreads(__tstate);
28979 if (PyErr_Occurred()) SWIG_fail;
28980 }
28981 Py_INCREF(Py_None); resultobj = Py_None;
28982 return resultobj;
28983 fail:
28984 return NULL;
28985}
28986
28987
c370783e 28988static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28989 PyObject *resultobj;
28990 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28991 wxTreeItemId result;
28992 PyObject * obj0 = 0 ;
28993 char *kwnames[] = {
28994 (char *) "self", NULL
28995 };
28996
28997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29000 {
29001 PyThreadState* __tstate = wxPyBeginAllowThreads();
29002 result = (arg1)->GetRootId();
29003
29004 wxPyEndAllowThreads(__tstate);
29005 if (PyErr_Occurred()) SWIG_fail;
29006 }
29007 {
29008 wxTreeItemId * resultptr;
29009 resultptr = new wxTreeItemId((wxTreeItemId &) result);
29010 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29011 }
29012 return resultobj;
29013 fail:
29014 return NULL;
29015}
29016
29017
c370783e 29018static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29019 PyObject *resultobj;
29020 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29021 wxPyTreeCtrl *result;
29022 PyObject * obj0 = 0 ;
29023 char *kwnames[] = {
29024 (char *) "self", NULL
29025 };
29026
29027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
29028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29030 {
29031 PyThreadState* __tstate = wxPyBeginAllowThreads();
29032 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
29033
29034 wxPyEndAllowThreads(__tstate);
29035 if (PyErr_Occurred()) SWIG_fail;
29036 }
29037 {
412d302d 29038 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29039 }
29040 return resultobj;
29041 fail:
29042 return NULL;
29043}
29044
29045
c370783e 29046static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29047 PyObject *resultobj;
29048 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29049 wxDirFilterListCtrl *result;
29050 PyObject * obj0 = 0 ;
29051 char *kwnames[] = {
29052 (char *) "self", NULL
29053 };
29054
29055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
29056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29058 {
29059 PyThreadState* __tstate = wxPyBeginAllowThreads();
29060 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
29061
29062 wxPyEndAllowThreads(__tstate);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
29065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
29066 return resultobj;
29067 fail:
29068 return NULL;
29069}
29070
29071
c370783e 29072static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29073 PyObject *resultobj;
29074 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29075 wxTreeItemId arg2 ;
29076 wxString *arg3 = 0 ;
29077 bool *arg4 = 0 ;
29078 wxTreeItemId result;
29079 wxTreeItemId *argp2 ;
b411df4a 29080 bool temp3 = false ;
d55e5bfc 29081 bool temp4 ;
c370783e 29082 int res4 = 0 ;
d55e5bfc
RD
29083 PyObject * obj0 = 0 ;
29084 PyObject * obj1 = 0 ;
29085 PyObject * obj2 = 0 ;
29086 char *kwnames[] = {
29087 (char *) "self",(char *) "parentId",(char *) "path", NULL
29088 };
29089
c370783e 29090 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
29091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29094 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
29095 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29096 arg2 = *argp2;
29097 {
29098 arg3 = wxString_in_helper(obj2);
29099 if (arg3 == NULL) SWIG_fail;
b411df4a 29100 temp3 = true;
d55e5bfc
RD
29101 }
29102 {
29103 PyThreadState* __tstate = wxPyBeginAllowThreads();
29104 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
29105
29106 wxPyEndAllowThreads(__tstate);
29107 if (PyErr_Occurred()) SWIG_fail;
29108 }
29109 {
29110 wxTreeItemId * resultptr;
29111 resultptr = new wxTreeItemId((wxTreeItemId &) result);
29112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29113 }
c370783e
RD
29114 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29115 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
29116 {
29117 if (temp3)
29118 delete arg3;
29119 }
29120 return resultobj;
29121 fail:
29122 {
29123 if (temp3)
29124 delete arg3;
29125 }
29126 return NULL;
29127}
29128
29129
c370783e 29130static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29131 PyObject *resultobj;
29132 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29133 PyObject * obj0 = 0 ;
29134 char *kwnames[] = {
29135 (char *) "self", NULL
29136 };
29137
29138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
29139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29141 {
29142 PyThreadState* __tstate = wxPyBeginAllowThreads();
29143 (arg1)->DoResize();
29144
29145 wxPyEndAllowThreads(__tstate);
29146 if (PyErr_Occurred()) SWIG_fail;
29147 }
29148 Py_INCREF(Py_None); resultobj = Py_None;
29149 return resultobj;
29150 fail:
29151 return NULL;
29152}
29153
29154
c370783e 29155static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29156 PyObject *resultobj;
29157 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29158 PyObject * obj0 = 0 ;
29159 char *kwnames[] = {
29160 (char *) "self", NULL
29161 };
29162
29163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
29164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 (arg1)->ReCreateTree();
29169
29170 wxPyEndAllowThreads(__tstate);
29171 if (PyErr_Occurred()) SWIG_fail;
29172 }
29173 Py_INCREF(Py_None); resultobj = Py_None;
29174 return resultobj;
29175 fail:
29176 return NULL;
29177}
29178
29179
c370783e 29180static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29181 PyObject *obj;
29182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29183 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
29184 Py_INCREF(obj);
29185 return Py_BuildValue((char *)"");
29186}
c370783e 29187static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29188 PyObject *resultobj;
29189 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29190 int arg2 = (int) (int)-1 ;
29191 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29192 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29193 wxSize const &arg4_defvalue = wxDefaultSize ;
29194 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29195 long arg5 = (long) 0 ;
29196 wxDirFilterListCtrl *result;
29197 wxPoint temp3 ;
29198 wxSize temp4 ;
29199 PyObject * obj0 = 0 ;
29200 PyObject * obj1 = 0 ;
29201 PyObject * obj2 = 0 ;
29202 PyObject * obj3 = 0 ;
29203 PyObject * obj4 = 0 ;
29204 char *kwnames[] = {
29205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29206 };
29207
29208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29211 if (obj1) {
c370783e 29212 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
29213 if (PyErr_Occurred()) SWIG_fail;
29214 }
29215 if (obj2) {
29216 {
29217 arg3 = &temp3;
29218 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29219 }
29220 }
29221 if (obj3) {
29222 {
29223 arg4 = &temp4;
29224 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29225 }
29226 }
29227 if (obj4) {
c370783e 29228 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
29229 if (PyErr_Occurred()) SWIG_fail;
29230 }
29231 {
0439c23b 29232 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29233 PyThreadState* __tstate = wxPyBeginAllowThreads();
29234 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29235
29236 wxPyEndAllowThreads(__tstate);
110da5b0 29237 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29238 }
29239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29240 return resultobj;
29241 fail:
29242 return NULL;
29243}
29244
29245
c370783e 29246static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29247 PyObject *resultobj;
29248 wxDirFilterListCtrl *result;
29249 char *kwnames[] = {
29250 NULL
29251 };
29252
29253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
29254 {
0439c23b 29255 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29256 PyThreadState* __tstate = wxPyBeginAllowThreads();
29257 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
29258
29259 wxPyEndAllowThreads(__tstate);
110da5b0 29260 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29261 }
29262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29263 return resultobj;
29264 fail:
29265 return NULL;
29266}
29267
29268
c370783e 29269static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29270 PyObject *resultobj;
29271 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29272 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
29273 int arg3 = (int) (int)-1 ;
29274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29276 wxSize const &arg5_defvalue = wxDefaultSize ;
29277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29278 long arg6 = (long) 0 ;
29279 bool result;
29280 wxPoint temp4 ;
29281 wxSize temp5 ;
29282 PyObject * obj0 = 0 ;
29283 PyObject * obj1 = 0 ;
29284 PyObject * obj2 = 0 ;
29285 PyObject * obj3 = 0 ;
29286 PyObject * obj4 = 0 ;
29287 PyObject * obj5 = 0 ;
29288 char *kwnames[] = {
29289 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29290 };
29291
29292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
29296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29297 if (obj2) {
c370783e 29298 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
29299 if (PyErr_Occurred()) SWIG_fail;
29300 }
29301 if (obj3) {
29302 {
29303 arg4 = &temp4;
29304 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29305 }
29306 }
29307 if (obj4) {
29308 {
29309 arg5 = &temp5;
29310 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29311 }
29312 }
29313 if (obj5) {
c370783e 29314 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
29315 if (PyErr_Occurred()) SWIG_fail;
29316 }
29317 {
29318 PyThreadState* __tstate = wxPyBeginAllowThreads();
29319 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
29320
29321 wxPyEndAllowThreads(__tstate);
29322 if (PyErr_Occurred()) SWIG_fail;
29323 }
29324 {
29325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29326 }
29327 return resultobj;
29328 fail:
29329 return NULL;
29330}
29331
29332
c370783e 29333static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29334 PyObject *resultobj;
29335 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29336 wxString *arg2 = 0 ;
29337 int arg3 ;
b411df4a 29338 bool temp2 = false ;
d55e5bfc
RD
29339 PyObject * obj0 = 0 ;
29340 PyObject * obj1 = 0 ;
29341 PyObject * obj2 = 0 ;
29342 char *kwnames[] = {
29343 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29344 };
29345
29346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
29347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29349 {
29350 arg2 = wxString_in_helper(obj1);
29351 if (arg2 == NULL) SWIG_fail;
b411df4a 29352 temp2 = true;
d55e5bfc 29353 }
c370783e 29354 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
29355 if (PyErr_Occurred()) SWIG_fail;
29356 {
29357 PyThreadState* __tstate = wxPyBeginAllowThreads();
29358 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
29359
29360 wxPyEndAllowThreads(__tstate);
29361 if (PyErr_Occurred()) SWIG_fail;
29362 }
29363 Py_INCREF(Py_None); resultobj = Py_None;
29364 {
29365 if (temp2)
29366 delete arg2;
29367 }
29368 return resultobj;
29369 fail:
29370 {
29371 if (temp2)
29372 delete arg2;
29373 }
29374 return NULL;
29375}
29376
29377
c370783e 29378static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29379 PyObject *obj;
29380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29381 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
29382 Py_INCREF(obj);
29383 return Py_BuildValue((char *)"");
29384}
c370783e 29385static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29386 PyObject *resultobj;
29387 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 29388 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
29389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29391 wxSize const &arg4_defvalue = wxDefaultSize ;
29392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29393 long arg5 = (long) 0 ;
29394 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29395 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29396 wxString const &arg7_defvalue = wxPyControlNameStr ;
29397 wxString *arg7 = (wxString *) &arg7_defvalue ;
29398 wxPyControl *result;
29399 wxPoint temp3 ;
29400 wxSize temp4 ;
b411df4a 29401 bool temp7 = false ;
d55e5bfc
RD
29402 PyObject * obj0 = 0 ;
29403 PyObject * obj1 = 0 ;
29404 PyObject * obj2 = 0 ;
29405 PyObject * obj3 = 0 ;
29406 PyObject * obj4 = 0 ;
29407 PyObject * obj5 = 0 ;
29408 PyObject * obj6 = 0 ;
29409 char *kwnames[] = {
29410 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29411 };
29412
bfddbb17 29413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
29414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17 29416 if (obj1) {
c370783e 29417 arg2 = (int)SWIG_As_int(obj1);
bfddbb17
RD
29418 if (PyErr_Occurred()) SWIG_fail;
29419 }
d55e5bfc
RD
29420 if (obj2) {
29421 {
29422 arg3 = &temp3;
29423 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29424 }
29425 }
29426 if (obj3) {
29427 {
29428 arg4 = &temp4;
29429 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29430 }
29431 }
29432 if (obj4) {
c370783e 29433 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
29434 if (PyErr_Occurred()) SWIG_fail;
29435 }
29436 if (obj5) {
29437 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29438 SWIG_POINTER_EXCEPTION | 0)) == -1)
29439 SWIG_fail;
29440 if (arg6 == NULL) {
29441 PyErr_SetString(PyExc_TypeError,"null reference");
29442 SWIG_fail;
29443 }
29444 }
29445 if (obj6) {
29446 {
29447 arg7 = wxString_in_helper(obj6);
29448 if (arg7 == NULL) SWIG_fail;
b411df4a 29449 temp7 = true;
d55e5bfc
RD
29450 }
29451 }
29452 {
0439c23b 29453 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29454 PyThreadState* __tstate = wxPyBeginAllowThreads();
29455 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29456
29457 wxPyEndAllowThreads(__tstate);
110da5b0 29458 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29459 }
29460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29461 {
29462 if (temp7)
29463 delete arg7;
29464 }
29465 return resultobj;
29466 fail:
29467 {
29468 if (temp7)
29469 delete arg7;
29470 }
29471 return NULL;
29472}
29473
29474
c370783e 29475static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29476 PyObject *resultobj;
29477 wxPyControl *result;
29478 char *kwnames[] = {
29479 NULL
29480 };
29481
29482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29483 {
0439c23b 29484 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29485 PyThreadState* __tstate = wxPyBeginAllowThreads();
29486 result = (wxPyControl *)new wxPyControl();
29487
29488 wxPyEndAllowThreads(__tstate);
110da5b0 29489 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29490 }
29491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29492 return resultobj;
29493 fail:
29494 return NULL;
29495}
29496
29497
c370783e 29498static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29499 PyObject *resultobj;
29500 wxPyControl *arg1 = (wxPyControl *) 0 ;
29501 PyObject *arg2 = (PyObject *) 0 ;
29502 PyObject *arg3 = (PyObject *) 0 ;
29503 PyObject * obj0 = 0 ;
29504 PyObject * obj1 = 0 ;
29505 PyObject * obj2 = 0 ;
29506 char *kwnames[] = {
29507 (char *) "self",(char *) "self",(char *) "_class", NULL
29508 };
29509
29510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29513 arg2 = obj1;
29514 arg3 = obj2;
29515 {
29516 PyThreadState* __tstate = wxPyBeginAllowThreads();
29517 (arg1)->_setCallbackInfo(arg2,arg3);
29518
29519 wxPyEndAllowThreads(__tstate);
29520 if (PyErr_Occurred()) SWIG_fail;
29521 }
29522 Py_INCREF(Py_None); resultobj = Py_None;
29523 return resultobj;
29524 fail:
29525 return NULL;
29526}
29527
29528
c370783e 29529static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
29530 PyObject *resultobj;
29531 wxPyControl *arg1 = (wxPyControl *) 0 ;
29532 wxSize *arg2 = 0 ;
29533 wxSize temp2 ;
29534 PyObject * obj0 = 0 ;
29535 PyObject * obj1 = 0 ;
29536 char *kwnames[] = {
29537 (char *) "self",(char *) "size", NULL
29538 };
29539
29540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29543 {
29544 arg2 = &temp2;
29545 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29546 }
29547 {
29548 PyThreadState* __tstate = wxPyBeginAllowThreads();
29549 (arg1)->SetBestSize((wxSize const &)*arg2);
29550
29551 wxPyEndAllowThreads(__tstate);
29552 if (PyErr_Occurred()) SWIG_fail;
29553 }
29554 Py_INCREF(Py_None); resultobj = Py_None;
29555 return resultobj;
29556 fail:
29557 return NULL;
29558}
29559
29560
c370783e 29561static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29562 PyObject *resultobj;
29563 wxPyControl *arg1 = (wxPyControl *) 0 ;
29564 int arg2 ;
29565 int arg3 ;
29566 int arg4 ;
29567 int arg5 ;
29568 PyObject * obj0 = 0 ;
29569 PyObject * obj1 = 0 ;
29570 PyObject * obj2 = 0 ;
29571 PyObject * obj3 = 0 ;
29572 PyObject * obj4 = 0 ;
29573 char *kwnames[] = {
29574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29575 };
29576
29577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 29580 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 29581 if (PyErr_Occurred()) SWIG_fail;
c370783e 29582 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 29583 if (PyErr_Occurred()) SWIG_fail;
c370783e 29584 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 29585 if (PyErr_Occurred()) SWIG_fail;
c370783e 29586 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
29587 if (PyErr_Occurred()) SWIG_fail;
29588 {
29589 PyThreadState* __tstate = wxPyBeginAllowThreads();
29590 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29591
29592 wxPyEndAllowThreads(__tstate);
29593 if (PyErr_Occurred()) SWIG_fail;
29594 }
29595 Py_INCREF(Py_None); resultobj = Py_None;
29596 return resultobj;
29597 fail:
29598 return NULL;
29599}
29600
29601
c370783e 29602static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29603 PyObject *resultobj;
29604 wxPyControl *arg1 = (wxPyControl *) 0 ;
29605 int arg2 ;
29606 int arg3 ;
29607 int arg4 ;
29608 int arg5 ;
29609 int arg6 = (int) wxSIZE_AUTO ;
29610 PyObject * obj0 = 0 ;
29611 PyObject * obj1 = 0 ;
29612 PyObject * obj2 = 0 ;
29613 PyObject * obj3 = 0 ;
29614 PyObject * obj4 = 0 ;
29615 PyObject * obj5 = 0 ;
29616 char *kwnames[] = {
29617 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29618 };
29619
29620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 29623 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 29624 if (PyErr_Occurred()) SWIG_fail;
c370783e 29625 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 29626 if (PyErr_Occurred()) SWIG_fail;
c370783e 29627 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 29628 if (PyErr_Occurred()) SWIG_fail;
c370783e 29629 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
29630 if (PyErr_Occurred()) SWIG_fail;
29631 if (obj5) {
c370783e 29632 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
29633 if (PyErr_Occurred()) SWIG_fail;
29634 }
29635 {
29636 PyThreadState* __tstate = wxPyBeginAllowThreads();
29637 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29638
29639 wxPyEndAllowThreads(__tstate);
29640 if (PyErr_Occurred()) SWIG_fail;
29641 }
29642 Py_INCREF(Py_None); resultobj = Py_None;
29643 return resultobj;
29644 fail:
29645 return NULL;
29646}
29647
29648
c370783e 29649static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29650 PyObject *resultobj;
29651 wxPyControl *arg1 = (wxPyControl *) 0 ;
29652 int arg2 ;
29653 int arg3 ;
29654 PyObject * obj0 = 0 ;
29655 PyObject * obj1 = 0 ;
29656 PyObject * obj2 = 0 ;
29657 char *kwnames[] = {
29658 (char *) "self",(char *) "width",(char *) "height", NULL
29659 };
29660
29661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 29664 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 29665 if (PyErr_Occurred()) SWIG_fail;
c370783e 29666 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
29667 if (PyErr_Occurred()) SWIG_fail;
29668 {
29669 PyThreadState* __tstate = wxPyBeginAllowThreads();
29670 (arg1)->base_DoSetClientSize(arg2,arg3);
29671
29672 wxPyEndAllowThreads(__tstate);
29673 if (PyErr_Occurred()) SWIG_fail;
29674 }
29675 Py_INCREF(Py_None); resultobj = Py_None;
29676 return resultobj;
29677 fail:
29678 return NULL;
29679}
29680
29681
c370783e 29682static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29683 PyObject *resultobj;
29684 wxPyControl *arg1 = (wxPyControl *) 0 ;
29685 int arg2 ;
29686 int arg3 ;
29687 PyObject * obj0 = 0 ;
29688 PyObject * obj1 = 0 ;
29689 PyObject * obj2 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "self",(char *) "x",(char *) "y", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 29697 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 29698 if (PyErr_Occurred()) SWIG_fail;
c370783e 29699 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
29700 if (PyErr_Occurred()) SWIG_fail;
29701 {
29702 PyThreadState* __tstate = wxPyBeginAllowThreads();
29703 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29704
29705 wxPyEndAllowThreads(__tstate);
29706 if (PyErr_Occurred()) SWIG_fail;
29707 }
29708 Py_INCREF(Py_None); resultobj = Py_None;
29709 return resultobj;
29710 fail:
29711 return NULL;
29712}
29713
29714
c370783e 29715static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29716 PyObject *resultobj;
29717 wxPyControl *arg1 = (wxPyControl *) 0 ;
29718 int *arg2 = (int *) 0 ;
29719 int *arg3 = (int *) 0 ;
29720 int temp2 ;
c370783e 29721 int res2 = 0 ;
d55e5bfc 29722 int temp3 ;
c370783e 29723 int res3 = 0 ;
d55e5bfc
RD
29724 PyObject * obj0 = 0 ;
29725 char *kwnames[] = {
29726 (char *) "self", NULL
29727 };
29728
c370783e
RD
29729 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29730 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
29731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29734 {
29735 PyThreadState* __tstate = wxPyBeginAllowThreads();
29736 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29737
29738 wxPyEndAllowThreads(__tstate);
29739 if (PyErr_Occurred()) SWIG_fail;
29740 }
29741 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
29742 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29743 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29744 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29745 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
29746 return resultobj;
29747 fail:
29748 return NULL;
29749}
29750
29751
c370783e 29752static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29753 PyObject *resultobj;
29754 wxPyControl *arg1 = (wxPyControl *) 0 ;
29755 int *arg2 = (int *) 0 ;
29756 int *arg3 = (int *) 0 ;
29757 int temp2 ;
c370783e 29758 int res2 = 0 ;
d55e5bfc 29759 int temp3 ;
c370783e 29760 int res3 = 0 ;
d55e5bfc
RD
29761 PyObject * obj0 = 0 ;
29762 char *kwnames[] = {
29763 (char *) "self", NULL
29764 };
29765
c370783e
RD
29766 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29767 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
29768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29771 {
29772 PyThreadState* __tstate = wxPyBeginAllowThreads();
29773 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29774
29775 wxPyEndAllowThreads(__tstate);
29776 if (PyErr_Occurred()) SWIG_fail;
29777 }
29778 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
29779 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29780 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29781 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29782 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
29783 return resultobj;
29784 fail:
29785 return NULL;
29786}
29787
29788
c370783e 29789static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29790 PyObject *resultobj;
29791 wxPyControl *arg1 = (wxPyControl *) 0 ;
29792 int *arg2 = (int *) 0 ;
29793 int *arg3 = (int *) 0 ;
29794 int temp2 ;
c370783e 29795 int res2 = 0 ;
d55e5bfc 29796 int temp3 ;
c370783e 29797 int res3 = 0 ;
d55e5bfc
RD
29798 PyObject * obj0 = 0 ;
29799 char *kwnames[] = {
29800 (char *) "self", NULL
29801 };
29802
c370783e
RD
29803 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29804 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
29805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29808 {
29809 PyThreadState* __tstate = wxPyBeginAllowThreads();
29810 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29811
29812 wxPyEndAllowThreads(__tstate);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
29815 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
29816 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29817 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29818 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29819 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
29820 return resultobj;
29821 fail:
29822 return NULL;
29823}
29824
29825
c370783e 29826static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29827 PyObject *resultobj;
29828 wxPyControl *arg1 = (wxPyControl *) 0 ;
29829 wxSize result;
29830 PyObject * obj0 = 0 ;
29831 char *kwnames[] = {
29832 (char *) "self", NULL
29833 };
29834
29835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29838 {
29839 PyThreadState* __tstate = wxPyBeginAllowThreads();
29840 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29841
29842 wxPyEndAllowThreads(__tstate);
29843 if (PyErr_Occurred()) SWIG_fail;
29844 }
29845 {
29846 wxSize * resultptr;
29847 resultptr = new wxSize((wxSize &) result);
29848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29849 }
29850 return resultobj;
29851 fail:
29852 return NULL;
29853}
29854
29855
c370783e 29856static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29857 PyObject *resultobj;
29858 wxPyControl *arg1 = (wxPyControl *) 0 ;
29859 wxSize result;
29860 PyObject * obj0 = 0 ;
29861 char *kwnames[] = {
29862 (char *) "self", NULL
29863 };
29864
29865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29868 {
29869 PyThreadState* __tstate = wxPyBeginAllowThreads();
29870 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29871
29872 wxPyEndAllowThreads(__tstate);
29873 if (PyErr_Occurred()) SWIG_fail;
29874 }
29875 {
29876 wxSize * resultptr;
29877 resultptr = new wxSize((wxSize &) result);
29878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29879 }
29880 return resultobj;
29881 fail:
29882 return NULL;
29883}
29884
29885
c370783e 29886static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29887 PyObject *resultobj;
29888 wxPyControl *arg1 = (wxPyControl *) 0 ;
29889 PyObject * obj0 = 0 ;
29890 char *kwnames[] = {
29891 (char *) "self", NULL
29892 };
29893
29894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29897 {
29898 PyThreadState* __tstate = wxPyBeginAllowThreads();
29899 (arg1)->base_InitDialog();
29900
29901 wxPyEndAllowThreads(__tstate);
29902 if (PyErr_Occurred()) SWIG_fail;
29903 }
29904 Py_INCREF(Py_None); resultobj = Py_None;
29905 return resultobj;
29906 fail:
29907 return NULL;
29908}
29909
29910
c370783e 29911static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29912 PyObject *resultobj;
29913 wxPyControl *arg1 = (wxPyControl *) 0 ;
29914 bool result;
29915 PyObject * obj0 = 0 ;
29916 char *kwnames[] = {
29917 (char *) "self", NULL
29918 };
29919
29920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29923 {
29924 PyThreadState* __tstate = wxPyBeginAllowThreads();
29925 result = (bool)(arg1)->base_TransferDataToWindow();
29926
29927 wxPyEndAllowThreads(__tstate);
29928 if (PyErr_Occurred()) SWIG_fail;
29929 }
29930 {
29931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29932 }
29933 return resultobj;
29934 fail:
29935 return NULL;
29936}
29937
29938
c370783e 29939static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29940 PyObject *resultobj;
29941 wxPyControl *arg1 = (wxPyControl *) 0 ;
29942 bool result;
29943 PyObject * obj0 = 0 ;
29944 char *kwnames[] = {
29945 (char *) "self", NULL
29946 };
29947
29948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29951 {
29952 PyThreadState* __tstate = wxPyBeginAllowThreads();
29953 result = (bool)(arg1)->base_TransferDataFromWindow();
29954
29955 wxPyEndAllowThreads(__tstate);
29956 if (PyErr_Occurred()) SWIG_fail;
29957 }
29958 {
29959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29960 }
29961 return resultobj;
29962 fail:
29963 return NULL;
29964}
29965
29966
c370783e 29967static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29968 PyObject *resultobj;
29969 wxPyControl *arg1 = (wxPyControl *) 0 ;
29970 bool result;
29971 PyObject * obj0 = 0 ;
29972 char *kwnames[] = {
29973 (char *) "self", NULL
29974 };
29975
29976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
29977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29979 {
29980 PyThreadState* __tstate = wxPyBeginAllowThreads();
29981 result = (bool)(arg1)->base_Validate();
29982
29983 wxPyEndAllowThreads(__tstate);
29984 if (PyErr_Occurred()) SWIG_fail;
29985 }
29986 {
29987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29988 }
29989 return resultobj;
29990 fail:
29991 return NULL;
29992}
29993
29994
c370783e 29995static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29996 PyObject *resultobj;
29997 wxPyControl *arg1 = (wxPyControl *) 0 ;
29998 bool result;
29999 PyObject * obj0 = 0 ;
30000 char *kwnames[] = {
30001 (char *) "self", NULL
30002 };
30003
30004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
30005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30007 {
30008 PyThreadState* __tstate = wxPyBeginAllowThreads();
30009 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
30010
30011 wxPyEndAllowThreads(__tstate);
30012 if (PyErr_Occurred()) SWIG_fail;
30013 }
30014 {
30015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30016 }
30017 return resultobj;
30018 fail:
30019 return NULL;
30020}
30021
30022
c370783e 30023static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30024 PyObject *resultobj;
30025 wxPyControl *arg1 = (wxPyControl *) 0 ;
30026 bool result;
30027 PyObject * obj0 = 0 ;
30028 char *kwnames[] = {
30029 (char *) "self", NULL
30030 };
30031
30032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
30033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30035 {
30036 PyThreadState* __tstate = wxPyBeginAllowThreads();
30037 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
30038
30039 wxPyEndAllowThreads(__tstate);
30040 if (PyErr_Occurred()) SWIG_fail;
30041 }
30042 {
30043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30044 }
30045 return resultobj;
30046 fail:
30047 return NULL;
30048}
30049
30050
c370783e 30051static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30052 PyObject *resultobj;
30053 wxPyControl *arg1 = (wxPyControl *) 0 ;
30054 wxSize result;
30055 PyObject * obj0 = 0 ;
30056 char *kwnames[] = {
30057 (char *) "self", NULL
30058 };
30059
30060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
30061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30063 {
30064 PyThreadState* __tstate = wxPyBeginAllowThreads();
30065 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
30066
30067 wxPyEndAllowThreads(__tstate);
30068 if (PyErr_Occurred()) SWIG_fail;
30069 }
30070 {
30071 wxSize * resultptr;
30072 resultptr = new wxSize((wxSize &) result);
30073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
30074 }
30075 return resultobj;
30076 fail:
30077 return NULL;
30078}
30079
30080
c370783e 30081static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30082 PyObject *resultobj;
30083 wxPyControl *arg1 = (wxPyControl *) 0 ;
30084 wxWindow *arg2 = (wxWindow *) 0 ;
30085 PyObject * obj0 = 0 ;
30086 PyObject * obj1 = 0 ;
30087 char *kwnames[] = {
30088 (char *) "self",(char *) "child", NULL
30089 };
30090
30091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
30092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30096 {
30097 PyThreadState* __tstate = wxPyBeginAllowThreads();
30098 (arg1)->base_AddChild(arg2);
30099
30100 wxPyEndAllowThreads(__tstate);
30101 if (PyErr_Occurred()) SWIG_fail;
30102 }
30103 Py_INCREF(Py_None); resultobj = Py_None;
30104 return resultobj;
30105 fail:
30106 return NULL;
30107}
30108
30109
c370783e 30110static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30111 PyObject *resultobj;
30112 wxPyControl *arg1 = (wxPyControl *) 0 ;
30113 wxWindow *arg2 = (wxWindow *) 0 ;
30114 PyObject * obj0 = 0 ;
30115 PyObject * obj1 = 0 ;
30116 char *kwnames[] = {
30117 (char *) "self",(char *) "child", NULL
30118 };
30119
30120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
30121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30125 {
30126 PyThreadState* __tstate = wxPyBeginAllowThreads();
30127 (arg1)->base_RemoveChild(arg2);
30128
30129 wxPyEndAllowThreads(__tstate);
30130 if (PyErr_Occurred()) SWIG_fail;
30131 }
30132 Py_INCREF(Py_None); resultobj = Py_None;
30133 return resultobj;
30134 fail:
30135 return NULL;
30136}
30137
30138
c370783e 30139static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30140 PyObject *resultobj;
30141 wxPyControl *arg1 = (wxPyControl *) 0 ;
30142 bool result;
30143 PyObject * obj0 = 0 ;
30144 char *kwnames[] = {
30145 (char *) "self", NULL
30146 };
30147
30148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
30149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30151 {
30152 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 30153 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
30154
30155 wxPyEndAllowThreads(__tstate);
30156 if (PyErr_Occurred()) SWIG_fail;
30157 }
30158 {
30159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30160 }
30161 return resultobj;
30162 fail:
30163 return NULL;
30164}
30165
30166
c370783e 30167static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30168 PyObject *resultobj;
30169 wxPyControl *arg1 = (wxPyControl *) 0 ;
30170 wxColour *arg2 = 0 ;
30171 wxColour temp2 ;
30172 PyObject * obj0 = 0 ;
30173 PyObject * obj1 = 0 ;
30174 char *kwnames[] = {
30175 (char *) "self",(char *) "c", NULL
30176 };
30177
30178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
30179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30181 {
30182 arg2 = &temp2;
30183 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30184 }
30185 {
30186 PyThreadState* __tstate = wxPyBeginAllowThreads();
30187 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
30188
30189 wxPyEndAllowThreads(__tstate);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
30192 Py_INCREF(Py_None); resultobj = Py_None;
30193 return resultobj;
30194 fail:
30195 return NULL;
30196}
30197
30198
c370783e 30199static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
30200 PyObject *resultobj;
30201 wxPyControl *arg1 = (wxPyControl *) 0 ;
30202 wxVisualAttributes result;
30203 PyObject * obj0 = 0 ;
30204 char *kwnames[] = {
30205 (char *) "self", NULL
30206 };
30207
30208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
30209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30211 {
30212 PyThreadState* __tstate = wxPyBeginAllowThreads();
30213 result = (arg1)->base_GetDefaultAttributes();
30214
30215 wxPyEndAllowThreads(__tstate);
30216 if (PyErr_Occurred()) SWIG_fail;
30217 }
30218 {
30219 wxVisualAttributes * resultptr;
30220 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
30221 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30222 }
30223 return resultobj;
30224 fail:
30225 return NULL;
30226}
30227
30228
c370783e 30229static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30230 PyObject *obj;
30231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30232 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
30233 Py_INCREF(obj);
30234 return Py_BuildValue((char *)"");
30235}
c370783e 30236static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30237 PyObject *resultobj;
30238 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
30239 int arg2 = (int) 0 ;
30240 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30241 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30242 wxHelpEvent *result;
30243 wxPoint temp3 ;
30244 PyObject * obj0 = 0 ;
30245 PyObject * obj1 = 0 ;
30246 PyObject * obj2 = 0 ;
30247 char *kwnames[] = {
30248 (char *) "type",(char *) "winid",(char *) "pt", NULL
30249 };
30250
30251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30252 if (obj0) {
c370783e 30253 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
30254 if (PyErr_Occurred()) SWIG_fail;
30255 }
30256 if (obj1) {
c370783e 30257 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30258 if (PyErr_Occurred()) SWIG_fail;
30259 }
30260 if (obj2) {
30261 {
30262 arg3 = &temp3;
30263 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30264 }
30265 }
30266 {
30267 PyThreadState* __tstate = wxPyBeginAllowThreads();
30268 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
30269
30270 wxPyEndAllowThreads(__tstate);
30271 if (PyErr_Occurred()) SWIG_fail;
30272 }
30273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
30274 return resultobj;
30275 fail:
30276 return NULL;
30277}
30278
30279
c370783e 30280static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30281 PyObject *resultobj;
30282 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30283 wxPoint result;
30284 PyObject * obj0 = 0 ;
30285 char *kwnames[] = {
30286 (char *) "self", NULL
30287 };
30288
30289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
30290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30292 {
30293 PyThreadState* __tstate = wxPyBeginAllowThreads();
30294 result = ((wxHelpEvent const *)arg1)->GetPosition();
30295
30296 wxPyEndAllowThreads(__tstate);
30297 if (PyErr_Occurred()) SWIG_fail;
30298 }
30299 {
30300 wxPoint * resultptr;
30301 resultptr = new wxPoint((wxPoint &) result);
30302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30303 }
30304 return resultobj;
30305 fail:
30306 return NULL;
30307}
30308
30309
c370783e 30310static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30311 PyObject *resultobj;
30312 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30313 wxPoint *arg2 = 0 ;
30314 wxPoint temp2 ;
30315 PyObject * obj0 = 0 ;
30316 PyObject * obj1 = 0 ;
30317 char *kwnames[] = {
30318 (char *) "self",(char *) "pos", NULL
30319 };
30320
30321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
30322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30324 {
30325 arg2 = &temp2;
30326 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30327 }
30328 {
30329 PyThreadState* __tstate = wxPyBeginAllowThreads();
30330 (arg1)->SetPosition((wxPoint const &)*arg2);
30331
30332 wxPyEndAllowThreads(__tstate);
30333 if (PyErr_Occurred()) SWIG_fail;
30334 }
30335 Py_INCREF(Py_None); resultobj = Py_None;
30336 return resultobj;
30337 fail:
30338 return NULL;
30339}
30340
30341
c370783e 30342static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30343 PyObject *resultobj;
30344 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30345 wxString *result;
30346 PyObject * obj0 = 0 ;
30347 char *kwnames[] = {
30348 (char *) "self", NULL
30349 };
30350
30351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
30352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30354 {
30355 PyThreadState* __tstate = wxPyBeginAllowThreads();
30356 {
30357 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
30358 result = (wxString *) &_result_ref;
30359 }
30360
30361 wxPyEndAllowThreads(__tstate);
30362 if (PyErr_Occurred()) SWIG_fail;
30363 }
30364 {
30365#if wxUSE_UNICODE
30366 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30367#else
30368 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30369#endif
30370 }
30371 return resultobj;
30372 fail:
30373 return NULL;
30374}
30375
30376
c370783e 30377static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30378 PyObject *resultobj;
30379 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30380 wxString *arg2 = 0 ;
b411df4a 30381 bool temp2 = false ;
d55e5bfc
RD
30382 PyObject * obj0 = 0 ;
30383 PyObject * obj1 = 0 ;
30384 char *kwnames[] = {
30385 (char *) "self",(char *) "link", NULL
30386 };
30387
30388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
30389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30391 {
30392 arg2 = wxString_in_helper(obj1);
30393 if (arg2 == NULL) SWIG_fail;
b411df4a 30394 temp2 = true;
d55e5bfc
RD
30395 }
30396 {
30397 PyThreadState* __tstate = wxPyBeginAllowThreads();
30398 (arg1)->SetLink((wxString const &)*arg2);
30399
30400 wxPyEndAllowThreads(__tstate);
30401 if (PyErr_Occurred()) SWIG_fail;
30402 }
30403 Py_INCREF(Py_None); resultobj = Py_None;
30404 {
30405 if (temp2)
30406 delete arg2;
30407 }
30408 return resultobj;
30409 fail:
30410 {
30411 if (temp2)
30412 delete arg2;
30413 }
30414 return NULL;
30415}
30416
30417
c370783e 30418static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30419 PyObject *resultobj;
30420 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30421 wxString *result;
30422 PyObject * obj0 = 0 ;
30423 char *kwnames[] = {
30424 (char *) "self", NULL
30425 };
30426
30427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
30428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30430 {
30431 PyThreadState* __tstate = wxPyBeginAllowThreads();
30432 {
30433 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30434 result = (wxString *) &_result_ref;
30435 }
30436
30437 wxPyEndAllowThreads(__tstate);
30438 if (PyErr_Occurred()) SWIG_fail;
30439 }
30440 {
30441#if wxUSE_UNICODE
30442 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30443#else
30444 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30445#endif
30446 }
30447 return resultobj;
30448 fail:
30449 return NULL;
30450}
30451
30452
c370783e 30453static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30454 PyObject *resultobj;
30455 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30456 wxString *arg2 = 0 ;
b411df4a 30457 bool temp2 = false ;
d55e5bfc
RD
30458 PyObject * obj0 = 0 ;
30459 PyObject * obj1 = 0 ;
30460 char *kwnames[] = {
30461 (char *) "self",(char *) "target", NULL
30462 };
30463
30464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30467 {
30468 arg2 = wxString_in_helper(obj1);
30469 if (arg2 == NULL) SWIG_fail;
b411df4a 30470 temp2 = true;
d55e5bfc
RD
30471 }
30472 {
30473 PyThreadState* __tstate = wxPyBeginAllowThreads();
30474 (arg1)->SetTarget((wxString const &)*arg2);
30475
30476 wxPyEndAllowThreads(__tstate);
30477 if (PyErr_Occurred()) SWIG_fail;
30478 }
30479 Py_INCREF(Py_None); resultobj = Py_None;
30480 {
30481 if (temp2)
30482 delete arg2;
30483 }
30484 return resultobj;
30485 fail:
30486 {
30487 if (temp2)
30488 delete arg2;
30489 }
30490 return NULL;
30491}
30492
30493
c370783e 30494static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30495 PyObject *obj;
30496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30497 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30498 Py_INCREF(obj);
30499 return Py_BuildValue((char *)"");
30500}
c370783e 30501static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30502 PyObject *resultobj;
30503 wxWindow *arg1 = (wxWindow *) NULL ;
b411df4a 30504 bool arg2 = (bool) true ;
d55e5bfc
RD
30505 wxContextHelp *result;
30506 PyObject * obj0 = 0 ;
30507 PyObject * obj1 = 0 ;
30508 char *kwnames[] = {
30509 (char *) "window",(char *) "doNow", NULL
30510 };
30511
30512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30513 if (obj0) {
30514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30516 }
30517 if (obj1) {
c370783e 30518 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
30519 if (PyErr_Occurred()) SWIG_fail;
30520 }
30521 {
0439c23b 30522 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30523 PyThreadState* __tstate = wxPyBeginAllowThreads();
30524 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30525
30526 wxPyEndAllowThreads(__tstate);
110da5b0 30527 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30528 }
30529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30530 return resultobj;
30531 fail:
30532 return NULL;
30533}
30534
30535
c370783e 30536static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30537 PyObject *resultobj;
30538 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30539 PyObject * obj0 = 0 ;
30540 char *kwnames[] = {
30541 (char *) "self", NULL
30542 };
30543
30544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30547 {
30548 PyThreadState* __tstate = wxPyBeginAllowThreads();
30549 delete arg1;
30550
30551 wxPyEndAllowThreads(__tstate);
30552 if (PyErr_Occurred()) SWIG_fail;
30553 }
30554 Py_INCREF(Py_None); resultobj = Py_None;
30555 return resultobj;
30556 fail:
30557 return NULL;
30558}
30559
30560
c370783e 30561static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30562 PyObject *resultobj;
30563 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30564 wxWindow *arg2 = (wxWindow *) NULL ;
30565 bool result;
30566 PyObject * obj0 = 0 ;
30567 PyObject * obj1 = 0 ;
30568 char *kwnames[] = {
30569 (char *) "self",(char *) "window", NULL
30570 };
30571
30572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30575 if (obj1) {
30576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30578 }
30579 {
30580 PyThreadState* __tstate = wxPyBeginAllowThreads();
30581 result = (bool)(arg1)->BeginContextHelp(arg2);
30582
30583 wxPyEndAllowThreads(__tstate);
30584 if (PyErr_Occurred()) SWIG_fail;
30585 }
30586 {
30587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30588 }
30589 return resultobj;
30590 fail:
30591 return NULL;
30592}
30593
30594
c370783e 30595static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30596 PyObject *resultobj;
30597 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30598 bool result;
30599 PyObject * obj0 = 0 ;
30600 char *kwnames[] = {
30601 (char *) "self", NULL
30602 };
30603
30604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30607 {
30608 PyThreadState* __tstate = wxPyBeginAllowThreads();
30609 result = (bool)(arg1)->EndContextHelp();
30610
30611 wxPyEndAllowThreads(__tstate);
30612 if (PyErr_Occurred()) SWIG_fail;
30613 }
30614 {
30615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30616 }
30617 return resultobj;
30618 fail:
30619 return NULL;
30620}
30621
30622
c370783e 30623static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30624 PyObject *obj;
30625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30626 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30627 Py_INCREF(obj);
30628 return Py_BuildValue((char *)"");
30629}
c370783e 30630static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30631 PyObject *resultobj;
30632 wxWindow *arg1 = (wxWindow *) 0 ;
30633 int arg2 = (int) wxID_CONTEXT_HELP ;
30634 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30635 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30636 wxSize const &arg4_defvalue = wxDefaultSize ;
30637 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30638 long arg5 = (long) wxBU_AUTODRAW ;
30639 wxContextHelpButton *result;
30640 wxPoint temp3 ;
30641 wxSize temp4 ;
30642 PyObject * obj0 = 0 ;
30643 PyObject * obj1 = 0 ;
30644 PyObject * obj2 = 0 ;
30645 PyObject * obj3 = 0 ;
30646 PyObject * obj4 = 0 ;
30647 char *kwnames[] = {
30648 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30649 };
30650
30651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30654 if (obj1) {
c370783e 30655 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30656 if (PyErr_Occurred()) SWIG_fail;
30657 }
30658 if (obj2) {
30659 {
30660 arg3 = &temp3;
30661 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30662 }
30663 }
30664 if (obj3) {
30665 {
30666 arg4 = &temp4;
30667 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30668 }
30669 }
30670 if (obj4) {
c370783e 30671 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
30672 if (PyErr_Occurred()) SWIG_fail;
30673 }
30674 {
0439c23b 30675 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30678
30679 wxPyEndAllowThreads(__tstate);
110da5b0 30680 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30681 }
30682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30683 return resultobj;
30684 fail:
30685 return NULL;
30686}
30687
30688
c370783e 30689static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30690 PyObject *obj;
30691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30692 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30693 Py_INCREF(obj);
30694 return Py_BuildValue((char *)"");
30695}
c370783e 30696static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30697 PyObject *resultobj;
30698 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30699 wxHelpProvider *result;
30700 PyObject * obj0 = 0 ;
30701 char *kwnames[] = {
30702 (char *) "helpProvider", NULL
30703 };
30704
30705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30708 {
30709 PyThreadState* __tstate = wxPyBeginAllowThreads();
30710 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30711
30712 wxPyEndAllowThreads(__tstate);
30713 if (PyErr_Occurred()) SWIG_fail;
30714 }
30715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30716 return resultobj;
30717 fail:
30718 return NULL;
30719}
30720
30721
c370783e 30722static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30723 PyObject *resultobj;
30724 wxHelpProvider *result;
30725 char *kwnames[] = {
30726 NULL
30727 };
30728
30729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30730 {
30731 PyThreadState* __tstate = wxPyBeginAllowThreads();
30732 result = (wxHelpProvider *)wxHelpProvider::Get();
30733
30734 wxPyEndAllowThreads(__tstate);
30735 if (PyErr_Occurred()) SWIG_fail;
30736 }
30737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30738 return resultobj;
30739 fail:
30740 return NULL;
30741}
30742
30743
c370783e 30744static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30745 PyObject *resultobj;
30746 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30747 wxWindow *arg2 = (wxWindow *) 0 ;
30748 wxString result;
30749 PyObject * obj0 = 0 ;
30750 PyObject * obj1 = 0 ;
30751 char *kwnames[] = {
30752 (char *) "self",(char *) "window", NULL
30753 };
30754
30755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30760 {
30761 PyThreadState* __tstate = wxPyBeginAllowThreads();
30762 result = (arg1)->GetHelp((wxWindow const *)arg2);
30763
30764 wxPyEndAllowThreads(__tstate);
30765 if (PyErr_Occurred()) SWIG_fail;
30766 }
30767 {
30768#if wxUSE_UNICODE
30769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30770#else
30771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30772#endif
30773 }
30774 return resultobj;
30775 fail:
30776 return NULL;
30777}
30778
30779
c370783e 30780static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30781 PyObject *resultobj;
30782 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30783 wxWindow *arg2 = (wxWindow *) 0 ;
30784 bool result;
30785 PyObject * obj0 = 0 ;
30786 PyObject * obj1 = 0 ;
30787 char *kwnames[] = {
30788 (char *) "self",(char *) "window", NULL
30789 };
30790
30791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30796 {
30797 PyThreadState* __tstate = wxPyBeginAllowThreads();
30798 result = (bool)(arg1)->ShowHelp(arg2);
30799
30800 wxPyEndAllowThreads(__tstate);
30801 if (PyErr_Occurred()) SWIG_fail;
30802 }
30803 {
30804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30805 }
30806 return resultobj;
30807 fail:
30808 return NULL;
30809}
30810
30811
c370783e 30812static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30813 PyObject *resultobj;
30814 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30815 wxWindow *arg2 = (wxWindow *) 0 ;
30816 wxString *arg3 = 0 ;
b411df4a 30817 bool temp3 = false ;
d55e5bfc
RD
30818 PyObject * obj0 = 0 ;
30819 PyObject * obj1 = 0 ;
30820 PyObject * obj2 = 0 ;
30821 char *kwnames[] = {
30822 (char *) "self",(char *) "window",(char *) "text", NULL
30823 };
30824
30825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30830 {
30831 arg3 = wxString_in_helper(obj2);
30832 if (arg3 == NULL) SWIG_fail;
b411df4a 30833 temp3 = true;
d55e5bfc
RD
30834 }
30835 {
30836 PyThreadState* __tstate = wxPyBeginAllowThreads();
30837 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30838
30839 wxPyEndAllowThreads(__tstate);
30840 if (PyErr_Occurred()) SWIG_fail;
30841 }
30842 Py_INCREF(Py_None); resultobj = Py_None;
30843 {
30844 if (temp3)
30845 delete arg3;
30846 }
30847 return resultobj;
30848 fail:
30849 {
30850 if (temp3)
30851 delete arg3;
30852 }
30853 return NULL;
30854}
30855
30856
c370783e 30857static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30858 PyObject *resultobj;
30859 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30860 int arg2 ;
30861 wxString *arg3 = 0 ;
b411df4a 30862 bool temp3 = false ;
d55e5bfc
RD
30863 PyObject * obj0 = 0 ;
30864 PyObject * obj1 = 0 ;
30865 PyObject * obj2 = 0 ;
30866 char *kwnames[] = {
30867 (char *) "self",(char *) "id",(char *) "text", NULL
30868 };
30869
30870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 30873 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30874 if (PyErr_Occurred()) SWIG_fail;
30875 {
30876 arg3 = wxString_in_helper(obj2);
30877 if (arg3 == NULL) SWIG_fail;
b411df4a 30878 temp3 = true;
d55e5bfc
RD
30879 }
30880 {
30881 PyThreadState* __tstate = wxPyBeginAllowThreads();
30882 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30883
30884 wxPyEndAllowThreads(__tstate);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 Py_INCREF(Py_None); resultobj = Py_None;
30888 {
30889 if (temp3)
30890 delete arg3;
30891 }
30892 return resultobj;
30893 fail:
30894 {
30895 if (temp3)
30896 delete arg3;
30897 }
30898 return NULL;
30899}
30900
30901
c370783e 30902static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30903 PyObject *resultobj;
30904 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30905 wxWindow *arg2 = (wxWindow *) 0 ;
30906 PyObject * obj0 = 0 ;
30907 PyObject * obj1 = 0 ;
30908 char *kwnames[] = {
30909 (char *) "self",(char *) "window", NULL
30910 };
30911
30912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30917 {
30918 PyThreadState* __tstate = wxPyBeginAllowThreads();
30919 (arg1)->RemoveHelp(arg2);
30920
30921 wxPyEndAllowThreads(__tstate);
30922 if (PyErr_Occurred()) SWIG_fail;
30923 }
30924 Py_INCREF(Py_None); resultobj = Py_None;
30925 return resultobj;
30926 fail:
30927 return NULL;
30928}
30929
30930
c370783e 30931static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30932 PyObject *resultobj;
30933 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30934 PyObject * obj0 = 0 ;
30935 char *kwnames[] = {
30936 (char *) "self", NULL
30937 };
30938
30939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30942 {
30943 PyThreadState* __tstate = wxPyBeginAllowThreads();
30944 wxHelpProvider_Destroy(arg1);
30945
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 Py_INCREF(Py_None); resultobj = Py_None;
30950 return resultobj;
30951 fail:
30952 return NULL;
30953}
30954
30955
c370783e 30956static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30957 PyObject *obj;
30958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30959 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30960 Py_INCREF(obj);
30961 return Py_BuildValue((char *)"");
30962}
c370783e 30963static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30964 PyObject *resultobj;
30965 wxSimpleHelpProvider *result;
30966 char *kwnames[] = {
30967 NULL
30968 };
30969
30970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30971 {
30972 PyThreadState* __tstate = wxPyBeginAllowThreads();
30973 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30974
30975 wxPyEndAllowThreads(__tstate);
30976 if (PyErr_Occurred()) SWIG_fail;
30977 }
30978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30979 return resultobj;
30980 fail:
30981 return NULL;
30982}
30983
30984
c370783e 30985static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30986 PyObject *obj;
30987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30988 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30989 Py_INCREF(obj);
30990 return Py_BuildValue((char *)"");
30991}
c370783e 30992static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30993 PyObject *resultobj;
30994 wxBitmap *arg1 = 0 ;
30995 wxCursor const &arg2_defvalue = wxNullCursor ;
30996 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30997 wxGenericDragImage *result;
30998 PyObject * obj0 = 0 ;
30999 PyObject * obj1 = 0 ;
31000 char *kwnames[] = {
31001 (char *) "image",(char *) "cursor", NULL
31002 };
31003
31004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
31005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
31006 SWIG_POINTER_EXCEPTION | 0)) == -1)
31007 SWIG_fail;
31008 if (arg1 == NULL) {
31009 PyErr_SetString(PyExc_TypeError,"null reference");
31010 SWIG_fail;
31011 }
31012 if (obj1) {
31013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31014 SWIG_POINTER_EXCEPTION | 0)) == -1)
31015 SWIG_fail;
31016 if (arg2 == NULL) {
31017 PyErr_SetString(PyExc_TypeError,"null reference");
31018 SWIG_fail;
31019 }
31020 }
31021 {
0439c23b 31022 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31023 PyThreadState* __tstate = wxPyBeginAllowThreads();
31024 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
31025
31026 wxPyEndAllowThreads(__tstate);
110da5b0 31027 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31028 }
31029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31030 return resultobj;
31031 fail:
31032 return NULL;
31033}
31034
31035
c370783e 31036static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31037 PyObject *resultobj;
31038 wxIcon *arg1 = 0 ;
31039 wxCursor const &arg2_defvalue = wxNullCursor ;
31040 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31041 wxGenericDragImage *result;
31042 PyObject * obj0 = 0 ;
31043 PyObject * obj1 = 0 ;
31044 char *kwnames[] = {
31045 (char *) "image",(char *) "cursor", NULL
31046 };
31047
31048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
31049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
31050 SWIG_POINTER_EXCEPTION | 0)) == -1)
31051 SWIG_fail;
31052 if (arg1 == NULL) {
31053 PyErr_SetString(PyExc_TypeError,"null reference");
31054 SWIG_fail;
31055 }
31056 if (obj1) {
31057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31058 SWIG_POINTER_EXCEPTION | 0)) == -1)
31059 SWIG_fail;
31060 if (arg2 == NULL) {
31061 PyErr_SetString(PyExc_TypeError,"null reference");
31062 SWIG_fail;
31063 }
31064 }
31065 {
0439c23b 31066 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31067 PyThreadState* __tstate = wxPyBeginAllowThreads();
31068 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
31069
31070 wxPyEndAllowThreads(__tstate);
110da5b0 31071 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31072 }
31073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31074 return resultobj;
31075 fail:
31076 return NULL;
31077}
31078
31079
c370783e 31080static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31081 PyObject *resultobj;
31082 wxString *arg1 = 0 ;
31083 wxCursor const &arg2_defvalue = wxNullCursor ;
31084 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31085 wxGenericDragImage *result;
b411df4a 31086 bool temp1 = false ;
d55e5bfc
RD
31087 PyObject * obj0 = 0 ;
31088 PyObject * obj1 = 0 ;
31089 char *kwnames[] = {
31090 (char *) "str",(char *) "cursor", NULL
31091 };
31092
31093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
31094 {
31095 arg1 = wxString_in_helper(obj0);
31096 if (arg1 == NULL) SWIG_fail;
b411df4a 31097 temp1 = true;
d55e5bfc
RD
31098 }
31099 if (obj1) {
31100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31101 SWIG_POINTER_EXCEPTION | 0)) == -1)
31102 SWIG_fail;
31103 if (arg2 == NULL) {
31104 PyErr_SetString(PyExc_TypeError,"null reference");
31105 SWIG_fail;
31106 }
31107 }
31108 {
0439c23b 31109 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31110 PyThreadState* __tstate = wxPyBeginAllowThreads();
31111 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
31112
31113 wxPyEndAllowThreads(__tstate);
110da5b0 31114 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31115 }
31116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31117 {
31118 if (temp1)
31119 delete arg1;
31120 }
31121 return resultobj;
31122 fail:
31123 {
31124 if (temp1)
31125 delete arg1;
31126 }
31127 return NULL;
31128}
31129
31130
c370783e 31131static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31132 PyObject *resultobj;
31133 wxPyTreeCtrl *arg1 = 0 ;
31134 wxTreeItemId *arg2 = 0 ;
31135 wxGenericDragImage *result;
31136 PyObject * obj0 = 0 ;
31137 PyObject * obj1 = 0 ;
31138 char *kwnames[] = {
31139 (char *) "treeCtrl",(char *) "id", NULL
31140 };
31141
31142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
31143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
31144 SWIG_POINTER_EXCEPTION | 0)) == -1)
31145 SWIG_fail;
31146 if (arg1 == NULL) {
31147 PyErr_SetString(PyExc_TypeError,"null reference");
31148 SWIG_fail;
31149 }
31150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
31151 SWIG_POINTER_EXCEPTION | 0)) == -1)
31152 SWIG_fail;
31153 if (arg2 == NULL) {
31154 PyErr_SetString(PyExc_TypeError,"null reference");
31155 SWIG_fail;
31156 }
31157 {
0439c23b 31158 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31159 PyThreadState* __tstate = wxPyBeginAllowThreads();
31160 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
31161
31162 wxPyEndAllowThreads(__tstate);
110da5b0 31163 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31164 }
31165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31166 return resultobj;
31167 fail:
31168 return NULL;
31169}
31170
31171
c370783e 31172static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31173 PyObject *resultobj;
31174 wxPyListCtrl *arg1 = 0 ;
31175 long arg2 ;
31176 wxGenericDragImage *result;
31177 PyObject * obj0 = 0 ;
31178 PyObject * obj1 = 0 ;
31179 char *kwnames[] = {
31180 (char *) "listCtrl",(char *) "id", NULL
31181 };
31182
31183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
31184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
31185 SWIG_POINTER_EXCEPTION | 0)) == -1)
31186 SWIG_fail;
31187 if (arg1 == NULL) {
31188 PyErr_SetString(PyExc_TypeError,"null reference");
31189 SWIG_fail;
31190 }
c370783e 31191 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
31192 if (PyErr_Occurred()) SWIG_fail;
31193 {
0439c23b 31194 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31195 PyThreadState* __tstate = wxPyBeginAllowThreads();
31196 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
31197
31198 wxPyEndAllowThreads(__tstate);
110da5b0 31199 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31200 }
31201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31202 return resultobj;
31203 fail:
31204 return NULL;
31205}
31206
31207
c370783e 31208static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31209 PyObject *resultobj;
31210 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31211 PyObject * obj0 = 0 ;
31212 char *kwnames[] = {
31213 (char *) "self", NULL
31214 };
31215
31216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
31217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31219 {
31220 PyThreadState* __tstate = wxPyBeginAllowThreads();
31221 delete arg1;
31222
31223 wxPyEndAllowThreads(__tstate);
31224 if (PyErr_Occurred()) SWIG_fail;
31225 }
31226 Py_INCREF(Py_None); resultobj = Py_None;
31227 return resultobj;
31228 fail:
31229 return NULL;
31230}
31231
31232
c370783e 31233static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31234 PyObject *resultobj;
31235 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31236 wxBitmap *arg2 = (wxBitmap *) 0 ;
31237 PyObject * obj0 = 0 ;
31238 PyObject * obj1 = 0 ;
31239 char *kwnames[] = {
31240 (char *) "self",(char *) "bitmap", NULL
31241 };
31242
31243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
31244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31248 {
31249 PyThreadState* __tstate = wxPyBeginAllowThreads();
31250 (arg1)->SetBackingBitmap(arg2);
31251
31252 wxPyEndAllowThreads(__tstate);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 }
31255 Py_INCREF(Py_None); resultobj = Py_None;
31256 return resultobj;
31257 fail:
31258 return NULL;
31259}
31260
31261
c370783e 31262static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31263 PyObject *resultobj;
31264 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31265 wxPoint *arg2 = 0 ;
31266 wxWindow *arg3 = (wxWindow *) 0 ;
b411df4a 31267 bool arg4 = (bool) false ;
d55e5bfc
RD
31268 wxRect *arg5 = (wxRect *) NULL ;
31269 bool result;
31270 wxPoint temp2 ;
31271 PyObject * obj0 = 0 ;
31272 PyObject * obj1 = 0 ;
31273 PyObject * obj2 = 0 ;
31274 PyObject * obj3 = 0 ;
31275 PyObject * obj4 = 0 ;
31276 char *kwnames[] = {
31277 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31278 };
31279
31280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31283 {
31284 arg2 = &temp2;
31285 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31286 }
31287 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31289 if (obj3) {
c370783e 31290 arg4 = (bool)SWIG_As_bool(obj3);
d55e5bfc
RD
31291 if (PyErr_Occurred()) SWIG_fail;
31292 }
31293 if (obj4) {
31294 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
31295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31296 }
31297 {
31298 PyThreadState* __tstate = wxPyBeginAllowThreads();
31299 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
31300
31301 wxPyEndAllowThreads(__tstate);
31302 if (PyErr_Occurred()) SWIG_fail;
31303 }
31304 {
31305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31306 }
31307 return resultobj;
31308 fail:
31309 return NULL;
31310}
31311
31312
c370783e 31313static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31314 PyObject *resultobj;
31315 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31316 wxPoint *arg2 = 0 ;
31317 wxWindow *arg3 = (wxWindow *) 0 ;
31318 wxWindow *arg4 = (wxWindow *) 0 ;
31319 bool result;
31320 wxPoint temp2 ;
31321 PyObject * obj0 = 0 ;
31322 PyObject * obj1 = 0 ;
31323 PyObject * obj2 = 0 ;
31324 PyObject * obj3 = 0 ;
31325 char *kwnames[] = {
31326 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31327 };
31328
31329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31332 {
31333 arg2 = &temp2;
31334 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31335 }
31336 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31338 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
31339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31340 {
31341 PyThreadState* __tstate = wxPyBeginAllowThreads();
31342 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
31343
31344 wxPyEndAllowThreads(__tstate);
31345 if (PyErr_Occurred()) SWIG_fail;
31346 }
31347 {
31348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31349 }
31350 return resultobj;
31351 fail:
31352 return NULL;
31353}
31354
31355
c370783e 31356static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31357 PyObject *resultobj;
31358 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31359 bool result;
31360 PyObject * obj0 = 0 ;
31361 char *kwnames[] = {
31362 (char *) "self", NULL
31363 };
31364
31365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
31366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31368 {
31369 PyThreadState* __tstate = wxPyBeginAllowThreads();
31370 result = (bool)(arg1)->EndDrag();
31371
31372 wxPyEndAllowThreads(__tstate);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 }
31375 {
31376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31377 }
31378 return resultobj;
31379 fail:
31380 return NULL;
31381}
31382
31383
c370783e 31384static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31385 PyObject *resultobj;
31386 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31387 wxPoint *arg2 = 0 ;
31388 bool result;
31389 wxPoint temp2 ;
31390 PyObject * obj0 = 0 ;
31391 PyObject * obj1 = 0 ;
31392 char *kwnames[] = {
31393 (char *) "self",(char *) "pt", NULL
31394 };
31395
31396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
31397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31399 {
31400 arg2 = &temp2;
31401 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31402 }
31403 {
31404 PyThreadState* __tstate = wxPyBeginAllowThreads();
31405 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31406
31407 wxPyEndAllowThreads(__tstate);
31408 if (PyErr_Occurred()) SWIG_fail;
31409 }
31410 {
31411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31412 }
31413 return resultobj;
31414 fail:
31415 return NULL;
31416}
31417
31418
c370783e 31419static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31420 PyObject *resultobj;
31421 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31422 bool result;
31423 PyObject * obj0 = 0 ;
31424 char *kwnames[] = {
31425 (char *) "self", NULL
31426 };
31427
31428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
31429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31431 {
31432 PyThreadState* __tstate = wxPyBeginAllowThreads();
31433 result = (bool)(arg1)->Show();
31434
31435 wxPyEndAllowThreads(__tstate);
31436 if (PyErr_Occurred()) SWIG_fail;
31437 }
31438 {
31439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31440 }
31441 return resultobj;
31442 fail:
31443 return NULL;
31444}
31445
31446
c370783e 31447static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31448 PyObject *resultobj;
31449 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31450 bool result;
31451 PyObject * obj0 = 0 ;
31452 char *kwnames[] = {
31453 (char *) "self", NULL
31454 };
31455
31456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
31457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31459 {
31460 PyThreadState* __tstate = wxPyBeginAllowThreads();
31461 result = (bool)(arg1)->Hide();
31462
31463 wxPyEndAllowThreads(__tstate);
31464 if (PyErr_Occurred()) SWIG_fail;
31465 }
31466 {
31467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31468 }
31469 return resultobj;
31470 fail:
31471 return NULL;
31472}
31473
31474
c370783e 31475static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31476 PyObject *resultobj;
31477 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31478 wxPoint *arg2 = 0 ;
31479 wxRect result;
31480 wxPoint temp2 ;
31481 PyObject * obj0 = 0 ;
31482 PyObject * obj1 = 0 ;
31483 char *kwnames[] = {
31484 (char *) "self",(char *) "pos", NULL
31485 };
31486
31487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31490 {
31491 arg2 = &temp2;
31492 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31493 }
31494 {
31495 PyThreadState* __tstate = wxPyBeginAllowThreads();
31496 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31497
31498 wxPyEndAllowThreads(__tstate);
31499 if (PyErr_Occurred()) SWIG_fail;
31500 }
31501 {
31502 wxRect * resultptr;
31503 resultptr = new wxRect((wxRect &) result);
31504 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31505 }
31506 return resultobj;
31507 fail:
31508 return NULL;
31509}
31510
31511
c370783e 31512static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31513 PyObject *resultobj;
31514 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31515 wxDC *arg2 = 0 ;
31516 wxPoint *arg3 = 0 ;
31517 bool result;
31518 wxPoint temp3 ;
31519 PyObject * obj0 = 0 ;
31520 PyObject * obj1 = 0 ;
31521 PyObject * obj2 = 0 ;
31522 char *kwnames[] = {
31523 (char *) "self",(char *) "dc",(char *) "pos", NULL
31524 };
31525
31526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31530 SWIG_POINTER_EXCEPTION | 0)) == -1)
31531 SWIG_fail;
31532 if (arg2 == NULL) {
31533 PyErr_SetString(PyExc_TypeError,"null reference");
31534 SWIG_fail;
31535 }
31536 {
31537 arg3 = &temp3;
31538 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31539 }
31540 {
31541 PyThreadState* __tstate = wxPyBeginAllowThreads();
31542 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31543
31544 wxPyEndAllowThreads(__tstate);
31545 if (PyErr_Occurred()) SWIG_fail;
31546 }
31547 {
31548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31549 }
31550 return resultobj;
31551 fail:
31552 return NULL;
31553}
31554
31555
c370783e 31556static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31557 PyObject *resultobj;
31558 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31559 wxDC *arg2 = 0 ;
31560 wxMemoryDC *arg3 = 0 ;
31561 wxRect *arg4 = 0 ;
31562 wxRect *arg5 = 0 ;
31563 bool result;
31564 wxRect temp4 ;
31565 wxRect temp5 ;
31566 PyObject * obj0 = 0 ;
31567 PyObject * obj1 = 0 ;
31568 PyObject * obj2 = 0 ;
31569 PyObject * obj3 = 0 ;
31570 PyObject * obj4 = 0 ;
31571 char *kwnames[] = {
31572 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31573 };
31574
31575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31579 SWIG_POINTER_EXCEPTION | 0)) == -1)
31580 SWIG_fail;
31581 if (arg2 == NULL) {
31582 PyErr_SetString(PyExc_TypeError,"null reference");
31583 SWIG_fail;
31584 }
31585 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31586 SWIG_POINTER_EXCEPTION | 0)) == -1)
31587 SWIG_fail;
31588 if (arg3 == NULL) {
31589 PyErr_SetString(PyExc_TypeError,"null reference");
31590 SWIG_fail;
31591 }
31592 {
31593 arg4 = &temp4;
31594 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31595 }
31596 {
31597 arg5 = &temp5;
31598 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31599 }
31600 {
31601 PyThreadState* __tstate = wxPyBeginAllowThreads();
31602 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31603
31604 wxPyEndAllowThreads(__tstate);
31605 if (PyErr_Occurred()) SWIG_fail;
31606 }
31607 {
31608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31609 }
31610 return resultobj;
31611 fail:
31612 return NULL;
31613}
31614
31615
c370783e 31616static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31617 PyObject *resultobj;
31618 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31619 wxPoint *arg2 = 0 ;
31620 wxPoint *arg3 = 0 ;
31621 bool arg4 ;
31622 bool arg5 ;
31623 bool result;
31624 wxPoint temp2 ;
31625 wxPoint temp3 ;
31626 PyObject * obj0 = 0 ;
31627 PyObject * obj1 = 0 ;
31628 PyObject * obj2 = 0 ;
31629 PyObject * obj3 = 0 ;
31630 PyObject * obj4 = 0 ;
31631 char *kwnames[] = {
31632 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31633 };
31634
31635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31638 {
31639 arg2 = &temp2;
31640 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31641 }
31642 {
31643 arg3 = &temp3;
31644 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31645 }
c370783e 31646 arg4 = (bool)SWIG_As_bool(obj3);
d55e5bfc 31647 if (PyErr_Occurred()) SWIG_fail;
c370783e 31648 arg5 = (bool)SWIG_As_bool(obj4);
d55e5bfc
RD
31649 if (PyErr_Occurred()) SWIG_fail;
31650 {
31651 PyThreadState* __tstate = wxPyBeginAllowThreads();
31652 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31653
31654 wxPyEndAllowThreads(__tstate);
31655 if (PyErr_Occurred()) SWIG_fail;
31656 }
31657 {
31658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31659 }
31660 return resultobj;
31661 fail:
31662 return NULL;
31663}
31664
31665
c370783e 31666static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31667 PyObject *obj;
31668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31669 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31670 Py_INCREF(obj);
31671 return Py_BuildValue((char *)"");
31672}
31673static PyMethodDef SwigMethods[] = {
c370783e
RD
31674 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
31675 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
31676 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31677 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31678 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31679 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31680 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
31681 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31682 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31683 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31684 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31685 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31686 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31687 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31688 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31689 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31690 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31691 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31692 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
31693 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
31694 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
31695 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
31696 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31697 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31698 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31699 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31700 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31701 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31702 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31703 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31704 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
31705 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
31706 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31707 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
31708 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
31709 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
31710 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31711 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31712 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31713 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31714 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31715 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
31716 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31717 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31718 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31719 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31720 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31721 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31722 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
31723 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
31724 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31725 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31726 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31727 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
31728 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31729 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
31730 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31731 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31732 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31733 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31734 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
31735 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31736 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
31737 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
31738 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
31739 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31740 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31741 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31742 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31743 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31744 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31745 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
31746 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
31747 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
31748 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
31749 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31750 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
31751 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
31752 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
31753 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31754 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31755 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
31756 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
31757 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
31758 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31759 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31760 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31761 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31762 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
31763 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
31764 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
31765 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31766 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31767 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
31768 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31769 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31770 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31771 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31772 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31773 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
31774 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31775 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
31776 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31777 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31778 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31779 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
31780 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
31781 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
31782 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31783 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31784 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
31785 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
31786 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
31787 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31788 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
31789 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
31790 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
31791 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
31792 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
31793 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
31794 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31795 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31796 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
31797 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31798 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
31799 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31800 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31801 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31802 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31803 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
31804 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
31805 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
31806 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
31807 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
31808 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
31809 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
31810 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31811 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31812 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
31813 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31814 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31815 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31816 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31817 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
31818 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31819 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31820 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
31821 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31822 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31823 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31824 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31825 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
31826 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31827 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31828 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
31829 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31830 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31831 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31832 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31833 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31834 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
31835 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31836 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
31837 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
31838 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31839 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31840 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31841 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31842 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31843 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31844 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
31845 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
31846 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
31847 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
31848 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31849 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
31850 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
31851 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31852 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31853 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
31854 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
31855 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
31856 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
31857 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
31858 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
31859 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
31860 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
31861 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
31862 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
31863 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
31864 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31865 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31866 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31867 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31868 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31869 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
31870 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31871 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
31872 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL },
31873 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31874 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
31875 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
31876 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
31877 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
31878 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
31879 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
31880 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
31881 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
31882 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
31883 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31884 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31885 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31886 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31887 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31888 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
31889 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31890 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
31891 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
31892 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31893 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
31894 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31895 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31896 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
31897 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31898 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
31899 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
31900 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
31901 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31902 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31903 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
31904 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31905 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31906 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31907 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31908 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
31909 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31910 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
31911 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
31912 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
31913 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31914 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31915 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31916 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31917 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31918 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31919 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31920 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31921 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31922 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31923 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
31924 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31925 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31926 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31927 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31928 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31929 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
31930 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31931 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31932 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31933 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31934 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31935 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
31936 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31937 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31938 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31939 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
31940 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
31941 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
31942 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31943 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31944 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31945 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31946 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31947 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
31948 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
31949 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
31950 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31951 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
31952 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
31953 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
31954 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
31955 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
31956 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31957 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
31958 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
31959 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
31960 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31961 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31962 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31963 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31964 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
31965 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
31966 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
31967 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31968 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31969 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31970 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31971 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31972 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31973 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31974 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31975 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
31976 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31977 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
31978 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31979 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
31980 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
31981 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
31982 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
31983 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
31984 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
31985 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
31986 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31987 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
31988 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31989 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31990 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
31991 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
31992 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
31993 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31994 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31995 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31996 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31997 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31998 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
6e0de3df
RD
31999 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
32000 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
32001 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
32002 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32003 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32004 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32005 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32006 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32007 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32008 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32009 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32010 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32011 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32012 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
32013 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
32014 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32015 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
32016 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
32017 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32018 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32019 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32020 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL },
32021 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32022 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32023 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32024 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32025 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32026 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL },
c370783e
RD
32027 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
32028 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32029 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32030 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
32031 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
32032 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
32033 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32034 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32035 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32036 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
32037 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32038 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
32039 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
32040 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
32041 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32042 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
44bf767a 32043 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL },
c370783e
RD
32044 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
32045 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32046 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
b411df4a
RD
32047 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32048 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32049 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32050 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32051 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32052 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL },
32053 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32054 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL },
c370783e
RD
32055 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32056 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32057 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32058 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32059 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
32060 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32061 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32062 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32063 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32064 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
32065 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32066 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32067 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32068 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
32069 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
32070 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32071 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32072 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
32073 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32074 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32075 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32076 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32077 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32078 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32079 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32080 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32081 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32082 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
32083 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32084 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32085 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32086 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32087 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32088 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32089 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32090 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
32091 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
32092 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32093 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32094 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
32095 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
32096 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
32097 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32098 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32099 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
32100 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
32101 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
32102 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32103 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32104 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
32105 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
32106 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
32107 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
32108 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
32109 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
32110 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
32111 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32112 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32113 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32114 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
32115 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
32116 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32117 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32118 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32119 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32120 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32121 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
32122 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32123 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32124 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32125 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32126 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32127 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32128 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32129 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
32130 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
32131 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
32132 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
32133 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32134 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32135 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
32136 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32137 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
32138 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32139 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
32140 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32141 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32142 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32143 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32144 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32145 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
32146 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32147 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32148 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32149 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32150 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32151 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32152 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
32153 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32154 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32155 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32156 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32157 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
32158 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32159 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32160 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
32161 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32162 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32163 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32164 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32165 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
32166 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
32167 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
32168 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32169 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32170 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32171 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32172 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32173 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32174 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32175 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32176 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32177 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32178 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
32179 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32180 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32181 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32182 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32183 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32184 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32185 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32186 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32187 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32188 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32189 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32190 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32191 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
32192 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
32193 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32194 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32195 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
32196 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
32197 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32198 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32199 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
32200 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
32201 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
32202 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
32203 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
32204 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
32205 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
32206 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
32207 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
32208 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
32209 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
32210 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32211 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
32212 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
32213 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32214 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32215 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32216 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32217 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32218 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32219 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
32220 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
32221 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
32222 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32223 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32224 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32225 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32226 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32227 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32228 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32229 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32230 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32231 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32232 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
32233 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
32234 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32235 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32236 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
32237 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32238 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32239 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32240 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32241 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32242 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32243 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32244 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32245 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32246 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32247 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
32248 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
32249 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32250 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32251 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32252 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32253 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32254 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32255 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32256 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32257 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32258 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32259 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32260 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
32261 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32262 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32263 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
32264 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32265 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32266 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32267 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32268 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32269 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
32270 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32271 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
32272 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
32273 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32274 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32275 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32276 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
32277 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
32278 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
32279 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
32280 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
32281 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
32282 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32283 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32284 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
32285 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
32286 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32287 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32288 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
32289 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32290 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
32291 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32292 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32293 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32294 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
32295 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32296 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32297 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32298 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32299 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
32300 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32301 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32302 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32303 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32304 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
32305 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32306 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32307 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
32308 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
32309 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
32310 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32311 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
32312 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
32313 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
32314 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32315 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32316 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32317 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32318 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32319 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
32320 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32321 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32322 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
32323 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
32324 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
32325 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
32326 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
32327 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
32328 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32329 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32330 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32331 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32332 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32333 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32334 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
32335 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32336 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32337 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32338 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32339 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32340 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32341 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32342 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32343 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32344 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32345 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32346 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32347 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32348 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32349 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
32350 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
32351 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32352 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32353 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32354 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32355 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
32356 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32357 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32358 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32359 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32360 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32361 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32362 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32363 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32364 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32365 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32366 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32367 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32368 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32369 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32370 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32371 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32372 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32373 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32374 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32375 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32376 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32377 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32378 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
32379 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32380 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32381 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32382 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32383 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32384 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
32385 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32386 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
32387 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
32388 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
32389 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32390 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
32391 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
32392 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
32393 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
32394 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
32395 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32396 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32397 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
32398 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32399 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32400 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
32401 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
32402 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32403 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
32404 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
32405 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
32406 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32407 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32408 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
32409 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
32410 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
32411 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32412 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
32413 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32414 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32415 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32416 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32417 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32418 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
32419 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32420 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
32421 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32422 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32423 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
32424 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32425 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
32426 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32427 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32428 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32429 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
32430 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32431 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32432 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32433 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
32434 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32435 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32436 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32437 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32438 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32439 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32440 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32441 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
32442 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32443 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32444 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
32445 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
32446 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
32447 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
32448 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32449 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32450 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32451 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
32452 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
32453 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32454 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32455 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32456 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32457 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32458 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32459 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32460 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32461 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32462 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32463 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32464 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32465 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32466 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
32467 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32468 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32469 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
32470 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
32471 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
32472 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
32473 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
32474 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
32475 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
32476 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
32477 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32478 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
32479 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32480 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32481 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32482 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32483 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32484 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32485 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32486 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
32487 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32488 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32489 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32490 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32491 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
32492 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
32493 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
32494 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
32495 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
32496 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32497 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32498 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32499 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
32500 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32501 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32502 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
32503 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
32504 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
32505 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32506 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
32507 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
32508 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
32509 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32510 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32511 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32512 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32513 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
32514 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32515 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
32516 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
32517 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
32518 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
32519 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32520 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32521 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32522 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
32523 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32524};
32525
32526
32527/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32528
d55e5bfc
RD
32529static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32530 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32531}
32532static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32533 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32534}
32535static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32536 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32537}
32538static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32539 return (void *)((wxSizer *) ((wxGridSizer *) x));
32540}
32541static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32542 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32543}
32544static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32545 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32546}
32547static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32548 return (void *)((wxSizer *) ((wxPySizer *) x));
32549}
32550static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32551 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32552}
32553static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32554 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32555}
32556static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32557 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32558}
32559static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32560 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32561}
32562static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32563 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32564}
32565static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32566 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32567}
6e0de3df
RD
32568static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
32569 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
32570}
d55e5bfc
RD
32571static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32572 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32573}
32574static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32575 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32576}
32577static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32578 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32579}
32580static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32581 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32582}
32583static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32584 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32585}
d55e5bfc
RD
32586static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32587 return (void *)((wxEvent *) ((wxPyEvent *) x));
32588}
32589static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32590 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32591}
32592static void *_p_wxListEventTo_p_wxEvent(void *x) {
32593 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32594}
32595static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6e0de3df 32596 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
32597}
32598static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6e0de3df 32599 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 32600}
b411df4a 32601static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
6e0de3df 32602 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 32603}
d55e5bfc
RD
32604static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32605 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32606}
32607static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32608 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32609}
32610static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32611 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32612}
32613static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32614 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32615}
32616static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32617 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32618}
32619static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32620 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32621}
32622static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32623 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32624}
32625static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32626 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32627}
32628static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32629 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32630}
32631static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32632 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32633}
32634static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32635 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32636}
32637static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32638 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32639}
32640static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32641 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32642}
32643static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32644 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32645}
32646static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32647 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32648}
32649static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32650 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32651}
32652static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32653 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32654}
32655static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32656 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32657}
32658static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32659 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32660}
32661static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32662 return (void *)((wxEvent *) ((wxShowEvent *) x));
32663}
32664static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32665 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32666}
32667static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32668 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32669}
32670static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32671 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32672}
32673static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32674 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32675}
32676static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32677 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32678}
32679static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32680 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32681}
32682static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32683 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32684}
32685static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32686 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32687}
32688static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32689 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32690}
32691static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32692 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32693}
32694static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32695 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32696}
32697static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32698 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32699}
32700static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32701 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32702}
32703static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32704 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32705}
6e0de3df
RD
32706static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
32707 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
32708}
32709static void *_p_wxToolBarTo_p_wxControl(void *x) {
32710 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32711}
b411df4a
RD
32712static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32713 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 32714}
b411df4a
RD
32715static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32716 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 32717}
b411df4a
RD
32718static void *_p_wxPyControlTo_p_wxControl(void *x) {
32719 return (void *)((wxControl *) ((wxPyControl *) x));
d55e5bfc 32720}
b411df4a
RD
32721static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32722 return (void *)((wxControl *) ((wxToolBarBase *) x));
32723}
32724static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32725 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
32726}
32727static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32728 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32729}
b411df4a
RD
32730static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32731 return (void *)((wxControl *) ((wxComboBox *) x));
d55e5bfc 32732}
b411df4a
RD
32733static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32734 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
32735}
32736static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32737 return (void *)((wxControl *) ((wxScrollBar *) x));
32738}
b411df4a
RD
32739static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32740 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
32741}
32742static void *_p_wxGaugeTo_p_wxControl(void *x) {
32743 return (void *)((wxControl *) ((wxGauge *) x));
32744}
b411df4a
RD
32745static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32746 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 32747}
b411df4a 32748static void *_p_wxChoicebookTo_p_wxControl(void *x) {
6e0de3df 32749 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 32750}
b411df4a 32751static void *_p_wxListbookTo_p_wxControl(void *x) {
6e0de3df 32752 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 32753}
b411df4a
RD
32754static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32755 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 32756}
b411df4a
RD
32757static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32758 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
32759}
32760static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32761 return (void *)((wxControl *) ((wxRadioBox *) x));
32762}
b411df4a
RD
32763static void *_p_wxChoiceTo_p_wxControl(void *x) {
32764 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32765}
32766static void *_p_wxListBoxTo_p_wxControl(void *x) {
32767 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32768}
32769static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32770 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32771}
32772static void *_p_wxListViewTo_p_wxControl(void *x) {
32773 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32774}
d55e5bfc 32775static void *_p_wxNotebookTo_p_wxControl(void *x) {
6e0de3df 32776 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 32777}
b411df4a
RD
32778static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32779 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 32780}
b411df4a
RD
32781static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32782 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 32783}
b411df4a
RD
32784static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32785 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 32786}
b411df4a
RD
32787static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32788 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
32789}
32790static void *_p_wxSliderTo_p_wxControl(void *x) {
32791 return (void *)((wxControl *) ((wxSlider *) x));
32792}
b411df4a
RD
32793static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32794 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d55e5bfc 32795}
b411df4a
RD
32796static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32797 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 32798}
b411df4a
RD
32799static void *_p_wxButtonTo_p_wxControl(void *x) {
32800 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 32801}
b411df4a
RD
32802static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32803 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32804}
32805static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32806 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
32807}
32808static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32809 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32810}
32811static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32812 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32813}
6e0de3df
RD
32814static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
32815 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
32816}
d55e5bfc
RD
32817static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32818 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32819}
d55e5bfc
RD
32820static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32821 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32822}
32823static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32824 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32825}
32826static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 32827 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
32828}
32829static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 32830 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 32831}
b411df4a 32832static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df
RD
32833 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
32834}
32835static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
32836 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
32837}
32838static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
32839 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
b411df4a 32840}
6e0de3df
RD
32841static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
32842 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
32843}
32844static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32845 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32846}
6e0de3df
RD
32847static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
32848 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
32849}
d55e5bfc
RD
32850static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32851 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32852}
32853static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32854 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32855}
32856static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32857 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32858}
32859static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32860 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32861}
32862static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32863 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32864}
32865static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32866 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32867}
32868static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32869 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32870}
32871static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32872 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32873}
32874static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32875 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32876}
d55e5bfc
RD
32877static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32878 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32879}
b411df4a
RD
32880static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32881 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32882}
d55e5bfc
RD
32883static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32884 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32885}
32886static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32887 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32888}
32889static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32890 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32891}
32892static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32893 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32894}
32895static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32896 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32897}
32898static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32899 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32900}
32901static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32902 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32903}
32904static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32905 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32906}
b411df4a 32907static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
6e0de3df 32908 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 32909}
d55e5bfc 32910static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
6e0de3df 32911 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
32912}
32913static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32914 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32915}
32916static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32917 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32918}
32919static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32920 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32921}
32922static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32923 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32924}
32925static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32926 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32927}
32928static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32929 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32930}
32931static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
6e0de3df 32932 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
32933}
32934static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32935 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32936}
32937static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32938 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32939}
32940static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32941 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32942}
32943static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32944 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32945}
32946static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32947 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32948}
32949static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32950 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32951}
32952static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32953 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32954}
32955static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32956 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32957}
32958static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32959 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32960}
32961static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32962 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32963}
32964static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32965 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32966}
32967static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32968 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32969}
d55e5bfc
RD
32970static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32971 return (void *)((wxButton *) ((wxBitmapButton *) x));
32972}
32973static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32974 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32975}
32976static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32977 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32978}
32979static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32980 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32981}
32982static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32983 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32984}
32985static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32986 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32987}
32988static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32989 return (void *)((wxObject *) ((wxSizerItem *) x));
32990}
32991static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32992 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32993}
32994static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32995 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32996}
32997static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32998 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32999}
d55e5bfc
RD
33000static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33001 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33002}
33003static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33004 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33005}
33006static void *_p_wxSizerTo_p_wxObject(void *x) {
33007 return (void *)((wxObject *) ((wxSizer *) x));
33008}
33009static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33010 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33011}
33012static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
33013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
33014}
33015static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
33016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
33017}
33018static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33019 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33020}
33021static void *_p_wxEventTo_p_wxObject(void *x) {
33022 return (void *)((wxObject *) ((wxEvent *) x));
33023}
33024static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33025 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33026}
33027static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33028 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33029}
33030static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33031 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33032}
33033static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
33034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
33035}
33036static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
33037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
33038}
33039static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
33040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33041}
33042static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33043 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33044}
33045static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33046 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33047}
33048static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33049 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33050}
33051static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33052 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33053}
33054static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33055 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33056}
33057static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33058 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33059}
33060static void *_p_wxStaticLineTo_p_wxObject(void *x) {
33061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
33062}
33063static void *_p_wxControlTo_p_wxObject(void *x) {
33064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33065}
33066static void *_p_wxPyControlTo_p_wxObject(void *x) {
33067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
33068}
33069static void *_p_wxGaugeTo_p_wxObject(void *x) {
33070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
33071}
33072static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
33073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
33074}
33075static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
33076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
33077}
33078static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
33079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
33080}
33081static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33082 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33083}
33084static void *_p_wxChoiceTo_p_wxObject(void *x) {
33085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33086}
33087static void *_p_wxFSFileTo_p_wxObject(void *x) {
33088 return (void *)((wxObject *) ((wxFSFile *) x));
33089}
33090static void *_p_wxPySizerTo_p_wxObject(void *x) {
33091 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33092}
33093static void *_p_wxListViewTo_p_wxObject(void *x) {
33094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33095}
33096static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
33097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
33098}
33099static void *_p_wxNotebookTo_p_wxObject(void *x) {
6e0de3df 33100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
33101}
33102static void *_p_wxPyEventTo_p_wxObject(void *x) {
33103 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33104}
33105static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33106 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33107}
b411df4a 33108static void *_p_wxChoicebookTo_p_wxObject(void *x) {
6e0de3df 33109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 33110}
d55e5bfc 33111static void *_p_wxListbookTo_p_wxObject(void *x) {
6e0de3df 33112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
33113}
33114static void *_p_wxShowEventTo_p_wxObject(void *x) {
33115 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33116}
33117static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
33118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
33119}
33120static void *_p_wxSliderTo_p_wxObject(void *x) {
33121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
33122}
33123static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33124 return (void *)((wxObject *) ((wxMenuItem *) x));
33125}
33126static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33127 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33128}
33129static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33130 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33131}
33132static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33133 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33134}
33135static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33136 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33137}
33138static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33139 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33140}
33141static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33142 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33143}
33144static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33145 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33146}
33147static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33148 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33149}
33150static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
33151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
33152}
33153static void *_p_wxContextHelpTo_p_wxObject(void *x) {
33154 return (void *)((wxObject *) ((wxContextHelp *) x));
33155}
6e0de3df
RD
33156static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
33157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
33158}
d55e5bfc
RD
33159static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33160 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33161}
33162static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33163 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33164}
33165static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33166 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33167}
33168static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33169 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33170}
33171static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33172 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33173}
33174static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33175 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33176}
33177static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33178 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33179}
33180static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33181 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33182}
33183static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33184 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33185}
33186static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33187 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33188}
33189static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33190 return (void *)((wxObject *) ((wxImageHandler *) x));
33191}
33192static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33193 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33194}
33195static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33196 return (void *)((wxObject *) ((wxEvtHandler *) x));
33197}
33198static void *_p_wxListEventTo_p_wxObject(void *x) {
33199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
33200}
33201static void *_p_wxListBoxTo_p_wxObject(void *x) {
33202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33203}
33204static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
33205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33206}
d55e5bfc
RD
33207static void *_p_wxButtonTo_p_wxObject(void *x) {
33208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
33209}
33210static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
33211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33212}
33213static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
33214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
33215}
33216static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
33217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33218}
33219static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33220 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33221}
33222static void *_p_wxScrollBarTo_p_wxObject(void *x) {
33223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
33224}
33225static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
33226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
33227}
33228static void *_p_wxComboBoxTo_p_wxObject(void *x) {
33229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
33230}
33231static void *_p_wxHelpEventTo_p_wxObject(void *x) {
33232 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
33233}
33234static void *_p_wxListItemTo_p_wxObject(void *x) {
33235 return (void *)((wxObject *) ((wxListItem *) x));
33236}
33237static void *_p_wxImageTo_p_wxObject(void *x) {
33238 return (void *)((wxObject *) ((wxImage *) x));
33239}
33240static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
33241 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
33242}
33243static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33244 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33245}
33246static void *_p_wxSpinEventTo_p_wxObject(void *x) {
33247 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
33248}
33249static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
33250 return (void *)((wxObject *) ((wxGenericDragImage *) x));
33251}
33252static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
33253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33254}
33255static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
6e0de3df 33256 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
33257}
33258static void *_p_wxListbookEventTo_p_wxObject(void *x) {
6e0de3df 33259 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 33260}
b411df4a 33261static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
6e0de3df 33262 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 33263}
d55e5bfc
RD
33264static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33265 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33266}
33267static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33268 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33269}
33270static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33271 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33272}
33273static void *_p_wxWindowTo_p_wxObject(void *x) {
33274 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33275}
33276static void *_p_wxMenuTo_p_wxObject(void *x) {
33277 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33278}
33279static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33281}
33282static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33283 return (void *)((wxObject *) ((wxFileSystem *) x));
33284}
33285static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33287}
33288static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33289 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33290}
33291static void *_p_wxPyAppTo_p_wxObject(void *x) {
33292 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33293}
33294static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33295 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33296}
33297static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33298 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33299}
33300static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33301 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33302}
6e0de3df
RD
33303static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
33304 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
33305}
d55e5bfc
RD
33306static void *_p_wxTreeEventTo_p_wxObject(void *x) {
33307 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
33308}
33309static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33310 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33311}
33312static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33313 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33314}
33315static void *_p_wxStaticTextTo_p_wxObject(void *x) {
33316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
33317}
33318static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33319 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33320}
33321static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33322 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33323}
33324static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33325 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33326}
33327static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33329}
33330static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
33331 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
33332}
33333static void *_p_wxToolBarTo_p_wxObject(void *x) {
33334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33335}
33336static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33337 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33338}
33339static void *_p_wxValidatorTo_p_wxObject(void *x) {
33340 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33341}
33342static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
33343 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
33344}
d55e5bfc
RD
33345static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33346 return (void *)((wxWindow *) ((wxMenuBar *) x));
33347}
6e0de3df
RD
33348static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
33349 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
33350}
d55e5bfc
RD
33351static void *_p_wxToolBarTo_p_wxWindow(void *x) {
33352 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33353}
33354static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
33355 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
33356}
33357static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
33358 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
33359}
d55e5bfc
RD
33360static void *_p_wxControlTo_p_wxWindow(void *x) {
33361 return (void *)((wxWindow *) ((wxControl *) x));
33362}
33363static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
33364 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
33365}
33366static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
33367 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33368}
33369static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
33370 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
33371}
33372static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
33373 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
33374}
b411df4a
RD
33375static void *_p_wxPyControlTo_p_wxWindow(void *x) {
33376 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
33377}
d55e5bfc
RD
33378static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
33379 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
33380}
33381static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
33382 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
33383}
33384static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33385 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33386}
33387static void *_p_wxGaugeTo_p_wxWindow(void *x) {
33388 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
33389}
33390static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
33391 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
33392}
b411df4a 33393static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
6e0de3df 33394 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 33395}
d55e5bfc 33396static void *_p_wxListbookTo_p_wxWindow(void *x) {
6e0de3df 33397 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
33398}
33399static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
33400 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
33401}
33402static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
33403 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
33404}
33405static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
33406 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
33407}
33408static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
33409 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33410}
33411static void *_p_wxChoiceTo_p_wxWindow(void *x) {
33412 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33413}
33414static void *_p_wxListBoxTo_p_wxWindow(void *x) {
33415 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33416}
33417static void *_p_wxListViewTo_p_wxWindow(void *x) {
33418 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33419}
33420static void *_p_wxNotebookTo_p_wxWindow(void *x) {
6e0de3df 33421 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
33422}
33423static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33424 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33425}
33426static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33427 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33428}
33429static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33430 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33431}
33432static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33433 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33434}
33435static void *_p_wxSliderTo_p_wxWindow(void *x) {
33436 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33437}
33438static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33439 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33440}
33441static void *_p_wxButtonTo_p_wxWindow(void *x) {
33442 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33443}
33444static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33445 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33446}
33447static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33448 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33449}
33450static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33451 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33452}
6e0de3df
RD
33453static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
33454 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
33455}
33456static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
33457 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
33458}
33459static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
33460 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
33461}
d55e5bfc
RD
33462static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33463 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33464}
d55e5bfc
RD
33465static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33466 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33467}
33468static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33469 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33470}
33471static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33472 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33473}
33474static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33475 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33476}
33477static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33478 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33479}
b411df4a 33480static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 33481 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 33482}
d55e5bfc 33483static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 33484 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
33485}
33486static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 33487 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 33488}
d55e5bfc
RD
33489static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33490 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33491}
b411df4a
RD
33492static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33493 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33494}
6e0de3df
RD
33495static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
33496 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
33497}
d55e5bfc
RD
33498static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33499 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33500}
33501static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33502 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33503}
33504static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33505 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33506}
33507static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33508 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33509}
33510static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33511 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33512}
33513static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33514 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33515}
33516static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33517 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33518}
33519static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33520 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33521}
33522static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33523 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33524}
33525static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33526 return (void *)((wxValidator *) ((wxPyValidator *) x));
33527}
33528static 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}};
d55e5bfc
RD
33529static 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}};
33530static 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}};
33531static 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}};
6e0de3df 33532static 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_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_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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}};
d55e5bfc
RD
33533static 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}};
33534static 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}};
33535static 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}};
33536static 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}};
33537static 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}};
33538static 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}};
33539static 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}};
6e0de3df 33540static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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}};
d55e5bfc
RD
33541static 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}};
33542static 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}};
33543static 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}};
33544static 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}};
33545static 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}};
33546static 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}};
33547static 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}};
33548static 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}};
33549static 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}};
33550static 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}};
33551static 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}};
33552static 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}};
33553static 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}};
33554static 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}};
33555static 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}};
33556static 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}};
33557static 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}};
33558static 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}};
b411df4a 33559static 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}};
6e0de3df 33560static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_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}};
d55e5bfc
RD
33561static 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}};
33562static 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}};
33563static 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}};
33564static 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}};
33565static 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}};
33566static 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}};
33567static 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}};
33568static 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}};
6e0de3df
RD
33569static swig_type_info _swigt__p_wxBookCtrlBase[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33570static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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}};
d55e5bfc
RD
33571static 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}};
33572static 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}};
33573static 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}};
d55e5bfc
RD
33574static 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}};
33575static 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}};
33576static 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}};
33577static 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}};
33578static 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}};
33579static 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}};
33580static 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}};
33581static 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}};
33582static 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}};
33583static 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}};
33584static 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}};
33585static 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}};
33586static 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}};
33587static 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}};
33588static 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}};
33589static 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}};
33590static 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}};
33591static 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}};
33592static 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}};
33593static 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}};
33594static 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}};
b411df4a 33595static 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}};
d55e5bfc
RD
33596static 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}};
33597static 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}};
6e0de3df 33598static 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_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_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_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_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_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_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_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}};
d55e5bfc
RD
33599static 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}};
33600static 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}};
6e0de3df 33601static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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}};
d55e5bfc
RD
33602static 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}};
33603static 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}};
33604static 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}};
33605static 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}};
6e0de3df
RD
33606static swig_type_info _swigt__p_wxBookCtrlBaseEvent[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33607static 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_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_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}};
d55e5bfc
RD
33608static 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}};
33609static 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}};
33610static 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}};
33611static 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}};
33612static 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}};
33613static 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}};
33614static 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}};
33615
33616static swig_type_info *swig_types_initial[] = {
33617_swigt__p_wxTextUrlEvent,
d55e5bfc
RD
33618_swigt__p_wxSizer,
33619_swigt__p_wxCheckBox,
33620_swigt__p_wxPyTreeCtrl,
33621_swigt__p_wxEvent,
33622_swigt__p_wxGenericDirCtrl,
33623_swigt__p_bool,
33624_swigt__p_wxPyTreeItemData,
33625_swigt__p_wxItemContainer,
33626_swigt__p_wxPyListCtrl,
33627_swigt__p_wxDirFilterListCtrl,
33628_swigt__p_wxStaticLine,
33629_swigt__p_wxControl,
33630_swigt__p_wxPyControl,
33631_swigt__p_wxGauge,
33632_swigt__p_wxToolBarBase,
33633_swigt__p_wxFont,
33634_swigt__p_wxToggleButton,
33635_swigt__p_wxRadioButton,
33636_swigt__p_wxChoice,
33637_swigt__p_wxMemoryDC,
33638_swigt__p_wxListItemAttr,
33639_swigt__p_void,
33640_swigt__p_int,
33641_swigt__p_wxSize,
33642_swigt__p_wxDC,
33643_swigt__p_wxListView,
33644_swigt__p_wxIcon,
33645_swigt__p_wxVisualAttributes,
33646_swigt__p_wxTextCtrl,
33647_swigt__p_wxNotebook,
b411df4a 33648_swigt__p_wxChoicebook,
d55e5bfc
RD
33649_swigt__p_wxNotifyEvent,
33650_swigt__p_wxArrayString,
33651_swigt__p_wxListbook,
33652_swigt__p_wxStaticBitmap,
33653_swigt__p_wxSlider,
33654_swigt__p_wxStaticBox,
33655_swigt__p_wxArrayInt,
33656_swigt__p_wxContextHelp,
33657_swigt__p_long,
6e0de3df 33658_swigt__p_wxBookCtrlBase,
d55e5bfc
RD
33659_swigt__p_wxEvtHandler,
33660_swigt__p_wxListEvent,
33661_swigt__p_wxCheckListBox,
33662_swigt__p_wxListBox,
d55e5bfc
RD
33663_swigt__p_wxSpinButton,
33664_swigt__p_wxButton,
33665_swigt__p_wxBitmapButton,
33666_swigt__p_wxRect,
33667_swigt__p_wxContextHelpButton,
33668_swigt__p_wxRadioBox,
33669_swigt__p_wxScrollBar,
33670_swigt__p_char,
33671_swigt__p_wxTreeItemId,
33672_swigt__p_wxComboBox,
33673_swigt__p_wxHelpEvent,
33674_swigt__p_wxListItem,
33675_swigt__p_wxNotebookSizer,
33676_swigt__p_wxSpinEvent,
33677_swigt__p_wxGenericDragImage,
33678_swigt__p_wxSpinCtrl,
33679_swigt__p_wxImageList,
33680_swigt__p_wxHelpProvider,
33681_swigt__p_wxTextAttr,
33682_swigt__p_wxSimpleHelpProvider,
33683_swigt__p_wxPoint,
b411df4a 33684_swigt__p_wxChoicebookEvent,
d55e5bfc
RD
33685_swigt__p_wxListbookEvent,
33686_swigt__p_wxNotebookEvent,
33687_swigt__p_wxObject,
33688_swigt__p_wxCursor,
33689_swigt__p_wxKeyEvent,
33690_swigt__p_wxWindow,
33691_swigt__p_wxString,
33692_swigt__p_wxBitmap,
33693_swigt__p_wxTreeEvent,
33694_swigt__p_wxMouseEvent,
6e0de3df 33695_swigt__p_wxBookCtrlBaseEvent,
d55e5bfc
RD
33696_swigt__p_wxCommandEvent,
33697_swigt__p_wxStaticText,
33698_swigt__p_wxControlWithItems,
33699_swigt__p_wxToolBarToolBase,
33700_swigt__p_wxColour,
33701_swigt__p_wxToolBar,
33702_swigt__p_wxBookCtrlSizer,
33703_swigt__p_wxValidator,
337040
33705};
33706
33707
33708/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33709
33710static swig_const_info swig_const_table[] = {
c370783e 33711{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
33712
33713#ifdef __cplusplus
33714}
33715#endif
33716
33717#ifdef __cplusplus
33718extern "C"
33719#endif
33720SWIGEXPORT(void) SWIG_init(void) {
33721 static PyObject *SWIG_globals = 0;
33722 static int typeinit = 0;
33723 PyObject *m, *d;
33724 int i;
33725 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33726 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33727 d = PyModule_GetDict(m);
33728
33729 if (!typeinit) {
33730 for (i = 0; swig_types_initial[i]; i++) {
33731 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33732 }
33733 typeinit = 1;
33734 }
33735 SWIG_InstallConstants(d,swig_const_table);
33736
33737 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33738 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
c370783e
RD
33739 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT));
33740 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)wxBU_TOP));
33741 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT));
33742 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM));
8fb0e70a 33743 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)wxBU_ALIGN_MASK));
c370783e
RD
33744 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT));
33745 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW));
d55e5bfc 33746 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
c370783e
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));
d55e5bfc
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);
c370783e
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));
d55e5bfc
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);
c370783e
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));
d55e5bfc
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));
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);
c370783e
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));
d55e5bfc
RD
33817 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
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);
33822 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33823 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
c370783e
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));
d55e5bfc
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));
c370783e
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));
d55e5bfc
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));
b411df4a
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));
c370783e
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));
d55e5bfc 33866 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
c370783e
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));
d55e5bfc
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
33961 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
c370783e
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));
d55e5bfc
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));
34016 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
34017
34018 // Map renamed classes back to their common name for OOR
34019 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34020 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34021
34022 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
c370783e
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));
d55e5bfc
RD
34030 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
34031 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
34032
34033 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
34034
34035}
34036