]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
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
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef 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
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
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
139 #ifdef __cplusplus
140 extern "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 */
158 typedef 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
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(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
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxCheckBox swig_types[3]
215 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
216 #define SWIGTYPE_p_wxEvent swig_types[5]
217 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
218 #define SWIGTYPE_p_bool swig_types[7]
219 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
220 #define SWIGTYPE_p_wxItemContainer swig_types[9]
221 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
223 #define SWIGTYPE_p_wxStaticLine swig_types[12]
224 #define SWIGTYPE_p_wxControl swig_types[13]
225 #define SWIGTYPE_p_wxPyControl swig_types[14]
226 #define SWIGTYPE_p_wxGauge swig_types[15]
227 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
228 #define SWIGTYPE_p_wxFont swig_types[17]
229 #define SWIGTYPE_p_wxToggleButton swig_types[18]
230 #define SWIGTYPE_p_wxRadioButton swig_types[19]
231 #define SWIGTYPE_p_wxChoice swig_types[20]
232 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
233 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
234 #define SWIGTYPE_p_void swig_types[23]
235 #define SWIGTYPE_p_int swig_types[24]
236 #define SWIGTYPE_p_wxSize swig_types[25]
237 #define SWIGTYPE_p_wxDC swig_types[26]
238 #define SWIGTYPE_p_wxListView swig_types[27]
239 #define SWIGTYPE_p_wxIcon swig_types[28]
240 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_wxChoicebook swig_types[32]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[33]
245 #define SWIGTYPE_p_wxArrayString swig_types[34]
246 #define SWIGTYPE_p_wxListbook swig_types[35]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[36]
248 #define SWIGTYPE_p_wxSlider swig_types[37]
249 #define SWIGTYPE_p_wxStaticBox swig_types[38]
250 #define SWIGTYPE_p_wxArrayInt swig_types[39]
251 #define SWIGTYPE_p_wxContextHelp swig_types[40]
252 #define SWIGTYPE_p_long swig_types[41]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
254 #define SWIGTYPE_p_wxListEvent swig_types[43]
255 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
256 #define SWIGTYPE_p_wxListBox swig_types[45]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[46]
258 #define SWIGTYPE_p_wxSpinButton swig_types[47]
259 #define SWIGTYPE_p_wxButton swig_types[48]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[49]
261 #define SWIGTYPE_p_wxRect swig_types[50]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[51]
263 #define SWIGTYPE_p_wxRadioBox swig_types[52]
264 #define SWIGTYPE_p_wxScrollBar swig_types[53]
265 #define SWIGTYPE_p_char swig_types[54]
266 #define SWIGTYPE_p_wxTreeItemId swig_types[55]
267 #define SWIGTYPE_p_wxComboBox swig_types[56]
268 #define SWIGTYPE_p_wxHelpEvent swig_types[57]
269 #define SWIGTYPE_p_wxListItem swig_types[58]
270 #define SWIGTYPE_p_wxNotebookSizer swig_types[59]
271 #define SWIGTYPE_p_wxSpinEvent swig_types[60]
272 #define SWIGTYPE_p_wxGenericDragImage swig_types[61]
273 #define SWIGTYPE_p_wxSpinCtrl swig_types[62]
274 #define SWIGTYPE_p_wxImageList swig_types[63]
275 #define SWIGTYPE_p_wxHelpProvider swig_types[64]
276 #define SWIGTYPE_p_wxTextAttr swig_types[65]
277 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[66]
278 #define SWIGTYPE_p_wxPoint swig_types[67]
279 #define SWIGTYPE_p_wxChoicebookEvent swig_types[68]
280 #define SWIGTYPE_p_wxListbookEvent swig_types[69]
281 #define SWIGTYPE_p_wxNotebookEvent swig_types[70]
282 #define SWIGTYPE_p_wxObject swig_types[71]
283 #define SWIGTYPE_p_wxCursor swig_types[72]
284 #define SWIGTYPE_p_wxKeyEvent swig_types[73]
285 #define SWIGTYPE_p_wxWindow swig_types[74]
286 #define SWIGTYPE_p_wxString swig_types[75]
287 #define SWIGTYPE_p_wxBitmap swig_types[76]
288 #define SWIGTYPE_p_wxTreeEvent swig_types[77]
289 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxStaticText swig_types[80]
292 #define SWIGTYPE_p_wxControlWithItems swig_types[81]
293 #define SWIGTYPE_p_wxToolBarToolBase swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[85]
297 #define SWIGTYPE_p_wxValidator swig_types[86]
298 static swig_type_info *swig_types[88];
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
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
315
316 #ifdef __cplusplus
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
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)
327
328 #else /* C case */
329
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
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)))
340
341 #endif /* __cplusplus */
342
343
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 /*@@*/
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
384 SWIGSTATICINLINE(int)
385 SWIG_CheckLongInRange(long value, long min_value, long max_value,
386 const char *errmsg)
387 {
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);
400 }
401 return 0;
402 }
403 return 1;
404 }
405
406
407 // See my_fragments.i
408 SWIGSTATICINLINE(int)
409 SWIG_AsVal_long(PyObject* obj, long* val)
410 {
411 if (PyNumber_Check(obj)) {
412 if (val) *val = PyInt_AsLong(obj);
413 return 1;
414 }
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);
420 }
421 return 0;
422 }
423
424
425 #if INT_MAX != LONG_MAX
426 SWIGSTATICINLINE(int)
427 SWIG_AsVal_int(PyObject *obj, int *val)
428 {
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;
445 }
446 #else
447 SWIGSTATICINLINE(int)
448 SWIG_AsVal_int(PyObject *obj, int *val)
449 {
450 return SWIG_AsVal_long(obj,(long*)val);
451 }
452 #endif
453
454
455 SWIGSTATICINLINE(int)
456 SWIG_As_int(PyObject* obj)
457 {
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));
466 }
467 return v;
468 }
469
470
471 SWIGSTATICINLINE(long)
472 SWIG_As_long(PyObject* obj)
473 {
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));
482 }
483 return v;
484 }
485
486
487 SWIGSTATICINLINE(int)
488 SWIG_Check_int(PyObject* obj)
489 {
490 return SWIG_AsVal_int(obj, (int*)0);
491 }
492
493
494 SWIGSTATICINLINE(int)
495 SWIG_Check_long(PyObject* obj)
496 {
497 return SWIG_AsVal_long(obj, (long*)0);
498 }
499
500 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
501
502 SWIGSTATICINLINE(int)
503 SWIG_AsVal_bool(PyObject *obj, bool *val)
504 {
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;
512 return 1;
513 }
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
526 SWIGSTATICINLINE(bool)
527 SWIG_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
542 SWIGSTATICINLINE(int)
543 SWIG_Check_bool(PyObject* obj)
544 {
545 return SWIG_AsVal_bool(obj, (bool*)0);
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);
559 void 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 }
566 PyObject *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 }
575 void 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 }
581 void 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 }
587 void 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
595 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
596 PyObject* o2;
597 PyObject* o3;
598
599 if (!target) {
600 target = o;
601 } else if (target == Py_None) {
602 Py_DECREF(Py_None);
603 target = o;
604 } else {
605 if (!PyTuple_Check(target)) {
606 o2 = target;
607 target = PyTuple_New(1);
608 PyTuple_SetItem(target, 0, o2);
609 }
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;
619 }
620
621
622
623 // See my_fragments.i
624 SWIGSTATICINLINE(int)
625 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
626 {
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;
631 }
632 else if (val)
633 *val = (unsigned long)v;
634 return 1;
635 }
636
637
638 SWIGSTATICINLINE(unsigned long)
639 SWIG_As_unsigned_SS_long(PyObject* obj)
640 {
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));
649 }
650 return v;
651 }
652
653
654 SWIGSTATICINLINE(int)
655 SWIG_Check_unsigned_SS_long(PyObject* obj)
656 {
657 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
658 }
659
660 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
661 self->AppendText(text);
662 }
663 wxString 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
683 class wxToggleButton : public wxControl
684 {
685 public:
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
698 SWIGSTATICINLINE(PyObject* )
699 SWIG_From_unsigned_SS_long(unsigned long value)
700 {
701 return (value > LONG_MAX) ?
702 PyLong_FromUnsignedLong(value)
703 : PyInt_FromLong(swig_numeric_cast(value,long));
704 }
705
706 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
707 PyObject *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 }
717 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
718 self->SetClientData(new wxPyUserData(clientData));
719 }
720 wxToolBarToolBase *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 }
727 wxToolBarToolBase *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 }
734 PyObject *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 }
744 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
745 self->SetToolClientData(id, new wxPyUserData(clientData));
746 }
747
748 #include <wx/listctrl.h>
749
750 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
751 void 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
771 class wxPyListCtrl : public wxListCtrl {
772 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
773 public:
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);
793 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
794
795 // use the virtual version to avoid a confusing assert in the base class
796 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
797
798 PYPRIVATE;
799 };
800
801 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
802
803 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
804 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
805 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
806
807
808 wxListItem *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 }
823 wxListItem *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 }
831 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
832 wxPoint pos;
833 self->GetItemPosition(item, pos);
834 return pos;
835 }
836 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
837 wxRect rect;
838 self->GetItemRect(item, rect, code);
839 return rect;
840 }
841
842 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
843 if (!PyCallable_Check(func))
844 return false;
845 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
846 }
847 wxWindow *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"));
859 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
860 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
861 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
862 // C++ version of Python aware wxTreeCtrl
863 class wxPyTreeCtrl : public wxTreeCtrl {
864 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
865 public:
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"))) {
891 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
892 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
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
905 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
906
907
908
909 #if UINT_MAX < LONG_MAX
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 /*@@*/
913 #else
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 /*@@*/
917 #endif
918
919
920 SWIGSTATICINLINE(int)
921 SWIG_CheckUnsignedLongInRange(unsigned long value,
922 unsigned long max_value,
923 const char *errmsg)
924 {
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);
930 }
931 return 0;
932 }
933 return 1;
934 }
935
936
937 #if UINT_MAX != ULONG_MAX
938 SWIGSTATICINLINE(int)
939 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
940 {
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;
955 }
956 #else
957 SWIGSTATICINLINE(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 }
962 #endif
963
964
965 SWIGSTATICINLINE(unsigned int)
966 SWIG_As_unsigned_SS_int(PyObject* obj)
967 {
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));
976 }
977 return v;
978 }
979
980
981 SWIGSTATICINLINE(int)
982 SWIG_Check_unsigned_SS_int(PyObject* obj)
983 {
984 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
985 }
986
987 wxPyTreeItemData *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 }
996 PyObject *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 }
1005 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
1006 data->SetId(item); // set the id
1007 self->SetItemData(item, data);
1008 }
1009 void 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 }
1018 PyObject *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));
1026 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
1027 PyList_Append(rval, item);
1028 Py_DECREF(item);
1029 }
1030 wxPyEndBlockThreads(blocked);
1031 return rval;
1032 }
1033 PyObject *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);
1038 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
1039 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1040 wxPyEndBlockThreads(blocked);
1041 return tup;
1042 }
1043 PyObject *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);
1047 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
1048 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1049 wxPyEndBlockThreads(blocked);
1050 return tup;
1051 }
1052 PyObject *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);
1057 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
1058 wxPyEndBlockThreads(blocked);
1059 return val;
1060 }
1061 else
1062 RETURN_NONE();
1063 }
1064 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
1065
1066 SWIGSTATICINLINE(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
1075 // C++ version of Python aware wxControl
1076 class wxPyControl : public wxControl
1077 {
1078 DECLARE_DYNAMIC_CLASS(wxPyControl)
1079 public:
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
1089 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
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
1115 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1116 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1117 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1118
1119 PYPRIVATE;
1120 };
1121
1122 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
1123
1124 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
1125 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
1126 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
1127 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
1128
1129 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
1130 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
1131 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
1132
1133 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
1134 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
1135
1136 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
1137 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
1138 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
1139 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1140
1141 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1142 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1143 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1144
1145 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1146 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1147
1148 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1149 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1150 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
1151
1152
1153
1154 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1155
1156 #include <wx/generic/dragimgg.h>
1157
1158 #ifdef __cplusplus
1159 extern "C" {
1160 #endif
1161 static int _wrap_ButtonNameStr_set(PyObject *) {
1162 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1163 return 1;
1164 }
1165
1166
1167 static 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
1181 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
1182 PyObject *resultobj;
1183 wxWindow *arg1 = (wxWindow *) 0 ;
1184 int arg2 = (int) -1 ;
1185 wxString const &arg3_defvalue = wxPyEmptyString ;
1186 wxString *arg3 = (wxString *) &arg3_defvalue ;
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;
1197 bool temp3 = false ;
1198 wxPoint temp4 ;
1199 wxSize temp5 ;
1200 bool temp8 = false ;
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
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1216 if (obj1) {
1217 arg2 = (int)SWIG_As_int(obj1);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 if (obj2) {
1221 {
1222 arg3 = wxString_in_helper(obj2);
1223 if (arg3 == NULL) SWIG_fail;
1224 temp3 = true;
1225 }
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) {
1240 arg6 = (long)SWIG_As_long(obj5);
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;
1256 temp8 = true;
1257 }
1258 }
1259 {
1260 if (!wxPyCheckForApp()) SWIG_fail;
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);
1265 if (PyErr_Occurred()) SWIG_fail;
1266 }
1267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
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
1290 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
1299 if (!wxPyCheckForApp()) SWIG_fail;
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 result = (wxButton *)new wxButton();
1302
1303 wxPyEndAllowThreads(__tstate);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
1307 return resultobj;
1308 fail:
1309 return NULL;
1310 }
1311
1312
1313 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1314 PyObject *resultobj;
1315 wxButton *arg1 = (wxButton *) 0 ;
1316 wxWindow *arg2 = (wxWindow *) 0 ;
1317 int arg3 = (int) -1 ;
1318 wxString const &arg4_defvalue = wxPyEmptyString ;
1319 wxString *arg4 = (wxString *) &arg4_defvalue ;
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;
1330 bool temp4 = false ;
1331 wxPoint temp5 ;
1332 wxSize temp6 ;
1333 bool temp9 = false ;
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
1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
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;
1352 if (obj2) {
1353 arg3 = (int)SWIG_As_int(obj2);
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 if (obj3) {
1357 {
1358 arg4 = wxString_in_helper(obj3);
1359 if (arg4 == NULL) SWIG_fail;
1360 temp4 = true;
1361 }
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) {
1376 arg7 = (long)SWIG_As_long(obj6);
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;
1392 temp9 = true;
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
1427 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
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
1452 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
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
1478 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
1489 arg1 = (int)SWIG_As_int(obj0);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 {
1493 if (!wxPyCheckForApp()) SWIG_fail;
1494 PyThreadState* __tstate = wxPyBeginAllowThreads();
1495 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1496
1497 wxPyEndAllowThreads(__tstate);
1498 if (PyErr_Occurred()) SWIG_fail;
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
1511 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
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 }
1518 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1519 PyObject *resultobj;
1520 wxWindow *arg1 = (wxWindow *) 0 ;
1521 int arg2 = (int) -1 ;
1522 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1523 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
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 ;
1536 bool temp8 = false ;
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
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1552 if (obj1) {
1553 arg2 = (int)SWIG_As_int(obj1);
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)
1559 SWIG_fail;
1560 if (arg3 == NULL) {
1561 PyErr_SetString(PyExc_TypeError,"null reference");
1562 SWIG_fail;
1563 }
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) {
1578 arg6 = (long)SWIG_As_long(obj5);
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;
1594 temp8 = true;
1595 }
1596 }
1597 {
1598 if (!wxPyCheckForApp()) SWIG_fail;
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);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 }
1605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
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
1620 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
1629 if (!wxPyCheckForApp()) SWIG_fail;
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (wxBitmapButton *)new wxBitmapButton();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
1637 return resultobj;
1638 fail:
1639 return NULL;
1640 }
1641
1642
1643 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1644 PyObject *resultobj;
1645 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1646 wxWindow *arg2 = (wxWindow *) 0 ;
1647 int arg3 = (int) -1 ;
1648 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1649 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
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 ;
1662 bool temp9 = false ;
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
1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
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;
1681 if (obj2) {
1682 arg3 = (int)SWIG_As_int(obj2);
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)
1688 SWIG_fail;
1689 if (arg4 == NULL) {
1690 PyErr_SetString(PyExc_TypeError,"null reference");
1691 SWIG_fail;
1692 }
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) {
1707 arg7 = (long)SWIG_As_long(obj6);
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;
1723 temp9 = true;
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
1750 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
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
1780 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
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
1810 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
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
1840 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
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
1870 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
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
1904 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
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
1938 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
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
1972 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
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
2006 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2021 arg2 = (int)SWIG_As_int(obj1);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 arg3 = (int)SWIG_As_int(obj2);
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
2039 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
2058 resultobj = SWIG_From_int((int)result);
2059 return resultobj;
2060 fail:
2061 return NULL;
2062 }
2063
2064
2065 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
2084 resultobj = SWIG_From_int((int)result);
2085 return resultobj;
2086 fail:
2087 return NULL;
2088 }
2089
2090
2091 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
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 }
2098 static int _wrap_CheckBoxNameStr_set(PyObject *) {
2099 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
2100 return 1;
2101 }
2102
2103
2104 static 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
2118 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
2119 PyObject *resultobj;
2120 wxWindow *arg1 = (wxWindow *) 0 ;
2121 int arg2 = (int) -1 ;
2122 wxString const &arg3_defvalue = wxPyEmptyString ;
2123 wxString *arg3 = (wxString *) &arg3_defvalue ;
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;
2134 bool temp3 = false ;
2135 wxPoint temp4 ;
2136 wxSize temp5 ;
2137 bool temp8 = false ;
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
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2153 if (obj1) {
2154 arg2 = (int)SWIG_As_int(obj1);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 if (obj2) {
2158 {
2159 arg3 = wxString_in_helper(obj2);
2160 if (arg3 == NULL) SWIG_fail;
2161 temp3 = true;
2162 }
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) {
2177 arg6 = (long)SWIG_As_long(obj5);
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;
2193 temp8 = true;
2194 }
2195 }
2196 {
2197 if (!wxPyCheckForApp()) SWIG_fail;
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);
2202 if (PyErr_Occurred()) SWIG_fail;
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
2227 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
2236 if (!wxPyCheckForApp()) SWIG_fail;
2237 PyThreadState* __tstate = wxPyBeginAllowThreads();
2238 result = (wxCheckBox *)new wxCheckBox();
2239
2240 wxPyEndAllowThreads(__tstate);
2241 if (PyErr_Occurred()) SWIG_fail;
2242 }
2243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2244 return resultobj;
2245 fail:
2246 return NULL;
2247 }
2248
2249
2250 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2251 PyObject *resultobj;
2252 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2253 wxWindow *arg2 = (wxWindow *) 0 ;
2254 int arg3 = (int) -1 ;
2255 wxString const &arg4_defvalue = wxPyEmptyString ;
2256 wxString *arg4 = (wxString *) &arg4_defvalue ;
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;
2267 bool temp4 = false ;
2268 wxPoint temp5 ;
2269 wxSize temp6 ;
2270 bool temp9 = false ;
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
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
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;
2289 if (obj2) {
2290 arg3 = (int)SWIG_As_int(obj2);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 if (obj3) {
2294 {
2295 arg4 = wxString_in_helper(obj3);
2296 if (arg4 == NULL) SWIG_fail;
2297 temp4 = true;
2298 }
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) {
2313 arg7 = (long)SWIG_As_long(obj6);
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;
2329 temp9 = true;
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
2364 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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
2392 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
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
2420 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2433 arg2 = (bool)SWIG_As_bool(obj1);
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
2449 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
2468 resultobj = SWIG_From_int((int)result);
2469 return resultobj;
2470 fail:
2471 return NULL;
2472 }
2473
2474
2475 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2488 arg2 = (int)SWIG_As_int(obj1);
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
2504 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
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
2532 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
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
2560 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
2571 arg1 = (int)SWIG_As_int(obj0);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 {
2575 if (!wxPyCheckForApp()) SWIG_fail;
2576 PyThreadState* __tstate = wxPyBeginAllowThreads();
2577 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2578
2579 wxPyEndAllowThreads(__tstate);
2580 if (PyErr_Occurred()) SWIG_fail;
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
2593 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
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 }
2600 static int _wrap_ChoiceNameStr_set(PyObject *) {
2601 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2602 return 1;
2603 }
2604
2605
2606 static 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
2620 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
2638 bool temp5 = false ;
2639 bool temp8 = false ;
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) {
2656 arg2 = (int)SWIG_As_int(obj1);
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;
2678 temp5 = true;
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) {
2695 arg6 = (long)SWIG_As_long(obj5);
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;
2711 temp8 = true;
2712 }
2713 }
2714 {
2715 if (!wxPyCheckForApp()) SWIG_fail;
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);
2720 if (PyErr_Occurred()) SWIG_fail;
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
2743 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
2752 if (!wxPyCheckForApp()) SWIG_fail;
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 result = (wxChoice *)new wxChoice();
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2760 return resultobj;
2761 fail:
2762 return NULL;
2763 }
2764
2765
2766 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
2785 bool temp6 = false ;
2786 bool temp9 = false ;
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) {
2806 arg3 = (int)SWIG_As_int(obj2);
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;
2828 temp6 = true;
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) {
2845 arg7 = (long)SWIG_As_long(obj6);
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;
2861 temp9 = true;
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
2894 static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2907 arg2 = (int)SWIG_As_int(obj1);
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
2923 static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj;
2925 wxChoice *arg1 = (wxChoice *) 0 ;
2926 wxString *arg2 = 0 ;
2927 bool result;
2928 bool temp2 = false ;
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;
2941 temp2 = true;
2942 }
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 {
2951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2952 }
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
2967 static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 wxChoice *arg1 = (wxChoice *) 0 ;
2970 int arg2 ;
2971 wxString *arg3 = 0 ;
2972 bool temp3 = false ;
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;
2983 arg2 = (int)SWIG_As_int(obj1);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 {
2986 arg3 = wxString_in_helper(obj2);
2987 if (arg3 == NULL) SWIG_fail;
2988 temp3 = true;
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
3012 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
3023 arg1 = (int)SWIG_As_int(obj0);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 {
3027 if (!wxPyCheckForApp()) SWIG_fail;
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
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
3045 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
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 }
3052 static int _wrap_ComboBoxNameStr_set(PyObject *) {
3053 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
3054 return 1;
3055 }
3056
3057
3058 static 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
3072 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3090 bool temp3 = false ;
3091 wxPoint temp4 ;
3092 wxSize temp5 ;
3093 bool temp6 = false ;
3094 bool temp9 = false ;
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) {
3112 arg2 = (int)SWIG_As_int(obj1);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 if (obj2) {
3116 {
3117 arg3 = wxString_in_helper(obj2);
3118 if (arg3 == NULL) SWIG_fail;
3119 temp3 = true;
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;
3141 temp6 = true;
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) {
3158 arg7 = (long)SWIG_As_long(obj6);
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;
3174 temp9 = true;
3175 }
3176 }
3177 {
3178 if (!wxPyCheckForApp()) SWIG_fail;
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);
3183 if (PyErr_Occurred()) SWIG_fail;
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
3214 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
3223 if (!wxPyCheckForApp()) SWIG_fail;
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 result = (wxComboBox *)new wxComboBox();
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3231 return resultobj;
3232 fail:
3233 return NULL;
3234 }
3235
3236
3237 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3256 bool temp4 = false ;
3257 wxPoint temp5 ;
3258 wxSize temp6 ;
3259 bool temp7 = false ;
3260 bool temp10 = false ;
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) {
3281 arg3 = (int)SWIG_As_int(obj2);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 if (obj3) {
3285 {
3286 arg4 = wxString_in_helper(obj3);
3287 if (arg4 == NULL) SWIG_fail;
3288 temp4 = true;
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;
3310 temp7 = true;
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) {
3327 arg8 = (long)SWIG_As_long(obj7);
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;
3343 temp10 = true;
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
3384 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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
3416 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj;
3418 wxComboBox *arg1 = (wxComboBox *) 0 ;
3419 wxString *arg2 = 0 ;
3420 bool temp2 = false ;
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;
3433 temp2 = true;
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
3457 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxComboBox *arg1 = (wxComboBox *) 0 ;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_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
3482 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
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
3507 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
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
3532 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3545 arg2 = (long)SWIG_As_long(obj1);
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
3561 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
3580 resultobj = SWIG_From_long((long)result);
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
3606 resultobj = SWIG_From_long((long)result);
3607 return resultobj;
3608 fail:
3609 return NULL;
3610 }
3611
3612
3613 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
3614 PyObject *resultobj;
3615 wxComboBox *arg1 = (wxComboBox *) 0 ;
3616 long arg2 ;
3617 long arg3 ;
3618 wxString *arg4 = 0 ;
3619 bool temp4 = false ;
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;
3631 arg2 = (long)SWIG_As_long(obj1);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 arg3 = (long)SWIG_As_long(obj2);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 {
3636 arg4 = wxString_in_helper(obj3);
3637 if (arg4 == NULL) SWIG_fail;
3638 temp4 = true;
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
3662 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3675 arg2 = (int)SWIG_As_int(obj1);
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
3691 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3706 arg2 = (long)SWIG_As_long(obj1);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 arg3 = (long)SWIG_As_long(obj2);
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
3724 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxComboBox *arg1 = (wxComboBox *) 0 ;
3727 wxString *arg2 = 0 ;
3728 bool result;
3729 bool temp2 = false ;
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;
3742 temp2 = true;
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
3768 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj;
3770 wxComboBox *arg1 = (wxComboBox *) 0 ;
3771 int arg2 ;
3772 wxString *arg3 = 0 ;
3773 bool temp3 = false ;
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;
3784 arg2 = (int)SWIG_As_int(obj1);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 {
3787 arg3 = wxString_in_helper(obj2);
3788 if (arg3 == NULL) SWIG_fail;
3789 temp3 = true;
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
3813 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3826 arg2 = (bool)SWIG_As_bool(obj1);
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
3842 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
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
3867 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3882 arg2 = (long)SWIG_As_long(obj1);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 arg3 = (long)SWIG_As_long(obj2);
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
3900 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
3911 arg1 = (int)SWIG_As_int(obj0);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 {
3915 if (!wxPyCheckForApp()) SWIG_fail;
3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
3917 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3918
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
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
3933 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
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 }
3940 static int _wrap_GaugeNameStr_set(PyObject *) {
3941 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3942 return 1;
3943 }
3944
3945
3946 static 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
3960 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
3961 PyObject *resultobj;
3962 wxWindow *arg1 = (wxWindow *) 0 ;
3963 int arg2 = (int) -1 ;
3964 int arg3 = (int) 100 ;
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 ;
3977 bool temp8 = false ;
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
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3993 if (obj1) {
3994 arg2 = (int)SWIG_As_int(obj1);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 if (obj2) {
3998 arg3 = (int)SWIG_As_int(obj2);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
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) {
4014 arg6 = (long)SWIG_As_long(obj5);
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;
4030 temp8 = true;
4031 }
4032 }
4033 {
4034 if (!wxPyCheckForApp()) SWIG_fail;
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);
4039 if (PyErr_Occurred()) SWIG_fail;
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
4056 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
4065 if (!wxPyCheckForApp()) SWIG_fail;
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = (wxGauge *)new wxGauge();
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
4073 return resultobj;
4074 fail:
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxGauge *arg1 = (wxGauge *) 0 ;
4082 wxWindow *arg2 = (wxWindow *) 0 ;
4083 int arg3 = (int) -1 ;
4084 int arg4 = (int) 100 ;
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 ;
4097 bool temp9 = false ;
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
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
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;
4116 if (obj2) {
4117 arg3 = (int)SWIG_As_int(obj2);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 if (obj3) {
4121 arg4 = (int)SWIG_As_int(obj3);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
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) {
4137 arg7 = (long)SWIG_As_long(obj6);
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;
4153 temp9 = true;
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
4180 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4193 arg2 = (int)SWIG_As_int(obj1);
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
4209 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
4228 resultobj = SWIG_From_int((int)result);
4229 return resultobj;
4230 fail:
4231 return NULL;
4232 }
4233
4234
4235 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4248 arg2 = (int)SWIG_As_int(obj1);
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
4264 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
4283 resultobj = SWIG_From_int((int)result);
4284 return resultobj;
4285 fail:
4286 return NULL;
4287 }
4288
4289
4290 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
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
4318 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4331 arg2 = (int)SWIG_As_int(obj1);
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
4347 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
4366 resultobj = SWIG_From_int((int)result);
4367 return resultobj;
4368 fail:
4369 return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4386 arg2 = (int)SWIG_As_int(obj1);
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
4402 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
4421 resultobj = SWIG_From_int((int)result);
4422 return resultobj;
4423 fail:
4424 return NULL;
4425 }
4426
4427
4428 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
4439 arg1 = (int)SWIG_As_int(obj0);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 {
4443 if (!wxPyCheckForApp()) SWIG_fail;
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
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
4461 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
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 }
4468 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
4469 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4470 return 1;
4471 }
4472
4473
4474 static 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
4488 static int _wrap_StaticBoxNameStr_set(PyObject *) {
4489 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4490 return 1;
4491 }
4492
4493
4494 static 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
4508 static int _wrap_StaticTextNameStr_set(PyObject *) {
4509 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4510 return 1;
4511 }
4512
4513
4514 static 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
4528 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxWindow *arg1 = (wxWindow *) 0 ;
4531 int arg2 = (int) -1 ;
4532 wxString const &arg3_defvalue = wxPyEmptyString ;
4533 wxString *arg3 = (wxString *) &arg3_defvalue ;
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;
4542 bool temp3 = false ;
4543 wxPoint temp4 ;
4544 wxSize temp5 ;
4545 bool temp7 = false ;
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
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4560 if (obj1) {
4561 arg2 = (int)SWIG_As_int(obj1);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 if (obj2) {
4565 {
4566 arg3 = wxString_in_helper(obj2);
4567 if (arg3 == NULL) SWIG_fail;
4568 temp3 = true;
4569 }
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) {
4584 arg6 = (long)SWIG_As_long(obj5);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 if (obj6) {
4588 {
4589 arg7 = wxString_in_helper(obj6);
4590 if (arg7 == NULL) SWIG_fail;
4591 temp7 = true;
4592 }
4593 }
4594 {
4595 if (!wxPyCheckForApp()) SWIG_fail;
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);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
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
4625 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
4634 if (!wxPyCheckForApp()) SWIG_fail;
4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
4636 result = (wxStaticBox *)new wxStaticBox();
4637
4638 wxPyEndAllowThreads(__tstate);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
4642 return resultobj;
4643 fail:
4644 return NULL;
4645 }
4646
4647
4648 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4649 PyObject *resultobj;
4650 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4651 wxWindow *arg2 = (wxWindow *) 0 ;
4652 int arg3 = (int) -1 ;
4653 wxString const &arg4_defvalue = wxPyEmptyString ;
4654 wxString *arg4 = (wxString *) &arg4_defvalue ;
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;
4663 bool temp4 = false ;
4664 wxPoint temp5 ;
4665 wxSize temp6 ;
4666 bool temp8 = false ;
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
4679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
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;
4684 if (obj2) {
4685 arg3 = (int)SWIG_As_int(obj2);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4688 if (obj3) {
4689 {
4690 arg4 = wxString_in_helper(obj3);
4691 if (arg4 == NULL) SWIG_fail;
4692 temp4 = true;
4693 }
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) {
4708 arg7 = (long)SWIG_As_long(obj6);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 if (obj7) {
4712 {
4713 arg8 = wxString_in_helper(obj7);
4714 if (arg8 == NULL) SWIG_fail;
4715 temp8 = true;
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
4750 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
4761 arg1 = (int)SWIG_As_int(obj0);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 {
4765 if (!wxPyCheckForApp()) SWIG_fail;
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
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
4783 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
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 }
4790 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxWindow *arg1 = (wxWindow *) 0 ;
4793 int arg2 = (int) -1 ;
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 ;
4804 bool temp6 = false ;
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
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4818 if (obj1) {
4819 arg2 = (int)SWIG_As_int(obj1);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
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) {
4835 arg5 = (long)SWIG_As_long(obj4);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 if (obj5) {
4839 {
4840 arg6 = wxString_in_helper(obj5);
4841 if (arg6 == NULL) SWIG_fail;
4842 temp6 = true;
4843 }
4844 }
4845 {
4846 if (!wxPyCheckForApp()) SWIG_fail;
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);
4851 if (PyErr_Occurred()) SWIG_fail;
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
4868 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
4877 if (!wxPyCheckForApp()) SWIG_fail;
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 result = (wxStaticLine *)new wxStaticLine();
4880
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
4884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4885 return resultobj;
4886 fail:
4887 return NULL;
4888 }
4889
4890
4891 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj;
4893 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4894 wxWindow *arg2 = (wxWindow *) 0 ;
4895 int arg3 = (int) -1 ;
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 ;
4906 bool temp7 = false ;
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
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
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;
4923 if (obj2) {
4924 arg3 = (int)SWIG_As_int(obj2);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
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) {
4940 arg6 = (long)SWIG_As_long(obj5);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 if (obj6) {
4944 {
4945 arg7 = wxString_in_helper(obj6);
4946 if (arg7 == NULL) SWIG_fail;
4947 temp7 = true;
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
4974 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
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
5002 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
5017 resultobj = SWIG_From_int((int)result);
5018 return resultobj;
5019 fail:
5020 return NULL;
5021 }
5022
5023
5024 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
5035 arg1 = (int)SWIG_As_int(obj0);
5036 if (PyErr_Occurred()) SWIG_fail;
5037 }
5038 {
5039 if (!wxPyCheckForApp()) SWIG_fail;
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
5042
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
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
5057 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
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 }
5064 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj;
5066 wxWindow *arg1 = (wxWindow *) 0 ;
5067 int arg2 = (int) -1 ;
5068 wxString const &arg3_defvalue = wxPyEmptyString ;
5069 wxString *arg3 = (wxString *) &arg3_defvalue ;
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;
5078 bool temp3 = false ;
5079 wxPoint temp4 ;
5080 wxSize temp5 ;
5081 bool temp7 = false ;
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
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5096 if (obj1) {
5097 arg2 = (int)SWIG_As_int(obj1);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 if (obj2) {
5101 {
5102 arg3 = wxString_in_helper(obj2);
5103 if (arg3 == NULL) SWIG_fail;
5104 temp3 = true;
5105 }
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) {
5120 arg6 = (long)SWIG_As_long(obj5);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 if (obj6) {
5124 {
5125 arg7 = wxString_in_helper(obj6);
5126 if (arg7 == NULL) SWIG_fail;
5127 temp7 = true;
5128 }
5129 }
5130 {
5131 if (!wxPyCheckForApp()) SWIG_fail;
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);
5136 if (PyErr_Occurred()) SWIG_fail;
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
5161 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
5170 if (!wxPyCheckForApp()) SWIG_fail;
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = (wxStaticText *)new wxStaticText();
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5178 return resultobj;
5179 fail:
5180 return NULL;
5181 }
5182
5183
5184 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj;
5186 wxStaticText *arg1 = (wxStaticText *) 0 ;
5187 wxWindow *arg2 = (wxWindow *) 0 ;
5188 int arg3 = (int) -1 ;
5189 wxString const &arg4_defvalue = wxPyEmptyString ;
5190 wxString *arg4 = (wxString *) &arg4_defvalue ;
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;
5199 bool temp4 = false ;
5200 wxPoint temp5 ;
5201 wxSize temp6 ;
5202 bool temp8 = false ;
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
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
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;
5220 if (obj2) {
5221 arg3 = (int)SWIG_As_int(obj2);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 if (obj3) {
5225 {
5226 arg4 = wxString_in_helper(obj3);
5227 if (arg4 == NULL) SWIG_fail;
5228 temp4 = true;
5229 }
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) {
5244 arg7 = (long)SWIG_As_long(obj6);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 if (obj7) {
5248 {
5249 arg8 = wxString_in_helper(obj7);
5250 if (arg8 == NULL) SWIG_fail;
5251 temp8 = true;
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
5286 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
5297 arg1 = (int)SWIG_As_int(obj0);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 {
5301 if (!wxPyCheckForApp()) SWIG_fail;
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) SWIG_fail;
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
5319 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
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 }
5326 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj;
5328 wxWindow *arg1 = (wxWindow *) 0 ;
5329 int arg2 = (int) -1 ;
5330 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5331 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
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 ;
5342 bool temp7 = false ;
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
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5357 if (obj1) {
5358 arg2 = (int)SWIG_As_int(obj1);
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)
5364 SWIG_fail;
5365 if (arg3 == NULL) {
5366 PyErr_SetString(PyExc_TypeError,"null reference");
5367 SWIG_fail;
5368 }
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) {
5383 arg6 = (long)SWIG_As_long(obj5);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 if (obj6) {
5387 {
5388 arg7 = wxString_in_helper(obj6);
5389 if (arg7 == NULL) SWIG_fail;
5390 temp7 = true;
5391 }
5392 }
5393 {
5394 if (!wxPyCheckForApp()) SWIG_fail;
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);
5399 if (PyErr_Occurred()) SWIG_fail;
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
5416 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
5425 if (!wxPyCheckForApp()) SWIG_fail;
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = (wxStaticBitmap *)new wxStaticBitmap();
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5433 return resultobj;
5434 fail:
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5442 wxWindow *arg2 = (wxWindow *) 0 ;
5443 int arg3 = (int) -1 ;
5444 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5445 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
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 ;
5456 bool temp8 = false ;
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
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
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;
5474 if (obj2) {
5475 arg3 = (int)SWIG_As_int(obj2);
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)
5481 SWIG_fail;
5482 if (arg4 == NULL) {
5483 PyErr_SetString(PyExc_TypeError,"null reference");
5484 SWIG_fail;
5485 }
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) {
5500 arg7 = (long)SWIG_As_long(obj6);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 if (obj7) {
5504 {
5505 arg8 = wxString_in_helper(obj7);
5506 if (arg8 == NULL) SWIG_fail;
5507 temp8 = true;
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
5534 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
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
5564 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
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
5598 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
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
5632 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
5643 arg1 = (int)SWIG_As_int(obj0);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 {
5647 if (!wxPyCheckForApp()) SWIG_fail;
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
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
5665 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
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 }
5672 static int _wrap_ListBoxNameStr_set(PyObject *) {
5673 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5674 return 1;
5675 }
5676
5677
5678 static 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
5692 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxWindow *arg1 = (wxWindow *) 0 ;
5695 int arg2 = (int) -1 ;
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 ;
5710 bool temp5 = false ;
5711 bool temp8 = false ;
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
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5727 if (obj1) {
5728 arg2 = (int)SWIG_As_int(obj1);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
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;
5750 temp5 = true;
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) {
5767 arg6 = (long)SWIG_As_long(obj5);
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;
5783 temp8 = true;
5784 }
5785 }
5786 {
5787 if (!wxPyCheckForApp()) SWIG_fail;
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);
5792 if (PyErr_Occurred()) SWIG_fail;
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
5815 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
5824 if (!wxPyCheckForApp()) SWIG_fail;
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (wxListBox *)new wxListBox();
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxListBox *arg1 = (wxListBox *) 0 ;
5841 wxWindow *arg2 = (wxWindow *) 0 ;
5842 int arg3 = (int) -1 ;
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 ;
5857 bool temp6 = false ;
5858 bool temp9 = false ;
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
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
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;
5877 if (obj2) {
5878 arg3 = (int)SWIG_As_int(obj2);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
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;
5900 temp6 = true;
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) {
5917 arg7 = (long)SWIG_As_long(obj6);
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;
5933 temp9 = true;
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
5966 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
5967 PyObject *resultobj;
5968 wxListBox *arg1 = (wxListBox *) 0 ;
5969 wxString *arg2 = 0 ;
5970 int arg3 ;
5971 PyObject *arg4 = (PyObject *) NULL ;
5972 bool temp2 = false ;
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;
5987 temp2 = true;
5988 }
5989 arg3 = (int)SWIG_As_int(obj2);
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
6016 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxListBox *arg1 = (wxListBox *) 0 ;
6019 wxArrayString *arg2 = 0 ;
6020 int arg3 ;
6021 bool temp2 = false ;
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;
6038 temp2 = true;
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 }
6053 arg3 = (int)SWIG_As_int(obj2);
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
6075 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj;
6077 wxListBox *arg1 = (wxListBox *) 0 ;
6078 wxArrayString *arg2 = 0 ;
6079 bool temp2 = false ;
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;
6095 temp2 = true;
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
6130 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6144 arg2 = (int)SWIG_As_int(obj1);
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
6162 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
6163 PyObject *resultobj;
6164 wxListBox *arg1 = (wxListBox *) 0 ;
6165 int arg2 ;
6166 bool arg3 = (bool) true ;
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;
6177 arg2 = (int)SWIG_As_int(obj1);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 if (obj2) {
6180 arg3 = (bool)SWIG_As_bool(obj2);
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
6197 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6210 arg2 = (int)SWIG_As_int(obj1);
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
6226 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6239 arg2 = (int)SWIG_As_int(obj1);
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
6255 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
6269 arg2 = (int)SWIG_As_int(obj1);
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
6286 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
6287 PyObject *resultobj;
6288 wxListBox *arg1 = (wxListBox *) 0 ;
6289 wxString *arg2 = 0 ;
6290 bool arg3 = (bool) true ;
6291 bool result;
6292 bool temp2 = false ;
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;
6306 temp2 = true;
6307 }
6308 if (obj2) {
6309 arg3 = (bool)SWIG_As_bool(obj2);
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
6336 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
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
6362 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6375 arg2 = (int)SWIG_As_int(obj1);
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
6391 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj;
6393 wxListBox *arg1 = (wxListBox *) 0 ;
6394 wxString *arg2 = 0 ;
6395 bool temp2 = false ;
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;
6408 temp2 = true;
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
6432 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6445 arg2 = (int)SWIG_As_int(obj1);
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
6461 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6462 PyObject *resultobj;
6463 wxListBox *arg1 = (wxListBox *) 0 ;
6464 wxString *arg2 = 0 ;
6465 bool temp2 = false ;
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;
6478 temp2 = true;
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
6502 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
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
6530 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6546 arg2 = (int)SWIG_As_int(obj1);
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
6566 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6582 arg2 = (int)SWIG_As_int(obj1);
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
6602 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6617 arg2 = (int)SWIG_As_int(obj1);
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
6640 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
6651 arg1 = (int)SWIG_As_int(obj0);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 {
6655 if (!wxPyCheckForApp()) SWIG_fail;
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
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
6673 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
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 }
6680 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxWindow *arg1 = (wxWindow *) 0 ;
6683 int arg2 = (int) -1 ;
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 ;
6698 bool temp5 = false ;
6699 bool temp8 = false ;
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
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6715 if (obj1) {
6716 arg2 = (int)SWIG_As_int(obj1);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
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;
6738 temp5 = true;
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) {
6755 arg6 = (long)SWIG_As_long(obj5);
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;
6771 temp8 = true;
6772 }
6773 }
6774 {
6775 if (!wxPyCheckForApp()) SWIG_fail;
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);
6780 if (PyErr_Occurred()) SWIG_fail;
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
6803 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
6812 if (!wxPyCheckForApp()) SWIG_fail;
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 result = (wxCheckListBox *)new wxCheckListBox();
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6829 wxWindow *arg2 = (wxWindow *) 0 ;
6830 int arg3 = (int) -1 ;
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 ;
6845 bool temp6 = false ;
6846 bool temp9 = false ;
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
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
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;
6865 if (obj2) {
6866 arg3 = (int)SWIG_As_int(obj2);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
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;
6888 temp6 = true;
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) {
6905 arg7 = (long)SWIG_As_long(obj6);
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;
6921 temp9 = true;
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
6954 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6968 arg2 = (int)SWIG_As_int(obj1);
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
6986 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6989 int arg2 ;
6990 int arg3 = (int) true ;
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;
7001 arg2 = (int)SWIG_As_int(obj1);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 if (obj2) {
7004 arg3 = (int)SWIG_As_int(obj2);
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
7021 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
7047 resultobj = SWIG_From_int((int)result);
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7070 arg2 = (int)SWIG_As_int(obj1);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 arg3 = (int)SWIG_As_int(obj2);
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 }
7081 resultobj = SWIG_From_int((int)result);
7082 return resultobj;
7083 fail:
7084 return NULL;
7085 }
7086
7087
7088 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
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 }
7095 static int _wrap_TextCtrlNameStr_set(PyObject *) {
7096 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
7097 return 1;
7098 }
7099
7100
7101 static 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
7115 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxColour const &arg1_defvalue = wxNullColour ;
7118 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
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 ;
7131 char *kwnames[] = {
7132 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7133 };
7134
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 }
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) {
7158 arg4 = (int)SWIG_As_int(obj3);
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
7175 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
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
7200 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
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
7225 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
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
7257 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
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
7289 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
7312 arg3 = (long)SWIG_As_long(obj2);
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
7329 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7342 arg2 = (int)SWIG_As_int(obj1);
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
7358 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7361 wxArrayInt *arg2 = 0 ;
7362 bool temp2 = false ;
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;
7378 temp2 = true;
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
7408 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7411 int arg2 ;
7412 int arg3 = (int) 0 ;
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj1 = 0 ;
7415 PyObject * obj2 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7423 arg2 = (int)SWIG_As_int(obj1);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 if (obj2) {
7426 arg3 = (int)SWIG_As_int(obj2);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 (arg1)->SetLeftIndent(arg2,arg3);
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
7443 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7456 arg2 = (int)SWIG_As_int(obj1);
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
7472 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7485 arg2 = (long)SWIG_As_long(obj1);
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
7501 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
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
7529 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
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
7557 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
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
7585 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
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
7613 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
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
7641 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
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
7669 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
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
7697 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7711 arg2 = (long)SWIG_As_long(obj1);
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
7729 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
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
7758 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
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
7787 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
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
7819 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
7838 resultobj = SWIG_From_int((int)result);
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
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
7882 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
7901 resultobj = SWIG_From_long((long)result);
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
7927 resultobj = SWIG_From_long((long)result);
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
7953 resultobj = SWIG_From_long((long)result);
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
7979 resultobj = SWIG_From_long((long)result);
7980 return resultobj;
7981 fail:
7982 return NULL;
7983 }
7984
7985
7986 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
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
8014 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
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
8062 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
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 }
8069 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxWindow *arg1 = (wxWindow *) 0 ;
8072 int arg2 = (int) -1 ;
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;
8085 bool temp3 = false ;
8086 wxPoint temp4 ;
8087 wxSize temp5 ;
8088 bool temp8 = false ;
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
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8104 if (obj1) {
8105 arg2 = (int)SWIG_As_int(obj1);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
8108 if (obj2) {
8109 {
8110 arg3 = wxString_in_helper(obj2);
8111 if (arg3 == NULL) SWIG_fail;
8112 temp3 = true;
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) {
8128 arg6 = (long)SWIG_As_long(obj5);
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;
8144 temp8 = true;
8145 }
8146 }
8147 {
8148 if (!wxPyCheckForApp()) SWIG_fail;
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);
8153 if (PyErr_Occurred()) SWIG_fail;
8154 }
8155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
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
8178 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
8187 if (!wxPyCheckForApp()) SWIG_fail;
8188 PyThreadState* __tstate = wxPyBeginAllowThreads();
8189 result = (wxTextCtrl *)new wxTextCtrl();
8190
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
8195 return resultobj;
8196 fail:
8197 return NULL;
8198 }
8199
8200
8201 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj;
8203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8204 wxWindow *arg2 = (wxWindow *) 0 ;
8205 int arg3 = (int) -1 ;
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;
8218 bool temp4 = false ;
8219 wxPoint temp5 ;
8220 wxSize temp6 ;
8221 bool temp9 = false ;
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
8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
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;
8240 if (obj2) {
8241 arg3 = (int)SWIG_As_int(obj2);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 if (obj3) {
8245 {
8246 arg4 = wxString_in_helper(obj3);
8247 if (arg4 == NULL) SWIG_fail;
8248 temp4 = true;
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) {
8264 arg7 = (long)SWIG_As_long(obj6);
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;
8280 temp9 = true;
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
8315 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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
8347 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8350 wxString *arg2 = 0 ;
8351 bool temp2 = false ;
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;
8364 temp2 = true;
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
8388 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
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;
8404 arg2 = (long)SWIG_As_long(obj1);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 arg3 = (long)SWIG_As_long(obj2);
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
8428 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
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;
8442 arg2 = (long)SWIG_As_long(obj1);
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 }
8451 resultobj = SWIG_From_int((int)result);
8452 return resultobj;
8453 fail:
8454 return NULL;
8455 }
8456
8457
8458 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
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;
8472 arg2 = (long)SWIG_As_long(obj1);
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
8494 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
8513 resultobj = SWIG_From_int((int)result);
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
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
8548 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
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
8576 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
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
8604 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
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
8632 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj;
8634 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8635 long *arg2 = (long *) 0 ;
8636 long *arg3 = (long *) 0 ;
8637 long temp2 ;
8638 int res2 = 0 ;
8639 long temp3 ;
8640 int res3 = 0 ;
8641 PyObject * obj0 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "self", NULL
8644 };
8645
8646 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8647 arg3 = &temp3; res3 = SWIG_NEWOBJ;
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;
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)));
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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
8701 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
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
8726 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8729 long arg2 ;
8730 long arg3 ;
8731 wxString *arg4 = 0 ;
8732 bool temp4 = false ;
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;
8744 arg2 = (long)SWIG_As_long(obj1);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 arg3 = (long)SWIG_As_long(obj2);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 {
8749 arg4 = wxString_in_helper(obj3);
8750 if (arg4 == NULL) SWIG_fail;
8751 temp4 = true;
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
8775 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
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;
8790 arg2 = (long)SWIG_As_long(obj1);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 arg3 = (long)SWIG_As_long(obj2);
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
8808 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj;
8810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8811 wxString *arg2 = 0 ;
8812 bool result;
8813 bool temp2 = false ;
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;
8826 temp2 = true;
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
8852 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
8853 PyObject *resultobj;
8854 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8855 wxString const &arg2_defvalue = wxPyEmptyString ;
8856 wxString *arg2 = (wxString *) &arg2_defvalue ;
8857 bool result;
8858 bool temp2 = false ;
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;
8872 temp2 = true;
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
8899 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
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
8924 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
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
8949 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
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;
8962 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
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
8978 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj;
8980 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8981 wxString *arg2 = 0 ;
8982 bool temp2 = false ;
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;
8995 temp2 = true;
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
9019 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9022 wxString *arg2 = 0 ;
9023 bool temp2 = false ;
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;
9036 temp2 = true;
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
9060 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
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
9097 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
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;
9115 arg2 = (long)SWIG_As_long(obj1);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 arg3 = (long)SWIG_As_long(obj2);
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
9142 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
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;
9158 arg2 = (long)SWIG_As_long(obj1);
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
9183 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
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
9220 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
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
9249 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
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;
9265 arg2 = (long)SWIG_As_long(obj1);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 arg3 = (long)SWIG_As_long(obj2);
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 }
9276 resultobj = SWIG_From_long((long)result);
9277 return resultobj;
9278 fail:
9279 return NULL;
9280 }
9281
9282
9283 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
9284 PyObject *resultobj;
9285 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9286 long arg2 ;
9287 long *arg3 = (long *) 0 ;
9288 long *arg4 = (long *) 0 ;
9289 long temp3 ;
9290 int res3 = 0 ;
9291 long temp4 ;
9292 int res4 = 0 ;
9293 PyObject * obj0 = 0 ;
9294 PyObject * obj1 = 0 ;
9295 char *kwnames[] = {
9296 (char *) "self",(char *) "pos", NULL
9297 };
9298
9299 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9300 arg4 = &temp4; res4 = SWIG_NEWOBJ;
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;
9304 arg2 = (long)SWIG_As_long(obj1);
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;
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)));
9318 return resultobj;
9319 fail:
9320 return NULL;
9321 }
9322
9323
9324 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
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;
9337 arg2 = (long)SWIG_As_long(obj1);
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
9353 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
9362 int res3 = 0 ;
9363 long temp4 ;
9364 int res4 = 0 ;
9365 PyObject * obj0 = 0 ;
9366 PyObject * obj1 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self",(char *) "pt", NULL
9369 };
9370
9371 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9372 arg4 = &temp4; res4 = SWIG_NEWOBJ;
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 }
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)));
9392 return resultobj;
9393 fail:
9394 return NULL;
9395 }
9396
9397
9398 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
9406 int res3 = 0 ;
9407 PyObject * obj0 = 0 ;
9408 PyObject * obj1 = 0 ;
9409 char *kwnames[] = {
9410 (char *) "self",(char *) "pt", NULL
9411 };
9412
9413 arg3 = &temp3; res3 = SWIG_NEWOBJ;
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 }
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)));
9431 return resultobj;
9432 fail:
9433 return NULL;
9434 }
9435
9436
9437 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
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
9462 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
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
9487 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
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
9512 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
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
9540 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
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
9568 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
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
9596 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
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
9621 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
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
9646 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
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
9674 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
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
9702 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
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;
9715 arg2 = (long)SWIG_As_long(obj1);
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
9731 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
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
9756 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
9775 resultobj = SWIG_From_long((long)result);
9776 return resultobj;
9777 fail:
9778 return NULL;
9779 }
9780
9781
9782 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
9801 resultobj = SWIG_From_long((long)result);
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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;
9823 arg2 = (long)SWIG_As_long(obj1);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 arg3 = (long)SWIG_As_long(obj2);
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
9841 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
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
9866 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
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;
9879 arg2 = (bool)SWIG_As_bool(obj1);
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
9895 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj;
9897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9898 wxString *arg2 = 0 ;
9899 bool temp2 = false ;
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;
9912 temp2 = true;
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
9936 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
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;
9952 arg2 = (long)SWIG_As_long(obj1);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 arg3 = (long)SWIG_As_long(obj2);
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
9976 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
9987 arg1 = (int)SWIG_As_int(obj0);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 {
9991 if (!wxPyCheckForApp()) SWIG_fail;
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
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
10009 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
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 }
10016 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
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;
10032 arg1 = (int)SWIG_As_int(obj0);
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 }
10041 arg3 = (long)SWIG_As_long(obj2);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 arg4 = (long)SWIG_As_long(obj3);
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
10059 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
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
10088 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
10107 resultobj = SWIG_From_long((long)result);
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
10133 resultobj = SWIG_From_long((long)result);
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
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 }
10147 static int _wrap_ScrollBarNameStr_set(PyObject *) {
10148 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10149 return 1;
10150 }
10151
10152
10153 static 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
10167 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
10183 bool temp7 = false ;
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) {
10199 arg2 = (int)SWIG_As_int(obj1);
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) {
10215 arg5 = (long)SWIG_As_long(obj4);
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;
10231 temp7 = true;
10232 }
10233 }
10234 {
10235 if (!wxPyCheckForApp()) SWIG_fail;
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);
10240 if (PyErr_Occurred()) SWIG_fail;
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
10257 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
10266 if (!wxPyCheckForApp()) SWIG_fail;
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (wxScrollBar *)new wxScrollBar();
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10274 return resultobj;
10275 fail:
10276 return NULL;
10277 }
10278
10279
10280 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
10297 bool temp8 = false ;
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) {
10316 arg3 = (int)SWIG_As_int(obj2);
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) {
10332 arg6 = (long)SWIG_As_long(obj5);
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;
10348 temp8 = true;
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
10375 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
10394 resultobj = SWIG_From_int((int)result);
10395 return resultobj;
10396 fail:
10397 return NULL;
10398 }
10399
10400
10401 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
10420 resultobj = SWIG_From_int((int)result);
10421 return resultobj;
10422 fail:
10423 return NULL;
10424 }
10425
10426
10427 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
10446 resultobj = SWIG_From_int((int)result);
10447 return resultobj;
10448 fail:
10449 return NULL;
10450 }
10451
10452
10453 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
10472 resultobj = SWIG_From_int((int)result);
10473 return resultobj;
10474 fail:
10475 return NULL;
10476 }
10477
10478
10479 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
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
10507 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
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;
10520 arg2 = (int)SWIG_As_int(obj1);
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
10536 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10539 int arg2 ;
10540 int arg3 ;
10541 int arg4 ;
10542 int arg5 ;
10543 bool arg6 = (bool) true ;
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;
10557 arg2 = (int)SWIG_As_int(obj1);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 arg3 = (int)SWIG_As_int(obj2);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 arg4 = (int)SWIG_As_int(obj3);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 arg5 = (int)SWIG_As_int(obj4);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 if (obj5) {
10566 arg6 = (bool)SWIG_As_bool(obj5);
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
10583 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
10594 arg1 = (int)SWIG_As_int(obj0);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 {
10598 if (!wxPyCheckForApp()) SWIG_fail;
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
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
10616 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
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 }
10623 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
10624 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10625 return 1;
10626 }
10627
10628
10629 static 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
10643 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
10644 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10645 return 1;
10646 }
10647
10648
10649 static 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
10663 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
10677 bool temp6 = false ;
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) {
10692 arg2 = (int)SWIG_As_int(obj1);
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) {
10708 arg5 = (long)SWIG_As_long(obj4);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 if (obj5) {
10712 {
10713 arg6 = wxString_in_helper(obj5);
10714 if (arg6 == NULL) SWIG_fail;
10715 temp6 = true;
10716 }
10717 }
10718 {
10719 if (!wxPyCheckForApp()) SWIG_fail;
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);
10724 if (PyErr_Occurred()) SWIG_fail;
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
10741 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
10750 if (!wxPyCheckForApp()) SWIG_fail;
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 result = (wxSpinButton *)new wxSpinButton();
10753
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
10779 bool temp7 = false ;
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) {
10797 arg3 = (int)SWIG_As_int(obj2);
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) {
10813 arg6 = (long)SWIG_As_long(obj5);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 if (obj6) {
10817 {
10818 arg7 = wxString_in_helper(obj6);
10819 if (arg7 == NULL) SWIG_fail;
10820 temp7 = true;
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
10847 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
10866 resultobj = SWIG_From_int((int)result);
10867 return resultobj;
10868 fail:
10869 return NULL;
10870 }
10871
10872
10873 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
10892 resultobj = SWIG_From_int((int)result);
10893 return resultobj;
10894 fail:
10895 return NULL;
10896 }
10897
10898
10899 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
10918 resultobj = SWIG_From_int((int)result);
10919 return resultobj;
10920 fail:
10921 return NULL;
10922 }
10923
10924
10925 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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;
10938 arg2 = (int)SWIG_As_int(obj1);
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
10954 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
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;
10967 arg2 = (int)SWIG_As_int(obj1);
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
10983 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
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;
10996 arg2 = (int)SWIG_As_int(obj1);
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
11012 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
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;
11027 arg2 = (int)SWIG_As_int(obj1);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 arg3 = (int)SWIG_As_int(obj2);
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 }
11038 Py_INCREF(Py_None); resultobj = Py_None;
11039 return resultobj;
11040 fail:
11041 return NULL;
11042 }
11043
11044
11045 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
11067 return resultobj;
11068 fail:
11069 return NULL;
11070 }
11071
11072
11073 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11074 PyObject *resultobj;
11075 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11076 wxVisualAttributes result;
11077 PyObject * obj0 = 0 ;
11078 char *kwnames[] = {
11079 (char *) "variant", NULL
11080 };
11081
11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11083 if (obj0) {
11084 arg1 = (int)SWIG_As_int(obj0);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 {
11088 if (!wxPyCheckForApp()) SWIG_fail;
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 {
11096 wxVisualAttributes * resultptr;
11097 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11099 }
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
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 }
11113 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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;
11130 bool temp3 = false ;
11131 wxPoint temp4 ;
11132 wxSize temp5 ;
11133 bool temp10 = false ;
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) {
11152 arg2 = (int)SWIG_As_int(obj1);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 if (obj2) {
11156 {
11157 arg3 = wxString_in_helper(obj2);
11158 if (arg3 == NULL) SWIG_fail;
11159 temp3 = true;
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) {
11175 arg6 = (long)SWIG_As_long(obj5);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 if (obj6) {
11179 arg7 = (int)SWIG_As_int(obj6);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 if (obj7) {
11183 arg8 = (int)SWIG_As_int(obj7);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 if (obj8) {
11187 arg9 = (int)SWIG_As_int(obj8);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 if (obj9) {
11191 {
11192 arg10 = wxString_in_helper(obj9);
11193 if (arg10 == NULL) SWIG_fail;
11194 temp10 = true;
11195 }
11196 }
11197 {
11198 if (!wxPyCheckForApp()) SWIG_fail;
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);
11203 if (PyErr_Occurred()) SWIG_fail;
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
11228 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
11237 if (!wxPyCheckForApp()) SWIG_fail;
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = (wxSpinCtrl *)new wxSpinCtrl();
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11245 return resultobj;
11246 fail:
11247 return NULL;
11248 }
11249
11250
11251 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
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;
11269 bool temp4 = false ;
11270 wxPoint temp5 ;
11271 wxSize temp6 ;
11272 bool temp11 = false ;
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) {
11294 arg3 = (int)SWIG_As_int(obj2);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 if (obj3) {
11298 {
11299 arg4 = wxString_in_helper(obj3);
11300 if (arg4 == NULL) SWIG_fail;
11301 temp4 = true;
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) {
11317 arg7 = (long)SWIG_As_long(obj6);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 if (obj7) {
11321 arg8 = (int)SWIG_As_int(obj7);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 if (obj8) {
11325 arg9 = (int)SWIG_As_int(obj8);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 if (obj9) {
11329 arg10 = (int)SWIG_As_int(obj9);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 if (obj10) {
11333 {
11334 arg11 = wxString_in_helper(obj10);
11335 if (arg11 == NULL) SWIG_fail;
11336 temp11 = true;
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
11371 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
11390 resultobj = SWIG_From_int((int)result);
11391 return resultobj;
11392 fail:
11393 return NULL;
11394 }
11395
11396
11397 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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;
11410 arg2 = (int)SWIG_As_int(obj1);
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
11426 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj;
11428 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11429 wxString *arg2 = 0 ;
11430 bool temp2 = false ;
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;
11443 temp2 = true;
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
11467 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
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;
11482 arg2 = (int)SWIG_As_int(obj1);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 arg3 = (int)SWIG_As_int(obj2);
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
11500 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
11519 resultobj = SWIG_From_int((int)result);
11520 return resultobj;
11521 fail:
11522 return NULL;
11523 }
11524
11525
11526 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
11545 resultobj = SWIG_From_int((int)result);
11546 return resultobj;
11547 fail:
11548 return NULL;
11549 }
11550
11551
11552 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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;
11567 arg2 = (long)SWIG_As_long(obj1);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 arg3 = (long)SWIG_As_long(obj2);
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
11585 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
11596 arg1 = (int)SWIG_As_int(obj0);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
11600 if (!wxPyCheckForApp()) SWIG_fail;
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
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
11618 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
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 }
11625 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
11638 arg1 = (wxEventType)SWIG_As_int(obj0);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 if (obj1) {
11642 arg2 = (int)SWIG_As_int(obj1);
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
11659 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
11678 resultobj = SWIG_From_int((int)result);
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
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;
11698 arg2 = (int)SWIG_As_int(obj1);
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
11714 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
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 }
11721 static int _wrap_RadioBoxNameStr_set(PyObject *) {
11722 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11723 return 1;
11724 }
11725
11726
11727 static 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
11741 static int _wrap_RadioButtonNameStr_set(PyObject *) {
11742 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11743 return 1;
11744 }
11745
11746
11747 static 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
11761 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
11762 PyObject *resultobj;
11763 wxWindow *arg1 = (wxWindow *) 0 ;
11764 int arg2 = (int) -1 ;
11765 wxString const &arg3_defvalue = wxPyEmptyString ;
11766 wxString *arg3 = (wxString *) &arg3_defvalue ;
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;
11780 bool temp3 = false ;
11781 wxPoint temp4 ;
11782 wxSize temp5 ;
11783 bool temp6 = false ;
11784 bool temp10 = false ;
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
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11802 if (obj1) {
11803 arg2 = (int)SWIG_As_int(obj1);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 if (obj2) {
11807 {
11808 arg3 = wxString_in_helper(obj2);
11809 if (arg3 == NULL) SWIG_fail;
11810 temp3 = true;
11811 }
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;
11832 temp6 = true;
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) {
11849 arg7 = (int)SWIG_As_int(obj6);
11850 if (PyErr_Occurred()) SWIG_fail;
11851 }
11852 if (obj7) {
11853 arg8 = (long)SWIG_As_long(obj7);
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;
11869 temp10 = true;
11870 }
11871 }
11872 {
11873 if (!wxPyCheckForApp()) SWIG_fail;
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);
11878 if (PyErr_Occurred()) SWIG_fail;
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
11909 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
11918 if (!wxPyCheckForApp()) SWIG_fail;
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 result = (wxRadioBox *)new wxRadioBox();
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj;
11934 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11935 wxWindow *arg2 = (wxWindow *) 0 ;
11936 int arg3 = (int) -1 ;
11937 wxString const &arg4_defvalue = wxPyEmptyString ;
11938 wxString *arg4 = (wxString *) &arg4_defvalue ;
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;
11952 bool temp4 = false ;
11953 wxPoint temp5 ;
11954 wxSize temp6 ;
11955 bool temp7 = false ;
11956 bool temp11 = false ;
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
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;
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;
11977 if (obj2) {
11978 arg3 = (int)SWIG_As_int(obj2);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 if (obj3) {
11982 {
11983 arg4 = wxString_in_helper(obj3);
11984 if (arg4 == NULL) SWIG_fail;
11985 temp4 = true;
11986 }
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;
12007 temp7 = true;
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) {
12024 arg8 = (int)SWIG_As_int(obj7);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 if (obj8) {
12028 arg9 = (long)SWIG_As_long(obj8);
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;
12044 temp11 = true;
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
12085 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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;
12098 arg2 = (int)SWIG_As_int(obj1);
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
12114 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
12133 resultobj = SWIG_From_int((int)result);
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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
12172 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12175 wxString *arg2 = 0 ;
12176 bool result;
12177 bool temp2 = false ;
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;
12190 temp2 = true;
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
12216 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
12235 resultobj = SWIG_From_int((int)result);
12236 return resultobj;
12237 fail:
12238 return NULL;
12239 }
12240
12241
12242 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
12243 PyObject *resultobj;
12244 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12245 wxString *arg2 = 0 ;
12246 int result;
12247 bool temp2 = false ;
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;
12260 temp2 = true;
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 }
12269 resultobj = SWIG_From_int((int)result);
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
12284 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
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;
12298 arg2 = (int)SWIG_As_int(obj1);
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
12320 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
12321 PyObject *resultobj;
12322 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12323 int arg2 ;
12324 wxString *arg3 = 0 ;
12325 bool temp3 = false ;
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;
12336 arg2 = (int)SWIG_As_int(obj1);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 {
12339 arg3 = wxString_in_helper(obj2);
12340 if (arg3 == NULL) SWIG_fail;
12341 temp3 = true;
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
12365 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj;
12367 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12368 int arg2 ;
12369 bool arg3 = (bool) true ;
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;
12380 arg2 = (int)SWIG_As_int(obj1);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 if (obj2) {
12383 arg3 = (bool)SWIG_As_bool(obj2);
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
12400 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
12401 PyObject *resultobj;
12402 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12403 int arg2 ;
12404 bool arg3 = (bool) true ;
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;
12415 arg2 = (int)SWIG_As_int(obj1);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 if (obj2) {
12418 arg3 = (bool)SWIG_As_bool(obj2);
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
12435 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
12454 resultobj = SWIG_From_int((int)result);
12455 return resultobj;
12456 fail:
12457 return NULL;
12458 }
12459
12460
12461 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
12480 resultobj = SWIG_From_int((int)result);
12481 return resultobj;
12482 fail:
12483 return NULL;
12484 }
12485
12486
12487 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
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;
12505 arg2 = (int)SWIG_As_int(obj1);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 arg3 = (int)SWIG_As_int(obj2);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 arg4 = (long)SWIG_As_long(obj3);
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 }
12518 resultobj = SWIG_From_int((int)result);
12519 return resultobj;
12520 fail:
12521 return NULL;
12522 }
12523
12524
12525 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
12536 arg1 = (int)SWIG_As_int(obj0);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 {
12540 if (!wxPyCheckForApp()) SWIG_fail;
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
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
12558 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
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 }
12565 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj;
12567 wxWindow *arg1 = (wxWindow *) 0 ;
12568 int arg2 = (int) -1 ;
12569 wxString const &arg3_defvalue = wxPyEmptyString ;
12570 wxString *arg3 = (wxString *) &arg3_defvalue ;
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;
12581 bool temp3 = false ;
12582 wxPoint temp4 ;
12583 wxSize temp5 ;
12584 bool temp8 = false ;
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
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12600 if (obj1) {
12601 arg2 = (int)SWIG_As_int(obj1);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 if (obj2) {
12605 {
12606 arg3 = wxString_in_helper(obj2);
12607 if (arg3 == NULL) SWIG_fail;
12608 temp3 = true;
12609 }
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) {
12624 arg6 = (long)SWIG_As_long(obj5);
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;
12640 temp8 = true;
12641 }
12642 }
12643 {
12644 if (!wxPyCheckForApp()) SWIG_fail;
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);
12649 if (PyErr_Occurred()) SWIG_fail;
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
12674 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
12683 if (!wxPyCheckForApp()) SWIG_fail;
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 result = (wxRadioButton *)new wxRadioButton();
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12691 return resultobj;
12692 fail:
12693 return NULL;
12694 }
12695
12696
12697 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj;
12699 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12700 wxWindow *arg2 = (wxWindow *) 0 ;
12701 int arg3 = (int) -1 ;
12702 wxString const &arg4_defvalue = wxPyEmptyString ;
12703 wxString *arg4 = (wxString *) &arg4_defvalue ;
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;
12714 bool temp4 = false ;
12715 wxPoint temp5 ;
12716 wxSize temp6 ;
12717 bool temp9 = false ;
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
12731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
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;
12736 if (obj2) {
12737 arg3 = (int)SWIG_As_int(obj2);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 if (obj3) {
12741 {
12742 arg4 = wxString_in_helper(obj3);
12743 if (arg4 == NULL) SWIG_fail;
12744 temp4 = true;
12745 }
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) {
12760 arg7 = (long)SWIG_As_long(obj6);
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;
12776 temp9 = true;
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
12811 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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
12839 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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;
12852 arg2 = (bool)SWIG_As_bool(obj1);
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
12868 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
12879 arg1 = (int)SWIG_As_int(obj0);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 {
12883 if (!wxPyCheckForApp()) SWIG_fail;
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
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
12901 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
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 }
12908 static int _wrap_SliderNameStr_set(PyObject *) {
12909 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12910 return 1;
12911 }
12912
12913
12914 static 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
12928 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
12929 PyObject *resultobj;
12930 wxWindow *arg1 = (wxWindow *) 0 ;
12931 int arg2 = (int) -1 ;
12932 int arg3 = (int) 0 ;
12933 int arg4 = (int) 0 ;
12934 int arg5 = (int) 100 ;
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 ;
12947 bool temp10 = false ;
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
12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12965 if (obj1) {
12966 arg2 = (int)SWIG_As_int(obj1);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 if (obj2) {
12970 arg3 = (int)SWIG_As_int(obj2);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 if (obj3) {
12974 arg4 = (int)SWIG_As_int(obj3);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 if (obj4) {
12978 arg5 = (int)SWIG_As_int(obj4);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
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) {
12994 arg8 = (long)SWIG_As_long(obj7);
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;
13010 temp10 = true;
13011 }
13012 }
13013 {
13014 if (!wxPyCheckForApp()) SWIG_fail;
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);
13019 if (PyErr_Occurred()) SWIG_fail;
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
13036 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
13045 if (!wxPyCheckForApp()) SWIG_fail;
13046 PyThreadState* __tstate = wxPyBeginAllowThreads();
13047 result = (wxSlider *)new wxSlider();
13048
13049 wxPyEndAllowThreads(__tstate);
13050 if (PyErr_Occurred()) SWIG_fail;
13051 }
13052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13053 return resultobj;
13054 fail:
13055 return NULL;
13056 }
13057
13058
13059 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13060 PyObject *resultobj;
13061 wxSlider *arg1 = (wxSlider *) 0 ;
13062 wxWindow *arg2 = (wxWindow *) 0 ;
13063 int arg3 = (int) -1 ;
13064 int arg4 = (int) 0 ;
13065 int arg5 = (int) 0 ;
13066 int arg6 = (int) 100 ;
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 ;
13079 bool temp11 = false ;
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
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;
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;
13100 if (obj2) {
13101 arg3 = (int)SWIG_As_int(obj2);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 if (obj3) {
13105 arg4 = (int)SWIG_As_int(obj3);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 if (obj4) {
13109 arg5 = (int)SWIG_As_int(obj4);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 if (obj5) {
13113 arg6 = (int)SWIG_As_int(obj5);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
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) {
13129 arg9 = (long)SWIG_As_long(obj8);
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;
13145 temp11 = true;
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
13172 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
13191 resultobj = SWIG_From_int((int)result);
13192 return resultobj;
13193 fail:
13194 return NULL;
13195 }
13196
13197
13198 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13211 arg2 = (int)SWIG_As_int(obj1);
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
13227 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13242 arg2 = (int)SWIG_As_int(obj1);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 arg3 = (int)SWIG_As_int(obj2);
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
13260 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
13279 resultobj = SWIG_From_int((int)result);
13280 return resultobj;
13281 fail:
13282 return NULL;
13283 }
13284
13285
13286 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
13305 resultobj = SWIG_From_int((int)result);
13306 return resultobj;
13307 fail:
13308 return NULL;
13309 }
13310
13311
13312 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13325 arg2 = (int)SWIG_As_int(obj1);
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
13341 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13354 arg2 = (int)SWIG_As_int(obj1);
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
13370 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13383 arg2 = (int)SWIG_As_int(obj1);
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
13399 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13412 arg2 = (int)SWIG_As_int(obj1);
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
13428 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
13447 resultobj = SWIG_From_int((int)result);
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
13473 resultobj = SWIG_From_int((int)result);
13474 return resultobj;
13475 fail:
13476 return NULL;
13477 }
13478
13479
13480 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13493 arg2 = (int)SWIG_As_int(obj1);
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
13509 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
13528 resultobj = SWIG_From_int((int)result);
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13550 arg2 = (int)SWIG_As_int(obj1);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 if (obj2) {
13553 arg3 = (int)SWIG_As_int(obj2);
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
13570 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
13589 resultobj = SWIG_From_int((int)result);
13590 return resultobj;
13591 fail:
13592 return NULL;
13593 }
13594
13595
13596 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
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
13621 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13634 arg2 = (int)SWIG_As_int(obj1);
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
13650 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
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
13675 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
13694 resultobj = SWIG_From_int((int)result);
13695 return resultobj;
13696 fail:
13697 return NULL;
13698 }
13699
13700
13701 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
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 }
13720 resultobj = SWIG_From_int((int)result);
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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;
13742 arg2 = (int)SWIG_As_int(obj1);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 arg3 = (int)SWIG_As_int(obj2);
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
13760 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
13771 arg1 = (int)SWIG_As_int(obj0);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 {
13775 if (!wxPyCheckForApp()) SWIG_fail;
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
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
13793 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
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 }
13800 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
13801 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13802 return 1;
13803 }
13804
13805
13806 static 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
13820 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj;
13822 wxWindow *arg1 = (wxWindow *) 0 ;
13823 int arg2 = (int) -1 ;
13824 wxString const &arg3_defvalue = wxPyEmptyString ;
13825 wxString *arg3 = (wxString *) &arg3_defvalue ;
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;
13836 bool temp3 = false ;
13837 wxPoint temp4 ;
13838 wxSize temp5 ;
13839 bool temp8 = false ;
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
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13855 if (obj1) {
13856 arg2 = (int)SWIG_As_int(obj1);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 if (obj2) {
13860 {
13861 arg3 = wxString_in_helper(obj2);
13862 if (arg3 == NULL) SWIG_fail;
13863 temp3 = true;
13864 }
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) {
13879 arg6 = (long)SWIG_As_long(obj5);
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;
13895 temp8 = true;
13896 }
13897 }
13898 {
13899 if (!wxPyCheckForApp()) SWIG_fail;
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);
13904 if (PyErr_Occurred()) SWIG_fail;
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
13929 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
13938 if (!wxPyCheckForApp()) SWIG_fail;
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 result = (wxToggleButton *)new wxToggleButton();
13941
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13946 return resultobj;
13947 fail:
13948 return NULL;
13949 }
13950
13951
13952 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj;
13954 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13955 wxWindow *arg2 = (wxWindow *) 0 ;
13956 int arg3 = (int) -1 ;
13957 wxString const &arg4_defvalue = wxPyEmptyString ;
13958 wxString *arg4 = (wxString *) &arg4_defvalue ;
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;
13969 bool temp4 = false ;
13970 wxPoint temp5 ;
13971 wxSize temp6 ;
13972 bool temp9 = false ;
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
13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
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;
13991 if (obj2) {
13992 arg3 = (int)SWIG_As_int(obj2);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 if (obj3) {
13996 {
13997 arg4 = wxString_in_helper(obj3);
13998 if (arg4 == NULL) SWIG_fail;
13999 temp4 = true;
14000 }
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) {
14015 arg7 = (long)SWIG_As_long(obj6);
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;
14031 temp9 = true;
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
14066 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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;
14079 arg2 = (bool)SWIG_As_bool(obj1);
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
14095 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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
14123 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj;
14125 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14126 wxString *arg2 = 0 ;
14127 bool temp2 = false ;
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;
14140 temp2 = true;
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
14164 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
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) {
14175 arg1 = (int)SWIG_As_int(obj0);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 {
14179 if (!wxPyCheckForApp()) SWIG_fail;
14180 PyThreadState* __tstate = wxPyBeginAllowThreads();
14181 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14182
14183 wxPyEndAllowThreads(__tstate);
14184 if (PyErr_Occurred()) SWIG_fail;
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
14197 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
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 }
14204 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
14205 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14206 return 1;
14207 }
14208
14209
14210 static 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
14224 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
14225 PyObject *resultobj;
14226 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14227 size_t result;
14228 PyObject * obj0 = 0 ;
14229 char *kwnames[] = {
14230 (char *) "self", NULL
14231 };
14232
14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
14244 return resultobj;
14245 fail:
14246 return NULL;
14247 }
14248
14249
14250 static PyObject *_wrap_BookCtrl_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
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
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14264 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
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 {
14274 resultobj = wxPyMake_wxObject(result, 0);
14275 }
14276 return resultobj;
14277 fail:
14278 return NULL;
14279 }
14280
14281
14282 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14283 PyObject *resultobj;
14284 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14285 int result;
14286 PyObject * obj0 = 0 ;
14287 char *kwnames[] = {
14288 (char *) "self", NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 resultobj = SWIG_From_int((int)result);
14302 return resultobj;
14303 fail:
14304 return NULL;
14305 }
14306
14307
14308 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj;
14310 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14311 size_t arg2 ;
14312 wxString *arg3 = 0 ;
14313 bool result;
14314 bool temp3 = false ;
14315 PyObject * obj0 = 0 ;
14316 PyObject * obj1 = 0 ;
14317 PyObject * obj2 = 0 ;
14318 char *kwnames[] = {
14319 (char *) "self",(char *) "n",(char *) "strText", NULL
14320 };
14321
14322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14325 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 {
14328 arg3 = wxString_in_helper(obj2);
14329 if (arg3 == NULL) SWIG_fail;
14330 temp3 = true;
14331 }
14332 {
14333 PyThreadState* __tstate = wxPyBeginAllowThreads();
14334 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14335
14336 wxPyEndAllowThreads(__tstate);
14337 if (PyErr_Occurred()) SWIG_fail;
14338 }
14339 {
14340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14341 }
14342 {
14343 if (temp3)
14344 delete arg3;
14345 }
14346 return resultobj;
14347 fail:
14348 {
14349 if (temp3)
14350 delete arg3;
14351 }
14352 return NULL;
14353 }
14354
14355
14356 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
14357 PyObject *resultobj;
14358 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14359 size_t arg2 ;
14360 wxString result;
14361 PyObject * obj0 = 0 ;
14362 PyObject * obj1 = 0 ;
14363 char *kwnames[] = {
14364 (char *) "self",(char *) "n", NULL
14365 };
14366
14367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14370 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14371 if (PyErr_Occurred()) SWIG_fail;
14372 {
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 {
14380 #if wxUSE_UNICODE
14381 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14382 #else
14383 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14384 #endif
14385 }
14386 return resultobj;
14387 fail:
14388 return NULL;
14389 }
14390
14391
14392 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14395 wxImageList *arg2 = (wxImageList *) 0 ;
14396 PyObject * obj0 = 0 ;
14397 PyObject * obj1 = 0 ;
14398 char *kwnames[] = {
14399 (char *) "self",(char *) "imageList", NULL
14400 };
14401
14402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 (arg1)->SetImageList(arg2);
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 Py_INCREF(Py_None); resultobj = Py_None;
14415 return resultobj;
14416 fail:
14417 return NULL;
14418 }
14419
14420
14421 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14424 wxImageList *arg2 = (wxImageList *) 0 ;
14425 PyObject * obj0 = 0 ;
14426 PyObject * obj1 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self",(char *) "imageList", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14435 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 (arg1)->AssignImageList(arg2);
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 Py_INCREF(Py_None); resultobj = Py_None;
14444 return resultobj;
14445 fail:
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14453 wxImageList *result;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 {
14470 resultobj = wxPyMake_wxObject(result, 0);
14471 }
14472 return resultobj;
14473 fail:
14474 return NULL;
14475 }
14476
14477
14478 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
14479 PyObject *resultobj;
14480 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14481 size_t arg2 ;
14482 int result;
14483 PyObject * obj0 = 0 ;
14484 PyObject * obj1 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self",(char *) "n", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14492 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 {
14495 PyThreadState* __tstate = wxPyBeginAllowThreads();
14496 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14497
14498 wxPyEndAllowThreads(__tstate);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 resultobj = SWIG_From_int((int)result);
14502 return resultobj;
14503 fail:
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14511 size_t arg2 ;
14512 int arg3 ;
14513 bool result;
14514 PyObject * obj0 = 0 ;
14515 PyObject * obj1 = 0 ;
14516 PyObject * obj2 = 0 ;
14517 char *kwnames[] = {
14518 (char *) "self",(char *) "n",(char *) "imageId", NULL
14519 };
14520
14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14524 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 arg3 = (int)SWIG_As_int(obj2);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 {
14529 PyThreadState* __tstate = wxPyBeginAllowThreads();
14530 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14531
14532 wxPyEndAllowThreads(__tstate);
14533 if (PyErr_Occurred()) SWIG_fail;
14534 }
14535 {
14536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14537 }
14538 return resultobj;
14539 fail:
14540 return NULL;
14541 }
14542
14543
14544 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
14545 PyObject *resultobj;
14546 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14547 wxSize *arg2 = 0 ;
14548 wxSize temp2 ;
14549 PyObject * obj0 = 0 ;
14550 PyObject * obj1 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "self",(char *) "size", NULL
14553 };
14554
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14558 {
14559 arg2 = &temp2;
14560 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14561 }
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 (arg1)->SetPageSize((wxSize const &)*arg2);
14565
14566 wxPyEndAllowThreads(__tstate);
14567 if (PyErr_Occurred()) SWIG_fail;
14568 }
14569 Py_INCREF(Py_None); resultobj = Py_None;
14570 return resultobj;
14571 fail:
14572 return NULL;
14573 }
14574
14575
14576 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
14577 PyObject *resultobj;
14578 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14579 wxSize *arg2 = 0 ;
14580 wxSize result;
14581 wxSize temp2 ;
14582 PyObject * obj0 = 0 ;
14583 PyObject * obj1 = 0 ;
14584 char *kwnames[] = {
14585 (char *) "self",(char *) "sizePage", NULL
14586 };
14587
14588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14591 {
14592 arg2 = &temp2;
14593 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14594 }
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14598
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 {
14603 wxSize * resultptr;
14604 resultptr = new wxSize((wxSize &) result);
14605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14606 }
14607 return resultobj;
14608 fail:
14609 return NULL;
14610 }
14611
14612
14613 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14616 size_t arg2 ;
14617 bool result;
14618 PyObject * obj0 = 0 ;
14619 PyObject * obj1 = 0 ;
14620 char *kwnames[] = {
14621 (char *) "self",(char *) "n", NULL
14622 };
14623
14624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14627 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 result = (bool)(arg1)->DeletePage(arg2);
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 {
14637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14638 }
14639 return resultobj;
14640 fail:
14641 return NULL;
14642 }
14643
14644
14645 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
14646 PyObject *resultobj;
14647 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14648 size_t arg2 ;
14649 bool result;
14650 PyObject * obj0 = 0 ;
14651 PyObject * obj1 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "self",(char *) "n", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14659 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 result = (bool)(arg1)->RemovePage(arg2);
14664
14665 wxPyEndAllowThreads(__tstate);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 {
14669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14670 }
14671 return resultobj;
14672 fail:
14673 return NULL;
14674 }
14675
14676
14677 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14680 bool result;
14681 PyObject * obj0 = 0 ;
14682 char *kwnames[] = {
14683 (char *) "self", NULL
14684 };
14685
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14689 {
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 result = (bool)(arg1)->DeleteAllPages();
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
14705 static PyObject *_wrap_BookCtrl_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14708 wxWindow *arg2 = (wxWindow *) 0 ;
14709 wxString *arg3 = 0 ;
14710 bool arg4 = (bool) false ;
14711 int arg5 = (int) -1 ;
14712 bool result;
14713 bool temp3 = false ;
14714 PyObject * obj0 = 0 ;
14715 PyObject * obj1 = 0 ;
14716 PyObject * obj2 = 0 ;
14717 PyObject * obj3 = 0 ;
14718 PyObject * obj4 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14728 {
14729 arg3 = wxString_in_helper(obj2);
14730 if (arg3 == NULL) SWIG_fail;
14731 temp3 = true;
14732 }
14733 if (obj3) {
14734 arg4 = (bool)SWIG_As_bool(obj3);
14735 if (PyErr_Occurred()) SWIG_fail;
14736 }
14737 if (obj4) {
14738 arg5 = (int)SWIG_As_int(obj4);
14739 if (PyErr_Occurred()) SWIG_fail;
14740 }
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14744
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 {
14749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14750 }
14751 {
14752 if (temp3)
14753 delete arg3;
14754 }
14755 return resultobj;
14756 fail:
14757 {
14758 if (temp3)
14759 delete arg3;
14760 }
14761 return NULL;
14762 }
14763
14764
14765 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
14766 PyObject *resultobj;
14767 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14768 size_t arg2 ;
14769 wxWindow *arg3 = (wxWindow *) 0 ;
14770 wxString *arg4 = 0 ;
14771 bool arg5 = (bool) false ;
14772 int arg6 = (int) -1 ;
14773 bool result;
14774 bool temp4 = false ;
14775 PyObject * obj0 = 0 ;
14776 PyObject * obj1 = 0 ;
14777 PyObject * obj2 = 0 ;
14778 PyObject * obj3 = 0 ;
14779 PyObject * obj4 = 0 ;
14780 PyObject * obj5 = 0 ;
14781 char *kwnames[] = {
14782 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14783 };
14784
14785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14788 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14792 {
14793 arg4 = wxString_in_helper(obj3);
14794 if (arg4 == NULL) SWIG_fail;
14795 temp4 = true;
14796 }
14797 if (obj4) {
14798 arg5 = (bool)SWIG_As_bool(obj4);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 if (obj5) {
14802 arg6 = (int)SWIG_As_int(obj5);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 {
14813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14814 }
14815 {
14816 if (temp4)
14817 delete arg4;
14818 }
14819 return resultobj;
14820 fail:
14821 {
14822 if (temp4)
14823 delete arg4;
14824 }
14825 return NULL;
14826 }
14827
14828
14829 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14830 PyObject *resultobj;
14831 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14832 size_t arg2 ;
14833 int result;
14834 PyObject * obj0 = 0 ;
14835 PyObject * obj1 = 0 ;
14836 char *kwnames[] = {
14837 (char *) "self",(char *) "n", NULL
14838 };
14839
14840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14843 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 result = (int)(arg1)->SetSelection(arg2);
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 resultobj = SWIG_From_int((int)result);
14853 return resultobj;
14854 fail:
14855 return NULL;
14856 }
14857
14858
14859 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14862 bool arg2 = (bool) true ;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self",(char *) "forward", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14872 if (obj1) {
14873 arg2 = (bool)SWIG_As_bool(obj1);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 {
14877 PyThreadState* __tstate = wxPyBeginAllowThreads();
14878 (arg1)->AdvanceSelection(arg2);
14879
14880 wxPyEndAllowThreads(__tstate);
14881 if (PyErr_Occurred()) SWIG_fail;
14882 }
14883 Py_INCREF(Py_None); resultobj = Py_None;
14884 return resultobj;
14885 fail:
14886 return NULL;
14887 }
14888
14889
14890 static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14891 PyObject *resultobj;
14892 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14893 wxVisualAttributes result;
14894 PyObject * obj0 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "variant", NULL
14897 };
14898
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14900 if (obj0) {
14901 arg1 = (int)SWIG_As_int(obj0);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 {
14905 if (!wxPyCheckForApp()) SWIG_fail;
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14908
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 {
14913 wxVisualAttributes * resultptr;
14914 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14916 }
14917 return resultobj;
14918 fail:
14919 return NULL;
14920 }
14921
14922
14923 static PyObject * BookCtrl_swigregister(PyObject *, PyObject *args) {
14924 PyObject *obj;
14925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14926 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14927 Py_INCREF(obj);
14928 return Py_BuildValue((char *)"");
14929 }
14930 static PyObject *_wrap_new_BookCtrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14933 int arg2 = (int) 0 ;
14934 int arg3 = (int) -1 ;
14935 int arg4 = (int) -1 ;
14936 wxBookCtrlEvent *result;
14937 PyObject * obj0 = 0 ;
14938 PyObject * obj1 = 0 ;
14939 PyObject * obj2 = 0 ;
14940 PyObject * obj3 = 0 ;
14941 char *kwnames[] = {
14942 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14943 };
14944
14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14946 if (obj0) {
14947 arg1 = (wxEventType)SWIG_As_int(obj0);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 if (obj1) {
14951 arg2 = (int)SWIG_As_int(obj1);
14952 if (PyErr_Occurred()) SWIG_fail;
14953 }
14954 if (obj2) {
14955 arg3 = (int)SWIG_As_int(obj2);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 }
14958 if (obj3) {
14959 arg4 = (int)SWIG_As_int(obj3);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 }
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14970 return resultobj;
14971 fail:
14972 return NULL;
14973 }
14974
14975
14976 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14977 PyObject *resultobj;
14978 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14979 int result;
14980 PyObject * obj0 = 0 ;
14981 char *kwnames[] = {
14982 (char *) "self", NULL
14983 };
14984
14985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14988 {
14989 PyThreadState* __tstate = wxPyBeginAllowThreads();
14990 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14991
14992 wxPyEndAllowThreads(__tstate);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 }
14995 resultobj = SWIG_From_int((int)result);
14996 return resultobj;
14997 fail:
14998 return NULL;
14999 }
15000
15001
15002 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15003 PyObject *resultobj;
15004 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15005 int arg2 ;
15006 PyObject * obj0 = 0 ;
15007 PyObject * obj1 = 0 ;
15008 char *kwnames[] = {
15009 (char *) "self",(char *) "nSel", NULL
15010 };
15011
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15015 arg2 = (int)SWIG_As_int(obj1);
15016 if (PyErr_Occurred()) SWIG_fail;
15017 {
15018 PyThreadState* __tstate = wxPyBeginAllowThreads();
15019 (arg1)->SetSelection(arg2);
15020
15021 wxPyEndAllowThreads(__tstate);
15022 if (PyErr_Occurred()) SWIG_fail;
15023 }
15024 Py_INCREF(Py_None); resultobj = Py_None;
15025 return resultobj;
15026 fail:
15027 return NULL;
15028 }
15029
15030
15031 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15032 PyObject *resultobj;
15033 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15034 int result;
15035 PyObject * obj0 = 0 ;
15036 char *kwnames[] = {
15037 (char *) "self", NULL
15038 };
15039
15040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 resultobj = SWIG_From_int((int)result);
15051 return resultobj;
15052 fail:
15053 return NULL;
15054 }
15055
15056
15057 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15058 PyObject *resultobj;
15059 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15060 int arg2 ;
15061 PyObject * obj0 = 0 ;
15062 PyObject * obj1 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "self",(char *) "nOldSel", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15070 arg2 = (int)SWIG_As_int(obj1);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 (arg1)->SetOldSelection(arg2);
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 Py_INCREF(Py_None); resultobj = Py_None;
15080 return resultobj;
15081 fail:
15082 return NULL;
15083 }
15084
15085
15086 static PyObject * BookCtrlEvent_swigregister(PyObject *, PyObject *args) {
15087 PyObject *obj;
15088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15089 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
15090 Py_INCREF(obj);
15091 return Py_BuildValue((char *)"");
15092 }
15093 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj;
15095 wxWindow *arg1 = (wxWindow *) 0 ;
15096 int arg2 = (int) -1 ;
15097 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15098 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15099 wxSize const &arg4_defvalue = wxDefaultSize ;
15100 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15101 long arg5 = (long) 0 ;
15102 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15103 wxString *arg6 = (wxString *) &arg6_defvalue ;
15104 wxNotebook *result;
15105 wxPoint temp3 ;
15106 wxSize temp4 ;
15107 bool temp6 = false ;
15108 PyObject * obj0 = 0 ;
15109 PyObject * obj1 = 0 ;
15110 PyObject * obj2 = 0 ;
15111 PyObject * obj3 = 0 ;
15112 PyObject * obj4 = 0 ;
15113 PyObject * obj5 = 0 ;
15114 char *kwnames[] = {
15115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15116 };
15117
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15121 if (obj1) {
15122 arg2 = (int)SWIG_As_int(obj1);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 if (obj2) {
15126 {
15127 arg3 = &temp3;
15128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15129 }
15130 }
15131 if (obj3) {
15132 {
15133 arg4 = &temp4;
15134 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15135 }
15136 }
15137 if (obj4) {
15138 arg5 = (long)SWIG_As_long(obj4);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15141 if (obj5) {
15142 {
15143 arg6 = wxString_in_helper(obj5);
15144 if (arg6 == NULL) SWIG_fail;
15145 temp6 = true;
15146 }
15147 }
15148 {
15149 if (!wxPyCheckForApp()) SWIG_fail;
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15157 {
15158 if (temp6)
15159 delete arg6;
15160 }
15161 return resultobj;
15162 fail:
15163 {
15164 if (temp6)
15165 delete arg6;
15166 }
15167 return NULL;
15168 }
15169
15170
15171 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxNotebook *result;
15174 char *kwnames[] = {
15175 NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15179 {
15180 if (!wxPyCheckForApp()) SWIG_fail;
15181 PyThreadState* __tstate = wxPyBeginAllowThreads();
15182 result = (wxNotebook *)new wxNotebook();
15183
15184 wxPyEndAllowThreads(__tstate);
15185 if (PyErr_Occurred()) SWIG_fail;
15186 }
15187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15188 return resultobj;
15189 fail:
15190 return NULL;
15191 }
15192
15193
15194 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj;
15196 wxNotebook *arg1 = (wxNotebook *) 0 ;
15197 wxWindow *arg2 = (wxWindow *) 0 ;
15198 int arg3 = (int) -1 ;
15199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15201 wxSize const &arg5_defvalue = wxDefaultSize ;
15202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15203 long arg6 = (long) 0 ;
15204 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15205 wxString *arg7 = (wxString *) &arg7_defvalue ;
15206 bool result;
15207 wxPoint temp4 ;
15208 wxSize temp5 ;
15209 bool temp7 = false ;
15210 PyObject * obj0 = 0 ;
15211 PyObject * obj1 = 0 ;
15212 PyObject * obj2 = 0 ;
15213 PyObject * obj3 = 0 ;
15214 PyObject * obj4 = 0 ;
15215 PyObject * obj5 = 0 ;
15216 PyObject * obj6 = 0 ;
15217 char *kwnames[] = {
15218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15219 };
15220
15221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15226 if (obj2) {
15227 arg3 = (int)SWIG_As_int(obj2);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 if (obj3) {
15231 {
15232 arg4 = &temp4;
15233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15234 }
15235 }
15236 if (obj4) {
15237 {
15238 arg5 = &temp5;
15239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15240 }
15241 }
15242 if (obj5) {
15243 arg6 = (long)SWIG_As_long(obj5);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 if (obj6) {
15247 {
15248 arg7 = wxString_in_helper(obj6);
15249 if (arg7 == NULL) SWIG_fail;
15250 temp7 = true;
15251 }
15252 }
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 {
15261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15262 }
15263 {
15264 if (temp7)
15265 delete arg7;
15266 }
15267 return resultobj;
15268 fail:
15269 {
15270 if (temp7)
15271 delete arg7;
15272 }
15273 return NULL;
15274 }
15275
15276
15277 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
15278 PyObject *resultobj;
15279 wxNotebook *arg1 = (wxNotebook *) 0 ;
15280 int result;
15281 PyObject * obj0 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
15291 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15292
15293 wxPyEndAllowThreads(__tstate);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 }
15296 resultobj = SWIG_From_int((int)result);
15297 return resultobj;
15298 fail:
15299 return NULL;
15300 }
15301
15302
15303 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
15304 PyObject *resultobj;
15305 wxNotebook *arg1 = (wxNotebook *) 0 ;
15306 wxSize *arg2 = 0 ;
15307 wxSize temp2 ;
15308 PyObject * obj0 = 0 ;
15309 PyObject * obj1 = 0 ;
15310 char *kwnames[] = {
15311 (char *) "self",(char *) "padding", NULL
15312 };
15313
15314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15317 {
15318 arg2 = &temp2;
15319 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15320 }
15321 {
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
15323 (arg1)->SetPadding((wxSize const &)*arg2);
15324
15325 wxPyEndAllowThreads(__tstate);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 Py_INCREF(Py_None); resultobj = Py_None;
15329 return resultobj;
15330 fail:
15331 return NULL;
15332 }
15333
15334
15335 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
15336 PyObject *resultobj;
15337 wxNotebook *arg1 = (wxNotebook *) 0 ;
15338 wxSize *arg2 = 0 ;
15339 wxSize temp2 ;
15340 PyObject * obj0 = 0 ;
15341 PyObject * obj1 = 0 ;
15342 char *kwnames[] = {
15343 (char *) "self",(char *) "sz", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15349 {
15350 arg2 = &temp2;
15351 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15352 }
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 (arg1)->SetTabSize((wxSize const &)*arg2);
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
15360 Py_INCREF(Py_None); resultobj = Py_None;
15361 return resultobj;
15362 fail:
15363 return NULL;
15364 }
15365
15366
15367 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
15368 PyObject *resultobj;
15369 wxNotebook *arg1 = (wxNotebook *) 0 ;
15370 wxPoint *arg2 = 0 ;
15371 long *arg3 = (long *) 0 ;
15372 int result;
15373 wxPoint temp2 ;
15374 long temp3 ;
15375 int res3 = 0 ;
15376 PyObject * obj0 = 0 ;
15377 PyObject * obj1 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self",(char *) "pt", NULL
15380 };
15381
15382 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15386 {
15387 arg2 = &temp2;
15388 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15389 }
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 resultobj = SWIG_From_int((int)result);
15398 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15399 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
15400 return resultobj;
15401 fail:
15402 return NULL;
15403 }
15404
15405
15406 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
15407 PyObject *resultobj;
15408 wxNotebook *arg1 = (wxNotebook *) 0 ;
15409 wxSize *arg2 = 0 ;
15410 wxSize result;
15411 wxSize temp2 ;
15412 PyObject * obj0 = 0 ;
15413 PyObject * obj1 = 0 ;
15414 char *kwnames[] = {
15415 (char *) "self",(char *) "sizePage", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15421 {
15422 arg2 = &temp2;
15423 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15424 }
15425 {
15426 PyThreadState* __tstate = wxPyBeginAllowThreads();
15427 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15428
15429 wxPyEndAllowThreads(__tstate);
15430 if (PyErr_Occurred()) SWIG_fail;
15431 }
15432 {
15433 wxSize * resultptr;
15434 resultptr = new wxSize((wxSize &) result);
15435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15436 }
15437 return resultobj;
15438 fail:
15439 return NULL;
15440 }
15441
15442
15443 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15444 PyObject *resultobj;
15445 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15446 wxVisualAttributes result;
15447 PyObject * obj0 = 0 ;
15448 char *kwnames[] = {
15449 (char *) "variant", NULL
15450 };
15451
15452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15453 if (obj0) {
15454 arg1 = (int)SWIG_As_int(obj0);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 {
15458 if (!wxPyCheckForApp()) SWIG_fail;
15459 PyThreadState* __tstate = wxPyBeginAllowThreads();
15460 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15461
15462 wxPyEndAllowThreads(__tstate);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 }
15465 {
15466 wxVisualAttributes * resultptr;
15467 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15469 }
15470 return resultobj;
15471 fail:
15472 return NULL;
15473 }
15474
15475
15476 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
15477 PyObject *obj;
15478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15479 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15480 Py_INCREF(obj);
15481 return Py_BuildValue((char *)"");
15482 }
15483 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15486 int arg2 = (int) 0 ;
15487 int arg3 = (int) -1 ;
15488 int arg4 = (int) -1 ;
15489 wxNotebookEvent *result;
15490 PyObject * obj0 = 0 ;
15491 PyObject * obj1 = 0 ;
15492 PyObject * obj2 = 0 ;
15493 PyObject * obj3 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15499 if (obj0) {
15500 arg1 = (wxEventType)SWIG_As_int(obj0);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 if (obj1) {
15504 arg2 = (int)SWIG_As_int(obj1);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 if (obj2) {
15508 arg3 = (int)SWIG_As_int(obj2);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 if (obj3) {
15512 arg4 = (int)SWIG_As_int(obj3);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15523 return resultobj;
15524 fail:
15525 return NULL;
15526 }
15527
15528
15529 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
15530 PyObject *obj;
15531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15532 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15533 Py_INCREF(obj);
15534 return Py_BuildValue((char *)"");
15535 }
15536 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj;
15538 wxWindow *arg1 = (wxWindow *) 0 ;
15539 int arg2 = (int) -1 ;
15540 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15541 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15542 wxSize const &arg4_defvalue = wxDefaultSize ;
15543 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15544 long arg5 = (long) 0 ;
15545 wxString const &arg6_defvalue = wxPyEmptyString ;
15546 wxString *arg6 = (wxString *) &arg6_defvalue ;
15547 wxListbook *result;
15548 wxPoint temp3 ;
15549 wxSize temp4 ;
15550 bool temp6 = false ;
15551 PyObject * obj0 = 0 ;
15552 PyObject * obj1 = 0 ;
15553 PyObject * obj2 = 0 ;
15554 PyObject * obj3 = 0 ;
15555 PyObject * obj4 = 0 ;
15556 PyObject * obj5 = 0 ;
15557 char *kwnames[] = {
15558 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15559 };
15560
15561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15564 if (obj1) {
15565 arg2 = (int)SWIG_As_int(obj1);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 if (obj2) {
15569 {
15570 arg3 = &temp3;
15571 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15572 }
15573 }
15574 if (obj3) {
15575 {
15576 arg4 = &temp4;
15577 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15578 }
15579 }
15580 if (obj4) {
15581 arg5 = (long)SWIG_As_long(obj4);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 if (obj5) {
15585 {
15586 arg6 = wxString_in_helper(obj5);
15587 if (arg6 == NULL) SWIG_fail;
15588 temp6 = true;
15589 }
15590 }
15591 {
15592 if (!wxPyCheckForApp()) SWIG_fail;
15593 PyThreadState* __tstate = wxPyBeginAllowThreads();
15594 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15595
15596 wxPyEndAllowThreads(__tstate);
15597 if (PyErr_Occurred()) SWIG_fail;
15598 }
15599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15600 {
15601 if (temp6)
15602 delete arg6;
15603 }
15604 return resultobj;
15605 fail:
15606 {
15607 if (temp6)
15608 delete arg6;
15609 }
15610 return NULL;
15611 }
15612
15613
15614 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
15615 PyObject *resultobj;
15616 wxListbook *result;
15617 char *kwnames[] = {
15618 NULL
15619 };
15620
15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15622 {
15623 if (!wxPyCheckForApp()) SWIG_fail;
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 result = (wxListbook *)new wxListbook();
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxListbook *arg1 = (wxListbook *) 0 ;
15640 wxWindow *arg2 = (wxWindow *) 0 ;
15641 int arg3 = (int) -1 ;
15642 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15643 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15644 wxSize const &arg5_defvalue = wxDefaultSize ;
15645 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15646 long arg6 = (long) 0 ;
15647 wxString const &arg7_defvalue = wxPyEmptyString ;
15648 wxString *arg7 = (wxString *) &arg7_defvalue ;
15649 bool result;
15650 wxPoint temp4 ;
15651 wxSize temp5 ;
15652 bool temp7 = false ;
15653 PyObject * obj0 = 0 ;
15654 PyObject * obj1 = 0 ;
15655 PyObject * obj2 = 0 ;
15656 PyObject * obj3 = 0 ;
15657 PyObject * obj4 = 0 ;
15658 PyObject * obj5 = 0 ;
15659 PyObject * obj6 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15669 if (obj2) {
15670 arg3 = (int)SWIG_As_int(obj2);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 if (obj3) {
15674 {
15675 arg4 = &temp4;
15676 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15677 }
15678 }
15679 if (obj4) {
15680 {
15681 arg5 = &temp5;
15682 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15683 }
15684 }
15685 if (obj5) {
15686 arg6 = (long)SWIG_As_long(obj5);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 if (obj6) {
15690 {
15691 arg7 = wxString_in_helper(obj6);
15692 if (arg7 == NULL) SWIG_fail;
15693 temp7 = true;
15694 }
15695 }
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 {
15704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15705 }
15706 {
15707 if (temp7)
15708 delete arg7;
15709 }
15710 return resultobj;
15711 fail:
15712 {
15713 if (temp7)
15714 delete arg7;
15715 }
15716 return NULL;
15717 }
15718
15719
15720 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
15721 PyObject *resultobj;
15722 wxListbook *arg1 = (wxListbook *) 0 ;
15723 bool result;
15724 PyObject * obj0 = 0 ;
15725 char *kwnames[] = {
15726 (char *) "self", NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
15734 result = (bool)((wxListbook const *)arg1)->IsVertical();
15735
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 {
15740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15741 }
15742 return resultobj;
15743 fail:
15744 return NULL;
15745 }
15746
15747
15748 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
15749 PyObject *resultobj;
15750 wxListbook *arg1 = (wxListbook *) 0 ;
15751 wxListView *result;
15752 PyObject * obj0 = 0 ;
15753 char *kwnames[] = {
15754 (char *) "self", NULL
15755 };
15756
15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",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 = (wxListView *)(arg1)->GetListView();
15763
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
15767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
15768 return resultobj;
15769 fail:
15770 return NULL;
15771 }
15772
15773
15774 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
15775 PyObject *obj;
15776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15777 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15778 Py_INCREF(obj);
15779 return Py_BuildValue((char *)"");
15780 }
15781 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15782 PyObject *resultobj;
15783 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15784 int arg2 = (int) 0 ;
15785 int arg3 = (int) -1 ;
15786 int arg4 = (int) -1 ;
15787 wxListbookEvent *result;
15788 PyObject * obj0 = 0 ;
15789 PyObject * obj1 = 0 ;
15790 PyObject * obj2 = 0 ;
15791 PyObject * obj3 = 0 ;
15792 char *kwnames[] = {
15793 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15794 };
15795
15796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15797 if (obj0) {
15798 arg1 = (wxEventType)SWIG_As_int(obj0);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 }
15801 if (obj1) {
15802 arg2 = (int)SWIG_As_int(obj1);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 if (obj2) {
15806 arg3 = (int)SWIG_As_int(obj2);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 if (obj3) {
15810 arg4 = (int)SWIG_As_int(obj3);
15811 if (PyErr_Occurred()) SWIG_fail;
15812 }
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15821 return resultobj;
15822 fail:
15823 return NULL;
15824 }
15825
15826
15827 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
15828 PyObject *obj;
15829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15830 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15831 Py_INCREF(obj);
15832 return Py_BuildValue((char *)"");
15833 }
15834 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj;
15836 wxWindow *arg1 = (wxWindow *) 0 ;
15837 int arg2 ;
15838 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15839 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15840 wxSize const &arg4_defvalue = wxDefaultSize ;
15841 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15842 long arg5 = (long) 0 ;
15843 wxString const &arg6_defvalue = wxPyEmptyString ;
15844 wxString *arg6 = (wxString *) &arg6_defvalue ;
15845 wxChoicebook *result;
15846 wxPoint temp3 ;
15847 wxSize temp4 ;
15848 bool temp6 = false ;
15849 PyObject * obj0 = 0 ;
15850 PyObject * obj1 = 0 ;
15851 PyObject * obj2 = 0 ;
15852 PyObject * obj3 = 0 ;
15853 PyObject * obj4 = 0 ;
15854 PyObject * obj5 = 0 ;
15855 char *kwnames[] = {
15856 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15857 };
15858
15859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15862 arg2 = (int)SWIG_As_int(obj1);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 if (obj2) {
15865 {
15866 arg3 = &temp3;
15867 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15868 }
15869 }
15870 if (obj3) {
15871 {
15872 arg4 = &temp4;
15873 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15874 }
15875 }
15876 if (obj4) {
15877 arg5 = (long)SWIG_As_long(obj4);
15878 if (PyErr_Occurred()) SWIG_fail;
15879 }
15880 if (obj5) {
15881 {
15882 arg6 = wxString_in_helper(obj5);
15883 if (arg6 == NULL) SWIG_fail;
15884 temp6 = true;
15885 }
15886 }
15887 {
15888 if (!wxPyCheckForApp()) SWIG_fail;
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15891
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
15896 {
15897 if (temp6)
15898 delete arg6;
15899 }
15900 return resultobj;
15901 fail:
15902 {
15903 if (temp6)
15904 delete arg6;
15905 }
15906 return NULL;
15907 }
15908
15909
15910 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15911 PyObject *resultobj;
15912 wxChoicebook *result;
15913 char *kwnames[] = {
15914 NULL
15915 };
15916
15917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
15918 {
15919 if (!wxPyCheckForApp()) SWIG_fail;
15920 PyThreadState* __tstate = wxPyBeginAllowThreads();
15921 result = (wxChoicebook *)new wxChoicebook();
15922
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj;
15935 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
15936 wxWindow *arg2 = (wxWindow *) 0 ;
15937 int arg3 ;
15938 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15939 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15940 wxSize const &arg5_defvalue = wxDefaultSize ;
15941 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15942 long arg6 = (long) 0 ;
15943 wxString const &arg7_defvalue = wxPyEmptyString ;
15944 wxString *arg7 = (wxString *) &arg7_defvalue ;
15945 bool result;
15946 wxPoint temp4 ;
15947 wxSize temp5 ;
15948 bool temp7 = false ;
15949 PyObject * obj0 = 0 ;
15950 PyObject * obj1 = 0 ;
15951 PyObject * obj2 = 0 ;
15952 PyObject * obj3 = 0 ;
15953 PyObject * obj4 = 0 ;
15954 PyObject * obj5 = 0 ;
15955 PyObject * obj6 = 0 ;
15956 char *kwnames[] = {
15957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15958 };
15959
15960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
15962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15965 arg3 = (int)SWIG_As_int(obj2);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 if (obj3) {
15968 {
15969 arg4 = &temp4;
15970 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15971 }
15972 }
15973 if (obj4) {
15974 {
15975 arg5 = &temp5;
15976 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15977 }
15978 }
15979 if (obj5) {
15980 arg6 = (long)SWIG_As_long(obj5);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 if (obj6) {
15984 {
15985 arg7 = wxString_in_helper(obj6);
15986 if (arg7 == NULL) SWIG_fail;
15987 temp7 = true;
15988 }
15989 }
15990 {
15991 PyThreadState* __tstate = wxPyBeginAllowThreads();
15992 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15993
15994 wxPyEndAllowThreads(__tstate);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 }
15997 {
15998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15999 }
16000 {
16001 if (temp7)
16002 delete arg7;
16003 }
16004 return resultobj;
16005 fail:
16006 {
16007 if (temp7)
16008 delete arg7;
16009 }
16010 return NULL;
16011 }
16012
16013
16014 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16015 PyObject *resultobj;
16016 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16017 bool result;
16018 PyObject * obj0 = 0 ;
16019 char *kwnames[] = {
16020 (char *) "self", NULL
16021 };
16022
16023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
16024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 {
16034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16035 }
16036 return resultobj;
16037 fail:
16038 return NULL;
16039 }
16040
16041
16042 static PyObject *_wrap_Choicebook_DeleteAllPages(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_DeleteAllPages",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)(arg1)->DeleteAllPages();
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
16070 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
16071 PyObject *obj;
16072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16073 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
16074 Py_INCREF(obj);
16075 return Py_BuildValue((char *)"");
16076 }
16077 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16080 int arg2 = (int) 0 ;
16081 int arg3 = (int) -1 ;
16082 int arg4 = (int) -1 ;
16083 wxChoicebookEvent *result;
16084 PyObject * obj0 = 0 ;
16085 PyObject * obj1 = 0 ;
16086 PyObject * obj2 = 0 ;
16087 PyObject * obj3 = 0 ;
16088 char *kwnames[] = {
16089 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16090 };
16091
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16093 if (obj0) {
16094 arg1 = (wxEventType)SWIG_As_int(obj0);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 if (obj1) {
16098 arg2 = (int)SWIG_As_int(obj1);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 if (obj2) {
16102 arg3 = (int)SWIG_As_int(obj2);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 if (obj3) {
16106 arg4 = (int)SWIG_As_int(obj3);
16107 if (PyErr_Occurred()) SWIG_fail;
16108 }
16109 {
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
16112
16113 wxPyEndAllowThreads(__tstate);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 }
16116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
16117 return resultobj;
16118 fail:
16119 return NULL;
16120 }
16121
16122
16123 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
16124 PyObject *obj;
16125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16126 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
16127 Py_INCREF(obj);
16128 return Py_BuildValue((char *)"");
16129 }
16130 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
16131 PyObject *resultobj;
16132 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
16133 wxBookCtrlSizer *result;
16134 PyObject * obj0 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "nb", NULL
16137 };
16138
16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
16140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
16141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
16150 return resultobj;
16151 fail:
16152 return NULL;
16153 }
16154
16155
16156 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
16157 PyObject *resultobj;
16158 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16159 PyObject * obj0 = 0 ;
16160 char *kwnames[] = {
16161 (char *) "self", NULL
16162 };
16163
16164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 (arg1)->RecalcSizes();
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 Py_INCREF(Py_None); resultobj = Py_None;
16175 return resultobj;
16176 fail:
16177 return NULL;
16178 }
16179
16180
16181 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
16182 PyObject *resultobj;
16183 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16184 wxSize result;
16185 PyObject * obj0 = 0 ;
16186 char *kwnames[] = {
16187 (char *) "self", NULL
16188 };
16189
16190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
16191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16193 {
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 result = (arg1)->CalcMin();
16196
16197 wxPyEndAllowThreads(__tstate);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
16200 {
16201 wxSize * resultptr;
16202 resultptr = new wxSize((wxSize &) result);
16203 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16204 }
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16214 wxBookCtrl *result;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
16221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 result = (wxBookCtrl *)(arg1)->GetControl();
16226
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
16231 return resultobj;
16232 fail:
16233 return NULL;
16234 }
16235
16236
16237 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
16238 PyObject *obj;
16239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16240 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
16241 Py_INCREF(obj);
16242 return Py_BuildValue((char *)"");
16243 }
16244 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
16245 PyObject *resultobj;
16246 wxNotebook *arg1 = (wxNotebook *) 0 ;
16247 wxNotebookSizer *result;
16248 PyObject * obj0 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "nb", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
16254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
16255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
16259
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
16264 return resultobj;
16265 fail:
16266 return NULL;
16267 }
16268
16269
16270 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
16271 PyObject *resultobj;
16272 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16273 PyObject * obj0 = 0 ;
16274 char *kwnames[] = {
16275 (char *) "self", NULL
16276 };
16277
16278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 (arg1)->RecalcSizes();
16284
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 Py_INCREF(Py_None); resultobj = Py_None;
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
16296 PyObject *resultobj;
16297 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16298 wxSize result;
16299 PyObject * obj0 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "self", NULL
16302 };
16303
16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
16305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16307 {
16308 PyThreadState* __tstate = wxPyBeginAllowThreads();
16309 result = (arg1)->CalcMin();
16310
16311 wxPyEndAllowThreads(__tstate);
16312 if (PyErr_Occurred()) SWIG_fail;
16313 }
16314 {
16315 wxSize * resultptr;
16316 resultptr = new wxSize((wxSize &) result);
16317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16318 }
16319 return resultobj;
16320 fail:
16321 return NULL;
16322 }
16323
16324
16325 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
16326 PyObject *resultobj;
16327 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16328 wxNotebook *result;
16329 PyObject * obj0 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16337 {
16338 PyThreadState* __tstate = wxPyBeginAllowThreads();
16339 result = (wxNotebook *)(arg1)->GetNotebook();
16340
16341 wxPyEndAllowThreads(__tstate);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 }
16344 {
16345 resultobj = wxPyMake_wxObject(result, 0);
16346 }
16347 return resultobj;
16348 fail:
16349 return NULL;
16350 }
16351
16352
16353 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
16354 PyObject *obj;
16355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16356 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
16357 Py_INCREF(obj);
16358 return Py_BuildValue((char *)"");
16359 }
16360 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16363 int result;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
16370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
16374 result = (int)(arg1)->GetId();
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 resultobj = SWIG_From_int((int)result);
16380 return resultobj;
16381 fail:
16382 return NULL;
16383 }
16384
16385
16386 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16389 wxControl *result;
16390 PyObject * obj0 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 result = (wxControl *)(arg1)->GetControl();
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 resultobj = wxPyMake_wxObject(result, 0);
16407 }
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
16415 PyObject *resultobj;
16416 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16417 wxToolBarBase *result;
16418 PyObject * obj0 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",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 = (wxToolBarBase *)(arg1)->GetToolBar();
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 {
16434 resultobj = wxPyMake_wxObject(result, 0);
16435 }
16436 return resultobj;
16437 fail:
16438 return NULL;
16439 }
16440
16441
16442 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
16443 PyObject *resultobj;
16444 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16445 int result;
16446 PyObject * obj0 = 0 ;
16447 char *kwnames[] = {
16448 (char *) "self", NULL
16449 };
16450
16451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",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 = (int)(arg1)->IsButton();
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 resultobj = SWIG_From_int((int)result);
16462 return resultobj;
16463 fail:
16464 return NULL;
16465 }
16466
16467
16468 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj;
16470 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16471 int result;
16472 PyObject * obj0 = 0 ;
16473 char *kwnames[] = {
16474 (char *) "self", NULL
16475 };
16476
16477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = (int)(arg1)->IsControl();
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 resultobj = SWIG_From_int((int)result);
16488 return resultobj;
16489 fail:
16490 return NULL;
16491 }
16492
16493
16494 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16497 int result;
16498 PyObject * obj0 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16506 {
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 result = (int)(arg1)->IsSeparator();
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 resultobj = SWIG_From_int((int)result);
16514 return resultobj;
16515 fail:
16516 return NULL;
16517 }
16518
16519
16520 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16521 PyObject *resultobj;
16522 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16523 int result;
16524 PyObject * obj0 = 0 ;
16525 char *kwnames[] = {
16526 (char *) "self", NULL
16527 };
16528
16529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16532 {
16533 PyThreadState* __tstate = wxPyBeginAllowThreads();
16534 result = (int)(arg1)->GetStyle();
16535
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 resultobj = SWIG_From_int((int)result);
16540 return resultobj;
16541 fail:
16542 return NULL;
16543 }
16544
16545
16546 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
16547 PyObject *resultobj;
16548 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16549 int result;
16550 PyObject * obj0 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 result = (int)(arg1)->GetKind();
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 resultobj = SWIG_From_int((int)result);
16566 return resultobj;
16567 fail:
16568 return NULL;
16569 }
16570
16571
16572 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
16573 PyObject *resultobj;
16574 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16575 bool result;
16576 PyObject * obj0 = 0 ;
16577 char *kwnames[] = {
16578 (char *) "self", NULL
16579 };
16580
16581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (bool)(arg1)->IsEnabled();
16587
16588 wxPyEndAllowThreads(__tstate);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
16591 {
16592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16593 }
16594 return resultobj;
16595 fail:
16596 return NULL;
16597 }
16598
16599
16600 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
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_IsToggled",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)->IsToggled();
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
16628 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
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_CanBeToggled",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)->CanBeToggled();
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
16656 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16657 PyObject *resultobj;
16658 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16659 wxBitmap *result;
16660 PyObject * obj0 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",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 {
16671 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16672 result = (wxBitmap *) &_result_ref;
16673 }
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 {
16679 wxBitmap* resultptr = new wxBitmap(*result);
16680 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16681 }
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16691 wxBitmap *result;
16692 PyObject * obj0 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 {
16703 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16704 result = (wxBitmap *) &_result_ref;
16705 }
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 {
16711 wxBitmap* resultptr = new wxBitmap(*result);
16712 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16713 }
16714 return resultobj;
16715 fail:
16716 return NULL;
16717 }
16718
16719
16720 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16721 PyObject *resultobj;
16722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16723 wxBitmap result;
16724 PyObject * obj0 = 0 ;
16725 char *kwnames[] = {
16726 (char *) "self", NULL
16727 };
16728
16729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16732 {
16733 PyThreadState* __tstate = wxPyBeginAllowThreads();
16734 result = (arg1)->GetBitmap();
16735
16736 wxPyEndAllowThreads(__tstate);
16737 if (PyErr_Occurred()) SWIG_fail;
16738 }
16739 {
16740 wxBitmap * resultptr;
16741 resultptr = new wxBitmap((wxBitmap &) result);
16742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16743 }
16744 return resultobj;
16745 fail:
16746 return NULL;
16747 }
16748
16749
16750 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16753 wxString result;
16754 PyObject * obj0 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16762 {
16763 PyThreadState* __tstate = wxPyBeginAllowThreads();
16764 result = (arg1)->GetLabel();
16765
16766 wxPyEndAllowThreads(__tstate);
16767 if (PyErr_Occurred()) SWIG_fail;
16768 }
16769 {
16770 #if wxUSE_UNICODE
16771 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16772 #else
16773 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16774 #endif
16775 }
16776 return resultobj;
16777 fail:
16778 return NULL;
16779 }
16780
16781
16782 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16783 PyObject *resultobj;
16784 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16785 wxString result;
16786 PyObject * obj0 = 0 ;
16787 char *kwnames[] = {
16788 (char *) "self", NULL
16789 };
16790
16791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 result = (arg1)->GetShortHelp();
16797
16798 wxPyEndAllowThreads(__tstate);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 {
16802 #if wxUSE_UNICODE
16803 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16804 #else
16805 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16806 #endif
16807 }
16808 return resultobj;
16809 fail:
16810 return NULL;
16811 }
16812
16813
16814 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16815 PyObject *resultobj;
16816 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16817 wxString result;
16818 PyObject * obj0 = 0 ;
16819 char *kwnames[] = {
16820 (char *) "self", NULL
16821 };
16822
16823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 result = (arg1)->GetLongHelp();
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 {
16834 #if wxUSE_UNICODE
16835 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16836 #else
16837 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16838 #endif
16839 }
16840 return resultobj;
16841 fail:
16842 return NULL;
16843 }
16844
16845
16846 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16849 bool arg2 ;
16850 bool result;
16851 PyObject * obj0 = 0 ;
16852 PyObject * obj1 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "self",(char *) "enable", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16860 arg2 = (bool)SWIG_As_bool(obj1);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 result = (bool)(arg1)->Enable(arg2);
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 {
16870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16871 }
16872 return resultobj;
16873 fail:
16874 return NULL;
16875 }
16876
16877
16878 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
16879 PyObject *resultobj;
16880 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16881 PyObject * obj0 = 0 ;
16882 char *kwnames[] = {
16883 (char *) "self", NULL
16884 };
16885
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16889 {
16890 PyThreadState* __tstate = wxPyBeginAllowThreads();
16891 (arg1)->Toggle();
16892
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 Py_INCREF(Py_None); resultobj = Py_None;
16897 return resultobj;
16898 fail:
16899 return NULL;
16900 }
16901
16902
16903 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj;
16905 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16906 bool arg2 ;
16907 bool result;
16908 PyObject * obj0 = 0 ;
16909 PyObject * obj1 = 0 ;
16910 char *kwnames[] = {
16911 (char *) "self",(char *) "toggle", NULL
16912 };
16913
16914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16917 arg2 = (bool)SWIG_As_bool(obj1);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 {
16920 PyThreadState* __tstate = wxPyBeginAllowThreads();
16921 result = (bool)(arg1)->SetToggle(arg2);
16922
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 {
16927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16928 }
16929 return resultobj;
16930 fail:
16931 return NULL;
16932 }
16933
16934
16935 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16938 wxString *arg2 = 0 ;
16939 bool result;
16940 bool temp2 = false ;
16941 PyObject * obj0 = 0 ;
16942 PyObject * obj1 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self",(char *) "help", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16950 {
16951 arg2 = wxString_in_helper(obj1);
16952 if (arg2 == NULL) SWIG_fail;
16953 temp2 = true;
16954 }
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 {
16963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16964 }
16965 {
16966 if (temp2)
16967 delete arg2;
16968 }
16969 return resultobj;
16970 fail:
16971 {
16972 if (temp2)
16973 delete arg2;
16974 }
16975 return NULL;
16976 }
16977
16978
16979 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16982 wxString *arg2 = 0 ;
16983 bool result;
16984 bool temp2 = false ;
16985 PyObject * obj0 = 0 ;
16986 PyObject * obj1 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self",(char *) "help", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16994 {
16995 arg2 = wxString_in_helper(obj1);
16996 if (arg2 == NULL) SWIG_fail;
16997 temp2 = true;
16998 }
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 {
17007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17008 }
17009 {
17010 if (temp2)
17011 delete arg2;
17012 }
17013 return resultobj;
17014 fail:
17015 {
17016 if (temp2)
17017 delete arg2;
17018 }
17019 return NULL;
17020 }
17021
17022
17023 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
17024 PyObject *resultobj;
17025 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17026 wxBitmap *arg2 = 0 ;
17027 PyObject * obj0 = 0 ;
17028 PyObject * obj1 = 0 ;
17029 char *kwnames[] = {
17030 (char *) "self",(char *) "bmp", NULL
17031 };
17032
17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
17034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17037 SWIG_POINTER_EXCEPTION | 0)) == -1)
17038 SWIG_fail;
17039 if (arg2 == NULL) {
17040 PyErr_SetString(PyExc_TypeError,"null reference");
17041 SWIG_fail;
17042 }
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 Py_INCREF(Py_None); resultobj = Py_None;
17051 return resultobj;
17052 fail:
17053 return NULL;
17054 }
17055
17056
17057 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17060 wxBitmap *arg2 = 0 ;
17061 PyObject * obj0 = 0 ;
17062 PyObject * obj1 = 0 ;
17063 char *kwnames[] = {
17064 (char *) "self",(char *) "bmp", NULL
17065 };
17066
17067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
17068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17071 SWIG_POINTER_EXCEPTION | 0)) == -1)
17072 SWIG_fail;
17073 if (arg2 == NULL) {
17074 PyErr_SetString(PyExc_TypeError,"null reference");
17075 SWIG_fail;
17076 }
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 Py_INCREF(Py_None); resultobj = Py_None;
17085 return resultobj;
17086 fail:
17087 return NULL;
17088 }
17089
17090
17091 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
17092 PyObject *resultobj;
17093 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17094 wxString *arg2 = 0 ;
17095 bool temp2 = false ;
17096 PyObject * obj0 = 0 ;
17097 PyObject * obj1 = 0 ;
17098 char *kwnames[] = {
17099 (char *) "self",(char *) "label", NULL
17100 };
17101
17102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
17103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17105 {
17106 arg2 = wxString_in_helper(obj1);
17107 if (arg2 == NULL) SWIG_fail;
17108 temp2 = true;
17109 }
17110 {
17111 PyThreadState* __tstate = wxPyBeginAllowThreads();
17112 (arg1)->SetLabel((wxString const &)*arg2);
17113
17114 wxPyEndAllowThreads(__tstate);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
17117 Py_INCREF(Py_None); resultobj = Py_None;
17118 {
17119 if (temp2)
17120 delete arg2;
17121 }
17122 return resultobj;
17123 fail:
17124 {
17125 if (temp2)
17126 delete arg2;
17127 }
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17135 PyObject * obj0 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "self", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
17141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17143 {
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 (arg1)->Detach();
17146
17147 wxPyEndAllowThreads(__tstate);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 Py_INCREF(Py_None); resultobj = Py_None;
17151 return resultobj;
17152 fail:
17153 return NULL;
17154 }
17155
17156
17157 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
17158 PyObject *resultobj;
17159 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17160 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
17161 PyObject * obj0 = 0 ;
17162 PyObject * obj1 = 0 ;
17163 char *kwnames[] = {
17164 (char *) "self",(char *) "tbar", NULL
17165 };
17166
17167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
17168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
17171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 (arg1)->Attach(arg2);
17175
17176 wxPyEndAllowThreads(__tstate);
17177 if (PyErr_Occurred()) SWIG_fail;
17178 }
17179 Py_INCREF(Py_None); resultobj = Py_None;
17180 return resultobj;
17181 fail:
17182 return NULL;
17183 }
17184
17185
17186 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17187 PyObject *resultobj;
17188 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17189 PyObject *result;
17190 PyObject * obj0 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
17201
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 resultobj = result;
17206 return resultobj;
17207 fail:
17208 return NULL;
17209 }
17210
17211
17212 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17213 PyObject *resultobj;
17214 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17215 PyObject *arg2 = (PyObject *) 0 ;
17216 PyObject * obj0 = 0 ;
17217 PyObject * obj1 = 0 ;
17218 char *kwnames[] = {
17219 (char *) "self",(char *) "clientData", NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
17223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17225 arg2 = obj1;
17226 {
17227 PyThreadState* __tstate = wxPyBeginAllowThreads();
17228 wxToolBarToolBase_SetClientData(arg1,arg2);
17229
17230 wxPyEndAllowThreads(__tstate);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 }
17233 Py_INCREF(Py_None); resultobj = Py_None;
17234 return resultobj;
17235 fail:
17236 return NULL;
17237 }
17238
17239
17240 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
17241 PyObject *obj;
17242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17243 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
17244 Py_INCREF(obj);
17245 return Py_BuildValue((char *)"");
17246 }
17247 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17250 int arg2 ;
17251 wxString *arg3 = 0 ;
17252 wxBitmap *arg4 = 0 ;
17253 wxBitmap const &arg5_defvalue = wxNullBitmap ;
17254 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
17255 int arg6 = (int) wxITEM_NORMAL ;
17256 wxString const &arg7_defvalue = wxPyEmptyString ;
17257 wxString *arg7 = (wxString *) &arg7_defvalue ;
17258 wxString const &arg8_defvalue = wxPyEmptyString ;
17259 wxString *arg8 = (wxString *) &arg8_defvalue ;
17260 PyObject *arg9 = (PyObject *) NULL ;
17261 wxToolBarToolBase *result;
17262 bool temp3 = false ;
17263 bool temp7 = false ;
17264 bool temp8 = false ;
17265 PyObject * obj0 = 0 ;
17266 PyObject * obj1 = 0 ;
17267 PyObject * obj2 = 0 ;
17268 PyObject * obj3 = 0 ;
17269 PyObject * obj4 = 0 ;
17270 PyObject * obj5 = 0 ;
17271 PyObject * obj6 = 0 ;
17272 PyObject * obj7 = 0 ;
17273 PyObject * obj8 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
17279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17281 arg2 = (int)SWIG_As_int(obj1);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 {
17284 arg3 = wxString_in_helper(obj2);
17285 if (arg3 == NULL) SWIG_fail;
17286 temp3 = true;
17287 }
17288 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
17289 SWIG_POINTER_EXCEPTION | 0)) == -1)
17290 SWIG_fail;
17291 if (arg4 == NULL) {
17292 PyErr_SetString(PyExc_TypeError,"null reference");
17293 SWIG_fail;
17294 }
17295 if (obj4) {
17296 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17297 SWIG_POINTER_EXCEPTION | 0)) == -1)
17298 SWIG_fail;
17299 if (arg5 == NULL) {
17300 PyErr_SetString(PyExc_TypeError,"null reference");
17301 SWIG_fail;
17302 }
17303 }
17304 if (obj5) {
17305 arg6 = (int)SWIG_As_int(obj5);
17306 if (PyErr_Occurred()) SWIG_fail;
17307 }
17308 if (obj6) {
17309 {
17310 arg7 = wxString_in_helper(obj6);
17311 if (arg7 == NULL) SWIG_fail;
17312 temp7 = true;
17313 }
17314 }
17315 if (obj7) {
17316 {
17317 arg8 = wxString_in_helper(obj7);
17318 if (arg8 == NULL) SWIG_fail;
17319 temp8 = true;
17320 }
17321 }
17322 if (obj8) {
17323 arg9 = obj8;
17324 }
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 {
17333 resultobj = wxPyMake_wxObject(result, 0);
17334 }
17335 {
17336 if (temp3)
17337 delete arg3;
17338 }
17339 {
17340 if (temp7)
17341 delete arg7;
17342 }
17343 {
17344 if (temp8)
17345 delete arg8;
17346 }
17347 return resultobj;
17348 fail:
17349 {
17350 if (temp3)
17351 delete arg3;
17352 }
17353 {
17354 if (temp7)
17355 delete arg7;
17356 }
17357 {
17358 if (temp8)
17359 delete arg8;
17360 }
17361 return NULL;
17362 }
17363
17364
17365 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
17366 PyObject *resultobj;
17367 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17368 size_t arg2 ;
17369 int arg3 ;
17370 wxString *arg4 = 0 ;
17371 wxBitmap *arg5 = 0 ;
17372 wxBitmap const &arg6_defvalue = wxNullBitmap ;
17373 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
17374 int arg7 = (int) wxITEM_NORMAL ;
17375 wxString const &arg8_defvalue = wxPyEmptyString ;
17376 wxString *arg8 = (wxString *) &arg8_defvalue ;
17377 wxString const &arg9_defvalue = wxPyEmptyString ;
17378 wxString *arg9 = (wxString *) &arg9_defvalue ;
17379 PyObject *arg10 = (PyObject *) NULL ;
17380 wxToolBarToolBase *result;
17381 bool temp4 = false ;
17382 bool temp8 = false ;
17383 bool temp9 = false ;
17384 PyObject * obj0 = 0 ;
17385 PyObject * obj1 = 0 ;
17386 PyObject * obj2 = 0 ;
17387 PyObject * obj3 = 0 ;
17388 PyObject * obj4 = 0 ;
17389 PyObject * obj5 = 0 ;
17390 PyObject * obj6 = 0 ;
17391 PyObject * obj7 = 0 ;
17392 PyObject * obj8 = 0 ;
17393 PyObject * obj9 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
17399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17401 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 arg3 = (int)SWIG_As_int(obj2);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 {
17406 arg4 = wxString_in_helper(obj3);
17407 if (arg4 == NULL) SWIG_fail;
17408 temp4 = true;
17409 }
17410 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17411 SWIG_POINTER_EXCEPTION | 0)) == -1)
17412 SWIG_fail;
17413 if (arg5 == NULL) {
17414 PyErr_SetString(PyExc_TypeError,"null reference");
17415 SWIG_fail;
17416 }
17417 if (obj5) {
17418 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17419 SWIG_POINTER_EXCEPTION | 0)) == -1)
17420 SWIG_fail;
17421 if (arg6 == NULL) {
17422 PyErr_SetString(PyExc_TypeError,"null reference");
17423 SWIG_fail;
17424 }
17425 }
17426 if (obj6) {
17427 arg7 = (int)SWIG_As_int(obj6);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 if (obj7) {
17431 {
17432 arg8 = wxString_in_helper(obj7);
17433 if (arg8 == NULL) SWIG_fail;
17434 temp8 = true;
17435 }
17436 }
17437 if (obj8) {
17438 {
17439 arg9 = wxString_in_helper(obj8);
17440 if (arg9 == NULL) SWIG_fail;
17441 temp9 = true;
17442 }
17443 }
17444 if (obj9) {
17445 arg10 = obj9;
17446 }
17447 {
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 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);
17450
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 {
17455 resultobj = wxPyMake_wxObject(result, 0);
17456 }
17457 {
17458 if (temp4)
17459 delete arg4;
17460 }
17461 {
17462 if (temp8)
17463 delete arg8;
17464 }
17465 {
17466 if (temp9)
17467 delete arg9;
17468 }
17469 return resultobj;
17470 fail:
17471 {
17472 if (temp4)
17473 delete arg4;
17474 }
17475 {
17476 if (temp8)
17477 delete arg8;
17478 }
17479 {
17480 if (temp9)
17481 delete arg9;
17482 }
17483 return NULL;
17484 }
17485
17486
17487 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
17488 PyObject *resultobj;
17489 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17490 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17491 wxToolBarToolBase *result;
17492 PyObject * obj0 = 0 ;
17493 PyObject * obj1 = 0 ;
17494 char *kwnames[] = {
17495 (char *) "self",(char *) "tool", NULL
17496 };
17497
17498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17503 {
17504 PyThreadState* __tstate = wxPyBeginAllowThreads();
17505 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17506
17507 wxPyEndAllowThreads(__tstate);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 }
17510 {
17511 resultobj = wxPyMake_wxObject(result, 0);
17512 }
17513 return resultobj;
17514 fail:
17515 return NULL;
17516 }
17517
17518
17519 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
17520 PyObject *resultobj;
17521 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17522 size_t arg2 ;
17523 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17524 wxToolBarToolBase *result;
17525 PyObject * obj0 = 0 ;
17526 PyObject * obj1 = 0 ;
17527 PyObject * obj2 = 0 ;
17528 char *kwnames[] = {
17529 (char *) "self",(char *) "pos",(char *) "tool", NULL
17530 };
17531
17532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17535 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 {
17547 resultobj = wxPyMake_wxObject(result, 0);
17548 }
17549 return resultobj;
17550 fail:
17551 return NULL;
17552 }
17553
17554
17555 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
17556 PyObject *resultobj;
17557 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17558 wxControl *arg2 = (wxControl *) 0 ;
17559 wxToolBarToolBase *result;
17560 PyObject * obj0 = 0 ;
17561 PyObject * obj1 = 0 ;
17562 char *kwnames[] = {
17563 (char *) "self",(char *) "control", NULL
17564 };
17565
17566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17574
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 {
17579 resultobj = wxPyMake_wxObject(result, 0);
17580 }
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17590 size_t arg2 ;
17591 wxControl *arg3 = (wxControl *) 0 ;
17592 wxToolBarToolBase *result;
17593 PyObject * obj0 = 0 ;
17594 PyObject * obj1 = 0 ;
17595 PyObject * obj2 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self",(char *) "pos",(char *) "control", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17603 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 {
17615 resultobj = wxPyMake_wxObject(result, 0);
17616 }
17617 return resultobj;
17618 fail:
17619 return NULL;
17620 }
17621
17622
17623 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
17624 PyObject *resultobj;
17625 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17626 int arg2 ;
17627 wxControl *result;
17628 PyObject * obj0 = 0 ;
17629 PyObject * obj1 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self",(char *) "id", NULL
17632 };
17633
17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17637 arg2 = (int)SWIG_As_int(obj1);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (wxControl *)(arg1)->FindControl(arg2);
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 {
17647 resultobj = wxPyMake_wxObject(result, 0);
17648 }
17649 return resultobj;
17650 fail:
17651 return NULL;
17652 }
17653
17654
17655 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17658 wxToolBarToolBase *result;
17659 PyObject * obj0 = 0 ;
17660 char *kwnames[] = {
17661 (char *) "self", NULL
17662 };
17663
17664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 {
17675 resultobj = wxPyMake_wxObject(result, 0);
17676 }
17677 return resultobj;
17678 fail:
17679 return NULL;
17680 }
17681
17682
17683 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
17684 PyObject *resultobj;
17685 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17686 size_t arg2 ;
17687 wxToolBarToolBase *result;
17688 PyObject * obj0 = 0 ;
17689 PyObject * obj1 = 0 ;
17690 char *kwnames[] = {
17691 (char *) "self",(char *) "pos", NULL
17692 };
17693
17694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17697 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 {
17707 resultobj = wxPyMake_wxObject(result, 0);
17708 }
17709 return resultobj;
17710 fail:
17711 return NULL;
17712 }
17713
17714
17715 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
17716 PyObject *resultobj;
17717 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17718 int arg2 ;
17719 wxToolBarToolBase *result;
17720 PyObject * obj0 = 0 ;
17721 PyObject * obj1 = 0 ;
17722 char *kwnames[] = {
17723 (char *) "self",(char *) "id", NULL
17724 };
17725
17726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17729 arg2 = (int)SWIG_As_int(obj1);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17734
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 {
17739 resultobj = wxPyMake_wxObject(result, 0);
17740 }
17741 return resultobj;
17742 fail:
17743 return NULL;
17744 }
17745
17746
17747 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
17748 PyObject *resultobj;
17749 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17750 size_t arg2 ;
17751 bool result;
17752 PyObject * obj0 = 0 ;
17753 PyObject * obj1 = 0 ;
17754 char *kwnames[] = {
17755 (char *) "self",(char *) "pos", NULL
17756 };
17757
17758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17761 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 result = (bool)(arg1)->DeleteToolByPos(arg2);
17766
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 {
17771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17772 }
17773 return resultobj;
17774 fail:
17775 return NULL;
17776 }
17777
17778
17779 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
17780 PyObject *resultobj;
17781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17782 int arg2 ;
17783 bool result;
17784 PyObject * obj0 = 0 ;
17785 PyObject * obj1 = 0 ;
17786 char *kwnames[] = {
17787 (char *) "self",(char *) "id", NULL
17788 };
17789
17790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17793 arg2 = (int)SWIG_As_int(obj1);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (bool)(arg1)->DeleteTool(arg2);
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 {
17803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17804 }
17805 return resultobj;
17806 fail:
17807 return NULL;
17808 }
17809
17810
17811 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
17812 PyObject *resultobj;
17813 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17814 PyObject * obj0 = 0 ;
17815 char *kwnames[] = {
17816 (char *) "self", NULL
17817 };
17818
17819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 (arg1)->ClearTools();
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 Py_INCREF(Py_None); resultobj = Py_None;
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17839 bool result;
17840 PyObject * obj0 = 0 ;
17841 char *kwnames[] = {
17842 (char *) "self", NULL
17843 };
17844
17845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17848 {
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 result = (bool)(arg1)->Realize();
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 {
17856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17857 }
17858 return resultobj;
17859 fail:
17860 return NULL;
17861 }
17862
17863
17864 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
17865 PyObject *resultobj;
17866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17867 int arg2 ;
17868 bool arg3 ;
17869 PyObject * obj0 = 0 ;
17870 PyObject * obj1 = 0 ;
17871 PyObject * obj2 = 0 ;
17872 char *kwnames[] = {
17873 (char *) "self",(char *) "id",(char *) "enable", NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17879 arg2 = (int)SWIG_As_int(obj1);
17880 if (PyErr_Occurred()) SWIG_fail;
17881 arg3 = (bool)SWIG_As_bool(obj2);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 (arg1)->EnableTool(arg2,arg3);
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 Py_INCREF(Py_None); resultobj = Py_None;
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17900 int arg2 ;
17901 bool arg3 ;
17902 PyObject * obj0 = 0 ;
17903 PyObject * obj1 = 0 ;
17904 PyObject * obj2 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self",(char *) "id",(char *) "toggle", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17912 arg2 = (int)SWIG_As_int(obj1);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 arg3 = (bool)SWIG_As_bool(obj2);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 (arg1)->ToggleTool(arg2,arg3);
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
17923 Py_INCREF(Py_None); resultobj = Py_None;
17924 return resultobj;
17925 fail:
17926 return NULL;
17927 }
17928
17929
17930 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
17931 PyObject *resultobj;
17932 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17933 int arg2 ;
17934 bool arg3 ;
17935 PyObject * obj0 = 0 ;
17936 PyObject * obj1 = 0 ;
17937 PyObject * obj2 = 0 ;
17938 char *kwnames[] = {
17939 (char *) "self",(char *) "id",(char *) "toggle", NULL
17940 };
17941
17942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17945 arg2 = (int)SWIG_As_int(obj1);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 arg3 = (bool)SWIG_As_bool(obj2);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 (arg1)->SetToggle(arg2,arg3);
17952
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
17956 Py_INCREF(Py_None); resultobj = Py_None;
17957 return resultobj;
17958 fail:
17959 return NULL;
17960 }
17961
17962
17963 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17964 PyObject *resultobj;
17965 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17966 int arg2 ;
17967 PyObject *result;
17968 PyObject * obj0 = 0 ;
17969 PyObject * obj1 = 0 ;
17970 char *kwnames[] = {
17971 (char *) "self",(char *) "id", NULL
17972 };
17973
17974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
17975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17977 arg2 = (int)SWIG_As_int(obj1);
17978 if (PyErr_Occurred()) SWIG_fail;
17979 {
17980 PyThreadState* __tstate = wxPyBeginAllowThreads();
17981 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17982
17983 wxPyEndAllowThreads(__tstate);
17984 if (PyErr_Occurred()) SWIG_fail;
17985 }
17986 resultobj = result;
17987 return resultobj;
17988 fail:
17989 return NULL;
17990 }
17991
17992
17993 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17994 PyObject *resultobj;
17995 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17996 int arg2 ;
17997 PyObject *arg3 = (PyObject *) 0 ;
17998 PyObject * obj0 = 0 ;
17999 PyObject * obj1 = 0 ;
18000 PyObject * obj2 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "self",(char *) "id",(char *) "clientData", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
18006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18008 arg2 = (int)SWIG_As_int(obj1);
18009 if (PyErr_Occurred()) SWIG_fail;
18010 arg3 = obj2;
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
18014
18015 wxPyEndAllowThreads(__tstate);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 }
18018 Py_INCREF(Py_None); resultobj = Py_None;
18019 return resultobj;
18020 fail:
18021 return NULL;
18022 }
18023
18024
18025 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
18026 PyObject *resultobj;
18027 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18028 int arg2 ;
18029 int result;
18030 PyObject * obj0 = 0 ;
18031 PyObject * obj1 = 0 ;
18032 char *kwnames[] = {
18033 (char *) "self",(char *) "id", NULL
18034 };
18035
18036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
18037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18039 arg2 = (int)SWIG_As_int(obj1);
18040 if (PyErr_Occurred()) SWIG_fail;
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
18044
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 resultobj = SWIG_From_int((int)result);
18049 return resultobj;
18050 fail:
18051 return NULL;
18052 }
18053
18054
18055 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
18056 PyObject *resultobj;
18057 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18058 int arg2 ;
18059 bool result;
18060 PyObject * obj0 = 0 ;
18061 PyObject * obj1 = 0 ;
18062 char *kwnames[] = {
18063 (char *) "self",(char *) "id", NULL
18064 };
18065
18066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
18067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18069 arg2 = (int)SWIG_As_int(obj1);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (bool)(arg1)->GetToolState(arg2);
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 {
18079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18080 }
18081 return resultobj;
18082 fail:
18083 return NULL;
18084 }
18085
18086
18087 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18088 PyObject *resultobj;
18089 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18090 int arg2 ;
18091 bool result;
18092 PyObject * obj0 = 0 ;
18093 PyObject * obj1 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self",(char *) "id", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18101 arg2 = (int)SWIG_As_int(obj1);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (bool)(arg1)->GetToolEnabled(arg2);
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 {
18111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18112 }
18113 return resultobj;
18114 fail:
18115 return NULL;
18116 }
18117
18118
18119 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18122 int arg2 ;
18123 wxString *arg3 = 0 ;
18124 bool temp3 = false ;
18125 PyObject * obj0 = 0 ;
18126 PyObject * obj1 = 0 ;
18127 PyObject * obj2 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self",(char *) "id",(char *) "helpString", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18135 arg2 = (int)SWIG_As_int(obj1);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 {
18138 arg3 = wxString_in_helper(obj2);
18139 if (arg3 == NULL) SWIG_fail;
18140 temp3 = true;
18141 }
18142 {
18143 PyThreadState* __tstate = wxPyBeginAllowThreads();
18144 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
18145
18146 wxPyEndAllowThreads(__tstate);
18147 if (PyErr_Occurred()) SWIG_fail;
18148 }
18149 Py_INCREF(Py_None); resultobj = Py_None;
18150 {
18151 if (temp3)
18152 delete arg3;
18153 }
18154 return resultobj;
18155 fail:
18156 {
18157 if (temp3)
18158 delete arg3;
18159 }
18160 return NULL;
18161 }
18162
18163
18164 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18167 int arg2 ;
18168 wxString result;
18169 PyObject * obj0 = 0 ;
18170 PyObject * obj1 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "self",(char *) "id", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18178 arg2 = (int)SWIG_As_int(obj1);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 {
18181 PyThreadState* __tstate = wxPyBeginAllowThreads();
18182 result = (arg1)->GetToolShortHelp(arg2);
18183
18184 wxPyEndAllowThreads(__tstate);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 }
18187 {
18188 #if wxUSE_UNICODE
18189 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18190 #else
18191 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18192 #endif
18193 }
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18203 int arg2 ;
18204 wxString *arg3 = 0 ;
18205 bool temp3 = false ;
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 PyObject * obj2 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self",(char *) "id",(char *) "helpString", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18216 arg2 = (int)SWIG_As_int(obj1);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 {
18219 arg3 = wxString_in_helper(obj2);
18220 if (arg3 == NULL) SWIG_fail;
18221 temp3 = true;
18222 }
18223 {
18224 PyThreadState* __tstate = wxPyBeginAllowThreads();
18225 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
18226
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 Py_INCREF(Py_None); resultobj = Py_None;
18231 {
18232 if (temp3)
18233 delete arg3;
18234 }
18235 return resultobj;
18236 fail:
18237 {
18238 if (temp3)
18239 delete arg3;
18240 }
18241 return NULL;
18242 }
18243
18244
18245 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18248 int arg2 ;
18249 wxString result;
18250 PyObject * obj0 = 0 ;
18251 PyObject * obj1 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self",(char *) "id", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18259 arg2 = (int)SWIG_As_int(obj1);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 result = (arg1)->GetToolLongHelp(arg2);
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 {
18269 #if wxUSE_UNICODE
18270 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18271 #else
18272 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18273 #endif
18274 }
18275 return resultobj;
18276 fail:
18277 return NULL;
18278 }
18279
18280
18281 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
18282 PyObject *resultobj;
18283 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18284 int arg2 ;
18285 int arg3 ;
18286 PyObject * obj0 = 0 ;
18287 PyObject * obj1 = 0 ;
18288 PyObject * obj2 = 0 ;
18289 char *kwnames[] = {
18290 (char *) "self",(char *) "x",(char *) "y", NULL
18291 };
18292
18293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
18294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18296 arg2 = (int)SWIG_As_int(obj1);
18297 if (PyErr_Occurred()) SWIG_fail;
18298 arg3 = (int)SWIG_As_int(obj2);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 (arg1)->SetMargins(arg2,arg3);
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 Py_INCREF(Py_None); resultobj = Py_None;
18308 return resultobj;
18309 fail:
18310 return NULL;
18311 }
18312
18313
18314 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj;
18316 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18317 wxSize *arg2 = 0 ;
18318 wxSize temp2 ;
18319 PyObject * obj0 = 0 ;
18320 PyObject * obj1 = 0 ;
18321 char *kwnames[] = {
18322 (char *) "self",(char *) "size", NULL
18323 };
18324
18325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
18326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18328 {
18329 arg2 = &temp2;
18330 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18331 }
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 (arg1)->SetMargins((wxSize const &)*arg2);
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 Py_INCREF(Py_None); resultobj = Py_None;
18340 return resultobj;
18341 fail:
18342 return NULL;
18343 }
18344
18345
18346 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj;
18348 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18349 int arg2 ;
18350 PyObject * obj0 = 0 ;
18351 PyObject * obj1 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self",(char *) "packing", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
18357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18359 arg2 = (int)SWIG_As_int(obj1);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 {
18362 PyThreadState* __tstate = wxPyBeginAllowThreads();
18363 (arg1)->SetToolPacking(arg2);
18364
18365 wxPyEndAllowThreads(__tstate);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 Py_INCREF(Py_None); resultobj = Py_None;
18369 return resultobj;
18370 fail:
18371 return NULL;
18372 }
18373
18374
18375 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
18376 PyObject *resultobj;
18377 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18378 int arg2 ;
18379 PyObject * obj0 = 0 ;
18380 PyObject * obj1 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self",(char *) "separation", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
18386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18388 arg2 = (int)SWIG_As_int(obj1);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 (arg1)->SetToolSeparation(arg2);
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 Py_INCREF(Py_None); resultobj = Py_None;
18398 return resultobj;
18399 fail:
18400 return NULL;
18401 }
18402
18403
18404 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18405 PyObject *resultobj;
18406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18407 wxSize result;
18408 PyObject * obj0 = 0 ;
18409 char *kwnames[] = {
18410 (char *) "self", NULL
18411 };
18412
18413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
18414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18416 {
18417 PyThreadState* __tstate = wxPyBeginAllowThreads();
18418 result = (arg1)->GetToolMargins();
18419
18420 wxPyEndAllowThreads(__tstate);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
18423 {
18424 wxSize * resultptr;
18425 resultptr = new wxSize((wxSize &) result);
18426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18427 }
18428 return resultobj;
18429 fail:
18430 return NULL;
18431 }
18432
18433
18434 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18437 wxSize result;
18438 PyObject * obj0 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "self", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
18444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 result = (arg1)->GetMargins();
18449
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 {
18454 wxSize * resultptr;
18455 resultptr = new wxSize((wxSize &) result);
18456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18457 }
18458 return resultobj;
18459 fail:
18460 return NULL;
18461 }
18462
18463
18464 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
18465 PyObject *resultobj;
18466 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18467 int result;
18468 PyObject * obj0 = 0 ;
18469 char *kwnames[] = {
18470 (char *) "self", NULL
18471 };
18472
18473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (int)(arg1)->GetToolPacking();
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 resultobj = SWIG_From_int((int)result);
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
18491 PyObject *resultobj;
18492 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18493 int result;
18494 PyObject * obj0 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "self", NULL
18497 };
18498
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 result = (int)(arg1)->GetToolSeparation();
18505
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 resultobj = SWIG_From_int((int)result);
18510 return resultobj;
18511 fail:
18512 return NULL;
18513 }
18514
18515
18516 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
18517 PyObject *resultobj;
18518 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18519 int arg2 ;
18520 PyObject * obj0 = 0 ;
18521 PyObject * obj1 = 0 ;
18522 char *kwnames[] = {
18523 (char *) "self",(char *) "nRows", NULL
18524 };
18525
18526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18529 arg2 = (int)SWIG_As_int(obj1);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 (arg1)->SetRows(arg2);
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 Py_INCREF(Py_None); resultobj = Py_None;
18539 return resultobj;
18540 fail:
18541 return NULL;
18542 }
18543
18544
18545 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
18546 PyObject *resultobj;
18547 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18548 int arg2 ;
18549 int arg3 ;
18550 PyObject * obj0 = 0 ;
18551 PyObject * obj1 = 0 ;
18552 PyObject * obj2 = 0 ;
18553 char *kwnames[] = {
18554 (char *) "self",(char *) "rows",(char *) "cols", NULL
18555 };
18556
18557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18560 arg2 = (int)SWIG_As_int(obj1);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 arg3 = (int)SWIG_As_int(obj2);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 (arg1)->SetMaxRowsCols(arg2,arg3);
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 Py_INCREF(Py_None); resultobj = Py_None;
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18581 int result;
18582 PyObject * obj0 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18590 {
18591 PyThreadState* __tstate = wxPyBeginAllowThreads();
18592 result = (int)(arg1)->GetMaxRows();
18593
18594 wxPyEndAllowThreads(__tstate);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 }
18597 resultobj = SWIG_From_int((int)result);
18598 return resultobj;
18599 fail:
18600 return NULL;
18601 }
18602
18603
18604 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
18605 PyObject *resultobj;
18606 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18607 int result;
18608 PyObject * obj0 = 0 ;
18609 char *kwnames[] = {
18610 (char *) "self", NULL
18611 };
18612
18613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18616 {
18617 PyThreadState* __tstate = wxPyBeginAllowThreads();
18618 result = (int)(arg1)->GetMaxCols();
18619
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 resultobj = SWIG_From_int((int)result);
18624 return resultobj;
18625 fail:
18626 return NULL;
18627 }
18628
18629
18630 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj;
18632 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18633 wxSize *arg2 = 0 ;
18634 wxSize temp2 ;
18635 PyObject * obj0 = 0 ;
18636 PyObject * obj1 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self",(char *) "size", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18644 {
18645 arg2 = &temp2;
18646 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18647 }
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18651
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 Py_INCREF(Py_None); resultobj = Py_None;
18656 return resultobj;
18657 fail:
18658 return NULL;
18659 }
18660
18661
18662 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
18663 PyObject *resultobj;
18664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18665 wxSize result;
18666 PyObject * obj0 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 result = (arg1)->GetToolBitmapSize();
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 {
18682 wxSize * resultptr;
18683 resultptr = new wxSize((wxSize &) result);
18684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18685 }
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
18693 PyObject *resultobj;
18694 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18695 wxSize result;
18696 PyObject * obj0 = 0 ;
18697 char *kwnames[] = {
18698 (char *) "self", NULL
18699 };
18700
18701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 result = (arg1)->GetToolSize();
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 {
18712 wxSize * resultptr;
18713 resultptr = new wxSize((wxSize &) result);
18714 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18715 }
18716 return resultobj;
18717 fail:
18718 return NULL;
18719 }
18720
18721
18722 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18723 PyObject *resultobj;
18724 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18725 int arg2 ;
18726 int arg3 ;
18727 wxToolBarToolBase *result;
18728 PyObject * obj0 = 0 ;
18729 PyObject * obj1 = 0 ;
18730 PyObject * obj2 = 0 ;
18731 char *kwnames[] = {
18732 (char *) "self",(char *) "x",(char *) "y", NULL
18733 };
18734
18735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18738 arg2 = (int)SWIG_As_int(obj1);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 arg3 = (int)SWIG_As_int(obj2);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 {
18743 PyThreadState* __tstate = wxPyBeginAllowThreads();
18744 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18745
18746 wxPyEndAllowThreads(__tstate);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 {
18750 resultobj = wxPyMake_wxObject(result, 0);
18751 }
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
18759 PyObject *resultobj;
18760 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18761 int arg2 ;
18762 wxToolBarToolBase *result;
18763 PyObject * obj0 = 0 ;
18764 PyObject * obj1 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self",(char *) "toolid", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18772 arg2 = (int)SWIG_As_int(obj1);
18773 if (PyErr_Occurred()) SWIG_fail;
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18777
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 {
18782 resultobj = wxPyMake_wxObject(result, 0);
18783 }
18784 return resultobj;
18785 fail:
18786 return NULL;
18787 }
18788
18789
18790 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj;
18792 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18793 bool result;
18794 PyObject * obj0 = 0 ;
18795 char *kwnames[] = {
18796 (char *) "self", NULL
18797 };
18798
18799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18802 {
18803 PyThreadState* __tstate = wxPyBeginAllowThreads();
18804 result = (bool)(arg1)->IsVertical();
18805
18806 wxPyEndAllowThreads(__tstate);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 {
18810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18811 }
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
18819 PyObject *obj;
18820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18821 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18822 Py_INCREF(obj);
18823 return Py_BuildValue((char *)"");
18824 }
18825 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18826 PyObject *resultobj;
18827 wxWindow *arg1 = (wxWindow *) 0 ;
18828 int arg2 = (int) -1 ;
18829 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18830 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18831 wxSize const &arg4_defvalue = wxDefaultSize ;
18832 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18833 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18834 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18835 wxString *arg6 = (wxString *) &arg6_defvalue ;
18836 wxToolBar *result;
18837 wxPoint temp3 ;
18838 wxSize temp4 ;
18839 bool temp6 = false ;
18840 PyObject * obj0 = 0 ;
18841 PyObject * obj1 = 0 ;
18842 PyObject * obj2 = 0 ;
18843 PyObject * obj3 = 0 ;
18844 PyObject * obj4 = 0 ;
18845 PyObject * obj5 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18853 if (obj1) {
18854 arg2 = (int)SWIG_As_int(obj1);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 if (obj2) {
18858 {
18859 arg3 = &temp3;
18860 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18861 }
18862 }
18863 if (obj3) {
18864 {
18865 arg4 = &temp4;
18866 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18867 }
18868 }
18869 if (obj4) {
18870 arg5 = (long)SWIG_As_long(obj4);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 if (obj5) {
18874 {
18875 arg6 = wxString_in_helper(obj5);
18876 if (arg6 == NULL) SWIG_fail;
18877 temp6 = true;
18878 }
18879 }
18880 {
18881 if (!wxPyCheckForApp()) SWIG_fail;
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18884
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
18889 {
18890 if (temp6)
18891 delete arg6;
18892 }
18893 return resultobj;
18894 fail:
18895 {
18896 if (temp6)
18897 delete arg6;
18898 }
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxToolBar *result;
18906 char *kwnames[] = {
18907 NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18911 {
18912 if (!wxPyCheckForApp()) SWIG_fail;
18913 PyThreadState* __tstate = wxPyBeginAllowThreads();
18914 result = (wxToolBar *)new wxToolBar();
18915
18916 wxPyEndAllowThreads(__tstate);
18917 if (PyErr_Occurred()) SWIG_fail;
18918 }
18919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
18920 return resultobj;
18921 fail:
18922 return NULL;
18923 }
18924
18925
18926 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj;
18928 wxToolBar *arg1 = (wxToolBar *) 0 ;
18929 wxWindow *arg2 = (wxWindow *) 0 ;
18930 int arg3 = (int) -1 ;
18931 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18932 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18933 wxSize const &arg5_defvalue = wxDefaultSize ;
18934 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18935 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18936 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18937 wxString *arg7 = (wxString *) &arg7_defvalue ;
18938 bool result;
18939 wxPoint temp4 ;
18940 wxSize temp5 ;
18941 bool temp7 = false ;
18942 PyObject * obj0 = 0 ;
18943 PyObject * obj1 = 0 ;
18944 PyObject * obj2 = 0 ;
18945 PyObject * obj3 = 0 ;
18946 PyObject * obj4 = 0 ;
18947 PyObject * obj5 = 0 ;
18948 PyObject * obj6 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18958 if (obj2) {
18959 arg3 = (int)SWIG_As_int(obj2);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 if (obj3) {
18963 {
18964 arg4 = &temp4;
18965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18966 }
18967 }
18968 if (obj4) {
18969 {
18970 arg5 = &temp5;
18971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18972 }
18973 }
18974 if (obj5) {
18975 arg6 = (long)SWIG_As_long(obj5);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 if (obj6) {
18979 {
18980 arg7 = wxString_in_helper(obj6);
18981 if (arg7 == NULL) SWIG_fail;
18982 temp7 = true;
18983 }
18984 }
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 {
18993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18994 }
18995 {
18996 if (temp7)
18997 delete arg7;
18998 }
18999 return resultobj;
19000 fail:
19001 {
19002 if (temp7)
19003 delete arg7;
19004 }
19005 return NULL;
19006 }
19007
19008
19009 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxToolBar *arg1 = (wxToolBar *) 0 ;
19012 int arg2 ;
19013 int arg3 ;
19014 wxToolBarToolBase *result;
19015 PyObject * obj0 = 0 ;
19016 PyObject * obj1 = 0 ;
19017 PyObject * obj2 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self",(char *) "x",(char *) "y", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
19023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
19024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19025 arg2 = (int)SWIG_As_int(obj1);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 arg3 = (int)SWIG_As_int(obj2);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 {
19037 resultobj = wxPyMake_wxObject(result, 0);
19038 }
19039 return resultobj;
19040 fail:
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
19048 wxVisualAttributes result;
19049 PyObject * obj0 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "variant", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
19055 if (obj0) {
19056 arg1 = (int)SWIG_As_int(obj0);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 {
19060 if (!wxPyCheckForApp()) SWIG_fail;
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 {
19068 wxVisualAttributes * resultptr;
19069 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
19070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19071 }
19072 return resultobj;
19073 fail:
19074 return NULL;
19075 }
19076
19077
19078 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
19079 PyObject *obj;
19080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19081 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
19082 Py_INCREF(obj);
19083 return Py_BuildValue((char *)"");
19084 }
19085 static int _wrap_ListCtrlNameStr_set(PyObject *) {
19086 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
19087 return 1;
19088 }
19089
19090
19091 static PyObject *_wrap_ListCtrlNameStr_get() {
19092 PyObject *pyobj;
19093
19094 {
19095 #if wxUSE_UNICODE
19096 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19097 #else
19098 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19099 #endif
19100 }
19101 return pyobj;
19102 }
19103
19104
19105 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
19106 PyObject *resultobj;
19107 wxColour const &arg1_defvalue = wxNullColour ;
19108 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
19109 wxColour const &arg2_defvalue = wxNullColour ;
19110 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19111 wxFont const &arg3_defvalue = wxNullFont ;
19112 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
19113 wxListItemAttr *result;
19114 wxColour temp1 ;
19115 wxColour temp2 ;
19116 PyObject * obj0 = 0 ;
19117 PyObject * obj1 = 0 ;
19118 PyObject * obj2 = 0 ;
19119 char *kwnames[] = {
19120 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19121 };
19122
19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
19124 if (obj0) {
19125 {
19126 arg1 = &temp1;
19127 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
19128 }
19129 }
19130 if (obj1) {
19131 {
19132 arg2 = &temp2;
19133 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19134 }
19135 }
19136 if (obj2) {
19137 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
19138 SWIG_POINTER_EXCEPTION | 0)) == -1)
19139 SWIG_fail;
19140 if (arg3 == NULL) {
19141 PyErr_SetString(PyExc_TypeError,"null reference");
19142 SWIG_fail;
19143 }
19144 }
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
19153 return resultobj;
19154 fail:
19155 return NULL;
19156 }
19157
19158
19159 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19162 wxColour *arg2 = 0 ;
19163 wxColour temp2 ;
19164 PyObject * obj0 = 0 ;
19165 PyObject * obj1 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "self",(char *) "colText", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19173 {
19174 arg2 = &temp2;
19175 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19176 }
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 (arg1)->SetTextColour((wxColour const &)*arg2);
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 Py_INCREF(Py_None); resultobj = Py_None;
19185 return resultobj;
19186 fail:
19187 return NULL;
19188 }
19189
19190
19191 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj;
19193 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19194 wxColour *arg2 = 0 ;
19195 wxColour temp2 ;
19196 PyObject * obj0 = 0 ;
19197 PyObject * obj1 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self",(char *) "colBack", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19205 {
19206 arg2 = &temp2;
19207 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19208 }
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19212
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 Py_INCREF(Py_None); resultobj = Py_None;
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19226 wxFont *arg2 = 0 ;
19227 PyObject * obj0 = 0 ;
19228 PyObject * obj1 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self",(char *) "font", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19237 SWIG_POINTER_EXCEPTION | 0)) == -1)
19238 SWIG_fail;
19239 if (arg2 == NULL) {
19240 PyErr_SetString(PyExc_TypeError,"null reference");
19241 SWIG_fail;
19242 }
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 (arg1)->SetFont((wxFont const &)*arg2);
19246
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 Py_INCREF(Py_None); resultobj = Py_None;
19251 return resultobj;
19252 fail:
19253 return NULL;
19254 }
19255
19256
19257 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj;
19259 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19260 bool result;
19261 PyObject * obj0 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 result = (bool)(arg1)->HasTextColour();
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 {
19277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19278 }
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
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_HasBackgroundColour",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)->HasBackgroundColour();
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
19313 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
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_HasFont",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)->HasFont();
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
19341 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19342 PyObject *resultobj;
19343 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19344 wxColour result;
19345 PyObject * obj0 = 0 ;
19346 char *kwnames[] = {
19347 (char *) "self", NULL
19348 };
19349
19350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",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 = (arg1)->GetTextColour();
19356
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 {
19361 wxColour * resultptr;
19362 resultptr = new wxColour((wxColour &) result);
19363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19364 }
19365 return resultobj;
19366 fail:
19367 return NULL;
19368 }
19369
19370
19371 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19372 PyObject *resultobj;
19373 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19374 wxColour result;
19375 PyObject * obj0 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
19381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 result = (arg1)->GetBackgroundColour();
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 {
19391 wxColour * resultptr;
19392 resultptr = new wxColour((wxColour &) result);
19393 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19394 }
19395 return resultobj;
19396 fail:
19397 return NULL;
19398 }
19399
19400
19401 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19404 wxFont result;
19405 PyObject * obj0 = 0 ;
19406 char *kwnames[] = {
19407 (char *) "self", NULL
19408 };
19409
19410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
19411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 result = (arg1)->GetFont();
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 {
19421 wxFont * resultptr;
19422 resultptr = new wxFont((wxFont &) result);
19423 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19424 }
19425 return resultobj;
19426 fail:
19427 return NULL;
19428 }
19429
19430
19431 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
19432 PyObject *resultobj;
19433 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19434 PyObject * obj0 = 0 ;
19435 char *kwnames[] = {
19436 (char *) "self", NULL
19437 };
19438
19439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
19440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 wxListItemAttr_Destroy(arg1);
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 Py_INCREF(Py_None); resultobj = Py_None;
19450 return resultobj;
19451 fail:
19452 return NULL;
19453 }
19454
19455
19456 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
19457 PyObject *obj;
19458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19459 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19460 Py_INCREF(obj);
19461 return Py_BuildValue((char *)"");
19462 }
19463 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxListItem *result;
19466 char *kwnames[] = {
19467 NULL
19468 };
19469
19470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 result = (wxListItem *)new wxListItem();
19474
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 {
19479 resultobj = wxPyMake_wxObject(result, 1);
19480 }
19481 return resultobj;
19482 fail:
19483 return NULL;
19484 }
19485
19486
19487 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
19488 PyObject *resultobj;
19489 wxListItem *arg1 = (wxListItem *) 0 ;
19490 PyObject * obj0 = 0 ;
19491 char *kwnames[] = {
19492 (char *) "self", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19498 {
19499 PyThreadState* __tstate = wxPyBeginAllowThreads();
19500 delete arg1;
19501
19502 wxPyEndAllowThreads(__tstate);
19503 if (PyErr_Occurred()) SWIG_fail;
19504 }
19505 Py_INCREF(Py_None); resultobj = Py_None;
19506 return resultobj;
19507 fail:
19508 return NULL;
19509 }
19510
19511
19512 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
19513 PyObject *resultobj;
19514 wxListItem *arg1 = (wxListItem *) 0 ;
19515 PyObject * obj0 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 (arg1)->Clear();
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 Py_INCREF(Py_None); resultobj = Py_None;
19531 return resultobj;
19532 fail:
19533 return NULL;
19534 }
19535
19536
19537 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj;
19539 wxListItem *arg1 = (wxListItem *) 0 ;
19540 PyObject * obj0 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19548 {
19549 PyThreadState* __tstate = wxPyBeginAllowThreads();
19550 (arg1)->ClearAttributes();
19551
19552 wxPyEndAllowThreads(__tstate);
19553 if (PyErr_Occurred()) SWIG_fail;
19554 }
19555 Py_INCREF(Py_None); resultobj = Py_None;
19556 return resultobj;
19557 fail:
19558 return NULL;
19559 }
19560
19561
19562 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19563 PyObject *resultobj;
19564 wxListItem *arg1 = (wxListItem *) 0 ;
19565 long arg2 ;
19566 PyObject * obj0 = 0 ;
19567 PyObject * obj1 = 0 ;
19568 char *kwnames[] = {
19569 (char *) "self",(char *) "mask", NULL
19570 };
19571
19572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19575 arg2 = (long)SWIG_As_long(obj1);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 (arg1)->SetMask(arg2);
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 Py_INCREF(Py_None); resultobj = Py_None;
19585 return resultobj;
19586 fail:
19587 return NULL;
19588 }
19589
19590
19591 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxListItem *arg1 = (wxListItem *) 0 ;
19594 long arg2 ;
19595 PyObject * obj0 = 0 ;
19596 PyObject * obj1 = 0 ;
19597 char *kwnames[] = {
19598 (char *) "self",(char *) "id", NULL
19599 };
19600
19601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19604 arg2 = (long)SWIG_As_long(obj1);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 {
19607 PyThreadState* __tstate = wxPyBeginAllowThreads();
19608 (arg1)->SetId(arg2);
19609
19610 wxPyEndAllowThreads(__tstate);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 }
19613 Py_INCREF(Py_None); resultobj = Py_None;
19614 return resultobj;
19615 fail:
19616 return NULL;
19617 }
19618
19619
19620 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19621 PyObject *resultobj;
19622 wxListItem *arg1 = (wxListItem *) 0 ;
19623 int arg2 ;
19624 PyObject * obj0 = 0 ;
19625 PyObject * obj1 = 0 ;
19626 char *kwnames[] = {
19627 (char *) "self",(char *) "col", NULL
19628 };
19629
19630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19633 arg2 = (int)SWIG_As_int(obj1);
19634 if (PyErr_Occurred()) SWIG_fail;
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 (arg1)->SetColumn(arg2);
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 Py_INCREF(Py_None); resultobj = Py_None;
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxListItem *arg1 = (wxListItem *) 0 ;
19652 long arg2 ;
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "state", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19662 arg2 = (long)SWIG_As_long(obj1);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 (arg1)->SetState(arg2);
19667
19668 wxPyEndAllowThreads(__tstate);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 }
19671 Py_INCREF(Py_None); resultobj = Py_None;
19672 return resultobj;
19673 fail:
19674 return NULL;
19675 }
19676
19677
19678 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxListItem *arg1 = (wxListItem *) 0 ;
19681 long arg2 ;
19682 PyObject * obj0 = 0 ;
19683 PyObject * obj1 = 0 ;
19684 char *kwnames[] = {
19685 (char *) "self",(char *) "stateMask", NULL
19686 };
19687
19688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19691 arg2 = (long)SWIG_As_long(obj1);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 (arg1)->SetStateMask(arg2);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 Py_INCREF(Py_None); resultobj = Py_None;
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj;
19709 wxListItem *arg1 = (wxListItem *) 0 ;
19710 wxString *arg2 = 0 ;
19711 bool temp2 = false ;
19712 PyObject * obj0 = 0 ;
19713 PyObject * obj1 = 0 ;
19714 char *kwnames[] = {
19715 (char *) "self",(char *) "text", NULL
19716 };
19717
19718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19721 {
19722 arg2 = wxString_in_helper(obj1);
19723 if (arg2 == NULL) SWIG_fail;
19724 temp2 = true;
19725 }
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 (arg1)->SetText((wxString const &)*arg2);
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 Py_INCREF(Py_None); resultobj = Py_None;
19734 {
19735 if (temp2)
19736 delete arg2;
19737 }
19738 return resultobj;
19739 fail:
19740 {
19741 if (temp2)
19742 delete arg2;
19743 }
19744 return NULL;
19745 }
19746
19747
19748 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj;
19750 wxListItem *arg1 = (wxListItem *) 0 ;
19751 int arg2 ;
19752 PyObject * obj0 = 0 ;
19753 PyObject * obj1 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self",(char *) "image", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19761 arg2 = (int)SWIG_As_int(obj1);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 (arg1)->SetImage(arg2);
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 Py_INCREF(Py_None); resultobj = Py_None;
19771 return resultobj;
19772 fail:
19773 return NULL;
19774 }
19775
19776
19777 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxListItem *arg1 = (wxListItem *) 0 ;
19780 long arg2 ;
19781 PyObject * obj0 = 0 ;
19782 PyObject * obj1 = 0 ;
19783 char *kwnames[] = {
19784 (char *) "self",(char *) "data", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19790 arg2 = (long)SWIG_As_long(obj1);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 (arg1)->SetData(arg2);
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 Py_INCREF(Py_None); resultobj = Py_None;
19800 return resultobj;
19801 fail:
19802 return NULL;
19803 }
19804
19805
19806 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj;
19808 wxListItem *arg1 = (wxListItem *) 0 ;
19809 int arg2 ;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "width", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19819 arg2 = (int)SWIG_As_int(obj1);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 (arg1)->SetWidth(arg2);
19824
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
19828 Py_INCREF(Py_None); resultobj = Py_None;
19829 return resultobj;
19830 fail:
19831 return NULL;
19832 }
19833
19834
19835 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxListItem *arg1 = (wxListItem *) 0 ;
19838 int arg2 ;
19839 PyObject * obj0 = 0 ;
19840 PyObject * obj1 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self",(char *) "align", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19848 arg2 = (int)SWIG_As_int(obj1);
19849 if (PyErr_Occurred()) SWIG_fail;
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 (arg1)->SetAlign((wxListColumnFormat )arg2);
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 Py_INCREF(Py_None); resultobj = Py_None;
19858 return resultobj;
19859 fail:
19860 return NULL;
19861 }
19862
19863
19864 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxListItem *arg1 = (wxListItem *) 0 ;
19867 wxColour *arg2 = 0 ;
19868 wxColour temp2 ;
19869 PyObject * obj0 = 0 ;
19870 PyObject * obj1 = 0 ;
19871 char *kwnames[] = {
19872 (char *) "self",(char *) "colText", NULL
19873 };
19874
19875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19878 {
19879 arg2 = &temp2;
19880 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19881 }
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 (arg1)->SetTextColour((wxColour const &)*arg2);
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 Py_INCREF(Py_None); resultobj = Py_None;
19890 return resultobj;
19891 fail:
19892 return NULL;
19893 }
19894
19895
19896 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19897 PyObject *resultobj;
19898 wxListItem *arg1 = (wxListItem *) 0 ;
19899 wxColour *arg2 = 0 ;
19900 wxColour temp2 ;
19901 PyObject * obj0 = 0 ;
19902 PyObject * obj1 = 0 ;
19903 char *kwnames[] = {
19904 (char *) "self",(char *) "colBack", NULL
19905 };
19906
19907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19910 {
19911 arg2 = &temp2;
19912 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19913 }
19914 {
19915 PyThreadState* __tstate = wxPyBeginAllowThreads();
19916 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19917
19918 wxPyEndAllowThreads(__tstate);
19919 if (PyErr_Occurred()) SWIG_fail;
19920 }
19921 Py_INCREF(Py_None); resultobj = Py_None;
19922 return resultobj;
19923 fail:
19924 return NULL;
19925 }
19926
19927
19928 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19929 PyObject *resultobj;
19930 wxListItem *arg1 = (wxListItem *) 0 ;
19931 wxFont *arg2 = 0 ;
19932 PyObject * obj0 = 0 ;
19933 PyObject * obj1 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self",(char *) "font", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19942 SWIG_POINTER_EXCEPTION | 0)) == -1)
19943 SWIG_fail;
19944 if (arg2 == NULL) {
19945 PyErr_SetString(PyExc_TypeError,"null reference");
19946 SWIG_fail;
19947 }
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 (arg1)->SetFont((wxFont const &)*arg2);
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 Py_INCREF(Py_None); resultobj = Py_None;
19956 return resultobj;
19957 fail:
19958 return NULL;
19959 }
19960
19961
19962 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19963 PyObject *resultobj;
19964 wxListItem *arg1 = (wxListItem *) 0 ;
19965 long result;
19966 PyObject * obj0 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
19972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 result = (long)(arg1)->GetMask();
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 resultobj = SWIG_From_long((long)result);
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj;
19990 wxListItem *arg1 = (wxListItem *) 0 ;
19991 long result;
19992 PyObject * obj0 = 0 ;
19993 char *kwnames[] = {
19994 (char *) "self", NULL
19995 };
19996
19997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
19998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 result = (long)(arg1)->GetId();
20003
20004 wxPyEndAllowThreads(__tstate);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 }
20007 resultobj = SWIG_From_long((long)result);
20008 return resultobj;
20009 fail:
20010 return NULL;
20011 }
20012
20013
20014 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20015 PyObject *resultobj;
20016 wxListItem *arg1 = (wxListItem *) 0 ;
20017 int result;
20018 PyObject * obj0 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "self", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
20024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 result = (int)(arg1)->GetColumn();
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 resultobj = SWIG_From_int((int)result);
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxListItem *arg1 = (wxListItem *) 0 ;
20043 long result;
20044 PyObject * obj0 = 0 ;
20045 char *kwnames[] = {
20046 (char *) "self", NULL
20047 };
20048
20049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
20050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 result = (long)(arg1)->GetState();
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = SWIG_From_long((long)result);
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxListItem *arg1 = (wxListItem *) 0 ;
20069 wxString *result;
20070 PyObject * obj0 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 {
20081 wxString const &_result_ref = (arg1)->GetText();
20082 result = (wxString *) &_result_ref;
20083 }
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 {
20089 #if wxUSE_UNICODE
20090 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20091 #else
20092 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20093 #endif
20094 }
20095 return resultobj;
20096 fail:
20097 return NULL;
20098 }
20099
20100
20101 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
20102 PyObject *resultobj;
20103 wxListItem *arg1 = (wxListItem *) 0 ;
20104 int result;
20105 PyObject * obj0 = 0 ;
20106 char *kwnames[] = {
20107 (char *) "self", NULL
20108 };
20109
20110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
20111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 result = (int)(arg1)->GetImage();
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 resultobj = SWIG_From_int((int)result);
20121 return resultobj;
20122 fail:
20123 return NULL;
20124 }
20125
20126
20127 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj;
20129 wxListItem *arg1 = (wxListItem *) 0 ;
20130 long result;
20131 PyObject * obj0 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "self", NULL
20134 };
20135
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
20137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20139 {
20140 PyThreadState* __tstate = wxPyBeginAllowThreads();
20141 result = (long)(arg1)->GetData();
20142
20143 wxPyEndAllowThreads(__tstate);
20144 if (PyErr_Occurred()) SWIG_fail;
20145 }
20146 resultobj = SWIG_From_long((long)result);
20147 return resultobj;
20148 fail:
20149 return NULL;
20150 }
20151
20152
20153 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20154 PyObject *resultobj;
20155 wxListItem *arg1 = (wxListItem *) 0 ;
20156 int result;
20157 PyObject * obj0 = 0 ;
20158 char *kwnames[] = {
20159 (char *) "self", NULL
20160 };
20161
20162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
20163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 result = (int)(arg1)->GetWidth();
20168
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 resultobj = SWIG_From_int((int)result);
20173 return resultobj;
20174 fail:
20175 return NULL;
20176 }
20177
20178
20179 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxListItem *arg1 = (wxListItem *) 0 ;
20182 int result;
20183 PyObject * obj0 = 0 ;
20184 char *kwnames[] = {
20185 (char *) "self", NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
20189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 result = (int)(arg1)->GetAlign();
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 resultobj = SWIG_From_int((int)result);
20199 return resultobj;
20200 fail:
20201 return NULL;
20202 }
20203
20204
20205 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxListItem *arg1 = (wxListItem *) 0 ;
20208 wxListItemAttr *result;
20209 PyObject * obj0 = 0 ;
20210 char *kwnames[] = {
20211 (char *) "self", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
20215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 result = (wxListItemAttr *)(arg1)->GetAttributes();
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
20225 return resultobj;
20226 fail:
20227 return NULL;
20228 }
20229
20230
20231 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxListItem *arg1 = (wxListItem *) 0 ;
20234 bool result;
20235 PyObject * obj0 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self", NULL
20238 };
20239
20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
20241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20243 {
20244 PyThreadState* __tstate = wxPyBeginAllowThreads();
20245 result = (bool)(arg1)->HasAttributes();
20246
20247 wxPyEndAllowThreads(__tstate);
20248 if (PyErr_Occurred()) SWIG_fail;
20249 }
20250 {
20251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20252 }
20253 return resultobj;
20254 fail:
20255 return NULL;
20256 }
20257
20258
20259 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
20260 PyObject *resultobj;
20261 wxListItem *arg1 = (wxListItem *) 0 ;
20262 wxColour result;
20263 PyObject * obj0 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "self", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",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 = ((wxListItem const *)arg1)->GetTextColour();
20274
20275 wxPyEndAllowThreads(__tstate);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 {
20279 wxColour * resultptr;
20280 resultptr = new wxColour((wxColour &) result);
20281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20282 }
20283 return resultobj;
20284 fail:
20285 return NULL;
20286 }
20287
20288
20289 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20290 PyObject *resultobj;
20291 wxListItem *arg1 = (wxListItem *) 0 ;
20292 wxColour result;
20293 PyObject * obj0 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
20299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 result = ((wxListItem const *)arg1)->GetBackgroundColour();
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 {
20309 wxColour * resultptr;
20310 resultptr = new wxColour((wxColour &) result);
20311 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20312 }
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj;
20321 wxListItem *arg1 = (wxListItem *) 0 ;
20322 wxFont result;
20323 PyObject * obj0 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 result = ((wxListItem const *)arg1)->GetFont();
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 {
20339 wxFont * resultptr;
20340 resultptr = new wxFont((wxFont &) result);
20341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
20342 }
20343 return resultobj;
20344 fail:
20345 return NULL;
20346 }
20347
20348
20349 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxListItem *arg1 = (wxListItem *) 0 ;
20352 long arg2 ;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self",(char *) "m_mask", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20362 arg2 = (long)SWIG_As_long(obj1);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 if (arg1) (arg1)->m_mask = arg2;
20365
20366 Py_INCREF(Py_None); resultobj = Py_None;
20367 return resultobj;
20368 fail:
20369 return NULL;
20370 }
20371
20372
20373 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
20374 PyObject *resultobj;
20375 wxListItem *arg1 = (wxListItem *) 0 ;
20376 long result;
20377 PyObject * obj0 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
20383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20385 result = (long) ((arg1)->m_mask);
20386
20387 resultobj = SWIG_From_long((long)result);
20388 return resultobj;
20389 fail:
20390 return NULL;
20391 }
20392
20393
20394 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxListItem *arg1 = (wxListItem *) 0 ;
20397 long arg2 ;
20398 PyObject * obj0 = 0 ;
20399 PyObject * obj1 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self",(char *) "m_itemId", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
20405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20407 arg2 = (long)SWIG_As_long(obj1);
20408 if (PyErr_Occurred()) SWIG_fail;
20409 if (arg1) (arg1)->m_itemId = arg2;
20410
20411 Py_INCREF(Py_None); resultobj = Py_None;
20412 return resultobj;
20413 fail:
20414 return NULL;
20415 }
20416
20417
20418 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
20419 PyObject *resultobj;
20420 wxListItem *arg1 = (wxListItem *) 0 ;
20421 long result;
20422 PyObject * obj0 = 0 ;
20423 char *kwnames[] = {
20424 (char *) "self", NULL
20425 };
20426
20427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
20428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20430 result = (long) ((arg1)->m_itemId);
20431
20432 resultobj = SWIG_From_long((long)result);
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxListItem *arg1 = (wxListItem *) 0 ;
20442 int arg2 ;
20443 PyObject * obj0 = 0 ;
20444 PyObject * obj1 = 0 ;
20445 char *kwnames[] = {
20446 (char *) "self",(char *) "m_col", NULL
20447 };
20448
20449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20452 arg2 = (int)SWIG_As_int(obj1);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 if (arg1) (arg1)->m_col = arg2;
20455
20456 Py_INCREF(Py_None); resultobj = Py_None;
20457 return resultobj;
20458 fail:
20459 return NULL;
20460 }
20461
20462
20463 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
20464 PyObject *resultobj;
20465 wxListItem *arg1 = (wxListItem *) 0 ;
20466 int result;
20467 PyObject * obj0 = 0 ;
20468 char *kwnames[] = {
20469 (char *) "self", NULL
20470 };
20471
20472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20475 result = (int) ((arg1)->m_col);
20476
20477 resultobj = SWIG_From_int((int)result);
20478 return resultobj;
20479 fail:
20480 return NULL;
20481 }
20482
20483
20484 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
20485 PyObject *resultobj;
20486 wxListItem *arg1 = (wxListItem *) 0 ;
20487 long arg2 ;
20488 PyObject * obj0 = 0 ;
20489 PyObject * obj1 = 0 ;
20490 char *kwnames[] = {
20491 (char *) "self",(char *) "m_state", NULL
20492 };
20493
20494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20497 arg2 = (long)SWIG_As_long(obj1);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 if (arg1) (arg1)->m_state = arg2;
20500
20501 Py_INCREF(Py_None); resultobj = Py_None;
20502 return resultobj;
20503 fail:
20504 return NULL;
20505 }
20506
20507
20508 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
20509 PyObject *resultobj;
20510 wxListItem *arg1 = (wxListItem *) 0 ;
20511 long result;
20512 PyObject * obj0 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20520 result = (long) ((arg1)->m_state);
20521
20522 resultobj = SWIG_From_long((long)result);
20523 return resultobj;
20524 fail:
20525 return NULL;
20526 }
20527
20528
20529 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
20530 PyObject *resultobj;
20531 wxListItem *arg1 = (wxListItem *) 0 ;
20532 long arg2 ;
20533 PyObject * obj0 = 0 ;
20534 PyObject * obj1 = 0 ;
20535 char *kwnames[] = {
20536 (char *) "self",(char *) "m_stateMask", NULL
20537 };
20538
20539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20542 arg2 = (long)SWIG_As_long(obj1);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 if (arg1) (arg1)->m_stateMask = arg2;
20545
20546 Py_INCREF(Py_None); resultobj = Py_None;
20547 return resultobj;
20548 fail:
20549 return NULL;
20550 }
20551
20552
20553 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
20554 PyObject *resultobj;
20555 wxListItem *arg1 = (wxListItem *) 0 ;
20556 long result;
20557 PyObject * obj0 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20565 result = (long) ((arg1)->m_stateMask);
20566
20567 resultobj = SWIG_From_long((long)result);
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj;
20576 wxListItem *arg1 = (wxListItem *) 0 ;
20577 wxString *arg2 = (wxString *) 0 ;
20578 bool temp2 = false ;
20579 PyObject * obj0 = 0 ;
20580 PyObject * obj1 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self",(char *) "m_text", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20588 {
20589 arg2 = wxString_in_helper(obj1);
20590 if (arg2 == NULL) SWIG_fail;
20591 temp2 = true;
20592 }
20593 if (arg1) (arg1)->m_text = *arg2;
20594
20595 Py_INCREF(Py_None); resultobj = Py_None;
20596 {
20597 if (temp2)
20598 delete arg2;
20599 }
20600 return resultobj;
20601 fail:
20602 {
20603 if (temp2)
20604 delete arg2;
20605 }
20606 return NULL;
20607 }
20608
20609
20610 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
20611 PyObject *resultobj;
20612 wxListItem *arg1 = (wxListItem *) 0 ;
20613 wxString *result;
20614 PyObject * obj0 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20622 result = (wxString *)& ((arg1)->m_text);
20623
20624 {
20625 #if wxUSE_UNICODE
20626 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20627 #else
20628 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20629 #endif
20630 }
20631 return resultobj;
20632 fail:
20633 return NULL;
20634 }
20635
20636
20637 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxListItem *arg1 = (wxListItem *) 0 ;
20640 int arg2 ;
20641 PyObject * obj0 = 0 ;
20642 PyObject * obj1 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self",(char *) "m_image", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20650 arg2 = (int)SWIG_As_int(obj1);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 if (arg1) (arg1)->m_image = arg2;
20653
20654 Py_INCREF(Py_None); resultobj = Py_None;
20655 return resultobj;
20656 fail:
20657 return NULL;
20658 }
20659
20660
20661 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
20662 PyObject *resultobj;
20663 wxListItem *arg1 = (wxListItem *) 0 ;
20664 int result;
20665 PyObject * obj0 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20673 result = (int) ((arg1)->m_image);
20674
20675 resultobj = SWIG_From_int((int)result);
20676 return resultobj;
20677 fail:
20678 return NULL;
20679 }
20680
20681
20682 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj;
20684 wxListItem *arg1 = (wxListItem *) 0 ;
20685 long arg2 ;
20686 PyObject * obj0 = 0 ;
20687 PyObject * obj1 = 0 ;
20688 char *kwnames[] = {
20689 (char *) "self",(char *) "m_data", NULL
20690 };
20691
20692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20695 arg2 = (long)SWIG_As_long(obj1);
20696 if (PyErr_Occurred()) SWIG_fail;
20697 if (arg1) (arg1)->m_data = arg2;
20698
20699 Py_INCREF(Py_None); resultobj = Py_None;
20700 return resultobj;
20701 fail:
20702 return NULL;
20703 }
20704
20705
20706 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
20707 PyObject *resultobj;
20708 wxListItem *arg1 = (wxListItem *) 0 ;
20709 long result;
20710 PyObject * obj0 = 0 ;
20711 char *kwnames[] = {
20712 (char *) "self", NULL
20713 };
20714
20715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20718 result = (long) ((arg1)->m_data);
20719
20720 resultobj = SWIG_From_long((long)result);
20721 return resultobj;
20722 fail:
20723 return NULL;
20724 }
20725
20726
20727 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
20728 PyObject *resultobj;
20729 wxListItem *arg1 = (wxListItem *) 0 ;
20730 int arg2 ;
20731 PyObject * obj0 = 0 ;
20732 PyObject * obj1 = 0 ;
20733 char *kwnames[] = {
20734 (char *) "self",(char *) "m_format", NULL
20735 };
20736
20737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20740 arg2 = (int)SWIG_As_int(obj1);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 if (arg1) (arg1)->m_format = arg2;
20743
20744 Py_INCREF(Py_None); resultobj = Py_None;
20745 return resultobj;
20746 fail:
20747 return NULL;
20748 }
20749
20750
20751 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 wxListItem *arg1 = (wxListItem *) 0 ;
20754 int result;
20755 PyObject * obj0 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20763 result = (int) ((arg1)->m_format);
20764
20765 resultobj = SWIG_From_int((int)result);
20766 return resultobj;
20767 fail:
20768 return NULL;
20769 }
20770
20771
20772 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
20773 PyObject *resultobj;
20774 wxListItem *arg1 = (wxListItem *) 0 ;
20775 int arg2 ;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj1 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self",(char *) "m_width", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20785 arg2 = (int)SWIG_As_int(obj1);
20786 if (PyErr_Occurred()) SWIG_fail;
20787 if (arg1) (arg1)->m_width = arg2;
20788
20789 Py_INCREF(Py_None); resultobj = Py_None;
20790 return resultobj;
20791 fail:
20792 return NULL;
20793 }
20794
20795
20796 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
20797 PyObject *resultobj;
20798 wxListItem *arg1 = (wxListItem *) 0 ;
20799 int result;
20800 PyObject * obj0 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "self", NULL
20803 };
20804
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20808 result = (int) ((arg1)->m_width);
20809
20810 resultobj = SWIG_From_int((int)result);
20811 return resultobj;
20812 fail:
20813 return NULL;
20814 }
20815
20816
20817 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
20818 PyObject *obj;
20819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20820 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20821 Py_INCREF(obj);
20822 return Py_BuildValue((char *)"");
20823 }
20824 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20825 PyObject *resultobj;
20826 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20827 int arg2 = (int) 0 ;
20828 wxListEvent *result;
20829 PyObject * obj0 = 0 ;
20830 PyObject * obj1 = 0 ;
20831 char *kwnames[] = {
20832 (char *) "commandType",(char *) "id", NULL
20833 };
20834
20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20836 if (obj0) {
20837 arg1 = (wxEventType)SWIG_As_int(obj0);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 if (obj1) {
20841 arg2 = (int)SWIG_As_int(obj1);
20842 if (PyErr_Occurred()) SWIG_fail;
20843 }
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20852 return resultobj;
20853 fail:
20854 return NULL;
20855 }
20856
20857
20858 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
20859 PyObject *resultobj;
20860 wxListEvent *arg1 = (wxListEvent *) 0 ;
20861 int arg2 ;
20862 PyObject * obj0 = 0 ;
20863 PyObject * obj1 = 0 ;
20864 char *kwnames[] = {
20865 (char *) "self",(char *) "m_code", NULL
20866 };
20867
20868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20871 arg2 = (int)SWIG_As_int(obj1);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 if (arg1) (arg1)->m_code = arg2;
20874
20875 Py_INCREF(Py_None); resultobj = Py_None;
20876 return resultobj;
20877 fail:
20878 return NULL;
20879 }
20880
20881
20882 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
20883 PyObject *resultobj;
20884 wxListEvent *arg1 = (wxListEvent *) 0 ;
20885 int result;
20886 PyObject * obj0 = 0 ;
20887 char *kwnames[] = {
20888 (char *) "self", NULL
20889 };
20890
20891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20894 result = (int) ((arg1)->m_code);
20895
20896 resultobj = SWIG_From_int((int)result);
20897 return resultobj;
20898 fail:
20899 return NULL;
20900 }
20901
20902
20903 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
20904 PyObject *resultobj;
20905 wxListEvent *arg1 = (wxListEvent *) 0 ;
20906 long arg2 ;
20907 PyObject * obj0 = 0 ;
20908 PyObject * obj1 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self",(char *) "m_oldItemIndex", NULL
20911 };
20912
20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20916 arg2 = (long)SWIG_As_long(obj1);
20917 if (PyErr_Occurred()) SWIG_fail;
20918 if (arg1) (arg1)->m_oldItemIndex = arg2;
20919
20920 Py_INCREF(Py_None); resultobj = Py_None;
20921 return resultobj;
20922 fail:
20923 return NULL;
20924 }
20925
20926
20927 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
20928 PyObject *resultobj;
20929 wxListEvent *arg1 = (wxListEvent *) 0 ;
20930 long result;
20931 PyObject * obj0 = 0 ;
20932 char *kwnames[] = {
20933 (char *) "self", NULL
20934 };
20935
20936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20939 result = (long) ((arg1)->m_oldItemIndex);
20940
20941 resultobj = SWIG_From_long((long)result);
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxListEvent *arg1 = (wxListEvent *) 0 ;
20951 long arg2 ;
20952 PyObject * obj0 = 0 ;
20953 PyObject * obj1 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self",(char *) "m_itemIndex", NULL
20956 };
20957
20958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20961 arg2 = (long)SWIG_As_long(obj1);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 if (arg1) (arg1)->m_itemIndex = arg2;
20964
20965 Py_INCREF(Py_None); resultobj = Py_None;
20966 return resultobj;
20967 fail:
20968 return NULL;
20969 }
20970
20971
20972 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
20973 PyObject *resultobj;
20974 wxListEvent *arg1 = (wxListEvent *) 0 ;
20975 long result;
20976 PyObject * obj0 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
20982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20984 result = (long) ((arg1)->m_itemIndex);
20985
20986 resultobj = SWIG_From_long((long)result);
20987 return resultobj;
20988 fail:
20989 return NULL;
20990 }
20991
20992
20993 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
20994 PyObject *resultobj;
20995 wxListEvent *arg1 = (wxListEvent *) 0 ;
20996 int arg2 ;
20997 PyObject * obj0 = 0 ;
20998 PyObject * obj1 = 0 ;
20999 char *kwnames[] = {
21000 (char *) "self",(char *) "m_col", NULL
21001 };
21002
21003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
21004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21006 arg2 = (int)SWIG_As_int(obj1);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 if (arg1) (arg1)->m_col = arg2;
21009
21010 Py_INCREF(Py_None); resultobj = Py_None;
21011 return resultobj;
21012 fail:
21013 return NULL;
21014 }
21015
21016
21017 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
21018 PyObject *resultobj;
21019 wxListEvent *arg1 = (wxListEvent *) 0 ;
21020 int result;
21021 PyObject * obj0 = 0 ;
21022 char *kwnames[] = {
21023 (char *) "self", NULL
21024 };
21025
21026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
21027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21029 result = (int) ((arg1)->m_col);
21030
21031 resultobj = SWIG_From_int((int)result);
21032 return resultobj;
21033 fail:
21034 return NULL;
21035 }
21036
21037
21038 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
21039 PyObject *resultobj;
21040 wxListEvent *arg1 = (wxListEvent *) 0 ;
21041 wxPoint *arg2 = (wxPoint *) 0 ;
21042 PyObject * obj0 = 0 ;
21043 PyObject * obj1 = 0 ;
21044 char *kwnames[] = {
21045 (char *) "self",(char *) "m_pointDrag", NULL
21046 };
21047
21048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
21049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
21052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21053 if (arg1) (arg1)->m_pointDrag = *arg2;
21054
21055 Py_INCREF(Py_None); resultobj = Py_None;
21056 return resultobj;
21057 fail:
21058 return NULL;
21059 }
21060
21061
21062 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
21063 PyObject *resultobj;
21064 wxListEvent *arg1 = (wxListEvent *) 0 ;
21065 wxPoint *result;
21066 PyObject * obj0 = 0 ;
21067 char *kwnames[] = {
21068 (char *) "self", NULL
21069 };
21070
21071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
21072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21074 result = (wxPoint *)& ((arg1)->m_pointDrag);
21075
21076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
21077 return resultobj;
21078 fail:
21079 return NULL;
21080 }
21081
21082
21083 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj;
21085 wxListEvent *arg1 = (wxListEvent *) 0 ;
21086 wxListItem *result;
21087 PyObject * obj0 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
21093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21095 result = (wxListItem *)& ((arg1)->m_item);
21096
21097 {
21098 resultobj = wxPyMake_wxObject(result, 0);
21099 }
21100 return resultobj;
21101 fail:
21102 return NULL;
21103 }
21104
21105
21106 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj;
21108 wxListEvent *arg1 = (wxListEvent *) 0 ;
21109 int result;
21110 PyObject * obj0 = 0 ;
21111 char *kwnames[] = {
21112 (char *) "self", NULL
21113 };
21114
21115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
21116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21118 {
21119 PyThreadState* __tstate = wxPyBeginAllowThreads();
21120 result = (int)(arg1)->GetKeyCode();
21121
21122 wxPyEndAllowThreads(__tstate);
21123 if (PyErr_Occurred()) SWIG_fail;
21124 }
21125 resultobj = SWIG_From_int((int)result);
21126 return resultobj;
21127 fail:
21128 return NULL;
21129 }
21130
21131
21132 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
21133 PyObject *resultobj;
21134 wxListEvent *arg1 = (wxListEvent *) 0 ;
21135 long result;
21136 PyObject * obj0 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "self", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
21142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21144 {
21145 PyThreadState* __tstate = wxPyBeginAllowThreads();
21146 result = (long)(arg1)->GetIndex();
21147
21148 wxPyEndAllowThreads(__tstate);
21149 if (PyErr_Occurred()) SWIG_fail;
21150 }
21151 resultobj = SWIG_From_long((long)result);
21152 return resultobj;
21153 fail:
21154 return NULL;
21155 }
21156
21157
21158 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21159 PyObject *resultobj;
21160 wxListEvent *arg1 = (wxListEvent *) 0 ;
21161 int result;
21162 PyObject * obj0 = 0 ;
21163 char *kwnames[] = {
21164 (char *) "self", NULL
21165 };
21166
21167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
21168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 result = (int)(arg1)->GetColumn();
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 resultobj = SWIG_From_int((int)result);
21178 return resultobj;
21179 fail:
21180 return NULL;
21181 }
21182
21183
21184 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
21185 PyObject *resultobj;
21186 wxListEvent *arg1 = (wxListEvent *) 0 ;
21187 wxPoint result;
21188 PyObject * obj0 = 0 ;
21189 char *kwnames[] = {
21190 (char *) "self", NULL
21191 };
21192
21193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
21194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 result = (arg1)->GetPoint();
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 {
21204 wxPoint * resultptr;
21205 resultptr = new wxPoint((wxPoint &) result);
21206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21207 }
21208 return resultobj;
21209 fail:
21210 return NULL;
21211 }
21212
21213
21214 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21215 PyObject *resultobj;
21216 wxListEvent *arg1 = (wxListEvent *) 0 ;
21217 wxString *result;
21218 PyObject * obj0 = 0 ;
21219 char *kwnames[] = {
21220 (char *) "self", NULL
21221 };
21222
21223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
21224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21226 {
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 {
21229 wxString const &_result_ref = (arg1)->GetLabel();
21230 result = (wxString *) &_result_ref;
21231 }
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
21236 {
21237 #if wxUSE_UNICODE
21238 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21239 #else
21240 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21241 #endif
21242 }
21243 return resultobj;
21244 fail:
21245 return NULL;
21246 }
21247
21248
21249 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
21250 PyObject *resultobj;
21251 wxListEvent *arg1 = (wxListEvent *) 0 ;
21252 wxString *result;
21253 PyObject * obj0 = 0 ;
21254 char *kwnames[] = {
21255 (char *) "self", NULL
21256 };
21257
21258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
21259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21261 {
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 {
21264 wxString const &_result_ref = (arg1)->GetText();
21265 result = (wxString *) &_result_ref;
21266 }
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 {
21272 #if wxUSE_UNICODE
21273 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21274 #else
21275 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21276 #endif
21277 }
21278 return resultobj;
21279 fail:
21280 return NULL;
21281 }
21282
21283
21284 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21285 PyObject *resultobj;
21286 wxListEvent *arg1 = (wxListEvent *) 0 ;
21287 int result;
21288 PyObject * obj0 = 0 ;
21289 char *kwnames[] = {
21290 (char *) "self", NULL
21291 };
21292
21293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
21294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 result = (int)(arg1)->GetImage();
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 resultobj = SWIG_From_int((int)result);
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxListEvent *arg1 = (wxListEvent *) 0 ;
21313 long result;
21314 PyObject * obj0 = 0 ;
21315 char *kwnames[] = {
21316 (char *) "self", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
21320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 result = (long)(arg1)->GetData();
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 resultobj = SWIG_From_long((long)result);
21330 return resultobj;
21331 fail:
21332 return NULL;
21333 }
21334
21335
21336 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxListEvent *arg1 = (wxListEvent *) 0 ;
21339 long result;
21340 PyObject * obj0 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
21346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 result = (long)(arg1)->GetMask();
21351
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 resultobj = SWIG_From_long((long)result);
21356 return resultobj;
21357 fail:
21358 return NULL;
21359 }
21360
21361
21362 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj;
21364 wxListEvent *arg1 = (wxListEvent *) 0 ;
21365 wxListItem *result;
21366 PyObject * obj0 = 0 ;
21367 char *kwnames[] = {
21368 (char *) "self", NULL
21369 };
21370
21371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
21372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 {
21377 wxListItem const &_result_ref = (arg1)->GetItem();
21378 result = (wxListItem *) &_result_ref;
21379 }
21380
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
21384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
21385 return resultobj;
21386 fail:
21387 return NULL;
21388 }
21389
21390
21391 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
21392 PyObject *resultobj;
21393 wxListEvent *arg1 = (wxListEvent *) 0 ;
21394 long result;
21395 PyObject * obj0 = 0 ;
21396 char *kwnames[] = {
21397 (char *) "self", NULL
21398 };
21399
21400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
21401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 result = (long)(arg1)->GetCacheFrom();
21406
21407 wxPyEndAllowThreads(__tstate);
21408 if (PyErr_Occurred()) SWIG_fail;
21409 }
21410 resultobj = SWIG_From_long((long)result);
21411 return resultobj;
21412 fail:
21413 return NULL;
21414 }
21415
21416
21417 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
21418 PyObject *resultobj;
21419 wxListEvent *arg1 = (wxListEvent *) 0 ;
21420 long result;
21421 PyObject * obj0 = 0 ;
21422 char *kwnames[] = {
21423 (char *) "self", NULL
21424 };
21425
21426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
21427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 result = (long)(arg1)->GetCacheTo();
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 resultobj = SWIG_From_long((long)result);
21437 return resultobj;
21438 fail:
21439 return NULL;
21440 }
21441
21442
21443 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
21444 PyObject *resultobj;
21445 wxListEvent *arg1 = (wxListEvent *) 0 ;
21446 bool result;
21447 PyObject * obj0 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21455 {
21456 PyThreadState* __tstate = wxPyBeginAllowThreads();
21457 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21458
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 {
21463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21464 }
21465 return resultobj;
21466 fail:
21467 return NULL;
21468 }
21469
21470
21471 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
21472 PyObject *resultobj;
21473 wxListEvent *arg1 = (wxListEvent *) 0 ;
21474 bool arg2 ;
21475 PyObject * obj0 = 0 ;
21476 PyObject * obj1 = 0 ;
21477 char *kwnames[] = {
21478 (char *) "self",(char *) "editCancelled", NULL
21479 };
21480
21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21484 arg2 = (bool)SWIG_As_bool(obj1);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 (arg1)->SetEditCanceled(arg2);
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 Py_INCREF(Py_None); resultobj = Py_None;
21494 return resultobj;
21495 fail:
21496 return NULL;
21497 }
21498
21499
21500 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
21501 PyObject *obj;
21502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21503 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21504 Py_INCREF(obj);
21505 return Py_BuildValue((char *)"");
21506 }
21507 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
21508 PyObject *resultobj;
21509 wxWindow *arg1 = (wxWindow *) 0 ;
21510 int arg2 = (int) -1 ;
21511 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21512 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21513 wxSize const &arg4_defvalue = wxDefaultSize ;
21514 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21515 long arg5 = (long) wxLC_ICON ;
21516 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21517 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21518 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21519 wxString *arg7 = (wxString *) &arg7_defvalue ;
21520 wxPyListCtrl *result;
21521 wxPoint temp3 ;
21522 wxSize temp4 ;
21523 bool temp7 = false ;
21524 PyObject * obj0 = 0 ;
21525 PyObject * obj1 = 0 ;
21526 PyObject * obj2 = 0 ;
21527 PyObject * obj3 = 0 ;
21528 PyObject * obj4 = 0 ;
21529 PyObject * obj5 = 0 ;
21530 PyObject * obj6 = 0 ;
21531 char *kwnames[] = {
21532 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21533 };
21534
21535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21538 if (obj1) {
21539 arg2 = (int)SWIG_As_int(obj1);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 if (obj2) {
21543 {
21544 arg3 = &temp3;
21545 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21546 }
21547 }
21548 if (obj3) {
21549 {
21550 arg4 = &temp4;
21551 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21552 }
21553 }
21554 if (obj4) {
21555 arg5 = (long)SWIG_As_long(obj4);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 if (obj5) {
21559 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21560 SWIG_POINTER_EXCEPTION | 0)) == -1)
21561 SWIG_fail;
21562 if (arg6 == NULL) {
21563 PyErr_SetString(PyExc_TypeError,"null reference");
21564 SWIG_fail;
21565 }
21566 }
21567 if (obj6) {
21568 {
21569 arg7 = wxString_in_helper(obj6);
21570 if (arg7 == NULL) SWIG_fail;
21571 temp7 = true;
21572 }
21573 }
21574 {
21575 if (!wxPyCheckForApp()) SWIG_fail;
21576 PyThreadState* __tstate = wxPyBeginAllowThreads();
21577 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21578
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21583 {
21584 if (temp7)
21585 delete arg7;
21586 }
21587 return resultobj;
21588 fail:
21589 {
21590 if (temp7)
21591 delete arg7;
21592 }
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxPyListCtrl *result;
21600 char *kwnames[] = {
21601 NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21605 {
21606 if (!wxPyCheckForApp()) SWIG_fail;
21607 PyThreadState* __tstate = wxPyBeginAllowThreads();
21608 result = (wxPyListCtrl *)new wxPyListCtrl();
21609
21610 wxPyEndAllowThreads(__tstate);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21614 return resultobj;
21615 fail:
21616 return NULL;
21617 }
21618
21619
21620 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21621 PyObject *resultobj;
21622 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21623 wxWindow *arg2 = (wxWindow *) 0 ;
21624 int arg3 = (int) -1 ;
21625 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21626 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21627 wxSize const &arg5_defvalue = wxDefaultSize ;
21628 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21629 long arg6 = (long) wxLC_ICON ;
21630 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21631 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21632 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21633 wxString *arg8 = (wxString *) &arg8_defvalue ;
21634 bool result;
21635 wxPoint temp4 ;
21636 wxSize temp5 ;
21637 bool temp8 = false ;
21638 PyObject * obj0 = 0 ;
21639 PyObject * obj1 = 0 ;
21640 PyObject * obj2 = 0 ;
21641 PyObject * obj3 = 0 ;
21642 PyObject * obj4 = 0 ;
21643 PyObject * obj5 = 0 ;
21644 PyObject * obj6 = 0 ;
21645 PyObject * obj7 = 0 ;
21646 char *kwnames[] = {
21647 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21648 };
21649
21650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21655 if (obj2) {
21656 arg3 = (int)SWIG_As_int(obj2);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 if (obj3) {
21660 {
21661 arg4 = &temp4;
21662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21663 }
21664 }
21665 if (obj4) {
21666 {
21667 arg5 = &temp5;
21668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21669 }
21670 }
21671 if (obj5) {
21672 arg6 = (long)SWIG_As_long(obj5);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 if (obj6) {
21676 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21677 SWIG_POINTER_EXCEPTION | 0)) == -1)
21678 SWIG_fail;
21679 if (arg7 == NULL) {
21680 PyErr_SetString(PyExc_TypeError,"null reference");
21681 SWIG_fail;
21682 }
21683 }
21684 if (obj7) {
21685 {
21686 arg8 = wxString_in_helper(obj7);
21687 if (arg8 == NULL) SWIG_fail;
21688 temp8 = true;
21689 }
21690 }
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 {
21699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21700 }
21701 {
21702 if (temp8)
21703 delete arg8;
21704 }
21705 return resultobj;
21706 fail:
21707 {
21708 if (temp8)
21709 delete arg8;
21710 }
21711 return NULL;
21712 }
21713
21714
21715 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21716 PyObject *resultobj;
21717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21718 PyObject *arg2 = (PyObject *) 0 ;
21719 PyObject *arg3 = (PyObject *) 0 ;
21720 PyObject * obj0 = 0 ;
21721 PyObject * obj1 = 0 ;
21722 PyObject * obj2 = 0 ;
21723 char *kwnames[] = {
21724 (char *) "self",(char *) "self",(char *) "_class", NULL
21725 };
21726
21727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21730 arg2 = obj1;
21731 arg3 = obj2;
21732 {
21733 PyThreadState* __tstate = wxPyBeginAllowThreads();
21734 (arg1)->_setCallbackInfo(arg2,arg3);
21735
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 Py_INCREF(Py_None); resultobj = Py_None;
21740 return resultobj;
21741 fail:
21742 return NULL;
21743 }
21744
21745
21746 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21747 PyObject *resultobj;
21748 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21749 wxColour *arg2 = 0 ;
21750 bool result;
21751 wxColour temp2 ;
21752 PyObject * obj0 = 0 ;
21753 PyObject * obj1 = 0 ;
21754 char *kwnames[] = {
21755 (char *) "self",(char *) "col", NULL
21756 };
21757
21758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21761 {
21762 arg2 = &temp2;
21763 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21764 }
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 {
21773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21774 }
21775 return resultobj;
21776 fail:
21777 return NULL;
21778 }
21779
21780
21781 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj;
21783 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21784 wxColour *arg2 = 0 ;
21785 bool result;
21786 wxColour temp2 ;
21787 PyObject * obj0 = 0 ;
21788 PyObject * obj1 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self",(char *) "col", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21796 {
21797 arg2 = &temp2;
21798 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21799 }
21800 {
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
21802 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21803
21804 wxPyEndAllowThreads(__tstate);
21805 if (PyErr_Occurred()) SWIG_fail;
21806 }
21807 {
21808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21809 }
21810 return resultobj;
21811 fail:
21812 return NULL;
21813 }
21814
21815
21816 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21817 PyObject *resultobj;
21818 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21819 int arg2 ;
21820 wxListItem *result;
21821 PyObject * obj0 = 0 ;
21822 PyObject * obj1 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self",(char *) "col", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21830 arg2 = (int)SWIG_As_int(obj1);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
21839 {
21840 resultobj = wxPyMake_wxObject(result, 0);
21841 }
21842 return resultobj;
21843 fail:
21844 return NULL;
21845 }
21846
21847
21848 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21849 PyObject *resultobj;
21850 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21851 int arg2 ;
21852 wxListItem *arg3 = 0 ;
21853 bool result;
21854 PyObject * obj0 = 0 ;
21855 PyObject * obj1 = 0 ;
21856 PyObject * obj2 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self",(char *) "col",(char *) "item", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21864 arg2 = (int)SWIG_As_int(obj1);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21867 SWIG_POINTER_EXCEPTION | 0)) == -1)
21868 SWIG_fail;
21869 if (arg3 == NULL) {
21870 PyErr_SetString(PyExc_TypeError,"null reference");
21871 SWIG_fail;
21872 }
21873 {
21874 PyThreadState* __tstate = wxPyBeginAllowThreads();
21875 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21876
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 {
21881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21882 }
21883 return resultobj;
21884 fail:
21885 return NULL;
21886 }
21887
21888
21889 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj;
21891 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21892 int arg2 ;
21893 int result;
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "self",(char *) "col", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21903 arg2 = (int)SWIG_As_int(obj1);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21908
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
21912 resultobj = SWIG_From_int((int)result);
21913 return resultobj;
21914 fail:
21915 return NULL;
21916 }
21917
21918
21919 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21922 int arg2 ;
21923 int arg3 ;
21924 bool result;
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 PyObject * obj2 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "col",(char *) "width", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21935 arg2 = (int)SWIG_As_int(obj1);
21936 if (PyErr_Occurred()) SWIG_fail;
21937 arg3 = (int)SWIG_As_int(obj2);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21942
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 {
21947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21948 }
21949 return resultobj;
21950 fail:
21951 return NULL;
21952 }
21953
21954
21955 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
21956 PyObject *resultobj;
21957 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21958 int result;
21959 PyObject * obj0 = 0 ;
21960 char *kwnames[] = {
21961 (char *) "self", NULL
21962 };
21963
21964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21967 {
21968 PyThreadState* __tstate = wxPyBeginAllowThreads();
21969 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21970
21971 wxPyEndAllowThreads(__tstate);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 }
21974 resultobj = SWIG_From_int((int)result);
21975 return resultobj;
21976 fail:
21977 return NULL;
21978 }
21979
21980
21981 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
21982 PyObject *resultobj;
21983 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21984 wxRect result;
21985 PyObject * obj0 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
21991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21993 {
21994 PyThreadState* __tstate = wxPyBeginAllowThreads();
21995 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21996
21997 wxPyEndAllowThreads(__tstate);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 }
22000 {
22001 wxRect * resultptr;
22002 resultptr = new wxRect((wxRect &) result);
22003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22004 }
22005 return resultobj;
22006 fail:
22007 return NULL;
22008 }
22009
22010
22011 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
22012 PyObject *resultobj;
22013 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22014 long arg2 ;
22015 int arg3 = (int) 0 ;
22016 wxListItem *result;
22017 PyObject * obj0 = 0 ;
22018 PyObject * obj1 = 0 ;
22019 PyObject * obj2 = 0 ;
22020 char *kwnames[] = {
22021 (char *) "self",(char *) "itemId",(char *) "col", NULL
22022 };
22023
22024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22027 arg2 = (long)SWIG_As_long(obj1);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 if (obj2) {
22030 arg3 = (int)SWIG_As_int(obj2);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 {
22041 resultobj = wxPyMake_wxObject(result, 0);
22042 }
22043 return resultobj;
22044 fail:
22045 return NULL;
22046 }
22047
22048
22049 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
22050 PyObject *resultobj;
22051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22052 wxListItem *arg2 = 0 ;
22053 bool result;
22054 PyObject * obj0 = 0 ;
22055 PyObject * obj1 = 0 ;
22056 char *kwnames[] = {
22057 (char *) "self",(char *) "info", NULL
22058 };
22059
22060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
22061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22064 SWIG_POINTER_EXCEPTION | 0)) == -1)
22065 SWIG_fail;
22066 if (arg2 == NULL) {
22067 PyErr_SetString(PyExc_TypeError,"null reference");
22068 SWIG_fail;
22069 }
22070 {
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 result = (bool)(arg1)->SetItem(*arg2);
22073
22074 wxPyEndAllowThreads(__tstate);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 }
22077 {
22078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22079 }
22080 return resultobj;
22081 fail:
22082 return NULL;
22083 }
22084
22085
22086 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
22087 PyObject *resultobj;
22088 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22089 long arg2 ;
22090 int arg3 ;
22091 wxString *arg4 = 0 ;
22092 int arg5 = (int) -1 ;
22093 long result;
22094 bool temp4 = false ;
22095 PyObject * obj0 = 0 ;
22096 PyObject * obj1 = 0 ;
22097 PyObject * obj2 = 0 ;
22098 PyObject * obj3 = 0 ;
22099 PyObject * obj4 = 0 ;
22100 char *kwnames[] = {
22101 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22102 };
22103
22104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22107 arg2 = (long)SWIG_As_long(obj1);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 arg3 = (int)SWIG_As_int(obj2);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 {
22112 arg4 = wxString_in_helper(obj3);
22113 if (arg4 == NULL) SWIG_fail;
22114 temp4 = true;
22115 }
22116 if (obj4) {
22117 arg5 = (int)SWIG_As_int(obj4);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 resultobj = SWIG_From_long((long)result);
22128 {
22129 if (temp4)
22130 delete arg4;
22131 }
22132 return resultobj;
22133 fail:
22134 {
22135 if (temp4)
22136 delete arg4;
22137 }
22138 return NULL;
22139 }
22140
22141
22142 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
22143 PyObject *resultobj;
22144 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22145 long arg2 ;
22146 long arg3 ;
22147 int result;
22148 PyObject * obj0 = 0 ;
22149 PyObject * obj1 = 0 ;
22150 PyObject * obj2 = 0 ;
22151 char *kwnames[] = {
22152 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22153 };
22154
22155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
22156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22158 arg2 = (long)SWIG_As_long(obj1);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 arg3 = (long)SWIG_As_long(obj2);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
22169 resultobj = SWIG_From_int((int)result);
22170 return resultobj;
22171 fail:
22172 return NULL;
22173 }
22174
22175
22176 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
22177 PyObject *resultobj;
22178 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22179 long arg2 ;
22180 long arg3 ;
22181 long arg4 ;
22182 bool result;
22183 PyObject * obj0 = 0 ;
22184 PyObject * obj1 = 0 ;
22185 PyObject * obj2 = 0 ;
22186 PyObject * obj3 = 0 ;
22187 char *kwnames[] = {
22188 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22189 };
22190
22191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22194 arg2 = (long)SWIG_As_long(obj1);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 arg3 = (long)SWIG_As_long(obj2);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 arg4 = (long)SWIG_As_long(obj3);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
22203
22204 wxPyEndAllowThreads(__tstate);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 {
22208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22209 }
22210 return resultobj;
22211 fail:
22212 return NULL;
22213 }
22214
22215
22216 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22219 long arg2 ;
22220 int arg3 ;
22221 int arg4 = (int) -1 ;
22222 bool result;
22223 PyObject * obj0 = 0 ;
22224 PyObject * obj1 = 0 ;
22225 PyObject * obj2 = 0 ;
22226 PyObject * obj3 = 0 ;
22227 char *kwnames[] = {
22228 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22229 };
22230
22231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22234 arg2 = (long)SWIG_As_long(obj1);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 arg3 = (int)SWIG_As_int(obj2);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 if (obj3) {
22239 arg4 = (int)SWIG_As_int(obj3);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
22245
22246 wxPyEndAllowThreads(__tstate);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
22249 {
22250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22251 }
22252 return resultobj;
22253 fail:
22254 return NULL;
22255 }
22256
22257
22258 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
22259 PyObject *resultobj;
22260 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22261 long arg2 ;
22262 wxString result;
22263 PyObject * obj0 = 0 ;
22264 PyObject * obj1 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self",(char *) "item", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
22270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22272 arg2 = (long)SWIG_As_long(obj1);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 {
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
22277
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 {
22282 #if wxUSE_UNICODE
22283 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22284 #else
22285 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22286 #endif
22287 }
22288 return resultobj;
22289 fail:
22290 return NULL;
22291 }
22292
22293
22294 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj;
22296 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22297 long arg2 ;
22298 wxString *arg3 = 0 ;
22299 bool temp3 = false ;
22300 PyObject * obj0 = 0 ;
22301 PyObject * obj1 = 0 ;
22302 PyObject * obj2 = 0 ;
22303 char *kwnames[] = {
22304 (char *) "self",(char *) "item",(char *) "str", NULL
22305 };
22306
22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
22308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22310 arg2 = (long)SWIG_As_long(obj1);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 {
22313 arg3 = wxString_in_helper(obj2);
22314 if (arg3 == NULL) SWIG_fail;
22315 temp3 = true;
22316 }
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
22320
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 Py_INCREF(Py_None); resultobj = Py_None;
22325 {
22326 if (temp3)
22327 delete arg3;
22328 }
22329 return resultobj;
22330 fail:
22331 {
22332 if (temp3)
22333 delete arg3;
22334 }
22335 return NULL;
22336 }
22337
22338
22339 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22340 PyObject *resultobj;
22341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22342 long arg2 ;
22343 long result;
22344 PyObject * obj0 = 0 ;
22345 PyObject * obj1 = 0 ;
22346 char *kwnames[] = {
22347 (char *) "self",(char *) "item", NULL
22348 };
22349
22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22353 arg2 = (long)SWIG_As_long(obj1);
22354 if (PyErr_Occurred()) SWIG_fail;
22355 {
22356 PyThreadState* __tstate = wxPyBeginAllowThreads();
22357 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
22358
22359 wxPyEndAllowThreads(__tstate);
22360 if (PyErr_Occurred()) SWIG_fail;
22361 }
22362 resultobj = SWIG_From_long((long)result);
22363 return resultobj;
22364 fail:
22365 return NULL;
22366 }
22367
22368
22369 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22370 PyObject *resultobj;
22371 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22372 long arg2 ;
22373 long arg3 ;
22374 bool result;
22375 PyObject * obj0 = 0 ;
22376 PyObject * obj1 = 0 ;
22377 PyObject * obj2 = 0 ;
22378 char *kwnames[] = {
22379 (char *) "self",(char *) "item",(char *) "data", NULL
22380 };
22381
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22385 arg2 = (long)SWIG_As_long(obj1);
22386 if (PyErr_Occurred()) SWIG_fail;
22387 arg3 = (long)SWIG_As_long(obj2);
22388 if (PyErr_Occurred()) SWIG_fail;
22389 {
22390 PyThreadState* __tstate = wxPyBeginAllowThreads();
22391 result = (bool)(arg1)->SetItemData(arg2,arg3);
22392
22393 wxPyEndAllowThreads(__tstate);
22394 if (PyErr_Occurred()) SWIG_fail;
22395 }
22396 {
22397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22398 }
22399 return resultobj;
22400 fail:
22401 return NULL;
22402 }
22403
22404
22405 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22406 PyObject *resultobj;
22407 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22408 long arg2 ;
22409 wxPoint result;
22410 PyObject * obj0 = 0 ;
22411 PyObject * obj1 = 0 ;
22412 char *kwnames[] = {
22413 (char *) "self",(char *) "item", NULL
22414 };
22415
22416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
22417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22419 arg2 = (long)SWIG_As_long(obj1);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 {
22429 wxPoint * resultptr;
22430 resultptr = new wxPoint((wxPoint &) result);
22431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22432 }
22433 return resultobj;
22434 fail:
22435 return NULL;
22436 }
22437
22438
22439 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj;
22441 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22442 long arg2 ;
22443 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22444 wxRect result;
22445 PyObject * obj0 = 0 ;
22446 PyObject * obj1 = 0 ;
22447 PyObject * obj2 = 0 ;
22448 char *kwnames[] = {
22449 (char *) "self",(char *) "item",(char *) "code", NULL
22450 };
22451
22452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22455 arg2 = (long)SWIG_As_long(obj1);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 if (obj2) {
22458 arg3 = (int)SWIG_As_int(obj2);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 {
22469 wxRect * resultptr;
22470 resultptr = new wxRect((wxRect &) result);
22471 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22472 }
22473 return resultobj;
22474 fail:
22475 return NULL;
22476 }
22477
22478
22479 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22480 PyObject *resultobj;
22481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22482 long arg2 ;
22483 wxPoint *arg3 = 0 ;
22484 bool result;
22485 wxPoint temp3 ;
22486 PyObject * obj0 = 0 ;
22487 PyObject * obj1 = 0 ;
22488 PyObject * obj2 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self",(char *) "item",(char *) "pos", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22496 arg2 = (long)SWIG_As_long(obj1);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 {
22499 arg3 = &temp3;
22500 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22501 }
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 {
22510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22511 }
22512 return resultobj;
22513 fail:
22514 return NULL;
22515 }
22516
22517
22518 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj;
22520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22521 int result;
22522 PyObject * obj0 = 0 ;
22523 char *kwnames[] = {
22524 (char *) "self", NULL
22525 };
22526
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
22532 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22533
22534 wxPyEndAllowThreads(__tstate);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 }
22537 resultobj = SWIG_From_int((int)result);
22538 return resultobj;
22539 fail:
22540 return NULL;
22541 }
22542
22543
22544 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
22545 PyObject *resultobj;
22546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22547 int result;
22548 PyObject * obj0 = 0 ;
22549 char *kwnames[] = {
22550 (char *) "self", NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22556 {
22557 PyThreadState* __tstate = wxPyBeginAllowThreads();
22558 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22559
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 resultobj = SWIG_From_int((int)result);
22564 return resultobj;
22565 fail:
22566 return NULL;
22567 }
22568
22569
22570 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
22571 PyObject *resultobj;
22572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22573 wxSize result;
22574 PyObject * obj0 = 0 ;
22575 char *kwnames[] = {
22576 (char *) "self", NULL
22577 };
22578
22579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22582 {
22583 PyThreadState* __tstate = wxPyBeginAllowThreads();
22584 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22585
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 {
22590 wxSize * resultptr;
22591 resultptr = new wxSize((wxSize &) result);
22592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22593 }
22594 return resultobj;
22595 fail:
22596 return NULL;
22597 }
22598
22599
22600 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
22601 PyObject *resultobj;
22602 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22603 int arg2 ;
22604 bool arg3 = (bool) false ;
22605 PyObject * obj0 = 0 ;
22606 PyObject * obj1 = 0 ;
22607 PyObject * obj2 = 0 ;
22608 char *kwnames[] = {
22609 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22610 };
22611
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
22613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22615 arg2 = (int)SWIG_As_int(obj1);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 if (obj2) {
22618 arg3 = (bool)SWIG_As_bool(obj2);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 {
22622 PyThreadState* __tstate = wxPyBeginAllowThreads();
22623 (arg1)->SetItemSpacing(arg2,arg3);
22624
22625 wxPyEndAllowThreads(__tstate);
22626 if (PyErr_Occurred()) SWIG_fail;
22627 }
22628 Py_INCREF(Py_None); resultobj = Py_None;
22629 return resultobj;
22630 fail:
22631 return NULL;
22632 }
22633
22634
22635 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22636 PyObject *resultobj;
22637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22638 int result;
22639 PyObject * obj0 = 0 ;
22640 char *kwnames[] = {
22641 (char *) "self", NULL
22642 };
22643
22644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22647 {
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 resultobj = SWIG_From_int((int)result);
22655 return resultobj;
22656 fail:
22657 return NULL;
22658 }
22659
22660
22661 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj;
22663 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22664 wxColour result;
22665 PyObject * obj0 = 0 ;
22666 char *kwnames[] = {
22667 (char *) "self", NULL
22668 };
22669
22670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22676
22677 wxPyEndAllowThreads(__tstate);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 {
22681 wxColour * resultptr;
22682 resultptr = new wxColour((wxColour &) result);
22683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22684 }
22685 return resultobj;
22686 fail:
22687 return NULL;
22688 }
22689
22690
22691 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22692 PyObject *resultobj;
22693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22694 wxColour *arg2 = 0 ;
22695 wxColour temp2 ;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self",(char *) "col", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22705 {
22706 arg2 = &temp2;
22707 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22708 }
22709 {
22710 PyThreadState* __tstate = wxPyBeginAllowThreads();
22711 (arg1)->SetTextColour((wxColour const &)*arg2);
22712
22713 wxPyEndAllowThreads(__tstate);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 }
22716 Py_INCREF(Py_None); resultobj = Py_None;
22717 return resultobj;
22718 fail:
22719 return NULL;
22720 }
22721
22722
22723 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
22724 PyObject *resultobj;
22725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22726 long result;
22727 PyObject * obj0 = 0 ;
22728 char *kwnames[] = {
22729 (char *) "self", NULL
22730 };
22731
22732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22735 {
22736 PyThreadState* __tstate = wxPyBeginAllowThreads();
22737 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22738
22739 wxPyEndAllowThreads(__tstate);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 }
22742 resultobj = SWIG_From_long((long)result);
22743 return resultobj;
22744 fail:
22745 return NULL;
22746 }
22747
22748
22749 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
22750 PyObject *resultobj;
22751 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22752 long arg2 ;
22753 bool arg3 = (bool) true ;
22754 PyObject * obj0 = 0 ;
22755 PyObject * obj1 = 0 ;
22756 PyObject * obj2 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self",(char *) "style",(char *) "add", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22764 arg2 = (long)SWIG_As_long(obj1);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 if (obj2) {
22767 arg3 = (bool)SWIG_As_bool(obj2);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
22770 {
22771 PyThreadState* __tstate = wxPyBeginAllowThreads();
22772 (arg1)->SetSingleStyle(arg2,arg3);
22773
22774 wxPyEndAllowThreads(__tstate);
22775 if (PyErr_Occurred()) SWIG_fail;
22776 }
22777 Py_INCREF(Py_None); resultobj = Py_None;
22778 return resultobj;
22779 fail:
22780 return NULL;
22781 }
22782
22783
22784 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
22785 PyObject *resultobj;
22786 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22787 long arg2 ;
22788 PyObject * obj0 = 0 ;
22789 PyObject * obj1 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self",(char *) "style", NULL
22792 };
22793
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22797 arg2 = (long)SWIG_As_long(obj1);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 (arg1)->SetWindowStyleFlag(arg2);
22802
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 Py_INCREF(Py_None); resultobj = Py_None;
22807 return resultobj;
22808 fail:
22809 return NULL;
22810 }
22811
22812
22813 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
22814 PyObject *resultobj;
22815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22816 long arg2 ;
22817 int arg3 = (int) wxLIST_NEXT_ALL ;
22818 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22819 long result;
22820 PyObject * obj0 = 0 ;
22821 PyObject * obj1 = 0 ;
22822 PyObject * obj2 = 0 ;
22823 PyObject * obj3 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22831 arg2 = (long)SWIG_As_long(obj1);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 if (obj2) {
22834 arg3 = (int)SWIG_As_int(obj2);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 if (obj3) {
22838 arg4 = (int)SWIG_As_int(obj3);
22839 if (PyErr_Occurred()) SWIG_fail;
22840 }
22841 {
22842 PyThreadState* __tstate = wxPyBeginAllowThreads();
22843 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22844
22845 wxPyEndAllowThreads(__tstate);
22846 if (PyErr_Occurred()) SWIG_fail;
22847 }
22848 resultobj = SWIG_From_long((long)result);
22849 return resultobj;
22850 fail:
22851 return NULL;
22852 }
22853
22854
22855 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
22856 PyObject *resultobj;
22857 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22858 int arg2 ;
22859 wxImageList *result;
22860 PyObject * obj0 = 0 ;
22861 PyObject * obj1 = 0 ;
22862 char *kwnames[] = {
22863 (char *) "self",(char *) "which", NULL
22864 };
22865
22866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22869 arg2 = (int)SWIG_As_int(obj1);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 {
22872 PyThreadState* __tstate = wxPyBeginAllowThreads();
22873 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22874
22875 wxPyEndAllowThreads(__tstate);
22876 if (PyErr_Occurred()) SWIG_fail;
22877 }
22878 {
22879 resultobj = wxPyMake_wxObject(result, 0);
22880 }
22881 return resultobj;
22882 fail:
22883 return NULL;
22884 }
22885
22886
22887 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
22888 PyObject *resultobj;
22889 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22890 wxImageList *arg2 = (wxImageList *) 0 ;
22891 int arg3 ;
22892 PyObject * obj0 = 0 ;
22893 PyObject * obj1 = 0 ;
22894 PyObject * obj2 = 0 ;
22895 char *kwnames[] = {
22896 (char *) "self",(char *) "imageList",(char *) "which", NULL
22897 };
22898
22899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22904 arg3 = (int)SWIG_As_int(obj2);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 {
22907 PyThreadState* __tstate = wxPyBeginAllowThreads();
22908 (arg1)->SetImageList(arg2,arg3);
22909
22910 wxPyEndAllowThreads(__tstate);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
22913 Py_INCREF(Py_None); resultobj = Py_None;
22914 return resultobj;
22915 fail:
22916 return NULL;
22917 }
22918
22919
22920 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
22921 PyObject *resultobj;
22922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22923 wxImageList *arg2 = (wxImageList *) 0 ;
22924 int arg3 ;
22925 PyObject * obj0 = 0 ;
22926 PyObject * obj1 = 0 ;
22927 PyObject * obj2 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "imageList",(char *) "which", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22936 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22937 arg3 = (int)SWIG_As_int(obj2);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 {
22940 PyThreadState* __tstate = wxPyBeginAllowThreads();
22941 (arg1)->AssignImageList(arg2,arg3);
22942
22943 wxPyEndAllowThreads(__tstate);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 Py_INCREF(Py_None); resultobj = Py_None;
22947 return resultobj;
22948 fail:
22949 return NULL;
22950 }
22951
22952
22953 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
22954 PyObject *resultobj;
22955 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22956 bool result;
22957 PyObject * obj0 = 0 ;
22958 char *kwnames[] = {
22959 (char *) "self", NULL
22960 };
22961
22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22968
22969 wxPyEndAllowThreads(__tstate);
22970 if (PyErr_Occurred()) SWIG_fail;
22971 }
22972 {
22973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22974 }
22975 return resultobj;
22976 fail:
22977 return NULL;
22978 }
22979
22980
22981 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
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_IsVirtual",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)->IsVirtual();
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
23009 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
23010 PyObject *resultobj;
23011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23012 long arg2 ;
23013 PyObject * obj0 = 0 ;
23014 PyObject * obj1 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self",(char *) "item", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
23020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23022 arg2 = (long)SWIG_As_long(obj1);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 {
23025 PyThreadState* __tstate = wxPyBeginAllowThreads();
23026 (arg1)->RefreshItem(arg2);
23027
23028 wxPyEndAllowThreads(__tstate);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 }
23031 Py_INCREF(Py_None); resultobj = Py_None;
23032 return resultobj;
23033 fail:
23034 return NULL;
23035 }
23036
23037
23038 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
23039 PyObject *resultobj;
23040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23041 long arg2 ;
23042 long arg3 ;
23043 PyObject * obj0 = 0 ;
23044 PyObject * obj1 = 0 ;
23045 PyObject * obj2 = 0 ;
23046 char *kwnames[] = {
23047 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23048 };
23049
23050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
23051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23053 arg2 = (long)SWIG_As_long(obj1);
23054 if (PyErr_Occurred()) SWIG_fail;
23055 arg3 = (long)SWIG_As_long(obj2);
23056 if (PyErr_Occurred()) SWIG_fail;
23057 {
23058 PyThreadState* __tstate = wxPyBeginAllowThreads();
23059 (arg1)->RefreshItems(arg2,arg3);
23060
23061 wxPyEndAllowThreads(__tstate);
23062 if (PyErr_Occurred()) SWIG_fail;
23063 }
23064 Py_INCREF(Py_None); resultobj = Py_None;
23065 return resultobj;
23066 fail:
23067 return NULL;
23068 }
23069
23070
23071 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
23072 PyObject *resultobj;
23073 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23074 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
23075 bool result;
23076 PyObject * obj0 = 0 ;
23077 PyObject * obj1 = 0 ;
23078 char *kwnames[] = {
23079 (char *) "self",(char *) "flag", NULL
23080 };
23081
23082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
23083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23085 if (obj1) {
23086 arg2 = (int)SWIG_As_int(obj1);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 {
23090 PyThreadState* __tstate = wxPyBeginAllowThreads();
23091 result = (bool)(arg1)->Arrange(arg2);
23092
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
23096 {
23097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23098 }
23099 return resultobj;
23100 fail:
23101 return NULL;
23102 }
23103
23104
23105 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
23106 PyObject *resultobj;
23107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23108 long arg2 ;
23109 bool result;
23110 PyObject * obj0 = 0 ;
23111 PyObject * obj1 = 0 ;
23112 char *kwnames[] = {
23113 (char *) "self",(char *) "item", NULL
23114 };
23115
23116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
23117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23119 arg2 = (long)SWIG_As_long(obj1);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 {
23122 PyThreadState* __tstate = wxPyBeginAllowThreads();
23123 result = (bool)(arg1)->DeleteItem(arg2);
23124
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 {
23129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23130 }
23131 return resultobj;
23132 fail:
23133 return NULL;
23134 }
23135
23136
23137 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
23138 PyObject *resultobj;
23139 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23140 bool result;
23141 PyObject * obj0 = 0 ;
23142 char *kwnames[] = {
23143 (char *) "self", NULL
23144 };
23145
23146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23149 {
23150 PyThreadState* __tstate = wxPyBeginAllowThreads();
23151 result = (bool)(arg1)->DeleteAllItems();
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
23165 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23166 PyObject *resultobj;
23167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23168 int arg2 ;
23169 bool result;
23170 PyObject * obj0 = 0 ;
23171 PyObject * obj1 = 0 ;
23172 char *kwnames[] = {
23173 (char *) "self",(char *) "col", NULL
23174 };
23175
23176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
23177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23179 arg2 = (int)SWIG_As_int(obj1);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 result = (bool)(arg1)->DeleteColumn(arg2);
23184
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 {
23189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23190 }
23191 return resultobj;
23192 fail:
23193 return NULL;
23194 }
23195
23196
23197 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
23198 PyObject *resultobj;
23199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23200 bool result;
23201 PyObject * obj0 = 0 ;
23202 char *kwnames[] = {
23203 (char *) "self", NULL
23204 };
23205
23206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
23207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (bool)(arg1)->DeleteAllColumns();
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
23225 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
23226 PyObject *resultobj;
23227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23228 PyObject * obj0 = 0 ;
23229 char *kwnames[] = {
23230 (char *) "self", NULL
23231 };
23232
23233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
23234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23236 {
23237 PyThreadState* __tstate = wxPyBeginAllowThreads();
23238 (arg1)->ClearAll();
23239
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 Py_INCREF(Py_None); resultobj = Py_None;
23244 return resultobj;
23245 fail:
23246 return NULL;
23247 }
23248
23249
23250 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj;
23252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23253 long arg2 ;
23254 PyObject * obj0 = 0 ;
23255 PyObject * obj1 = 0 ;
23256 char *kwnames[] = {
23257 (char *) "self",(char *) "item", NULL
23258 };
23259
23260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23263 arg2 = (long)SWIG_As_long(obj1);
23264 if (PyErr_Occurred()) SWIG_fail;
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 (arg1)->EditLabel(arg2);
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 Py_INCREF(Py_None); resultobj = Py_None;
23273 return resultobj;
23274 fail:
23275 return NULL;
23276 }
23277
23278
23279 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
23280 PyObject *resultobj;
23281 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23282 long arg2 ;
23283 bool result;
23284 PyObject * obj0 = 0 ;
23285 PyObject * obj1 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "self",(char *) "item", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23293 arg2 = (long)SWIG_As_long(obj1);
23294 if (PyErr_Occurred()) SWIG_fail;
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 result = (bool)(arg1)->EnsureVisible(arg2);
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 {
23303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23304 }
23305 return resultobj;
23306 fail:
23307 return NULL;
23308 }
23309
23310
23311 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj;
23313 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23314 long arg2 ;
23315 wxString *arg3 = 0 ;
23316 bool arg4 = (bool) false ;
23317 long result;
23318 bool temp3 = false ;
23319 PyObject * obj0 = 0 ;
23320 PyObject * obj1 = 0 ;
23321 PyObject * obj2 = 0 ;
23322 PyObject * obj3 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23330 arg2 = (long)SWIG_As_long(obj1);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 {
23333 arg3 = wxString_in_helper(obj2);
23334 if (arg3 == NULL) SWIG_fail;
23335 temp3 = true;
23336 }
23337 if (obj3) {
23338 arg4 = (bool)SWIG_As_bool(obj3);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 }
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 resultobj = SWIG_From_long((long)result);
23349 {
23350 if (temp3)
23351 delete arg3;
23352 }
23353 return resultobj;
23354 fail:
23355 {
23356 if (temp3)
23357 delete arg3;
23358 }
23359 return NULL;
23360 }
23361
23362
23363 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23366 long arg2 ;
23367 long arg3 ;
23368 long result;
23369 PyObject * obj0 = 0 ;
23370 PyObject * obj1 = 0 ;
23371 PyObject * obj2 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self",(char *) "start",(char *) "data", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
23377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23379 arg2 = (long)SWIG_As_long(obj1);
23380 if (PyErr_Occurred()) SWIG_fail;
23381 arg3 = (long)SWIG_As_long(obj2);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 {
23384 PyThreadState* __tstate = wxPyBeginAllowThreads();
23385 result = (long)(arg1)->FindItem(arg2,arg3);
23386
23387 wxPyEndAllowThreads(__tstate);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
23390 resultobj = SWIG_From_long((long)result);
23391 return resultobj;
23392 fail:
23393 return NULL;
23394 }
23395
23396
23397 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
23398 PyObject *resultobj;
23399 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23400 long arg2 ;
23401 wxPoint *arg3 = 0 ;
23402 int arg4 ;
23403 long result;
23404 wxPoint temp3 ;
23405 PyObject * obj0 = 0 ;
23406 PyObject * obj1 = 0 ;
23407 PyObject * obj2 = 0 ;
23408 PyObject * obj3 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23416 arg2 = (long)SWIG_As_long(obj1);
23417 if (PyErr_Occurred()) SWIG_fail;
23418 {
23419 arg3 = &temp3;
23420 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23421 }
23422 arg4 = (int)SWIG_As_int(obj3);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 resultobj = SWIG_From_long((long)result);
23432 return resultobj;
23433 fail:
23434 return NULL;
23435 }
23436
23437
23438 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
23439 PyObject *resultobj;
23440 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23441 wxPoint *arg2 = 0 ;
23442 int *arg3 = 0 ;
23443 long result;
23444 wxPoint temp2 ;
23445 int temp3 ;
23446 int res3 = 0 ;
23447 PyObject * obj0 = 0 ;
23448 PyObject * obj1 = 0 ;
23449 char *kwnames[] = {
23450 (char *) "self",(char *) "point", NULL
23451 };
23452
23453 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23457 {
23458 arg2 = &temp2;
23459 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23460 }
23461 {
23462 PyThreadState* __tstate = wxPyBeginAllowThreads();
23463 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23464
23465 wxPyEndAllowThreads(__tstate);
23466 if (PyErr_Occurred()) SWIG_fail;
23467 }
23468 resultobj = SWIG_From_long((long)result);
23469 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23470 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23471 return resultobj;
23472 fail:
23473 return NULL;
23474 }
23475
23476
23477 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
23478 PyObject *resultobj;
23479 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23480 wxListItem *arg2 = 0 ;
23481 long result;
23482 PyObject * obj0 = 0 ;
23483 PyObject * obj1 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self",(char *) "info", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23492 SWIG_POINTER_EXCEPTION | 0)) == -1)
23493 SWIG_fail;
23494 if (arg2 == NULL) {
23495 PyErr_SetString(PyExc_TypeError,"null reference");
23496 SWIG_fail;
23497 }
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 result = (long)(arg1)->InsertItem(*arg2);
23501
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 resultobj = SWIG_From_long((long)result);
23506 return resultobj;
23507 fail:
23508 return NULL;
23509 }
23510
23511
23512 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
23513 PyObject *resultobj;
23514 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23515 long arg2 ;
23516 wxString *arg3 = 0 ;
23517 long result;
23518 bool temp3 = false ;
23519 PyObject * obj0 = 0 ;
23520 PyObject * obj1 = 0 ;
23521 PyObject * obj2 = 0 ;
23522 char *kwnames[] = {
23523 (char *) "self",(char *) "index",(char *) "label", NULL
23524 };
23525
23526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23529 arg2 = (long)SWIG_As_long(obj1);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 {
23532 arg3 = wxString_in_helper(obj2);
23533 if (arg3 == NULL) SWIG_fail;
23534 temp3 = true;
23535 }
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 resultobj = SWIG_From_long((long)result);
23544 {
23545 if (temp3)
23546 delete arg3;
23547 }
23548 return resultobj;
23549 fail:
23550 {
23551 if (temp3)
23552 delete arg3;
23553 }
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23561 long arg2 ;
23562 int arg3 ;
23563 long result;
23564 PyObject * obj0 = 0 ;
23565 PyObject * obj1 = 0 ;
23566 PyObject * obj2 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23574 arg2 = (long)SWIG_As_long(obj1);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 arg3 = (int)SWIG_As_int(obj2);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 result = (long)(arg1)->InsertItem(arg2,arg3);
23581
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 resultobj = SWIG_From_long((long)result);
23586 return resultobj;
23587 fail:
23588 return NULL;
23589 }
23590
23591
23592 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
23593 PyObject *resultobj;
23594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23595 long arg2 ;
23596 wxString *arg3 = 0 ;
23597 int arg4 ;
23598 long result;
23599 bool temp3 = false ;
23600 PyObject * obj0 = 0 ;
23601 PyObject * obj1 = 0 ;
23602 PyObject * obj2 = 0 ;
23603 PyObject * obj3 = 0 ;
23604 char *kwnames[] = {
23605 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23606 };
23607
23608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23611 arg2 = (long)SWIG_As_long(obj1);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 {
23614 arg3 = wxString_in_helper(obj2);
23615 if (arg3 == NULL) SWIG_fail;
23616 temp3 = true;
23617 }
23618 arg4 = (int)SWIG_As_int(obj3);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 {
23621 PyThreadState* __tstate = wxPyBeginAllowThreads();
23622 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23623
23624 wxPyEndAllowThreads(__tstate);
23625 if (PyErr_Occurred()) SWIG_fail;
23626 }
23627 resultobj = SWIG_From_long((long)result);
23628 {
23629 if (temp3)
23630 delete arg3;
23631 }
23632 return resultobj;
23633 fail:
23634 {
23635 if (temp3)
23636 delete arg3;
23637 }
23638 return NULL;
23639 }
23640
23641
23642 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23643 PyObject *resultobj;
23644 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23645 long arg2 ;
23646 wxListItem *arg3 = 0 ;
23647 long result;
23648 PyObject * obj0 = 0 ;
23649 PyObject * obj1 = 0 ;
23650 PyObject * obj2 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "col",(char *) "info", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23658 arg2 = (long)SWIG_As_long(obj1);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23661 SWIG_POINTER_EXCEPTION | 0)) == -1)
23662 SWIG_fail;
23663 if (arg3 == NULL) {
23664 PyErr_SetString(PyExc_TypeError,"null reference");
23665 SWIG_fail;
23666 }
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 resultobj = SWIG_From_long((long)result);
23675 return resultobj;
23676 fail:
23677 return NULL;
23678 }
23679
23680
23681 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23684 long arg2 ;
23685 wxString *arg3 = 0 ;
23686 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23687 int arg5 = (int) -1 ;
23688 long result;
23689 bool temp3 = false ;
23690 PyObject * obj0 = 0 ;
23691 PyObject * obj1 = 0 ;
23692 PyObject * obj2 = 0 ;
23693 PyObject * obj3 = 0 ;
23694 PyObject * obj4 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23702 arg2 = (long)SWIG_As_long(obj1);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 {
23705 arg3 = wxString_in_helper(obj2);
23706 if (arg3 == NULL) SWIG_fail;
23707 temp3 = true;
23708 }
23709 if (obj3) {
23710 arg4 = (int)SWIG_As_int(obj3);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 if (obj4) {
23714 arg5 = (int)SWIG_As_int(obj4);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 {
23718 PyThreadState* __tstate = wxPyBeginAllowThreads();
23719 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23720
23721 wxPyEndAllowThreads(__tstate);
23722 if (PyErr_Occurred()) SWIG_fail;
23723 }
23724 resultobj = SWIG_From_long((long)result);
23725 {
23726 if (temp3)
23727 delete arg3;
23728 }
23729 return resultobj;
23730 fail:
23731 {
23732 if (temp3)
23733 delete arg3;
23734 }
23735 return NULL;
23736 }
23737
23738
23739 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
23740 PyObject *resultobj;
23741 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23742 long arg2 ;
23743 PyObject * obj0 = 0 ;
23744 PyObject * obj1 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self",(char *) "count", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23752 arg2 = (long)SWIG_As_long(obj1);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 {
23755 PyThreadState* __tstate = wxPyBeginAllowThreads();
23756 (arg1)->SetItemCount(arg2);
23757
23758 wxPyEndAllowThreads(__tstate);
23759 if (PyErr_Occurred()) SWIG_fail;
23760 }
23761 Py_INCREF(Py_None); resultobj = Py_None;
23762 return resultobj;
23763 fail:
23764 return NULL;
23765 }
23766
23767
23768 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
23769 PyObject *resultobj;
23770 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23771 int arg2 ;
23772 int arg3 ;
23773 bool result;
23774 PyObject * obj0 = 0 ;
23775 PyObject * obj1 = 0 ;
23776 PyObject * obj2 = 0 ;
23777 char *kwnames[] = {
23778 (char *) "self",(char *) "dx",(char *) "dy", NULL
23779 };
23780
23781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23784 arg2 = (int)SWIG_As_int(obj1);
23785 if (PyErr_Occurred()) SWIG_fail;
23786 arg3 = (int)SWIG_As_int(obj2);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 result = (bool)(arg1)->ScrollList(arg2,arg3);
23791
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 {
23796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23797 }
23798 return resultobj;
23799 fail:
23800 return NULL;
23801 }
23802
23803
23804 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23805 PyObject *resultobj;
23806 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23807 long arg2 ;
23808 wxColour *arg3 = 0 ;
23809 wxColour temp3 ;
23810 PyObject * obj0 = 0 ;
23811 PyObject * obj1 = 0 ;
23812 PyObject * obj2 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self",(char *) "item",(char *) "col", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23820 arg2 = (long)SWIG_As_long(obj1);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 {
23823 arg3 = &temp3;
23824 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23825 }
23826 {
23827 PyThreadState* __tstate = wxPyBeginAllowThreads();
23828 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23829
23830 wxPyEndAllowThreads(__tstate);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 Py_INCREF(Py_None); resultobj = Py_None;
23834 return resultobj;
23835 fail:
23836 return NULL;
23837 }
23838
23839
23840 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23841 PyObject *resultobj;
23842 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23843 long arg2 ;
23844 wxColour result;
23845 PyObject * obj0 = 0 ;
23846 PyObject * obj1 = 0 ;
23847 char *kwnames[] = {
23848 (char *) "self",(char *) "item", NULL
23849 };
23850
23851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23854 arg2 = (long)SWIG_As_long(obj1);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 {
23857 PyThreadState* __tstate = wxPyBeginAllowThreads();
23858 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23859
23860 wxPyEndAllowThreads(__tstate);
23861 if (PyErr_Occurred()) SWIG_fail;
23862 }
23863 {
23864 wxColour * resultptr;
23865 resultptr = new wxColour((wxColour &) result);
23866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23867 }
23868 return resultobj;
23869 fail:
23870 return NULL;
23871 }
23872
23873
23874 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23875 PyObject *resultobj;
23876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23877 long arg2 ;
23878 wxColour *arg3 = 0 ;
23879 wxColour temp3 ;
23880 PyObject * obj0 = 0 ;
23881 PyObject * obj1 = 0 ;
23882 PyObject * obj2 = 0 ;
23883 char *kwnames[] = {
23884 (char *) "self",(char *) "item",(char *) "col", NULL
23885 };
23886
23887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23890 arg2 = (long)SWIG_As_long(obj1);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 {
23893 arg3 = &temp3;
23894 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23895 }
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 Py_INCREF(Py_None); resultobj = Py_None;
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23911 PyObject *resultobj;
23912 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23913 long arg2 ;
23914 wxColour result;
23915 PyObject * obj0 = 0 ;
23916 PyObject * obj1 = 0 ;
23917 char *kwnames[] = {
23918 (char *) "self",(char *) "item", NULL
23919 };
23920
23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23924 arg2 = (long)SWIG_As_long(obj1);
23925 if (PyErr_Occurred()) SWIG_fail;
23926 {
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23929
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 {
23934 wxColour * resultptr;
23935 resultptr = new wxColour((wxColour &) result);
23936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23937 }
23938 return resultobj;
23939 fail:
23940 return NULL;
23941 }
23942
23943
23944 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
23945 PyObject *resultobj;
23946 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23947 PyObject *arg2 = (PyObject *) 0 ;
23948 bool result;
23949 PyObject * obj0 = 0 ;
23950 PyObject * obj1 = 0 ;
23951 char *kwnames[] = {
23952 (char *) "self",(char *) "func", NULL
23953 };
23954
23955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23958 arg2 = obj1;
23959 {
23960 PyThreadState* __tstate = wxPyBeginAllowThreads();
23961 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23962
23963 wxPyEndAllowThreads(__tstate);
23964 if (PyErr_Occurred()) SWIG_fail;
23965 }
23966 {
23967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23968 }
23969 return resultobj;
23970 fail:
23971 return NULL;
23972 }
23973
23974
23975 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
23976 PyObject *resultobj;
23977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23978 wxWindow *result;
23979 PyObject * obj0 = 0 ;
23980 char *kwnames[] = {
23981 (char *) "self", NULL
23982 };
23983
23984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
23985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23987 {
23988 PyThreadState* __tstate = wxPyBeginAllowThreads();
23989 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23990
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 {
23995 resultobj = wxPyMake_wxObject(result, 0);
23996 }
23997 return resultobj;
23998 fail:
23999 return NULL;
24000 }
24001
24002
24003 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
24004 PyObject *resultobj;
24005 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
24006 wxVisualAttributes result;
24007 PyObject * obj0 = 0 ;
24008 char *kwnames[] = {
24009 (char *) "variant", NULL
24010 };
24011
24012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
24013 if (obj0) {
24014 arg1 = (int)SWIG_As_int(obj0);
24015 if (PyErr_Occurred()) SWIG_fail;
24016 }
24017 {
24018 if (!wxPyCheckForApp()) SWIG_fail;
24019 PyThreadState* __tstate = wxPyBeginAllowThreads();
24020 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
24021
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 {
24026 wxVisualAttributes * resultptr;
24027 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
24028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
24029 }
24030 return resultobj;
24031 fail:
24032 return NULL;
24033 }
24034
24035
24036 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
24037 PyObject *obj;
24038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24039 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
24040 Py_INCREF(obj);
24041 return Py_BuildValue((char *)"");
24042 }
24043 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
24044 PyObject *resultobj;
24045 wxWindow *arg1 = (wxWindow *) 0 ;
24046 int arg2 = (int) -1 ;
24047 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24048 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24049 wxSize const &arg4_defvalue = wxDefaultSize ;
24050 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24051 long arg5 = (long) wxLC_REPORT ;
24052 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24053 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24054 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
24055 wxString *arg7 = (wxString *) &arg7_defvalue ;
24056 wxListView *result;
24057 wxPoint temp3 ;
24058 wxSize temp4 ;
24059 bool temp7 = false ;
24060 PyObject * obj0 = 0 ;
24061 PyObject * obj1 = 0 ;
24062 PyObject * obj2 = 0 ;
24063 PyObject * obj3 = 0 ;
24064 PyObject * obj4 = 0 ;
24065 PyObject * obj5 = 0 ;
24066 PyObject * obj6 = 0 ;
24067 char *kwnames[] = {
24068 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24069 };
24070
24071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24074 if (obj1) {
24075 arg2 = (int)SWIG_As_int(obj1);
24076 if (PyErr_Occurred()) SWIG_fail;
24077 }
24078 if (obj2) {
24079 {
24080 arg3 = &temp3;
24081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24082 }
24083 }
24084 if (obj3) {
24085 {
24086 arg4 = &temp4;
24087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24088 }
24089 }
24090 if (obj4) {
24091 arg5 = (long)SWIG_As_long(obj4);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 }
24094 if (obj5) {
24095 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24096 SWIG_POINTER_EXCEPTION | 0)) == -1)
24097 SWIG_fail;
24098 if (arg6 == NULL) {
24099 PyErr_SetString(PyExc_TypeError,"null reference");
24100 SWIG_fail;
24101 }
24102 }
24103 if (obj6) {
24104 {
24105 arg7 = wxString_in_helper(obj6);
24106 if (arg7 == NULL) SWIG_fail;
24107 temp7 = true;
24108 }
24109 }
24110 {
24111 if (!wxPyCheckForApp()) SWIG_fail;
24112 PyThreadState* __tstate = wxPyBeginAllowThreads();
24113 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24119 {
24120 if (temp7)
24121 delete arg7;
24122 }
24123 return resultobj;
24124 fail:
24125 {
24126 if (temp7)
24127 delete arg7;
24128 }
24129 return NULL;
24130 }
24131
24132
24133 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
24134 PyObject *resultobj;
24135 wxListView *result;
24136 char *kwnames[] = {
24137 NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
24141 {
24142 if (!wxPyCheckForApp()) SWIG_fail;
24143 PyThreadState* __tstate = wxPyBeginAllowThreads();
24144 result = (wxListView *)new wxListView();
24145
24146 wxPyEndAllowThreads(__tstate);
24147 if (PyErr_Occurred()) SWIG_fail;
24148 }
24149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24150 return resultobj;
24151 fail:
24152 return NULL;
24153 }
24154
24155
24156 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
24157 PyObject *resultobj;
24158 wxListView *arg1 = (wxListView *) 0 ;
24159 wxWindow *arg2 = (wxWindow *) 0 ;
24160 int arg3 = (int) -1 ;
24161 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24162 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24163 wxSize const &arg5_defvalue = wxDefaultSize ;
24164 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24165 long arg6 = (long) wxLC_REPORT ;
24166 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24167 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24168 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
24169 wxString *arg8 = (wxString *) &arg8_defvalue ;
24170 bool result;
24171 wxPoint temp4 ;
24172 wxSize temp5 ;
24173 bool temp8 = false ;
24174 PyObject * obj0 = 0 ;
24175 PyObject * obj1 = 0 ;
24176 PyObject * obj2 = 0 ;
24177 PyObject * obj3 = 0 ;
24178 PyObject * obj4 = 0 ;
24179 PyObject * obj5 = 0 ;
24180 PyObject * obj6 = 0 ;
24181 PyObject * obj7 = 0 ;
24182 char *kwnames[] = {
24183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24184 };
24185
24186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24191 if (obj2) {
24192 arg3 = (int)SWIG_As_int(obj2);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 if (obj3) {
24196 {
24197 arg4 = &temp4;
24198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24199 }
24200 }
24201 if (obj4) {
24202 {
24203 arg5 = &temp5;
24204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24205 }
24206 }
24207 if (obj5) {
24208 arg6 = (long)SWIG_As_long(obj5);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
24211 if (obj6) {
24212 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24213 SWIG_POINTER_EXCEPTION | 0)) == -1)
24214 SWIG_fail;
24215 if (arg7 == NULL) {
24216 PyErr_SetString(PyExc_TypeError,"null reference");
24217 SWIG_fail;
24218 }
24219 }
24220 if (obj7) {
24221 {
24222 arg8 = wxString_in_helper(obj7);
24223 if (arg8 == NULL) SWIG_fail;
24224 temp8 = true;
24225 }
24226 }
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24230
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 {
24235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24236 }
24237 {
24238 if (temp8)
24239 delete arg8;
24240 }
24241 return resultobj;
24242 fail:
24243 {
24244 if (temp8)
24245 delete arg8;
24246 }
24247 return NULL;
24248 }
24249
24250
24251 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj;
24253 wxListView *arg1 = (wxListView *) 0 ;
24254 long arg2 ;
24255 bool arg3 = (bool) true ;
24256 PyObject * obj0 = 0 ;
24257 PyObject * obj1 = 0 ;
24258 PyObject * obj2 = 0 ;
24259 char *kwnames[] = {
24260 (char *) "self",(char *) "n",(char *) "on", NULL
24261 };
24262
24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
24264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24266 arg2 = (long)SWIG_As_long(obj1);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 if (obj2) {
24269 arg3 = (bool)SWIG_As_bool(obj2);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 (arg1)->Select(arg2,arg3);
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 Py_INCREF(Py_None); resultobj = Py_None;
24280 return resultobj;
24281 fail:
24282 return NULL;
24283 }
24284
24285
24286 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
24287 PyObject *resultobj;
24288 wxListView *arg1 = (wxListView *) 0 ;
24289 long arg2 ;
24290 PyObject * obj0 = 0 ;
24291 PyObject * obj1 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self",(char *) "index", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
24297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24299 arg2 = (long)SWIG_As_long(obj1);
24300 if (PyErr_Occurred()) SWIG_fail;
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 (arg1)->Focus(arg2);
24304
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 Py_INCREF(Py_None); resultobj = Py_None;
24309 return resultobj;
24310 fail:
24311 return NULL;
24312 }
24313
24314
24315 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
24316 PyObject *resultobj;
24317 wxListView *arg1 = (wxListView *) 0 ;
24318 long result;
24319 PyObject * obj0 = 0 ;
24320 char *kwnames[] = {
24321 (char *) "self", NULL
24322 };
24323
24324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
24325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = (long)((wxListView const *)arg1)->GetFocusedItem();
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 resultobj = SWIG_From_long((long)result);
24335 return resultobj;
24336 fail:
24337 return NULL;
24338 }
24339
24340
24341 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24342 PyObject *resultobj;
24343 wxListView *arg1 = (wxListView *) 0 ;
24344 long arg2 ;
24345 long result;
24346 PyObject * obj0 = 0 ;
24347 PyObject * obj1 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self",(char *) "item", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24355 arg2 = (long)SWIG_As_long(obj1);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
24360
24361 wxPyEndAllowThreads(__tstate);
24362 if (PyErr_Occurred()) SWIG_fail;
24363 }
24364 resultobj = SWIG_From_long((long)result);
24365 return resultobj;
24366 fail:
24367 return NULL;
24368 }
24369
24370
24371 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24372 PyObject *resultobj;
24373 wxListView *arg1 = (wxListView *) 0 ;
24374 long result;
24375 PyObject * obj0 = 0 ;
24376 char *kwnames[] = {
24377 (char *) "self", NULL
24378 };
24379
24380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
24381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24383 {
24384 PyThreadState* __tstate = wxPyBeginAllowThreads();
24385 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24386
24387 wxPyEndAllowThreads(__tstate);
24388 if (PyErr_Occurred()) SWIG_fail;
24389 }
24390 resultobj = SWIG_From_long((long)result);
24391 return resultobj;
24392 fail:
24393 return NULL;
24394 }
24395
24396
24397 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24398 PyObject *resultobj;
24399 wxListView *arg1 = (wxListView *) 0 ;
24400 long arg2 ;
24401 bool result;
24402 PyObject * obj0 = 0 ;
24403 PyObject * obj1 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self",(char *) "index", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24411 arg2 = (long)SWIG_As_long(obj1);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 result = (bool)(arg1)->IsSelected(arg2);
24416
24417 wxPyEndAllowThreads(__tstate);
24418 if (PyErr_Occurred()) SWIG_fail;
24419 }
24420 {
24421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24422 }
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxListView *arg1 = (wxListView *) 0 ;
24432 int arg2 ;
24433 int arg3 ;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 PyObject * obj2 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self",(char *) "col",(char *) "image", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24444 arg2 = (int)SWIG_As_int(obj1);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 arg3 = (int)SWIG_As_int(obj2);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 {
24449 PyThreadState* __tstate = wxPyBeginAllowThreads();
24450 (arg1)->SetColumnImage(arg2,arg3);
24451
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 Py_INCREF(Py_None); resultobj = Py_None;
24456 return resultobj;
24457 fail:
24458 return NULL;
24459 }
24460
24461
24462 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
24463 PyObject *resultobj;
24464 wxListView *arg1 = (wxListView *) 0 ;
24465 int arg2 ;
24466 PyObject * obj0 = 0 ;
24467 PyObject * obj1 = 0 ;
24468 char *kwnames[] = {
24469 (char *) "self",(char *) "col", NULL
24470 };
24471
24472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24475 arg2 = (int)SWIG_As_int(obj1);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 {
24478 PyThreadState* __tstate = wxPyBeginAllowThreads();
24479 (arg1)->ClearColumnImage(arg2);
24480
24481 wxPyEndAllowThreads(__tstate);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 Py_INCREF(Py_None); resultobj = Py_None;
24485 return resultobj;
24486 fail:
24487 return NULL;
24488 }
24489
24490
24491 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
24492 PyObject *obj;
24493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24494 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24495 Py_INCREF(obj);
24496 return Py_BuildValue((char *)"");
24497 }
24498 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
24499 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24500 return 1;
24501 }
24502
24503
24504 static PyObject *_wrap_TreeCtrlNameStr_get() {
24505 PyObject *pyobj;
24506
24507 {
24508 #if wxUSE_UNICODE
24509 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24510 #else
24511 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24512 #endif
24513 }
24514 return pyobj;
24515 }
24516
24517
24518 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
24519 PyObject *resultobj;
24520 wxTreeItemId *result;
24521 char *kwnames[] = {
24522 NULL
24523 };
24524
24525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 result = (wxTreeItemId *)new wxTreeItemId();
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24534 return resultobj;
24535 fail:
24536 return NULL;
24537 }
24538
24539
24540 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
24541 PyObject *resultobj;
24542 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24543 PyObject * obj0 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24551 {
24552 PyThreadState* __tstate = wxPyBeginAllowThreads();
24553 delete arg1;
24554
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 Py_INCREF(Py_None); resultobj = Py_None;
24559 return resultobj;
24560 fail:
24561 return NULL;
24562 }
24563
24564
24565 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj;
24567 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24568 bool result;
24569 PyObject * obj0 = 0 ;
24570 char *kwnames[] = {
24571 (char *) "self", NULL
24572 };
24573
24574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 {
24585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24586 }
24587 return resultobj;
24588 fail:
24589 return NULL;
24590 }
24591
24592
24593 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
24594 PyObject *resultobj;
24595 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24596 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24597 bool result;
24598 PyObject * obj0 = 0 ;
24599 PyObject * obj1 = 0 ;
24600 char *kwnames[] = {
24601 (char *) "self",(char *) "other", NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24609 {
24610 PyThreadState* __tstate = wxPyBeginAllowThreads();
24611 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24612
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 {
24617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24618 }
24619 return resultobj;
24620 fail:
24621 return NULL;
24622 }
24623
24624
24625 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
24626 PyObject *resultobj;
24627 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24628 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24629 bool result;
24630 PyObject * obj0 = 0 ;
24631 PyObject * obj1 = 0 ;
24632 char *kwnames[] = {
24633 (char *) "self",(char *) "other", NULL
24634 };
24635
24636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24644
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 {
24649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24650 }
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj;
24659 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24660 void *arg2 = (void *) 0 ;
24661 PyObject * obj0 = 0 ;
24662 PyObject * obj1 = 0 ;
24663 char *kwnames[] = {
24664 (char *) "self",(char *) "m_pItem", NULL
24665 };
24666
24667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24670 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24671 if (arg1) (arg1)->m_pItem = arg2;
24672
24673 Py_INCREF(Py_None); resultobj = Py_None;
24674 return resultobj;
24675 fail:
24676 return NULL;
24677 }
24678
24679
24680 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
24681 PyObject *resultobj;
24682 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24683 void *result;
24684 PyObject * obj0 = 0 ;
24685 char *kwnames[] = {
24686 (char *) "self", NULL
24687 };
24688
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24692 result = (void *) ((arg1)->m_pItem);
24693
24694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24695 return resultobj;
24696 fail:
24697 return NULL;
24698 }
24699
24700
24701 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
24702 PyObject *obj;
24703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24704 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24705 Py_INCREF(obj);
24706 return Py_BuildValue((char *)"");
24707 }
24708 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24709 PyObject *resultobj;
24710 PyObject *arg1 = (PyObject *) NULL ;
24711 wxPyTreeItemData *result;
24712 PyObject * obj0 = 0 ;
24713 char *kwnames[] = {
24714 (char *) "obj", NULL
24715 };
24716
24717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24718 if (obj0) {
24719 arg1 = obj0;
24720 }
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24724
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24729 return resultobj;
24730 fail:
24731 return NULL;
24732 }
24733
24734
24735 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
24736 PyObject *resultobj;
24737 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24738 PyObject *result;
24739 PyObject * obj0 = 0 ;
24740 char *kwnames[] = {
24741 (char *) "self", NULL
24742 };
24743
24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 result = (PyObject *)(arg1)->GetData();
24750
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 resultobj = result;
24755 return resultobj;
24756 fail:
24757 return NULL;
24758 }
24759
24760
24761 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
24762 PyObject *resultobj;
24763 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24764 PyObject *arg2 = (PyObject *) 0 ;
24765 PyObject * obj0 = 0 ;
24766 PyObject * obj1 = 0 ;
24767 char *kwnames[] = {
24768 (char *) "self",(char *) "obj", NULL
24769 };
24770
24771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24774 arg2 = obj1;
24775 {
24776 PyThreadState* __tstate = wxPyBeginAllowThreads();
24777 (arg1)->SetData(arg2);
24778
24779 wxPyEndAllowThreads(__tstate);
24780 if (PyErr_Occurred()) SWIG_fail;
24781 }
24782 Py_INCREF(Py_None); resultobj = Py_None;
24783 return resultobj;
24784 fail:
24785 return NULL;
24786 }
24787
24788
24789 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
24790 PyObject *resultobj;
24791 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24792 wxTreeItemId *result;
24793 PyObject * obj0 = 0 ;
24794 char *kwnames[] = {
24795 (char *) "self", NULL
24796 };
24797
24798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24801 {
24802 PyThreadState* __tstate = wxPyBeginAllowThreads();
24803 {
24804 wxTreeItemId const &_result_ref = (arg1)->GetId();
24805 result = (wxTreeItemId *) &_result_ref;
24806 }
24807
24808 wxPyEndAllowThreads(__tstate);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
24811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24812 return resultobj;
24813 fail:
24814 return NULL;
24815 }
24816
24817
24818 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
24819 PyObject *resultobj;
24820 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24821 wxTreeItemId *arg2 = 0 ;
24822 PyObject * obj0 = 0 ;
24823 PyObject * obj1 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "self",(char *) "id", NULL
24826 };
24827
24828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24832 SWIG_POINTER_EXCEPTION | 0)) == -1)
24833 SWIG_fail;
24834 if (arg2 == NULL) {
24835 PyErr_SetString(PyExc_TypeError,"null reference");
24836 SWIG_fail;
24837 }
24838 {
24839 PyThreadState* __tstate = wxPyBeginAllowThreads();
24840 (arg1)->SetId((wxTreeItemId const &)*arg2);
24841
24842 wxPyEndAllowThreads(__tstate);
24843 if (PyErr_Occurred()) SWIG_fail;
24844 }
24845 Py_INCREF(Py_None); resultobj = Py_None;
24846 return resultobj;
24847 fail:
24848 return NULL;
24849 }
24850
24851
24852 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
24853 PyObject *resultobj;
24854 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24855 PyObject * obj0 = 0 ;
24856 char *kwnames[] = {
24857 (char *) "self", NULL
24858 };
24859
24860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 wxPyTreeItemData_Destroy(arg1);
24866
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 Py_INCREF(Py_None); resultobj = Py_None;
24871 return resultobj;
24872 fail:
24873 return NULL;
24874 }
24875
24876
24877 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
24878 PyObject *obj;
24879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24880 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24881 Py_INCREF(obj);
24882 return Py_BuildValue((char *)"");
24883 }
24884 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24887 int arg2 = (int) 0 ;
24888 wxTreeEvent *result;
24889 PyObject * obj0 = 0 ;
24890 PyObject * obj1 = 0 ;
24891 char *kwnames[] = {
24892 (char *) "commandType",(char *) "id", NULL
24893 };
24894
24895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24896 if (obj0) {
24897 arg1 = (wxEventType)SWIG_As_int(obj0);
24898 if (PyErr_Occurred()) SWIG_fail;
24899 }
24900 if (obj1) {
24901 arg2 = (int)SWIG_As_int(obj1);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24912 return resultobj;
24913 fail:
24914 return NULL;
24915 }
24916
24917
24918 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24919 PyObject *resultobj;
24920 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24921 wxTreeItemId result;
24922 PyObject * obj0 = 0 ;
24923 char *kwnames[] = {
24924 (char *) "self", NULL
24925 };
24926
24927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24930 {
24931 PyThreadState* __tstate = wxPyBeginAllowThreads();
24932 result = ((wxTreeEvent const *)arg1)->GetItem();
24933
24934 wxPyEndAllowThreads(__tstate);
24935 if (PyErr_Occurred()) SWIG_fail;
24936 }
24937 {
24938 wxTreeItemId * resultptr;
24939 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24941 }
24942 return resultobj;
24943 fail:
24944 return NULL;
24945 }
24946
24947
24948 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24949 PyObject *resultobj;
24950 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24951 wxTreeItemId *arg2 = 0 ;
24952 PyObject * obj0 = 0 ;
24953 PyObject * obj1 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self",(char *) "item", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24962 SWIG_POINTER_EXCEPTION | 0)) == -1)
24963 SWIG_fail;
24964 if (arg2 == NULL) {
24965 PyErr_SetString(PyExc_TypeError,"null reference");
24966 SWIG_fail;
24967 }
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24971
24972 wxPyEndAllowThreads(__tstate);
24973 if (PyErr_Occurred()) SWIG_fail;
24974 }
24975 Py_INCREF(Py_None); resultobj = Py_None;
24976 return resultobj;
24977 fail:
24978 return NULL;
24979 }
24980
24981
24982 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
24983 PyObject *resultobj;
24984 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24985 wxTreeItemId result;
24986 PyObject * obj0 = 0 ;
24987 char *kwnames[] = {
24988 (char *) "self", NULL
24989 };
24990
24991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
24992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24994 {
24995 PyThreadState* __tstate = wxPyBeginAllowThreads();
24996 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24997
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 {
25002 wxTreeItemId * resultptr;
25003 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25004 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25005 }
25006 return resultobj;
25007 fail:
25008 return NULL;
25009 }
25010
25011
25012 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
25013 PyObject *resultobj;
25014 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25015 wxTreeItemId *arg2 = 0 ;
25016 PyObject * obj0 = 0 ;
25017 PyObject * obj1 = 0 ;
25018 char *kwnames[] = {
25019 (char *) "self",(char *) "item", NULL
25020 };
25021
25022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
25023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25026 SWIG_POINTER_EXCEPTION | 0)) == -1)
25027 SWIG_fail;
25028 if (arg2 == NULL) {
25029 PyErr_SetString(PyExc_TypeError,"null reference");
25030 SWIG_fail;
25031 }
25032 {
25033 PyThreadState* __tstate = wxPyBeginAllowThreads();
25034 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
25035
25036 wxPyEndAllowThreads(__tstate);
25037 if (PyErr_Occurred()) SWIG_fail;
25038 }
25039 Py_INCREF(Py_None); resultobj = Py_None;
25040 return resultobj;
25041 fail:
25042 return NULL;
25043 }
25044
25045
25046 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
25047 PyObject *resultobj;
25048 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25049 wxPoint result;
25050 PyObject * obj0 = 0 ;
25051 char *kwnames[] = {
25052 (char *) "self", NULL
25053 };
25054
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
25056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 result = ((wxTreeEvent const *)arg1)->GetPoint();
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 {
25066 wxPoint * resultptr;
25067 resultptr = new wxPoint((wxPoint &) result);
25068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25069 }
25070 return resultobj;
25071 fail:
25072 return NULL;
25073 }
25074
25075
25076 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
25077 PyObject *resultobj;
25078 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25079 wxPoint *arg2 = 0 ;
25080 wxPoint temp2 ;
25081 PyObject * obj0 = 0 ;
25082 PyObject * obj1 = 0 ;
25083 char *kwnames[] = {
25084 (char *) "self",(char *) "pt", NULL
25085 };
25086
25087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
25088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25090 {
25091 arg2 = &temp2;
25092 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25093 }
25094 {
25095 PyThreadState* __tstate = wxPyBeginAllowThreads();
25096 (arg1)->SetPoint((wxPoint const &)*arg2);
25097
25098 wxPyEndAllowThreads(__tstate);
25099 if (PyErr_Occurred()) SWIG_fail;
25100 }
25101 Py_INCREF(Py_None); resultobj = Py_None;
25102 return resultobj;
25103 fail:
25104 return NULL;
25105 }
25106
25107
25108 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25109 PyObject *resultobj;
25110 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25111 wxKeyEvent *result;
25112 PyObject * obj0 = 0 ;
25113 char *kwnames[] = {
25114 (char *) "self", NULL
25115 };
25116
25117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
25118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 {
25123 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
25124 result = (wxKeyEvent *) &_result_ref;
25125 }
25126
25127 wxPyEndAllowThreads(__tstate);
25128 if (PyErr_Occurred()) SWIG_fail;
25129 }
25130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
25131 return resultobj;
25132 fail:
25133 return NULL;
25134 }
25135
25136
25137 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
25138 PyObject *resultobj;
25139 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25140 int result;
25141 PyObject * obj0 = 0 ;
25142 char *kwnames[] = {
25143 (char *) "self", NULL
25144 };
25145
25146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
25147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 resultobj = SWIG_From_int((int)result);
25157 return resultobj;
25158 fail:
25159 return NULL;
25160 }
25161
25162
25163 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25164 PyObject *resultobj;
25165 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25166 wxKeyEvent *arg2 = 0 ;
25167 PyObject * obj0 = 0 ;
25168 PyObject * obj1 = 0 ;
25169 char *kwnames[] = {
25170 (char *) "self",(char *) "evt", NULL
25171 };
25172
25173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
25174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
25177 SWIG_POINTER_EXCEPTION | 0)) == -1)
25178 SWIG_fail;
25179 if (arg2 == NULL) {
25180 PyErr_SetString(PyExc_TypeError,"null reference");
25181 SWIG_fail;
25182 }
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 Py_INCREF(Py_None); resultobj = Py_None;
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25198 PyObject *resultobj;
25199 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25200 wxString *result;
25201 PyObject * obj0 = 0 ;
25202 char *kwnames[] = {
25203 (char *) "self", NULL
25204 };
25205
25206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
25207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 {
25212 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
25213 result = (wxString *) &_result_ref;
25214 }
25215
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 {
25220 #if wxUSE_UNICODE
25221 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25222 #else
25223 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25224 #endif
25225 }
25226 return resultobj;
25227 fail:
25228 return NULL;
25229 }
25230
25231
25232 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25233 PyObject *resultobj;
25234 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25235 wxString *arg2 = 0 ;
25236 bool temp2 = false ;
25237 PyObject * obj0 = 0 ;
25238 PyObject * obj1 = 0 ;
25239 char *kwnames[] = {
25240 (char *) "self",(char *) "label", NULL
25241 };
25242
25243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
25244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25246 {
25247 arg2 = wxString_in_helper(obj1);
25248 if (arg2 == NULL) SWIG_fail;
25249 temp2 = true;
25250 }
25251 {
25252 PyThreadState* __tstate = wxPyBeginAllowThreads();
25253 (arg1)->SetLabel((wxString const &)*arg2);
25254
25255 wxPyEndAllowThreads(__tstate);
25256 if (PyErr_Occurred()) SWIG_fail;
25257 }
25258 Py_INCREF(Py_None); resultobj = Py_None;
25259 {
25260 if (temp2)
25261 delete arg2;
25262 }
25263 return resultobj;
25264 fail:
25265 {
25266 if (temp2)
25267 delete arg2;
25268 }
25269 return NULL;
25270 }
25271
25272
25273 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
25274 PyObject *resultobj;
25275 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25276 bool result;
25277 PyObject * obj0 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
25283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
25288
25289 wxPyEndAllowThreads(__tstate);
25290 if (PyErr_Occurred()) SWIG_fail;
25291 }
25292 {
25293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25294 }
25295 return resultobj;
25296 fail:
25297 return NULL;
25298 }
25299
25300
25301 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
25302 PyObject *resultobj;
25303 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25304 bool arg2 ;
25305 PyObject * obj0 = 0 ;
25306 PyObject * obj1 = 0 ;
25307 char *kwnames[] = {
25308 (char *) "self",(char *) "editCancelled", NULL
25309 };
25310
25311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
25312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25314 arg2 = (bool)SWIG_As_bool(obj1);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 (arg1)->SetEditCanceled(arg2);
25319
25320 wxPyEndAllowThreads(__tstate);
25321 if (PyErr_Occurred()) SWIG_fail;
25322 }
25323 Py_INCREF(Py_None); resultobj = Py_None;
25324 return resultobj;
25325 fail:
25326 return NULL;
25327 }
25328
25329
25330 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
25331 PyObject *resultobj;
25332 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25333 wxString *arg2 = 0 ;
25334 bool temp2 = false ;
25335 PyObject * obj0 = 0 ;
25336 PyObject * obj1 = 0 ;
25337 char *kwnames[] = {
25338 (char *) "self",(char *) "toolTip", NULL
25339 };
25340
25341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
25342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25344 {
25345 arg2 = wxString_in_helper(obj1);
25346 if (arg2 == NULL) SWIG_fail;
25347 temp2 = true;
25348 }
25349 {
25350 PyThreadState* __tstate = wxPyBeginAllowThreads();
25351 (arg1)->SetToolTip((wxString const &)*arg2);
25352
25353 wxPyEndAllowThreads(__tstate);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 }
25356 Py_INCREF(Py_None); resultobj = Py_None;
25357 {
25358 if (temp2)
25359 delete arg2;
25360 }
25361 return resultobj;
25362 fail:
25363 {
25364 if (temp2)
25365 delete arg2;
25366 }
25367 return NULL;
25368 }
25369
25370
25371 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
25372 PyObject *obj;
25373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25374 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25375 Py_INCREF(obj);
25376 return Py_BuildValue((char *)"");
25377 }
25378 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25379 PyObject *resultobj;
25380 wxWindow *arg1 = (wxWindow *) 0 ;
25381 int arg2 = (int) -1 ;
25382 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25383 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25384 wxSize const &arg4_defvalue = wxDefaultSize ;
25385 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25386 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25387 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25388 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25389 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
25390 wxString *arg7 = (wxString *) &arg7_defvalue ;
25391 wxPyTreeCtrl *result;
25392 wxPoint temp3 ;
25393 wxSize temp4 ;
25394 bool temp7 = false ;
25395 PyObject * obj0 = 0 ;
25396 PyObject * obj1 = 0 ;
25397 PyObject * obj2 = 0 ;
25398 PyObject * obj3 = 0 ;
25399 PyObject * obj4 = 0 ;
25400 PyObject * obj5 = 0 ;
25401 PyObject * obj6 = 0 ;
25402 char *kwnames[] = {
25403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25404 };
25405
25406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25409 if (obj1) {
25410 arg2 = (int)SWIG_As_int(obj1);
25411 if (PyErr_Occurred()) SWIG_fail;
25412 }
25413 if (obj2) {
25414 {
25415 arg3 = &temp3;
25416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25417 }
25418 }
25419 if (obj3) {
25420 {
25421 arg4 = &temp4;
25422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25423 }
25424 }
25425 if (obj4) {
25426 arg5 = (long)SWIG_As_long(obj4);
25427 if (PyErr_Occurred()) SWIG_fail;
25428 }
25429 if (obj5) {
25430 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25431 SWIG_POINTER_EXCEPTION | 0)) == -1)
25432 SWIG_fail;
25433 if (arg6 == NULL) {
25434 PyErr_SetString(PyExc_TypeError,"null reference");
25435 SWIG_fail;
25436 }
25437 }
25438 if (obj6) {
25439 {
25440 arg7 = wxString_in_helper(obj6);
25441 if (arg7 == NULL) SWIG_fail;
25442 temp7 = true;
25443 }
25444 }
25445 {
25446 if (!wxPyCheckForApp()) SWIG_fail;
25447 PyThreadState* __tstate = wxPyBeginAllowThreads();
25448 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25449
25450 wxPyEndAllowThreads(__tstate);
25451 if (PyErr_Occurred()) SWIG_fail;
25452 }
25453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25454 {
25455 if (temp7)
25456 delete arg7;
25457 }
25458 return resultobj;
25459 fail:
25460 {
25461 if (temp7)
25462 delete arg7;
25463 }
25464 return NULL;
25465 }
25466
25467
25468 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25469 PyObject *resultobj;
25470 wxPyTreeCtrl *result;
25471 char *kwnames[] = {
25472 NULL
25473 };
25474
25475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25476 {
25477 if (!wxPyCheckForApp()) SWIG_fail;
25478 PyThreadState* __tstate = wxPyBeginAllowThreads();
25479 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25480
25481 wxPyEndAllowThreads(__tstate);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25485 return resultobj;
25486 fail:
25487 return NULL;
25488 }
25489
25490
25491 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
25492 PyObject *resultobj;
25493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25494 wxWindow *arg2 = (wxWindow *) 0 ;
25495 int arg3 = (int) -1 ;
25496 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25497 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25498 wxSize const &arg5_defvalue = wxDefaultSize ;
25499 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25500 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25501 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25502 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25503 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25504 wxString *arg8 = (wxString *) &arg8_defvalue ;
25505 bool result;
25506 wxPoint temp4 ;
25507 wxSize temp5 ;
25508 bool temp8 = false ;
25509 PyObject * obj0 = 0 ;
25510 PyObject * obj1 = 0 ;
25511 PyObject * obj2 = 0 ;
25512 PyObject * obj3 = 0 ;
25513 PyObject * obj4 = 0 ;
25514 PyObject * obj5 = 0 ;
25515 PyObject * obj6 = 0 ;
25516 PyObject * obj7 = 0 ;
25517 char *kwnames[] = {
25518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25519 };
25520
25521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25526 if (obj2) {
25527 arg3 = (int)SWIG_As_int(obj2);
25528 if (PyErr_Occurred()) SWIG_fail;
25529 }
25530 if (obj3) {
25531 {
25532 arg4 = &temp4;
25533 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25534 }
25535 }
25536 if (obj4) {
25537 {
25538 arg5 = &temp5;
25539 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25540 }
25541 }
25542 if (obj5) {
25543 arg6 = (long)SWIG_As_long(obj5);
25544 if (PyErr_Occurred()) SWIG_fail;
25545 }
25546 if (obj6) {
25547 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25548 SWIG_POINTER_EXCEPTION | 0)) == -1)
25549 SWIG_fail;
25550 if (arg7 == NULL) {
25551 PyErr_SetString(PyExc_TypeError,"null reference");
25552 SWIG_fail;
25553 }
25554 }
25555 if (obj7) {
25556 {
25557 arg8 = wxString_in_helper(obj7);
25558 if (arg8 == NULL) SWIG_fail;
25559 temp8 = true;
25560 }
25561 }
25562 {
25563 PyThreadState* __tstate = wxPyBeginAllowThreads();
25564 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25565
25566 wxPyEndAllowThreads(__tstate);
25567 if (PyErr_Occurred()) SWIG_fail;
25568 }
25569 {
25570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25571 }
25572 {
25573 if (temp8)
25574 delete arg8;
25575 }
25576 return resultobj;
25577 fail:
25578 {
25579 if (temp8)
25580 delete arg8;
25581 }
25582 return NULL;
25583 }
25584
25585
25586 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25587 PyObject *resultobj;
25588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25589 PyObject *arg2 = (PyObject *) 0 ;
25590 PyObject *arg3 = (PyObject *) 0 ;
25591 PyObject * obj0 = 0 ;
25592 PyObject * obj1 = 0 ;
25593 PyObject * obj2 = 0 ;
25594 char *kwnames[] = {
25595 (char *) "self",(char *) "self",(char *) "_class", NULL
25596 };
25597
25598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25601 arg2 = obj1;
25602 arg3 = obj2;
25603 {
25604 PyThreadState* __tstate = wxPyBeginAllowThreads();
25605 (arg1)->_setCallbackInfo(arg2,arg3);
25606
25607 wxPyEndAllowThreads(__tstate);
25608 if (PyErr_Occurred()) SWIG_fail;
25609 }
25610 Py_INCREF(Py_None); resultobj = Py_None;
25611 return resultobj;
25612 fail:
25613 return NULL;
25614 }
25615
25616
25617 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
25618 PyObject *resultobj;
25619 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25620 size_t result;
25621 PyObject * obj0 = 0 ;
25622 char *kwnames[] = {
25623 (char *) "self", NULL
25624 };
25625
25626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25646 unsigned int result;
25647 PyObject * obj0 = 0 ;
25648 char *kwnames[] = {
25649 (char *) "self", NULL
25650 };
25651
25652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25658
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
25663 return resultobj;
25664 fail:
25665 return NULL;
25666 }
25667
25668
25669 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
25670 PyObject *resultobj;
25671 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25672 unsigned int arg2 ;
25673 PyObject * obj0 = 0 ;
25674 PyObject * obj1 = 0 ;
25675 char *kwnames[] = {
25676 (char *) "self",(char *) "indent", NULL
25677 };
25678
25679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25682 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
25683 if (PyErr_Occurred()) SWIG_fail;
25684 {
25685 PyThreadState* __tstate = wxPyBeginAllowThreads();
25686 (arg1)->SetIndent(arg2);
25687
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 Py_INCREF(Py_None); resultobj = Py_None;
25692 return resultobj;
25693 fail:
25694 return NULL;
25695 }
25696
25697
25698 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25699 PyObject *resultobj;
25700 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25701 unsigned int result;
25702 PyObject * obj0 = 0 ;
25703 char *kwnames[] = {
25704 (char *) "self", NULL
25705 };
25706
25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25710 {
25711 PyThreadState* __tstate = wxPyBeginAllowThreads();
25712 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25713
25714 wxPyEndAllowThreads(__tstate);
25715 if (PyErr_Occurred()) SWIG_fail;
25716 }
25717 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
25718 return resultobj;
25719 fail:
25720 return NULL;
25721 }
25722
25723
25724 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25725 PyObject *resultobj;
25726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25727 unsigned int arg2 ;
25728 PyObject * obj0 = 0 ;
25729 PyObject * obj1 = 0 ;
25730 char *kwnames[] = {
25731 (char *) "self",(char *) "spacing", NULL
25732 };
25733
25734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25737 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
25738 if (PyErr_Occurred()) SWIG_fail;
25739 {
25740 PyThreadState* __tstate = wxPyBeginAllowThreads();
25741 (arg1)->SetSpacing(arg2);
25742
25743 wxPyEndAllowThreads(__tstate);
25744 if (PyErr_Occurred()) SWIG_fail;
25745 }
25746 Py_INCREF(Py_None); resultobj = Py_None;
25747 return resultobj;
25748 fail:
25749 return NULL;
25750 }
25751
25752
25753 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25754 PyObject *resultobj;
25755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25756 wxImageList *result;
25757 PyObject * obj0 = 0 ;
25758 char *kwnames[] = {
25759 (char *) "self", NULL
25760 };
25761
25762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25765 {
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25768
25769 wxPyEndAllowThreads(__tstate);
25770 if (PyErr_Occurred()) SWIG_fail;
25771 }
25772 {
25773 resultobj = wxPyMake_wxObject(result, 0);
25774 }
25775 return resultobj;
25776 fail:
25777 return NULL;
25778 }
25779
25780
25781 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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_GetStateImageList",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)->GetStateImageList();
25796
25797 wxPyEndAllowThreads(__tstate);
25798 if (PyErr_Occurred()) SWIG_fail;
25799 }
25800 {
25801 resultobj = wxPyMake_wxObject(result, 0);
25802 }
25803 return resultobj;
25804 fail:
25805 return NULL;
25806 }
25807
25808
25809 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25810 PyObject *resultobj;
25811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25812 wxImageList *arg2 = (wxImageList *) 0 ;
25813 PyObject * obj0 = 0 ;
25814 PyObject * obj1 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self",(char *) "imageList", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25824 {
25825 PyThreadState* __tstate = wxPyBeginAllowThreads();
25826 (arg1)->SetImageList(arg2);
25827
25828 wxPyEndAllowThreads(__tstate);
25829 if (PyErr_Occurred()) SWIG_fail;
25830 }
25831 Py_INCREF(Py_None); resultobj = Py_None;
25832 return resultobj;
25833 fail:
25834 return NULL;
25835 }
25836
25837
25838 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25839 PyObject *resultobj;
25840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25841 wxImageList *arg2 = (wxImageList *) 0 ;
25842 PyObject * obj0 = 0 ;
25843 PyObject * obj1 = 0 ;
25844 char *kwnames[] = {
25845 (char *) "self",(char *) "imageList", NULL
25846 };
25847
25848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 (arg1)->SetStateImageList(arg2);
25856
25857 wxPyEndAllowThreads(__tstate);
25858 if (PyErr_Occurred()) SWIG_fail;
25859 }
25860 Py_INCREF(Py_None); resultobj = Py_None;
25861 return resultobj;
25862 fail:
25863 return NULL;
25864 }
25865
25866
25867 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25868 PyObject *resultobj;
25869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25870 wxImageList *arg2 = (wxImageList *) 0 ;
25871 PyObject * obj0 = 0 ;
25872 PyObject * obj1 = 0 ;
25873 char *kwnames[] = {
25874 (char *) "self",(char *) "imageList", NULL
25875 };
25876
25877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25881 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 (arg1)->AssignImageList(arg2);
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
25889 Py_INCREF(Py_None); resultobj = Py_None;
25890 return resultobj;
25891 fail:
25892 return NULL;
25893 }
25894
25895
25896 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25897 PyObject *resultobj;
25898 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25899 wxImageList *arg2 = (wxImageList *) 0 ;
25900 PyObject * obj0 = 0 ;
25901 PyObject * obj1 = 0 ;
25902 char *kwnames[] = {
25903 (char *) "self",(char *) "imageList", NULL
25904 };
25905
25906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25910 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25911 {
25912 PyThreadState* __tstate = wxPyBeginAllowThreads();
25913 (arg1)->AssignStateImageList(arg2);
25914
25915 wxPyEndAllowThreads(__tstate);
25916 if (PyErr_Occurred()) SWIG_fail;
25917 }
25918 Py_INCREF(Py_None); resultobj = Py_None;
25919 return resultobj;
25920 fail:
25921 return NULL;
25922 }
25923
25924
25925 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
25926 PyObject *resultobj;
25927 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25928 wxTreeItemId *arg2 = 0 ;
25929 wxString result;
25930 PyObject * obj0 = 0 ;
25931 PyObject * obj1 = 0 ;
25932 char *kwnames[] = {
25933 (char *) "self",(char *) "item", NULL
25934 };
25935
25936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25940 SWIG_POINTER_EXCEPTION | 0)) == -1)
25941 SWIG_fail;
25942 if (arg2 == NULL) {
25943 PyErr_SetString(PyExc_TypeError,"null reference");
25944 SWIG_fail;
25945 }
25946 {
25947 PyThreadState* __tstate = wxPyBeginAllowThreads();
25948 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25949
25950 wxPyEndAllowThreads(__tstate);
25951 if (PyErr_Occurred()) SWIG_fail;
25952 }
25953 {
25954 #if wxUSE_UNICODE
25955 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25956 #else
25957 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25958 #endif
25959 }
25960 return resultobj;
25961 fail:
25962 return NULL;
25963 }
25964
25965
25966 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
25967 PyObject *resultobj;
25968 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25969 wxTreeItemId *arg2 = 0 ;
25970 int arg3 = (int) wxTreeItemIcon_Normal ;
25971 int result;
25972 PyObject * obj0 = 0 ;
25973 PyObject * obj1 = 0 ;
25974 PyObject * obj2 = 0 ;
25975 char *kwnames[] = {
25976 (char *) "self",(char *) "item",(char *) "which", NULL
25977 };
25978
25979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25983 SWIG_POINTER_EXCEPTION | 0)) == -1)
25984 SWIG_fail;
25985 if (arg2 == NULL) {
25986 PyErr_SetString(PyExc_TypeError,"null reference");
25987 SWIG_fail;
25988 }
25989 if (obj2) {
25990 arg3 = (int)SWIG_As_int(obj2);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 {
25994 PyThreadState* __tstate = wxPyBeginAllowThreads();
25995 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25996
25997 wxPyEndAllowThreads(__tstate);
25998 if (PyErr_Occurred()) SWIG_fail;
25999 }
26000 resultobj = SWIG_From_int((int)result);
26001 return resultobj;
26002 fail:
26003 return NULL;
26004 }
26005
26006
26007 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26008 PyObject *resultobj;
26009 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26010 wxTreeItemId *arg2 = 0 ;
26011 wxPyTreeItemData *result;
26012 PyObject * obj0 = 0 ;
26013 PyObject * obj1 = 0 ;
26014 char *kwnames[] = {
26015 (char *) "self",(char *) "item", NULL
26016 };
26017
26018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
26019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26022 SWIG_POINTER_EXCEPTION | 0)) == -1)
26023 SWIG_fail;
26024 if (arg2 == NULL) {
26025 PyErr_SetString(PyExc_TypeError,"null reference");
26026 SWIG_fail;
26027 }
26028 {
26029 PyThreadState* __tstate = wxPyBeginAllowThreads();
26030 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
26031
26032 wxPyEndAllowThreads(__tstate);
26033 if (PyErr_Occurred()) SWIG_fail;
26034 }
26035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
26036 return resultobj;
26037 fail:
26038 return NULL;
26039 }
26040
26041
26042 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
26043 PyObject *resultobj;
26044 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26045 wxTreeItemId *arg2 = 0 ;
26046 PyObject *result;
26047 PyObject * obj0 = 0 ;
26048 PyObject * obj1 = 0 ;
26049 char *kwnames[] = {
26050 (char *) "self",(char *) "item", NULL
26051 };
26052
26053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
26054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26057 SWIG_POINTER_EXCEPTION | 0)) == -1)
26058 SWIG_fail;
26059 if (arg2 == NULL) {
26060 PyErr_SetString(PyExc_TypeError,"null reference");
26061 SWIG_fail;
26062 }
26063 {
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
26066
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 resultobj = result;
26071 return resultobj;
26072 fail:
26073 return NULL;
26074 }
26075
26076
26077 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26078 PyObject *resultobj;
26079 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26080 wxTreeItemId *arg2 = 0 ;
26081 wxColour result;
26082 PyObject * obj0 = 0 ;
26083 PyObject * obj1 = 0 ;
26084 char *kwnames[] = {
26085 (char *) "self",(char *) "item", NULL
26086 };
26087
26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26092 SWIG_POINTER_EXCEPTION | 0)) == -1)
26093 SWIG_fail;
26094 if (arg2 == NULL) {
26095 PyErr_SetString(PyExc_TypeError,"null reference");
26096 SWIG_fail;
26097 }
26098 {
26099 PyThreadState* __tstate = wxPyBeginAllowThreads();
26100 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
26101
26102 wxPyEndAllowThreads(__tstate);
26103 if (PyErr_Occurred()) SWIG_fail;
26104 }
26105 {
26106 wxColour * resultptr;
26107 resultptr = new wxColour((wxColour &) result);
26108 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26109 }
26110 return resultobj;
26111 fail:
26112 return NULL;
26113 }
26114
26115
26116 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26117 PyObject *resultobj;
26118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26119 wxTreeItemId *arg2 = 0 ;
26120 wxColour result;
26121 PyObject * obj0 = 0 ;
26122 PyObject * obj1 = 0 ;
26123 char *kwnames[] = {
26124 (char *) "self",(char *) "item", NULL
26125 };
26126
26127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26131 SWIG_POINTER_EXCEPTION | 0)) == -1)
26132 SWIG_fail;
26133 if (arg2 == NULL) {
26134 PyErr_SetString(PyExc_TypeError,"null reference");
26135 SWIG_fail;
26136 }
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
26140
26141 wxPyEndAllowThreads(__tstate);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 {
26145 wxColour * resultptr;
26146 resultptr = new wxColour((wxColour &) result);
26147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26148 }
26149 return resultobj;
26150 fail:
26151 return NULL;
26152 }
26153
26154
26155 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26156 PyObject *resultobj;
26157 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26158 wxTreeItemId *arg2 = 0 ;
26159 wxFont result;
26160 PyObject * obj0 = 0 ;
26161 PyObject * obj1 = 0 ;
26162 char *kwnames[] = {
26163 (char *) "self",(char *) "item", NULL
26164 };
26165
26166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
26167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26170 SWIG_POINTER_EXCEPTION | 0)) == -1)
26171 SWIG_fail;
26172 if (arg2 == NULL) {
26173 PyErr_SetString(PyExc_TypeError,"null reference");
26174 SWIG_fail;
26175 }
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
26179
26180 wxPyEndAllowThreads(__tstate);
26181 if (PyErr_Occurred()) SWIG_fail;
26182 }
26183 {
26184 wxFont * resultptr;
26185 resultptr = new wxFont((wxFont &) result);
26186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
26187 }
26188 return resultobj;
26189 fail:
26190 return NULL;
26191 }
26192
26193
26194 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
26195 PyObject *resultobj;
26196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26197 wxTreeItemId *arg2 = 0 ;
26198 wxString *arg3 = 0 ;
26199 bool temp3 = false ;
26200 PyObject * obj0 = 0 ;
26201 PyObject * obj1 = 0 ;
26202 PyObject * obj2 = 0 ;
26203 char *kwnames[] = {
26204 (char *) "self",(char *) "item",(char *) "text", NULL
26205 };
26206
26207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
26208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26211 SWIG_POINTER_EXCEPTION | 0)) == -1)
26212 SWIG_fail;
26213 if (arg2 == NULL) {
26214 PyErr_SetString(PyExc_TypeError,"null reference");
26215 SWIG_fail;
26216 }
26217 {
26218 arg3 = wxString_in_helper(obj2);
26219 if (arg3 == NULL) SWIG_fail;
26220 temp3 = true;
26221 }
26222 {
26223 PyThreadState* __tstate = wxPyBeginAllowThreads();
26224 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
26225
26226 wxPyEndAllowThreads(__tstate);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 }
26229 Py_INCREF(Py_None); resultobj = Py_None;
26230 {
26231 if (temp3)
26232 delete arg3;
26233 }
26234 return resultobj;
26235 fail:
26236 {
26237 if (temp3)
26238 delete arg3;
26239 }
26240 return NULL;
26241 }
26242
26243
26244 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
26245 PyObject *resultobj;
26246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26247 wxTreeItemId *arg2 = 0 ;
26248 int arg3 ;
26249 int arg4 = (int) wxTreeItemIcon_Normal ;
26250 PyObject * obj0 = 0 ;
26251 PyObject * obj1 = 0 ;
26252 PyObject * obj2 = 0 ;
26253 PyObject * obj3 = 0 ;
26254 char *kwnames[] = {
26255 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26256 };
26257
26258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26262 SWIG_POINTER_EXCEPTION | 0)) == -1)
26263 SWIG_fail;
26264 if (arg2 == NULL) {
26265 PyErr_SetString(PyExc_TypeError,"null reference");
26266 SWIG_fail;
26267 }
26268 arg3 = (int)SWIG_As_int(obj2);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 if (obj3) {
26271 arg4 = (int)SWIG_As_int(obj3);
26272 if (PyErr_Occurred()) SWIG_fail;
26273 }
26274 {
26275 PyThreadState* __tstate = wxPyBeginAllowThreads();
26276 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
26277
26278 wxPyEndAllowThreads(__tstate);
26279 if (PyErr_Occurred()) SWIG_fail;
26280 }
26281 Py_INCREF(Py_None); resultobj = Py_None;
26282 return resultobj;
26283 fail:
26284 return NULL;
26285 }
26286
26287
26288 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26289 PyObject *resultobj;
26290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26291 wxTreeItemId *arg2 = 0 ;
26292 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
26293 PyObject * obj0 = 0 ;
26294 PyObject * obj1 = 0 ;
26295 PyObject * obj2 = 0 ;
26296 char *kwnames[] = {
26297 (char *) "self",(char *) "item",(char *) "data", NULL
26298 };
26299
26300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26304 SWIG_POINTER_EXCEPTION | 0)) == -1)
26305 SWIG_fail;
26306 if (arg2 == NULL) {
26307 PyErr_SetString(PyExc_TypeError,"null reference");
26308 SWIG_fail;
26309 }
26310 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
26311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
26315
26316 wxPyEndAllowThreads(__tstate);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 }
26319 Py_INCREF(Py_None); resultobj = Py_None;
26320 return resultobj;
26321 fail:
26322 return NULL;
26323 }
26324
26325
26326 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
26327 PyObject *resultobj;
26328 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26329 wxTreeItemId *arg2 = 0 ;
26330 PyObject *arg3 = (PyObject *) 0 ;
26331 PyObject * obj0 = 0 ;
26332 PyObject * obj1 = 0 ;
26333 PyObject * obj2 = 0 ;
26334 char *kwnames[] = {
26335 (char *) "self",(char *) "item",(char *) "obj", NULL
26336 };
26337
26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26342 SWIG_POINTER_EXCEPTION | 0)) == -1)
26343 SWIG_fail;
26344 if (arg2 == NULL) {
26345 PyErr_SetString(PyExc_TypeError,"null reference");
26346 SWIG_fail;
26347 }
26348 arg3 = obj2;
26349 {
26350 PyThreadState* __tstate = wxPyBeginAllowThreads();
26351 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
26352
26353 wxPyEndAllowThreads(__tstate);
26354 if (PyErr_Occurred()) SWIG_fail;
26355 }
26356 Py_INCREF(Py_None); resultobj = Py_None;
26357 return resultobj;
26358 fail:
26359 return NULL;
26360 }
26361
26362
26363 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26364 PyObject *resultobj;
26365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26366 wxTreeItemId *arg2 = 0 ;
26367 bool arg3 = (bool) true ;
26368 PyObject * obj0 = 0 ;
26369 PyObject * obj1 = 0 ;
26370 PyObject * obj2 = 0 ;
26371 char *kwnames[] = {
26372 (char *) "self",(char *) "item",(char *) "has", NULL
26373 };
26374
26375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
26376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26379 SWIG_POINTER_EXCEPTION | 0)) == -1)
26380 SWIG_fail;
26381 if (arg2 == NULL) {
26382 PyErr_SetString(PyExc_TypeError,"null reference");
26383 SWIG_fail;
26384 }
26385 if (obj2) {
26386 arg3 = (bool)SWIG_As_bool(obj2);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 }
26389 {
26390 PyThreadState* __tstate = wxPyBeginAllowThreads();
26391 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26392
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
26396 Py_INCREF(Py_None); resultobj = Py_None;
26397 return resultobj;
26398 fail:
26399 return NULL;
26400 }
26401
26402
26403 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
26404 PyObject *resultobj;
26405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26406 wxTreeItemId *arg2 = 0 ;
26407 bool arg3 = (bool) true ;
26408 PyObject * obj0 = 0 ;
26409 PyObject * obj1 = 0 ;
26410 PyObject * obj2 = 0 ;
26411 char *kwnames[] = {
26412 (char *) "self",(char *) "item",(char *) "bold", NULL
26413 };
26414
26415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
26416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26419 SWIG_POINTER_EXCEPTION | 0)) == -1)
26420 SWIG_fail;
26421 if (arg2 == NULL) {
26422 PyErr_SetString(PyExc_TypeError,"null reference");
26423 SWIG_fail;
26424 }
26425 if (obj2) {
26426 arg3 = (bool)SWIG_As_bool(obj2);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 {
26430 PyThreadState* __tstate = wxPyBeginAllowThreads();
26431 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26432
26433 wxPyEndAllowThreads(__tstate);
26434 if (PyErr_Occurred()) SWIG_fail;
26435 }
26436 Py_INCREF(Py_None); resultobj = Py_None;
26437 return resultobj;
26438 fail:
26439 return NULL;
26440 }
26441
26442
26443 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26444 PyObject *resultobj;
26445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26446 wxTreeItemId *arg2 = 0 ;
26447 wxColour *arg3 = 0 ;
26448 wxColour temp3 ;
26449 PyObject * obj0 = 0 ;
26450 PyObject * obj1 = 0 ;
26451 PyObject * obj2 = 0 ;
26452 char *kwnames[] = {
26453 (char *) "self",(char *) "item",(char *) "col", NULL
26454 };
26455
26456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26460 SWIG_POINTER_EXCEPTION | 0)) == -1)
26461 SWIG_fail;
26462 if (arg2 == NULL) {
26463 PyErr_SetString(PyExc_TypeError,"null reference");
26464 SWIG_fail;
26465 }
26466 {
26467 arg3 = &temp3;
26468 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26469 }
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26473
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 Py_INCREF(Py_None); resultobj = Py_None;
26478 return resultobj;
26479 fail:
26480 return NULL;
26481 }
26482
26483
26484 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26485 PyObject *resultobj;
26486 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26487 wxTreeItemId *arg2 = 0 ;
26488 wxColour *arg3 = 0 ;
26489 wxColour temp3 ;
26490 PyObject * obj0 = 0 ;
26491 PyObject * obj1 = 0 ;
26492 PyObject * obj2 = 0 ;
26493 char *kwnames[] = {
26494 (char *) "self",(char *) "item",(char *) "col", NULL
26495 };
26496
26497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26501 SWIG_POINTER_EXCEPTION | 0)) == -1)
26502 SWIG_fail;
26503 if (arg2 == NULL) {
26504 PyErr_SetString(PyExc_TypeError,"null reference");
26505 SWIG_fail;
26506 }
26507 {
26508 arg3 = &temp3;
26509 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26510 }
26511 {
26512 PyThreadState* __tstate = wxPyBeginAllowThreads();
26513 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26514
26515 wxPyEndAllowThreads(__tstate);
26516 if (PyErr_Occurred()) SWIG_fail;
26517 }
26518 Py_INCREF(Py_None); resultobj = Py_None;
26519 return resultobj;
26520 fail:
26521 return NULL;
26522 }
26523
26524
26525 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26526 PyObject *resultobj;
26527 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26528 wxTreeItemId *arg2 = 0 ;
26529 wxFont *arg3 = 0 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 PyObject * obj2 = 0 ;
26533 char *kwnames[] = {
26534 (char *) "self",(char *) "item",(char *) "font", NULL
26535 };
26536
26537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26541 SWIG_POINTER_EXCEPTION | 0)) == -1)
26542 SWIG_fail;
26543 if (arg2 == NULL) {
26544 PyErr_SetString(PyExc_TypeError,"null reference");
26545 SWIG_fail;
26546 }
26547 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26548 SWIG_POINTER_EXCEPTION | 0)) == -1)
26549 SWIG_fail;
26550 if (arg3 == NULL) {
26551 PyErr_SetString(PyExc_TypeError,"null reference");
26552 SWIG_fail;
26553 }
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26557
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
26561 Py_INCREF(Py_None); resultobj = Py_None;
26562 return resultobj;
26563 fail:
26564 return NULL;
26565 }
26566
26567
26568 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26569 PyObject *resultobj;
26570 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26571 wxTreeItemId *arg2 = 0 ;
26572 bool result;
26573 PyObject * obj0 = 0 ;
26574 PyObject * obj1 = 0 ;
26575 char *kwnames[] = {
26576 (char *) "self",(char *) "item", NULL
26577 };
26578
26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26583 SWIG_POINTER_EXCEPTION | 0)) == -1)
26584 SWIG_fail;
26585 if (arg2 == NULL) {
26586 PyErr_SetString(PyExc_TypeError,"null reference");
26587 SWIG_fail;
26588 }
26589 {
26590 PyThreadState* __tstate = wxPyBeginAllowThreads();
26591 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26592
26593 wxPyEndAllowThreads(__tstate);
26594 if (PyErr_Occurred()) SWIG_fail;
26595 }
26596 {
26597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26598 }
26599 return resultobj;
26600 fail:
26601 return NULL;
26602 }
26603
26604
26605 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26606 PyObject *resultobj;
26607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26608 wxTreeItemId *arg2 = 0 ;
26609 bool result;
26610 PyObject * obj0 = 0 ;
26611 PyObject * obj1 = 0 ;
26612 char *kwnames[] = {
26613 (char *) "self",(char *) "item", NULL
26614 };
26615
26616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26620 SWIG_POINTER_EXCEPTION | 0)) == -1)
26621 SWIG_fail;
26622 if (arg2 == NULL) {
26623 PyErr_SetString(PyExc_TypeError,"null reference");
26624 SWIG_fail;
26625 }
26626 {
26627 PyThreadState* __tstate = wxPyBeginAllowThreads();
26628 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26629
26630 wxPyEndAllowThreads(__tstate);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 }
26633 {
26634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26635 }
26636 return resultobj;
26637 fail:
26638 return NULL;
26639 }
26640
26641
26642 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
26643 PyObject *resultobj;
26644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26645 wxTreeItemId *arg2 = 0 ;
26646 bool result;
26647 PyObject * obj0 = 0 ;
26648 PyObject * obj1 = 0 ;
26649 char *kwnames[] = {
26650 (char *) "self",(char *) "item", NULL
26651 };
26652
26653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26657 SWIG_POINTER_EXCEPTION | 0)) == -1)
26658 SWIG_fail;
26659 if (arg2 == NULL) {
26660 PyErr_SetString(PyExc_TypeError,"null reference");
26661 SWIG_fail;
26662 }
26663 {
26664 PyThreadState* __tstate = wxPyBeginAllowThreads();
26665 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26666
26667 wxPyEndAllowThreads(__tstate);
26668 if (PyErr_Occurred()) SWIG_fail;
26669 }
26670 {
26671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26672 }
26673 return resultobj;
26674 fail:
26675 return NULL;
26676 }
26677
26678
26679 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26680 PyObject *resultobj;
26681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26682 wxTreeItemId *arg2 = 0 ;
26683 bool result;
26684 PyObject * obj0 = 0 ;
26685 PyObject * obj1 = 0 ;
26686 char *kwnames[] = {
26687 (char *) "self",(char *) "item", NULL
26688 };
26689
26690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26694 SWIG_POINTER_EXCEPTION | 0)) == -1)
26695 SWIG_fail;
26696 if (arg2 == NULL) {
26697 PyErr_SetString(PyExc_TypeError,"null reference");
26698 SWIG_fail;
26699 }
26700 {
26701 PyThreadState* __tstate = wxPyBeginAllowThreads();
26702 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26703
26704 wxPyEndAllowThreads(__tstate);
26705 if (PyErr_Occurred()) SWIG_fail;
26706 }
26707 {
26708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26709 }
26710 return resultobj;
26711 fail:
26712 return NULL;
26713 }
26714
26715
26716 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
26717 PyObject *resultobj;
26718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26719 wxTreeItemId *arg2 = 0 ;
26720 bool result;
26721 PyObject * obj0 = 0 ;
26722 PyObject * obj1 = 0 ;
26723 char *kwnames[] = {
26724 (char *) "self",(char *) "item", NULL
26725 };
26726
26727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26731 SWIG_POINTER_EXCEPTION | 0)) == -1)
26732 SWIG_fail;
26733 if (arg2 == NULL) {
26734 PyErr_SetString(PyExc_TypeError,"null reference");
26735 SWIG_fail;
26736 }
26737 {
26738 PyThreadState* __tstate = wxPyBeginAllowThreads();
26739 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26740
26741 wxPyEndAllowThreads(__tstate);
26742 if (PyErr_Occurred()) SWIG_fail;
26743 }
26744 {
26745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26746 }
26747 return resultobj;
26748 fail:
26749 return NULL;
26750 }
26751
26752
26753 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
26754 PyObject *resultobj;
26755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26756 wxTreeItemId *arg2 = 0 ;
26757 bool arg3 = (bool) true ;
26758 size_t result;
26759 PyObject * obj0 = 0 ;
26760 PyObject * obj1 = 0 ;
26761 PyObject * obj2 = 0 ;
26762 char *kwnames[] = {
26763 (char *) "self",(char *) "item",(char *) "recursively", NULL
26764 };
26765
26766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26770 SWIG_POINTER_EXCEPTION | 0)) == -1)
26771 SWIG_fail;
26772 if (arg2 == NULL) {
26773 PyErr_SetString(PyExc_TypeError,"null reference");
26774 SWIG_fail;
26775 }
26776 if (obj2) {
26777 arg3 = (bool)SWIG_As_bool(obj2);
26778 if (PyErr_Occurred()) SWIG_fail;
26779 }
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26783
26784 wxPyEndAllowThreads(__tstate);
26785 if (PyErr_Occurred()) SWIG_fail;
26786 }
26787 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
26788 return resultobj;
26789 fail:
26790 return NULL;
26791 }
26792
26793
26794 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
26795 PyObject *resultobj;
26796 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26797 wxTreeItemId result;
26798 PyObject * obj0 = 0 ;
26799 char *kwnames[] = {
26800 (char *) "self", NULL
26801 };
26802
26803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26806 {
26807 PyThreadState* __tstate = wxPyBeginAllowThreads();
26808 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26809
26810 wxPyEndAllowThreads(__tstate);
26811 if (PyErr_Occurred()) SWIG_fail;
26812 }
26813 {
26814 wxTreeItemId * resultptr;
26815 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26816 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26817 }
26818 return resultobj;
26819 fail:
26820 return NULL;
26821 }
26822
26823
26824 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
26825 PyObject *resultobj;
26826 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26827 wxTreeItemId result;
26828 PyObject * obj0 = 0 ;
26829 char *kwnames[] = {
26830 (char *) "self", NULL
26831 };
26832
26833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26836 {
26837 PyThreadState* __tstate = wxPyBeginAllowThreads();
26838 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26839
26840 wxPyEndAllowThreads(__tstate);
26841 if (PyErr_Occurred()) SWIG_fail;
26842 }
26843 {
26844 wxTreeItemId * resultptr;
26845 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26847 }
26848 return resultobj;
26849 fail:
26850 return NULL;
26851 }
26852
26853
26854 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
26855 PyObject *resultobj;
26856 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26857 PyObject *result;
26858 PyObject * obj0 = 0 ;
26859 char *kwnames[] = {
26860 (char *) "self", NULL
26861 };
26862
26863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26869
26870 wxPyEndAllowThreads(__tstate);
26871 if (PyErr_Occurred()) SWIG_fail;
26872 }
26873 resultobj = result;
26874 return resultobj;
26875 fail:
26876 return NULL;
26877 }
26878
26879
26880 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
26881 PyObject *resultobj;
26882 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26883 wxTreeItemId *arg2 = 0 ;
26884 wxTreeItemId result;
26885 PyObject * obj0 = 0 ;
26886 PyObject * obj1 = 0 ;
26887 char *kwnames[] = {
26888 (char *) "self",(char *) "item", NULL
26889 };
26890
26891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26895 SWIG_POINTER_EXCEPTION | 0)) == -1)
26896 SWIG_fail;
26897 if (arg2 == NULL) {
26898 PyErr_SetString(PyExc_TypeError,"null reference");
26899 SWIG_fail;
26900 }
26901 {
26902 PyThreadState* __tstate = wxPyBeginAllowThreads();
26903 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26904
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 {
26909 wxTreeItemId * resultptr;
26910 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26912 }
26913 return resultobj;
26914 fail:
26915 return NULL;
26916 }
26917
26918
26919 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
26920 PyObject *resultobj;
26921 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26922 wxTreeItemId *arg2 = 0 ;
26923 PyObject *result;
26924 PyObject * obj0 = 0 ;
26925 PyObject * obj1 = 0 ;
26926 char *kwnames[] = {
26927 (char *) "self",(char *) "item", NULL
26928 };
26929
26930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26933 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26934 SWIG_POINTER_EXCEPTION | 0)) == -1)
26935 SWIG_fail;
26936 if (arg2 == NULL) {
26937 PyErr_SetString(PyExc_TypeError,"null reference");
26938 SWIG_fail;
26939 }
26940 {
26941 PyThreadState* __tstate = wxPyBeginAllowThreads();
26942 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26943
26944 wxPyEndAllowThreads(__tstate);
26945 if (PyErr_Occurred()) SWIG_fail;
26946 }
26947 resultobj = result;
26948 return resultobj;
26949 fail:
26950 return NULL;
26951 }
26952
26953
26954 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
26955 PyObject *resultobj;
26956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26957 wxTreeItemId *arg2 = 0 ;
26958 void *arg3 = (void *) 0 ;
26959 PyObject *result;
26960 PyObject * obj0 = 0 ;
26961 PyObject * obj1 = 0 ;
26962 PyObject * obj2 = 0 ;
26963 char *kwnames[] = {
26964 (char *) "self",(char *) "item",(char *) "cookie", NULL
26965 };
26966
26967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26971 SWIG_POINTER_EXCEPTION | 0)) == -1)
26972 SWIG_fail;
26973 if (arg2 == NULL) {
26974 PyErr_SetString(PyExc_TypeError,"null reference");
26975 SWIG_fail;
26976 }
26977 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26978 {
26979 PyThreadState* __tstate = wxPyBeginAllowThreads();
26980 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
26981
26982 wxPyEndAllowThreads(__tstate);
26983 if (PyErr_Occurred()) SWIG_fail;
26984 }
26985 resultobj = result;
26986 return resultobj;
26987 fail:
26988 return NULL;
26989 }
26990
26991
26992 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
26993 PyObject *resultobj;
26994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26995 wxTreeItemId *arg2 = 0 ;
26996 wxTreeItemId result;
26997 PyObject * obj0 = 0 ;
26998 PyObject * obj1 = 0 ;
26999 char *kwnames[] = {
27000 (char *) "self",(char *) "item", NULL
27001 };
27002
27003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
27004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27007 SWIG_POINTER_EXCEPTION | 0)) == -1)
27008 SWIG_fail;
27009 if (arg2 == NULL) {
27010 PyErr_SetString(PyExc_TypeError,"null reference");
27011 SWIG_fail;
27012 }
27013 {
27014 PyThreadState* __tstate = wxPyBeginAllowThreads();
27015 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
27016
27017 wxPyEndAllowThreads(__tstate);
27018 if (PyErr_Occurred()) SWIG_fail;
27019 }
27020 {
27021 wxTreeItemId * resultptr;
27022 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27024 }
27025 return resultobj;
27026 fail:
27027 return NULL;
27028 }
27029
27030
27031 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
27032 PyObject *resultobj;
27033 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27034 wxTreeItemId *arg2 = 0 ;
27035 wxTreeItemId result;
27036 PyObject * obj0 = 0 ;
27037 PyObject * obj1 = 0 ;
27038 char *kwnames[] = {
27039 (char *) "self",(char *) "item", NULL
27040 };
27041
27042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
27043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27046 SWIG_POINTER_EXCEPTION | 0)) == -1)
27047 SWIG_fail;
27048 if (arg2 == NULL) {
27049 PyErr_SetString(PyExc_TypeError,"null reference");
27050 SWIG_fail;
27051 }
27052 {
27053 PyThreadState* __tstate = wxPyBeginAllowThreads();
27054 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
27055
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 {
27060 wxTreeItemId * resultptr;
27061 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27063 }
27064 return resultobj;
27065 fail:
27066 return NULL;
27067 }
27068
27069
27070 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
27071 PyObject *resultobj;
27072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27073 wxTreeItemId *arg2 = 0 ;
27074 wxTreeItemId result;
27075 PyObject * obj0 = 0 ;
27076 PyObject * obj1 = 0 ;
27077 char *kwnames[] = {
27078 (char *) "self",(char *) "item", NULL
27079 };
27080
27081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
27082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27085 SWIG_POINTER_EXCEPTION | 0)) == -1)
27086 SWIG_fail;
27087 if (arg2 == NULL) {
27088 PyErr_SetString(PyExc_TypeError,"null reference");
27089 SWIG_fail;
27090 }
27091 {
27092 PyThreadState* __tstate = wxPyBeginAllowThreads();
27093 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
27094
27095 wxPyEndAllowThreads(__tstate);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
27098 {
27099 wxTreeItemId * resultptr;
27100 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27101 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27102 }
27103 return resultobj;
27104 fail:
27105 return NULL;
27106 }
27107
27108
27109 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
27110 PyObject *resultobj;
27111 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27112 wxTreeItemId result;
27113 PyObject * obj0 = 0 ;
27114 char *kwnames[] = {
27115 (char *) "self", NULL
27116 };
27117
27118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
27119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27121 {
27122 PyThreadState* __tstate = wxPyBeginAllowThreads();
27123 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
27124
27125 wxPyEndAllowThreads(__tstate);
27126 if (PyErr_Occurred()) SWIG_fail;
27127 }
27128 {
27129 wxTreeItemId * resultptr;
27130 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27131 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27132 }
27133 return resultobj;
27134 fail:
27135 return NULL;
27136 }
27137
27138
27139 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
27140 PyObject *resultobj;
27141 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27142 wxTreeItemId *arg2 = 0 ;
27143 wxTreeItemId result;
27144 PyObject * obj0 = 0 ;
27145 PyObject * obj1 = 0 ;
27146 char *kwnames[] = {
27147 (char *) "self",(char *) "item", NULL
27148 };
27149
27150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
27151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27154 SWIG_POINTER_EXCEPTION | 0)) == -1)
27155 SWIG_fail;
27156 if (arg2 == NULL) {
27157 PyErr_SetString(PyExc_TypeError,"null reference");
27158 SWIG_fail;
27159 }
27160 {
27161 PyThreadState* __tstate = wxPyBeginAllowThreads();
27162 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
27163
27164 wxPyEndAllowThreads(__tstate);
27165 if (PyErr_Occurred()) SWIG_fail;
27166 }
27167 {
27168 wxTreeItemId * resultptr;
27169 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27171 }
27172 return resultobj;
27173 fail:
27174 return NULL;
27175 }
27176
27177
27178 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
27179 PyObject *resultobj;
27180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27181 wxTreeItemId *arg2 = 0 ;
27182 wxTreeItemId result;
27183 PyObject * obj0 = 0 ;
27184 PyObject * obj1 = 0 ;
27185 char *kwnames[] = {
27186 (char *) "self",(char *) "item", NULL
27187 };
27188
27189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
27190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27193 SWIG_POINTER_EXCEPTION | 0)) == -1)
27194 SWIG_fail;
27195 if (arg2 == NULL) {
27196 PyErr_SetString(PyExc_TypeError,"null reference");
27197 SWIG_fail;
27198 }
27199 {
27200 PyThreadState* __tstate = wxPyBeginAllowThreads();
27201 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
27202
27203 wxPyEndAllowThreads(__tstate);
27204 if (PyErr_Occurred()) SWIG_fail;
27205 }
27206 {
27207 wxTreeItemId * resultptr;
27208 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27210 }
27211 return resultobj;
27212 fail:
27213 return NULL;
27214 }
27215
27216
27217 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
27218 PyObject *resultobj;
27219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27220 wxString *arg2 = 0 ;
27221 int arg3 = (int) -1 ;
27222 int arg4 = (int) -1 ;
27223 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
27224 wxTreeItemId result;
27225 bool temp2 = false ;
27226 PyObject * obj0 = 0 ;
27227 PyObject * obj1 = 0 ;
27228 PyObject * obj2 = 0 ;
27229 PyObject * obj3 = 0 ;
27230 PyObject * obj4 = 0 ;
27231 char *kwnames[] = {
27232 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27233 };
27234
27235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27238 {
27239 arg2 = wxString_in_helper(obj1);
27240 if (arg2 == NULL) SWIG_fail;
27241 temp2 = true;
27242 }
27243 if (obj2) {
27244 arg3 = (int)SWIG_As_int(obj2);
27245 if (PyErr_Occurred()) SWIG_fail;
27246 }
27247 if (obj3) {
27248 arg4 = (int)SWIG_As_int(obj3);
27249 if (PyErr_Occurred()) SWIG_fail;
27250 }
27251 if (obj4) {
27252 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
27253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27254 }
27255 {
27256 PyThreadState* __tstate = wxPyBeginAllowThreads();
27257 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
27258
27259 wxPyEndAllowThreads(__tstate);
27260 if (PyErr_Occurred()) SWIG_fail;
27261 }
27262 {
27263 wxTreeItemId * resultptr;
27264 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27266 }
27267 {
27268 if (temp2)
27269 delete arg2;
27270 }
27271 return resultobj;
27272 fail:
27273 {
27274 if (temp2)
27275 delete arg2;
27276 }
27277 return NULL;
27278 }
27279
27280
27281 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
27282 PyObject *resultobj;
27283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27284 wxTreeItemId *arg2 = 0 ;
27285 wxString *arg3 = 0 ;
27286 int arg4 = (int) -1 ;
27287 int arg5 = (int) -1 ;
27288 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27289 wxTreeItemId result;
27290 bool temp3 = false ;
27291 PyObject * obj0 = 0 ;
27292 PyObject * obj1 = 0 ;
27293 PyObject * obj2 = 0 ;
27294 PyObject * obj3 = 0 ;
27295 PyObject * obj4 = 0 ;
27296 PyObject * obj5 = 0 ;
27297 char *kwnames[] = {
27298 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27299 };
27300
27301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27305 SWIG_POINTER_EXCEPTION | 0)) == -1)
27306 SWIG_fail;
27307 if (arg2 == NULL) {
27308 PyErr_SetString(PyExc_TypeError,"null reference");
27309 SWIG_fail;
27310 }
27311 {
27312 arg3 = wxString_in_helper(obj2);
27313 if (arg3 == NULL) SWIG_fail;
27314 temp3 = true;
27315 }
27316 if (obj3) {
27317 arg4 = (int)SWIG_As_int(obj3);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 if (obj4) {
27321 arg5 = (int)SWIG_As_int(obj4);
27322 if (PyErr_Occurred()) SWIG_fail;
27323 }
27324 if (obj5) {
27325 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27327 }
27328 {
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27331
27332 wxPyEndAllowThreads(__tstate);
27333 if (PyErr_Occurred()) SWIG_fail;
27334 }
27335 {
27336 wxTreeItemId * resultptr;
27337 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27339 }
27340 {
27341 if (temp3)
27342 delete arg3;
27343 }
27344 return resultobj;
27345 fail:
27346 {
27347 if (temp3)
27348 delete arg3;
27349 }
27350 return NULL;
27351 }
27352
27353
27354 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
27355 PyObject *resultobj;
27356 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27357 wxTreeItemId *arg2 = 0 ;
27358 wxTreeItemId *arg3 = 0 ;
27359 wxString *arg4 = 0 ;
27360 int arg5 = (int) -1 ;
27361 int arg6 = (int) -1 ;
27362 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27363 wxTreeItemId result;
27364 bool temp4 = false ;
27365 PyObject * obj0 = 0 ;
27366 PyObject * obj1 = 0 ;
27367 PyObject * obj2 = 0 ;
27368 PyObject * obj3 = 0 ;
27369 PyObject * obj4 = 0 ;
27370 PyObject * obj5 = 0 ;
27371 PyObject * obj6 = 0 ;
27372 char *kwnames[] = {
27373 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27374 };
27375
27376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27380 SWIG_POINTER_EXCEPTION | 0)) == -1)
27381 SWIG_fail;
27382 if (arg2 == NULL) {
27383 PyErr_SetString(PyExc_TypeError,"null reference");
27384 SWIG_fail;
27385 }
27386 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27387 SWIG_POINTER_EXCEPTION | 0)) == -1)
27388 SWIG_fail;
27389 if (arg3 == NULL) {
27390 PyErr_SetString(PyExc_TypeError,"null reference");
27391 SWIG_fail;
27392 }
27393 {
27394 arg4 = wxString_in_helper(obj3);
27395 if (arg4 == NULL) SWIG_fail;
27396 temp4 = true;
27397 }
27398 if (obj4) {
27399 arg5 = (int)SWIG_As_int(obj4);
27400 if (PyErr_Occurred()) SWIG_fail;
27401 }
27402 if (obj5) {
27403 arg6 = (int)SWIG_As_int(obj5);
27404 if (PyErr_Occurred()) SWIG_fail;
27405 }
27406 if (obj6) {
27407 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27409 }
27410 {
27411 PyThreadState* __tstate = wxPyBeginAllowThreads();
27412 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27413
27414 wxPyEndAllowThreads(__tstate);
27415 if (PyErr_Occurred()) SWIG_fail;
27416 }
27417 {
27418 wxTreeItemId * resultptr;
27419 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27420 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27421 }
27422 {
27423 if (temp4)
27424 delete arg4;
27425 }
27426 return resultobj;
27427 fail:
27428 {
27429 if (temp4)
27430 delete arg4;
27431 }
27432 return NULL;
27433 }
27434
27435
27436 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
27437 PyObject *resultobj;
27438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27439 wxTreeItemId *arg2 = 0 ;
27440 size_t arg3 ;
27441 wxString *arg4 = 0 ;
27442 int arg5 = (int) -1 ;
27443 int arg6 = (int) -1 ;
27444 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27445 wxTreeItemId result;
27446 bool temp4 = false ;
27447 PyObject * obj0 = 0 ;
27448 PyObject * obj1 = 0 ;
27449 PyObject * obj2 = 0 ;
27450 PyObject * obj3 = 0 ;
27451 PyObject * obj4 = 0 ;
27452 PyObject * obj5 = 0 ;
27453 PyObject * obj6 = 0 ;
27454 char *kwnames[] = {
27455 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27456 };
27457
27458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27462 SWIG_POINTER_EXCEPTION | 0)) == -1)
27463 SWIG_fail;
27464 if (arg2 == NULL) {
27465 PyErr_SetString(PyExc_TypeError,"null reference");
27466 SWIG_fail;
27467 }
27468 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
27469 if (PyErr_Occurred()) SWIG_fail;
27470 {
27471 arg4 = wxString_in_helper(obj3);
27472 if (arg4 == NULL) SWIG_fail;
27473 temp4 = true;
27474 }
27475 if (obj4) {
27476 arg5 = (int)SWIG_As_int(obj4);
27477 if (PyErr_Occurred()) SWIG_fail;
27478 }
27479 if (obj5) {
27480 arg6 = (int)SWIG_As_int(obj5);
27481 if (PyErr_Occurred()) SWIG_fail;
27482 }
27483 if (obj6) {
27484 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27486 }
27487 {
27488 PyThreadState* __tstate = wxPyBeginAllowThreads();
27489 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27490
27491 wxPyEndAllowThreads(__tstate);
27492 if (PyErr_Occurred()) SWIG_fail;
27493 }
27494 {
27495 wxTreeItemId * resultptr;
27496 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27498 }
27499 {
27500 if (temp4)
27501 delete arg4;
27502 }
27503 return resultobj;
27504 fail:
27505 {
27506 if (temp4)
27507 delete arg4;
27508 }
27509 return NULL;
27510 }
27511
27512
27513 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
27514 PyObject *resultobj;
27515 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27516 wxTreeItemId *arg2 = 0 ;
27517 wxString *arg3 = 0 ;
27518 int arg4 = (int) -1 ;
27519 int arg5 = (int) -1 ;
27520 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27521 wxTreeItemId result;
27522 bool temp3 = false ;
27523 PyObject * obj0 = 0 ;
27524 PyObject * obj1 = 0 ;
27525 PyObject * obj2 = 0 ;
27526 PyObject * obj3 = 0 ;
27527 PyObject * obj4 = 0 ;
27528 PyObject * obj5 = 0 ;
27529 char *kwnames[] = {
27530 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27531 };
27532
27533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27537 SWIG_POINTER_EXCEPTION | 0)) == -1)
27538 SWIG_fail;
27539 if (arg2 == NULL) {
27540 PyErr_SetString(PyExc_TypeError,"null reference");
27541 SWIG_fail;
27542 }
27543 {
27544 arg3 = wxString_in_helper(obj2);
27545 if (arg3 == NULL) SWIG_fail;
27546 temp3 = true;
27547 }
27548 if (obj3) {
27549 arg4 = (int)SWIG_As_int(obj3);
27550 if (PyErr_Occurred()) SWIG_fail;
27551 }
27552 if (obj4) {
27553 arg5 = (int)SWIG_As_int(obj4);
27554 if (PyErr_Occurred()) SWIG_fail;
27555 }
27556 if (obj5) {
27557 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27559 }
27560 {
27561 PyThreadState* __tstate = wxPyBeginAllowThreads();
27562 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27563
27564 wxPyEndAllowThreads(__tstate);
27565 if (PyErr_Occurred()) SWIG_fail;
27566 }
27567 {
27568 wxTreeItemId * resultptr;
27569 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27571 }
27572 {
27573 if (temp3)
27574 delete arg3;
27575 }
27576 return resultobj;
27577 fail:
27578 {
27579 if (temp3)
27580 delete arg3;
27581 }
27582 return NULL;
27583 }
27584
27585
27586 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
27587 PyObject *resultobj;
27588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27589 wxTreeItemId *arg2 = 0 ;
27590 PyObject * obj0 = 0 ;
27591 PyObject * obj1 = 0 ;
27592 char *kwnames[] = {
27593 (char *) "self",(char *) "item", NULL
27594 };
27595
27596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27600 SWIG_POINTER_EXCEPTION | 0)) == -1)
27601 SWIG_fail;
27602 if (arg2 == NULL) {
27603 PyErr_SetString(PyExc_TypeError,"null reference");
27604 SWIG_fail;
27605 }
27606 {
27607 PyThreadState* __tstate = wxPyBeginAllowThreads();
27608 (arg1)->Delete((wxTreeItemId const &)*arg2);
27609
27610 wxPyEndAllowThreads(__tstate);
27611 if (PyErr_Occurred()) SWIG_fail;
27612 }
27613 Py_INCREF(Py_None); resultobj = Py_None;
27614 return resultobj;
27615 fail:
27616 return NULL;
27617 }
27618
27619
27620 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
27621 PyObject *resultobj;
27622 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27623 wxTreeItemId *arg2 = 0 ;
27624 PyObject * obj0 = 0 ;
27625 PyObject * obj1 = 0 ;
27626 char *kwnames[] = {
27627 (char *) "self",(char *) "item", NULL
27628 };
27629
27630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27634 SWIG_POINTER_EXCEPTION | 0)) == -1)
27635 SWIG_fail;
27636 if (arg2 == NULL) {
27637 PyErr_SetString(PyExc_TypeError,"null reference");
27638 SWIG_fail;
27639 }
27640 {
27641 PyThreadState* __tstate = wxPyBeginAllowThreads();
27642 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27643
27644 wxPyEndAllowThreads(__tstate);
27645 if (PyErr_Occurred()) SWIG_fail;
27646 }
27647 Py_INCREF(Py_None); resultobj = Py_None;
27648 return resultobj;
27649 fail:
27650 return NULL;
27651 }
27652
27653
27654 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
27655 PyObject *resultobj;
27656 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27657 PyObject * obj0 = 0 ;
27658 char *kwnames[] = {
27659 (char *) "self", NULL
27660 };
27661
27662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27665 {
27666 PyThreadState* __tstate = wxPyBeginAllowThreads();
27667 (arg1)->DeleteAllItems();
27668
27669 wxPyEndAllowThreads(__tstate);
27670 if (PyErr_Occurred()) SWIG_fail;
27671 }
27672 Py_INCREF(Py_None); resultobj = Py_None;
27673 return resultobj;
27674 fail:
27675 return NULL;
27676 }
27677
27678
27679 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
27680 PyObject *resultobj;
27681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27682 wxTreeItemId *arg2 = 0 ;
27683 PyObject * obj0 = 0 ;
27684 PyObject * obj1 = 0 ;
27685 char *kwnames[] = {
27686 (char *) "self",(char *) "item", NULL
27687 };
27688
27689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27693 SWIG_POINTER_EXCEPTION | 0)) == -1)
27694 SWIG_fail;
27695 if (arg2 == NULL) {
27696 PyErr_SetString(PyExc_TypeError,"null reference");
27697 SWIG_fail;
27698 }
27699 {
27700 PyThreadState* __tstate = wxPyBeginAllowThreads();
27701 (arg1)->Expand((wxTreeItemId const &)*arg2);
27702
27703 wxPyEndAllowThreads(__tstate);
27704 if (PyErr_Occurred()) SWIG_fail;
27705 }
27706 Py_INCREF(Py_None); resultobj = Py_None;
27707 return resultobj;
27708 fail:
27709 return NULL;
27710 }
27711
27712
27713 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
27714 PyObject *resultobj;
27715 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27716 wxTreeItemId *arg2 = 0 ;
27717 PyObject * obj0 = 0 ;
27718 PyObject * obj1 = 0 ;
27719 char *kwnames[] = {
27720 (char *) "self",(char *) "item", NULL
27721 };
27722
27723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27727 SWIG_POINTER_EXCEPTION | 0)) == -1)
27728 SWIG_fail;
27729 if (arg2 == NULL) {
27730 PyErr_SetString(PyExc_TypeError,"null reference");
27731 SWIG_fail;
27732 }
27733 {
27734 PyThreadState* __tstate = wxPyBeginAllowThreads();
27735 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27736
27737 wxPyEndAllowThreads(__tstate);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 Py_INCREF(Py_None); resultobj = Py_None;
27741 return resultobj;
27742 fail:
27743 return NULL;
27744 }
27745
27746
27747 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
27748 PyObject *resultobj;
27749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27750 wxTreeItemId *arg2 = 0 ;
27751 PyObject * obj0 = 0 ;
27752 PyObject * obj1 = 0 ;
27753 char *kwnames[] = {
27754 (char *) "self",(char *) "item", NULL
27755 };
27756
27757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27761 SWIG_POINTER_EXCEPTION | 0)) == -1)
27762 SWIG_fail;
27763 if (arg2 == NULL) {
27764 PyErr_SetString(PyExc_TypeError,"null reference");
27765 SWIG_fail;
27766 }
27767 {
27768 PyThreadState* __tstate = wxPyBeginAllowThreads();
27769 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27770
27771 wxPyEndAllowThreads(__tstate);
27772 if (PyErr_Occurred()) SWIG_fail;
27773 }
27774 Py_INCREF(Py_None); resultobj = Py_None;
27775 return resultobj;
27776 fail:
27777 return NULL;
27778 }
27779
27780
27781 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj;
27783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27784 wxTreeItemId *arg2 = 0 ;
27785 PyObject * obj0 = 0 ;
27786 PyObject * obj1 = 0 ;
27787 char *kwnames[] = {
27788 (char *) "self",(char *) "item", NULL
27789 };
27790
27791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27795 SWIG_POINTER_EXCEPTION | 0)) == -1)
27796 SWIG_fail;
27797 if (arg2 == NULL) {
27798 PyErr_SetString(PyExc_TypeError,"null reference");
27799 SWIG_fail;
27800 }
27801 {
27802 PyThreadState* __tstate = wxPyBeginAllowThreads();
27803 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27804
27805 wxPyEndAllowThreads(__tstate);
27806 if (PyErr_Occurred()) SWIG_fail;
27807 }
27808 Py_INCREF(Py_None); resultobj = Py_None;
27809 return resultobj;
27810 fail:
27811 return NULL;
27812 }
27813
27814
27815 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
27816 PyObject *resultobj;
27817 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27818 PyObject * obj0 = 0 ;
27819 char *kwnames[] = {
27820 (char *) "self", NULL
27821 };
27822
27823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27826 {
27827 PyThreadState* __tstate = wxPyBeginAllowThreads();
27828 (arg1)->Unselect();
27829
27830 wxPyEndAllowThreads(__tstate);
27831 if (PyErr_Occurred()) SWIG_fail;
27832 }
27833 Py_INCREF(Py_None); resultobj = Py_None;
27834 return resultobj;
27835 fail:
27836 return NULL;
27837 }
27838
27839
27840 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
27841 PyObject *resultobj;
27842 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27843 wxTreeItemId *arg2 = 0 ;
27844 PyObject * obj0 = 0 ;
27845 PyObject * obj1 = 0 ;
27846 char *kwnames[] = {
27847 (char *) "self",(char *) "item", NULL
27848 };
27849
27850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
27851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27854 SWIG_POINTER_EXCEPTION | 0)) == -1)
27855 SWIG_fail;
27856 if (arg2 == NULL) {
27857 PyErr_SetString(PyExc_TypeError,"null reference");
27858 SWIG_fail;
27859 }
27860 {
27861 PyThreadState* __tstate = wxPyBeginAllowThreads();
27862 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27863
27864 wxPyEndAllowThreads(__tstate);
27865 if (PyErr_Occurred()) SWIG_fail;
27866 }
27867 Py_INCREF(Py_None); resultobj = Py_None;
27868 return resultobj;
27869 fail:
27870 return NULL;
27871 }
27872
27873
27874 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
27875 PyObject *resultobj;
27876 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27877 PyObject * obj0 = 0 ;
27878 char *kwnames[] = {
27879 (char *) "self", NULL
27880 };
27881
27882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27885 {
27886 PyThreadState* __tstate = wxPyBeginAllowThreads();
27887 (arg1)->UnselectAll();
27888
27889 wxPyEndAllowThreads(__tstate);
27890 if (PyErr_Occurred()) SWIG_fail;
27891 }
27892 Py_INCREF(Py_None); resultobj = Py_None;
27893 return resultobj;
27894 fail:
27895 return NULL;
27896 }
27897
27898
27899 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
27900 PyObject *resultobj;
27901 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27902 wxTreeItemId *arg2 = 0 ;
27903 bool arg3 = (bool) true ;
27904 PyObject * obj0 = 0 ;
27905 PyObject * obj1 = 0 ;
27906 PyObject * obj2 = 0 ;
27907 char *kwnames[] = {
27908 (char *) "self",(char *) "item",(char *) "select", NULL
27909 };
27910
27911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27915 SWIG_POINTER_EXCEPTION | 0)) == -1)
27916 SWIG_fail;
27917 if (arg2 == NULL) {
27918 PyErr_SetString(PyExc_TypeError,"null reference");
27919 SWIG_fail;
27920 }
27921 if (obj2) {
27922 arg3 = (bool)SWIG_As_bool(obj2);
27923 if (PyErr_Occurred()) SWIG_fail;
27924 }
27925 {
27926 PyThreadState* __tstate = wxPyBeginAllowThreads();
27927 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27928
27929 wxPyEndAllowThreads(__tstate);
27930 if (PyErr_Occurred()) SWIG_fail;
27931 }
27932 Py_INCREF(Py_None); resultobj = Py_None;
27933 return resultobj;
27934 fail:
27935 return NULL;
27936 }
27937
27938
27939 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
27940 PyObject *resultobj;
27941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27942 wxTreeItemId *arg2 = 0 ;
27943 PyObject * obj0 = 0 ;
27944 PyObject * obj1 = 0 ;
27945 char *kwnames[] = {
27946 (char *) "self",(char *) "item", NULL
27947 };
27948
27949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27953 SWIG_POINTER_EXCEPTION | 0)) == -1)
27954 SWIG_fail;
27955 if (arg2 == NULL) {
27956 PyErr_SetString(PyExc_TypeError,"null reference");
27957 SWIG_fail;
27958 }
27959 {
27960 PyThreadState* __tstate = wxPyBeginAllowThreads();
27961 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27962
27963 wxPyEndAllowThreads(__tstate);
27964 if (PyErr_Occurred()) SWIG_fail;
27965 }
27966 Py_INCREF(Py_None); resultobj = Py_None;
27967 return resultobj;
27968 fail:
27969 return NULL;
27970 }
27971
27972
27973 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
27974 PyObject *resultobj;
27975 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27976 wxTreeItemId *arg2 = 0 ;
27977 PyObject * obj0 = 0 ;
27978 PyObject * obj1 = 0 ;
27979 char *kwnames[] = {
27980 (char *) "self",(char *) "item", NULL
27981 };
27982
27983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
27984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27987 SWIG_POINTER_EXCEPTION | 0)) == -1)
27988 SWIG_fail;
27989 if (arg2 == NULL) {
27990 PyErr_SetString(PyExc_TypeError,"null reference");
27991 SWIG_fail;
27992 }
27993 {
27994 PyThreadState* __tstate = wxPyBeginAllowThreads();
27995 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27996
27997 wxPyEndAllowThreads(__tstate);
27998 if (PyErr_Occurred()) SWIG_fail;
27999 }
28000 Py_INCREF(Py_None); resultobj = Py_None;
28001 return resultobj;
28002 fail:
28003 return NULL;
28004 }
28005
28006
28007 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
28008 PyObject *resultobj;
28009 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28010 wxTreeItemId *arg2 = 0 ;
28011 PyObject * obj0 = 0 ;
28012 PyObject * obj1 = 0 ;
28013 char *kwnames[] = {
28014 (char *) "self",(char *) "item", NULL
28015 };
28016
28017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
28018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28021 SWIG_POINTER_EXCEPTION | 0)) == -1)
28022 SWIG_fail;
28023 if (arg2 == NULL) {
28024 PyErr_SetString(PyExc_TypeError,"null reference");
28025 SWIG_fail;
28026 }
28027 {
28028 PyThreadState* __tstate = wxPyBeginAllowThreads();
28029 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
28030
28031 wxPyEndAllowThreads(__tstate);
28032 if (PyErr_Occurred()) SWIG_fail;
28033 }
28034 Py_INCREF(Py_None); resultobj = Py_None;
28035 return resultobj;
28036 fail:
28037 return NULL;
28038 }
28039
28040
28041 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
28042 PyObject *resultobj;
28043 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28044 wxTreeItemId *arg2 = 0 ;
28045 PyObject * obj0 = 0 ;
28046 PyObject * obj1 = 0 ;
28047 char *kwnames[] = {
28048 (char *) "self",(char *) "item", NULL
28049 };
28050
28051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
28052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28055 SWIG_POINTER_EXCEPTION | 0)) == -1)
28056 SWIG_fail;
28057 if (arg2 == NULL) {
28058 PyErr_SetString(PyExc_TypeError,"null reference");
28059 SWIG_fail;
28060 }
28061 {
28062 PyThreadState* __tstate = wxPyBeginAllowThreads();
28063 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
28064
28065 wxPyEndAllowThreads(__tstate);
28066 if (PyErr_Occurred()) SWIG_fail;
28067 }
28068 Py_INCREF(Py_None); resultobj = Py_None;
28069 return resultobj;
28070 fail:
28071 return NULL;
28072 }
28073
28074
28075 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
28076 PyObject *resultobj;
28077 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28078 wxTextCtrl *result;
28079 PyObject * obj0 = 0 ;
28080 char *kwnames[] = {
28081 (char *) "self", NULL
28082 };
28083
28084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
28085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28087 {
28088 PyThreadState* __tstate = wxPyBeginAllowThreads();
28089 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
28090
28091 wxPyEndAllowThreads(__tstate);
28092 if (PyErr_Occurred()) SWIG_fail;
28093 }
28094 {
28095 resultobj = wxPyMake_wxObject(result, 0);
28096 }
28097 return resultobj;
28098 fail:
28099 return NULL;
28100 }
28101
28102
28103 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28104 PyObject *resultobj;
28105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28106 wxTreeItemId *arg2 = 0 ;
28107 PyObject * obj0 = 0 ;
28108 PyObject * obj1 = 0 ;
28109 char *kwnames[] = {
28110 (char *) "self",(char *) "item", NULL
28111 };
28112
28113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
28114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28117 SWIG_POINTER_EXCEPTION | 0)) == -1)
28118 SWIG_fail;
28119 if (arg2 == NULL) {
28120 PyErr_SetString(PyExc_TypeError,"null reference");
28121 SWIG_fail;
28122 }
28123 {
28124 PyThreadState* __tstate = wxPyBeginAllowThreads();
28125 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
28126
28127 wxPyEndAllowThreads(__tstate);
28128 if (PyErr_Occurred()) SWIG_fail;
28129 }
28130 Py_INCREF(Py_None); resultobj = Py_None;
28131 return resultobj;
28132 fail:
28133 return NULL;
28134 }
28135
28136
28137 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
28138 PyObject *resultobj;
28139 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28140 wxPoint *arg2 = 0 ;
28141 int *arg3 = 0 ;
28142 wxTreeItemId result;
28143 wxPoint temp2 ;
28144 int temp3 ;
28145 int res3 = 0 ;
28146 PyObject * obj0 = 0 ;
28147 PyObject * obj1 = 0 ;
28148 char *kwnames[] = {
28149 (char *) "self",(char *) "point", NULL
28150 };
28151
28152 arg3 = &temp3; res3 = SWIG_NEWOBJ;
28153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
28154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28156 {
28157 arg2 = &temp2;
28158 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28159 }
28160 {
28161 PyThreadState* __tstate = wxPyBeginAllowThreads();
28162 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
28163
28164 wxPyEndAllowThreads(__tstate);
28165 if (PyErr_Occurred()) SWIG_fail;
28166 }
28167 {
28168 wxTreeItemId * resultptr;
28169 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28171 }
28172 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
28173 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
28174 return resultobj;
28175 fail:
28176 return NULL;
28177 }
28178
28179
28180 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
28181 PyObject *resultobj;
28182 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28183 wxTreeItemId *arg2 = 0 ;
28184 bool arg3 = (bool) false ;
28185 PyObject *result;
28186 PyObject * obj0 = 0 ;
28187 PyObject * obj1 = 0 ;
28188 PyObject * obj2 = 0 ;
28189 char *kwnames[] = {
28190 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28191 };
28192
28193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
28194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28197 SWIG_POINTER_EXCEPTION | 0)) == -1)
28198 SWIG_fail;
28199 if (arg2 == NULL) {
28200 PyErr_SetString(PyExc_TypeError,"null reference");
28201 SWIG_fail;
28202 }
28203 if (obj2) {
28204 arg3 = (bool)SWIG_As_bool(obj2);
28205 if (PyErr_Occurred()) SWIG_fail;
28206 }
28207 {
28208 PyThreadState* __tstate = wxPyBeginAllowThreads();
28209 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
28210
28211 wxPyEndAllowThreads(__tstate);
28212 if (PyErr_Occurred()) SWIG_fail;
28213 }
28214 resultobj = result;
28215 return resultobj;
28216 fail:
28217 return NULL;
28218 }
28219
28220
28221 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
28222 PyObject *resultobj;
28223 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
28224 wxVisualAttributes result;
28225 PyObject * obj0 = 0 ;
28226 char *kwnames[] = {
28227 (char *) "variant", NULL
28228 };
28229
28230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
28231 if (obj0) {
28232 arg1 = (int)SWIG_As_int(obj0);
28233 if (PyErr_Occurred()) SWIG_fail;
28234 }
28235 {
28236 if (!wxPyCheckForApp()) SWIG_fail;
28237 PyThreadState* __tstate = wxPyBeginAllowThreads();
28238 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
28239
28240 wxPyEndAllowThreads(__tstate);
28241 if (PyErr_Occurred()) SWIG_fail;
28242 }
28243 {
28244 wxVisualAttributes * resultptr;
28245 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
28246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
28247 }
28248 return resultobj;
28249 fail:
28250 return NULL;
28251 }
28252
28253
28254 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
28255 PyObject *obj;
28256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28257 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
28258 Py_INCREF(obj);
28259 return Py_BuildValue((char *)"");
28260 }
28261 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
28262 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
28263 return 1;
28264 }
28265
28266
28267 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
28268 PyObject *pyobj;
28269
28270 {
28271 #if wxUSE_UNICODE
28272 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28273 #else
28274 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28275 #endif
28276 }
28277 return pyobj;
28278 }
28279
28280
28281 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28282 PyObject *resultobj;
28283 wxWindow *arg1 = (wxWindow *) 0 ;
28284 int arg2 = (int) (int)-1 ;
28285 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
28286 wxString *arg3 = (wxString *) &arg3_defvalue ;
28287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28289 wxSize const &arg5_defvalue = wxDefaultSize ;
28290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28291 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28292 wxString const &arg7_defvalue = wxPyEmptyString ;
28293 wxString *arg7 = (wxString *) &arg7_defvalue ;
28294 int arg8 = (int) 0 ;
28295 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
28296 wxString *arg9 = (wxString *) &arg9_defvalue ;
28297 wxGenericDirCtrl *result;
28298 bool temp3 = false ;
28299 wxPoint temp4 ;
28300 wxSize temp5 ;
28301 bool temp7 = false ;
28302 bool temp9 = false ;
28303 PyObject * obj0 = 0 ;
28304 PyObject * obj1 = 0 ;
28305 PyObject * obj2 = 0 ;
28306 PyObject * obj3 = 0 ;
28307 PyObject * obj4 = 0 ;
28308 PyObject * obj5 = 0 ;
28309 PyObject * obj6 = 0 ;
28310 PyObject * obj7 = 0 ;
28311 PyObject * obj8 = 0 ;
28312 char *kwnames[] = {
28313 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28314 };
28315
28316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
28317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28319 if (obj1) {
28320 arg2 = (int)SWIG_As_int(obj1);
28321 if (PyErr_Occurred()) SWIG_fail;
28322 }
28323 if (obj2) {
28324 {
28325 arg3 = wxString_in_helper(obj2);
28326 if (arg3 == NULL) SWIG_fail;
28327 temp3 = true;
28328 }
28329 }
28330 if (obj3) {
28331 {
28332 arg4 = &temp4;
28333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28334 }
28335 }
28336 if (obj4) {
28337 {
28338 arg5 = &temp5;
28339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28340 }
28341 }
28342 if (obj5) {
28343 arg6 = (long)SWIG_As_long(obj5);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 }
28346 if (obj6) {
28347 {
28348 arg7 = wxString_in_helper(obj6);
28349 if (arg7 == NULL) SWIG_fail;
28350 temp7 = true;
28351 }
28352 }
28353 if (obj7) {
28354 arg8 = (int)SWIG_As_int(obj7);
28355 if (PyErr_Occurred()) SWIG_fail;
28356 }
28357 if (obj8) {
28358 {
28359 arg9 = wxString_in_helper(obj8);
28360 if (arg9 == NULL) SWIG_fail;
28361 temp9 = true;
28362 }
28363 }
28364 {
28365 if (!wxPyCheckForApp()) SWIG_fail;
28366 PyThreadState* __tstate = wxPyBeginAllowThreads();
28367 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
28368
28369 wxPyEndAllowThreads(__tstate);
28370 if (PyErr_Occurred()) SWIG_fail;
28371 }
28372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28373 {
28374 if (temp3)
28375 delete arg3;
28376 }
28377 {
28378 if (temp7)
28379 delete arg7;
28380 }
28381 {
28382 if (temp9)
28383 delete arg9;
28384 }
28385 return resultobj;
28386 fail:
28387 {
28388 if (temp3)
28389 delete arg3;
28390 }
28391 {
28392 if (temp7)
28393 delete arg7;
28394 }
28395 {
28396 if (temp9)
28397 delete arg9;
28398 }
28399 return NULL;
28400 }
28401
28402
28403 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28404 PyObject *resultobj;
28405 wxGenericDirCtrl *result;
28406 char *kwnames[] = {
28407 NULL
28408 };
28409
28410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28411 {
28412 if (!wxPyCheckForApp()) SWIG_fail;
28413 PyThreadState* __tstate = wxPyBeginAllowThreads();
28414 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28415
28416 wxPyEndAllowThreads(__tstate);
28417 if (PyErr_Occurred()) SWIG_fail;
28418 }
28419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28420 return resultobj;
28421 fail:
28422 return NULL;
28423 }
28424
28425
28426 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28427 PyObject *resultobj;
28428 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28429 wxWindow *arg2 = (wxWindow *) 0 ;
28430 int arg3 = (int) (int)-1 ;
28431 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28432 wxString *arg4 = (wxString *) &arg4_defvalue ;
28433 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28434 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28435 wxSize const &arg6_defvalue = wxDefaultSize ;
28436 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28437 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28438 wxString const &arg8_defvalue = wxPyEmptyString ;
28439 wxString *arg8 = (wxString *) &arg8_defvalue ;
28440 int arg9 = (int) 0 ;
28441 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28442 wxString *arg10 = (wxString *) &arg10_defvalue ;
28443 bool result;
28444 bool temp4 = false ;
28445 wxPoint temp5 ;
28446 wxSize temp6 ;
28447 bool temp8 = false ;
28448 bool temp10 = false ;
28449 PyObject * obj0 = 0 ;
28450 PyObject * obj1 = 0 ;
28451 PyObject * obj2 = 0 ;
28452 PyObject * obj3 = 0 ;
28453 PyObject * obj4 = 0 ;
28454 PyObject * obj5 = 0 ;
28455 PyObject * obj6 = 0 ;
28456 PyObject * obj7 = 0 ;
28457 PyObject * obj8 = 0 ;
28458 PyObject * obj9 = 0 ;
28459 char *kwnames[] = {
28460 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28461 };
28462
28463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28468 if (obj2) {
28469 arg3 = (int)SWIG_As_int(obj2);
28470 if (PyErr_Occurred()) SWIG_fail;
28471 }
28472 if (obj3) {
28473 {
28474 arg4 = wxString_in_helper(obj3);
28475 if (arg4 == NULL) SWIG_fail;
28476 temp4 = true;
28477 }
28478 }
28479 if (obj4) {
28480 {
28481 arg5 = &temp5;
28482 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28483 }
28484 }
28485 if (obj5) {
28486 {
28487 arg6 = &temp6;
28488 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28489 }
28490 }
28491 if (obj6) {
28492 arg7 = (long)SWIG_As_long(obj6);
28493 if (PyErr_Occurred()) SWIG_fail;
28494 }
28495 if (obj7) {
28496 {
28497 arg8 = wxString_in_helper(obj7);
28498 if (arg8 == NULL) SWIG_fail;
28499 temp8 = true;
28500 }
28501 }
28502 if (obj8) {
28503 arg9 = (int)SWIG_As_int(obj8);
28504 if (PyErr_Occurred()) SWIG_fail;
28505 }
28506 if (obj9) {
28507 {
28508 arg10 = wxString_in_helper(obj9);
28509 if (arg10 == NULL) SWIG_fail;
28510 temp10 = true;
28511 }
28512 }
28513 {
28514 PyThreadState* __tstate = wxPyBeginAllowThreads();
28515 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28516
28517 wxPyEndAllowThreads(__tstate);
28518 if (PyErr_Occurred()) SWIG_fail;
28519 }
28520 {
28521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28522 }
28523 {
28524 if (temp4)
28525 delete arg4;
28526 }
28527 {
28528 if (temp8)
28529 delete arg8;
28530 }
28531 {
28532 if (temp10)
28533 delete arg10;
28534 }
28535 return resultobj;
28536 fail:
28537 {
28538 if (temp4)
28539 delete arg4;
28540 }
28541 {
28542 if (temp8)
28543 delete arg8;
28544 }
28545 {
28546 if (temp10)
28547 delete arg10;
28548 }
28549 return NULL;
28550 }
28551
28552
28553 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
28554 PyObject *resultobj;
28555 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28556 wxString *arg2 = 0 ;
28557 bool result;
28558 bool temp2 = false ;
28559 PyObject * obj0 = 0 ;
28560 PyObject * obj1 = 0 ;
28561 char *kwnames[] = {
28562 (char *) "self",(char *) "path", NULL
28563 };
28564
28565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28568 {
28569 arg2 = wxString_in_helper(obj1);
28570 if (arg2 == NULL) SWIG_fail;
28571 temp2 = true;
28572 }
28573 {
28574 PyThreadState* __tstate = wxPyBeginAllowThreads();
28575 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28576
28577 wxPyEndAllowThreads(__tstate);
28578 if (PyErr_Occurred()) SWIG_fail;
28579 }
28580 {
28581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28582 }
28583 {
28584 if (temp2)
28585 delete arg2;
28586 }
28587 return resultobj;
28588 fail:
28589 {
28590 if (temp2)
28591 delete arg2;
28592 }
28593 return NULL;
28594 }
28595
28596
28597 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
28598 PyObject *resultobj;
28599 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28600 wxString result;
28601 PyObject * obj0 = 0 ;
28602 char *kwnames[] = {
28603 (char *) "self", NULL
28604 };
28605
28606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28609 {
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
28611 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28612
28613 wxPyEndAllowThreads(__tstate);
28614 if (PyErr_Occurred()) SWIG_fail;
28615 }
28616 {
28617 #if wxUSE_UNICODE
28618 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28619 #else
28620 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28621 #endif
28622 }
28623 return resultobj;
28624 fail:
28625 return NULL;
28626 }
28627
28628
28629 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
28630 PyObject *resultobj;
28631 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28632 wxString *arg2 = 0 ;
28633 bool temp2 = false ;
28634 PyObject * obj0 = 0 ;
28635 PyObject * obj1 = 0 ;
28636 char *kwnames[] = {
28637 (char *) "self",(char *) "path", NULL
28638 };
28639
28640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28643 {
28644 arg2 = wxString_in_helper(obj1);
28645 if (arg2 == NULL) SWIG_fail;
28646 temp2 = true;
28647 }
28648 {
28649 PyThreadState* __tstate = wxPyBeginAllowThreads();
28650 (arg1)->SetDefaultPath((wxString const &)*arg2);
28651
28652 wxPyEndAllowThreads(__tstate);
28653 if (PyErr_Occurred()) SWIG_fail;
28654 }
28655 Py_INCREF(Py_None); resultobj = Py_None;
28656 {
28657 if (temp2)
28658 delete arg2;
28659 }
28660 return resultobj;
28661 fail:
28662 {
28663 if (temp2)
28664 delete arg2;
28665 }
28666 return NULL;
28667 }
28668
28669
28670 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
28671 PyObject *resultobj;
28672 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28673 wxString result;
28674 PyObject * obj0 = 0 ;
28675 char *kwnames[] = {
28676 (char *) "self", NULL
28677 };
28678
28679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28682 {
28683 PyThreadState* __tstate = wxPyBeginAllowThreads();
28684 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28685
28686 wxPyEndAllowThreads(__tstate);
28687 if (PyErr_Occurred()) SWIG_fail;
28688 }
28689 {
28690 #if wxUSE_UNICODE
28691 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28692 #else
28693 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28694 #endif
28695 }
28696 return resultobj;
28697 fail:
28698 return NULL;
28699 }
28700
28701
28702 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
28703 PyObject *resultobj;
28704 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28705 wxString result;
28706 PyObject * obj0 = 0 ;
28707 char *kwnames[] = {
28708 (char *) "self", NULL
28709 };
28710
28711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28714 {
28715 PyThreadState* __tstate = wxPyBeginAllowThreads();
28716 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28717
28718 wxPyEndAllowThreads(__tstate);
28719 if (PyErr_Occurred()) SWIG_fail;
28720 }
28721 {
28722 #if wxUSE_UNICODE
28723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28724 #else
28725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28726 #endif
28727 }
28728 return resultobj;
28729 fail:
28730 return NULL;
28731 }
28732
28733
28734 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
28735 PyObject *resultobj;
28736 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28737 wxString *arg2 = 0 ;
28738 bool temp2 = false ;
28739 PyObject * obj0 = 0 ;
28740 PyObject * obj1 = 0 ;
28741 char *kwnames[] = {
28742 (char *) "self",(char *) "path", NULL
28743 };
28744
28745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28748 {
28749 arg2 = wxString_in_helper(obj1);
28750 if (arg2 == NULL) SWIG_fail;
28751 temp2 = true;
28752 }
28753 {
28754 PyThreadState* __tstate = wxPyBeginAllowThreads();
28755 (arg1)->SetPath((wxString const &)*arg2);
28756
28757 wxPyEndAllowThreads(__tstate);
28758 if (PyErr_Occurred()) SWIG_fail;
28759 }
28760 Py_INCREF(Py_None); resultobj = Py_None;
28761 {
28762 if (temp2)
28763 delete arg2;
28764 }
28765 return resultobj;
28766 fail:
28767 {
28768 if (temp2)
28769 delete arg2;
28770 }
28771 return NULL;
28772 }
28773
28774
28775 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
28776 PyObject *resultobj;
28777 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28778 bool arg2 ;
28779 PyObject * obj0 = 0 ;
28780 PyObject * obj1 = 0 ;
28781 char *kwnames[] = {
28782 (char *) "self",(char *) "show", NULL
28783 };
28784
28785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28788 arg2 = (bool)SWIG_As_bool(obj1);
28789 if (PyErr_Occurred()) SWIG_fail;
28790 {
28791 PyThreadState* __tstate = wxPyBeginAllowThreads();
28792 (arg1)->ShowHidden(arg2);
28793
28794 wxPyEndAllowThreads(__tstate);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 }
28797 Py_INCREF(Py_None); resultobj = Py_None;
28798 return resultobj;
28799 fail:
28800 return NULL;
28801 }
28802
28803
28804 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
28805 PyObject *resultobj;
28806 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28807 bool result;
28808 PyObject * obj0 = 0 ;
28809 char *kwnames[] = {
28810 (char *) "self", NULL
28811 };
28812
28813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28816 {
28817 PyThreadState* __tstate = wxPyBeginAllowThreads();
28818 result = (bool)(arg1)->GetShowHidden();
28819
28820 wxPyEndAllowThreads(__tstate);
28821 if (PyErr_Occurred()) SWIG_fail;
28822 }
28823 {
28824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28825 }
28826 return resultobj;
28827 fail:
28828 return NULL;
28829 }
28830
28831
28832 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
28833 PyObject *resultobj;
28834 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28835 wxString result;
28836 PyObject * obj0 = 0 ;
28837 char *kwnames[] = {
28838 (char *) "self", NULL
28839 };
28840
28841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",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 = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28847
28848 wxPyEndAllowThreads(__tstate);
28849 if (PyErr_Occurred()) SWIG_fail;
28850 }
28851 {
28852 #if wxUSE_UNICODE
28853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28854 #else
28855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28856 #endif
28857 }
28858 return resultobj;
28859 fail:
28860 return NULL;
28861 }
28862
28863
28864 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
28865 PyObject *resultobj;
28866 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28867 wxString *arg2 = 0 ;
28868 bool temp2 = false ;
28869 PyObject * obj0 = 0 ;
28870 PyObject * obj1 = 0 ;
28871 char *kwnames[] = {
28872 (char *) "self",(char *) "filter", NULL
28873 };
28874
28875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28878 {
28879 arg2 = wxString_in_helper(obj1);
28880 if (arg2 == NULL) SWIG_fail;
28881 temp2 = true;
28882 }
28883 {
28884 PyThreadState* __tstate = wxPyBeginAllowThreads();
28885 (arg1)->SetFilter((wxString const &)*arg2);
28886
28887 wxPyEndAllowThreads(__tstate);
28888 if (PyErr_Occurred()) SWIG_fail;
28889 }
28890 Py_INCREF(Py_None); resultobj = Py_None;
28891 {
28892 if (temp2)
28893 delete arg2;
28894 }
28895 return resultobj;
28896 fail:
28897 {
28898 if (temp2)
28899 delete arg2;
28900 }
28901 return NULL;
28902 }
28903
28904
28905 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
28906 PyObject *resultobj;
28907 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28908 int result;
28909 PyObject * obj0 = 0 ;
28910 char *kwnames[] = {
28911 (char *) "self", NULL
28912 };
28913
28914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28917 {
28918 PyThreadState* __tstate = wxPyBeginAllowThreads();
28919 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28920
28921 wxPyEndAllowThreads(__tstate);
28922 if (PyErr_Occurred()) SWIG_fail;
28923 }
28924 resultobj = SWIG_From_int((int)result);
28925 return resultobj;
28926 fail:
28927 return NULL;
28928 }
28929
28930
28931 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
28932 PyObject *resultobj;
28933 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28934 int arg2 ;
28935 PyObject * obj0 = 0 ;
28936 PyObject * obj1 = 0 ;
28937 char *kwnames[] = {
28938 (char *) "self",(char *) "n", NULL
28939 };
28940
28941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28944 arg2 = (int)SWIG_As_int(obj1);
28945 if (PyErr_Occurred()) SWIG_fail;
28946 {
28947 PyThreadState* __tstate = wxPyBeginAllowThreads();
28948 (arg1)->SetFilterIndex(arg2);
28949
28950 wxPyEndAllowThreads(__tstate);
28951 if (PyErr_Occurred()) SWIG_fail;
28952 }
28953 Py_INCREF(Py_None); resultobj = Py_None;
28954 return resultobj;
28955 fail:
28956 return NULL;
28957 }
28958
28959
28960 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
28961 PyObject *resultobj;
28962 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28963 wxTreeItemId result;
28964 PyObject * obj0 = 0 ;
28965 char *kwnames[] = {
28966 (char *) "self", NULL
28967 };
28968
28969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28972 {
28973 PyThreadState* __tstate = wxPyBeginAllowThreads();
28974 result = (arg1)->GetRootId();
28975
28976 wxPyEndAllowThreads(__tstate);
28977 if (PyErr_Occurred()) SWIG_fail;
28978 }
28979 {
28980 wxTreeItemId * resultptr;
28981 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28982 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28983 }
28984 return resultobj;
28985 fail:
28986 return NULL;
28987 }
28988
28989
28990 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28991 PyObject *resultobj;
28992 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28993 wxPyTreeCtrl *result;
28994 PyObject * obj0 = 0 ;
28995 char *kwnames[] = {
28996 (char *) "self", NULL
28997 };
28998
28999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
29000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29002 {
29003 PyThreadState* __tstate = wxPyBeginAllowThreads();
29004 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
29005
29006 wxPyEndAllowThreads(__tstate);
29007 if (PyErr_Occurred()) SWIG_fail;
29008 }
29009 {
29010 resultobj = wxPyMake_wxObject(result, 0);
29011 }
29012 return resultobj;
29013 fail:
29014 return NULL;
29015 }
29016
29017
29018 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29019 PyObject *resultobj;
29020 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29021 wxDirFilterListCtrl *result;
29022 PyObject * obj0 = 0 ;
29023 char *kwnames[] = {
29024 (char *) "self", NULL
29025 };
29026
29027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",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 = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
29033
29034 wxPyEndAllowThreads(__tstate);
29035 if (PyErr_Occurred()) SWIG_fail;
29036 }
29037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
29038 return resultobj;
29039 fail:
29040 return NULL;
29041 }
29042
29043
29044 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
29045 PyObject *resultobj;
29046 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29047 wxTreeItemId arg2 ;
29048 wxString *arg3 = 0 ;
29049 bool *arg4 = 0 ;
29050 wxTreeItemId result;
29051 wxTreeItemId *argp2 ;
29052 bool temp3 = false ;
29053 bool temp4 ;
29054 int res4 = 0 ;
29055 PyObject * obj0 = 0 ;
29056 PyObject * obj1 = 0 ;
29057 PyObject * obj2 = 0 ;
29058 char *kwnames[] = {
29059 (char *) "self",(char *) "parentId",(char *) "path", NULL
29060 };
29061
29062 arg4 = &temp4; res4 = SWIG_NEWOBJ;
29063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29066 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
29067 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29068 arg2 = *argp2;
29069 {
29070 arg3 = wxString_in_helper(obj2);
29071 if (arg3 == NULL) SWIG_fail;
29072 temp3 = true;
29073 }
29074 {
29075 PyThreadState* __tstate = wxPyBeginAllowThreads();
29076 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
29077
29078 wxPyEndAllowThreads(__tstate);
29079 if (PyErr_Occurred()) SWIG_fail;
29080 }
29081 {
29082 wxTreeItemId * resultptr;
29083 resultptr = new wxTreeItemId((wxTreeItemId &) result);
29084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29085 }
29086 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29087 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
29088 {
29089 if (temp3)
29090 delete arg3;
29091 }
29092 return resultobj;
29093 fail:
29094 {
29095 if (temp3)
29096 delete arg3;
29097 }
29098 return NULL;
29099 }
29100
29101
29102 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
29103 PyObject *resultobj;
29104 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29105 PyObject * obj0 = 0 ;
29106 char *kwnames[] = {
29107 (char *) "self", NULL
29108 };
29109
29110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
29111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29113 {
29114 PyThreadState* __tstate = wxPyBeginAllowThreads();
29115 (arg1)->DoResize();
29116
29117 wxPyEndAllowThreads(__tstate);
29118 if (PyErr_Occurred()) SWIG_fail;
29119 }
29120 Py_INCREF(Py_None); resultobj = Py_None;
29121 return resultobj;
29122 fail:
29123 return NULL;
29124 }
29125
29126
29127 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
29128 PyObject *resultobj;
29129 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29130 PyObject * obj0 = 0 ;
29131 char *kwnames[] = {
29132 (char *) "self", NULL
29133 };
29134
29135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
29136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29138 {
29139 PyThreadState* __tstate = wxPyBeginAllowThreads();
29140 (arg1)->ReCreateTree();
29141
29142 wxPyEndAllowThreads(__tstate);
29143 if (PyErr_Occurred()) SWIG_fail;
29144 }
29145 Py_INCREF(Py_None); resultobj = Py_None;
29146 return resultobj;
29147 fail:
29148 return NULL;
29149 }
29150
29151
29152 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
29153 PyObject *obj;
29154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29155 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
29156 Py_INCREF(obj);
29157 return Py_BuildValue((char *)"");
29158 }
29159 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29160 PyObject *resultobj;
29161 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29162 int arg2 = (int) (int)-1 ;
29163 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29164 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29165 wxSize const &arg4_defvalue = wxDefaultSize ;
29166 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29167 long arg5 = (long) 0 ;
29168 wxDirFilterListCtrl *result;
29169 wxPoint temp3 ;
29170 wxSize temp4 ;
29171 PyObject * obj0 = 0 ;
29172 PyObject * obj1 = 0 ;
29173 PyObject * obj2 = 0 ;
29174 PyObject * obj3 = 0 ;
29175 PyObject * obj4 = 0 ;
29176 char *kwnames[] = {
29177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29178 };
29179
29180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29183 if (obj1) {
29184 arg2 = (int)SWIG_As_int(obj1);
29185 if (PyErr_Occurred()) SWIG_fail;
29186 }
29187 if (obj2) {
29188 {
29189 arg3 = &temp3;
29190 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29191 }
29192 }
29193 if (obj3) {
29194 {
29195 arg4 = &temp4;
29196 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29197 }
29198 }
29199 if (obj4) {
29200 arg5 = (long)SWIG_As_long(obj4);
29201 if (PyErr_Occurred()) SWIG_fail;
29202 }
29203 {
29204 if (!wxPyCheckForApp()) SWIG_fail;
29205 PyThreadState* __tstate = wxPyBeginAllowThreads();
29206 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29207
29208 wxPyEndAllowThreads(__tstate);
29209 if (PyErr_Occurred()) SWIG_fail;
29210 }
29211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29212 return resultobj;
29213 fail:
29214 return NULL;
29215 }
29216
29217
29218 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29219 PyObject *resultobj;
29220 wxDirFilterListCtrl *result;
29221 char *kwnames[] = {
29222 NULL
29223 };
29224
29225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
29226 {
29227 if (!wxPyCheckForApp()) SWIG_fail;
29228 PyThreadState* __tstate = wxPyBeginAllowThreads();
29229 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
29230
29231 wxPyEndAllowThreads(__tstate);
29232 if (PyErr_Occurred()) SWIG_fail;
29233 }
29234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29235 return resultobj;
29236 fail:
29237 return NULL;
29238 }
29239
29240
29241 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
29242 PyObject *resultobj;
29243 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29244 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
29245 int arg3 = (int) (int)-1 ;
29246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29248 wxSize const &arg5_defvalue = wxDefaultSize ;
29249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29250 long arg6 = (long) 0 ;
29251 bool result;
29252 wxPoint temp4 ;
29253 wxSize temp5 ;
29254 PyObject * obj0 = 0 ;
29255 PyObject * obj1 = 0 ;
29256 PyObject * obj2 = 0 ;
29257 PyObject * obj3 = 0 ;
29258 PyObject * obj4 = 0 ;
29259 PyObject * obj5 = 0 ;
29260 char *kwnames[] = {
29261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29262 };
29263
29264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
29268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29269 if (obj2) {
29270 arg3 = (int)SWIG_As_int(obj2);
29271 if (PyErr_Occurred()) SWIG_fail;
29272 }
29273 if (obj3) {
29274 {
29275 arg4 = &temp4;
29276 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29277 }
29278 }
29279 if (obj4) {
29280 {
29281 arg5 = &temp5;
29282 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29283 }
29284 }
29285 if (obj5) {
29286 arg6 = (long)SWIG_As_long(obj5);
29287 if (PyErr_Occurred()) SWIG_fail;
29288 }
29289 {
29290 PyThreadState* __tstate = wxPyBeginAllowThreads();
29291 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
29292
29293 wxPyEndAllowThreads(__tstate);
29294 if (PyErr_Occurred()) SWIG_fail;
29295 }
29296 {
29297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29298 }
29299 return resultobj;
29300 fail:
29301 return NULL;
29302 }
29303
29304
29305 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
29306 PyObject *resultobj;
29307 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29308 wxString *arg2 = 0 ;
29309 int arg3 ;
29310 bool temp2 = false ;
29311 PyObject * obj0 = 0 ;
29312 PyObject * obj1 = 0 ;
29313 PyObject * obj2 = 0 ;
29314 char *kwnames[] = {
29315 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29316 };
29317
29318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
29319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29321 {
29322 arg2 = wxString_in_helper(obj1);
29323 if (arg2 == NULL) SWIG_fail;
29324 temp2 = true;
29325 }
29326 arg3 = (int)SWIG_As_int(obj2);
29327 if (PyErr_Occurred()) SWIG_fail;
29328 {
29329 PyThreadState* __tstate = wxPyBeginAllowThreads();
29330 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
29331
29332 wxPyEndAllowThreads(__tstate);
29333 if (PyErr_Occurred()) SWIG_fail;
29334 }
29335 Py_INCREF(Py_None); resultobj = Py_None;
29336 {
29337 if (temp2)
29338 delete arg2;
29339 }
29340 return resultobj;
29341 fail:
29342 {
29343 if (temp2)
29344 delete arg2;
29345 }
29346 return NULL;
29347 }
29348
29349
29350 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
29351 PyObject *obj;
29352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29353 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
29354 Py_INCREF(obj);
29355 return Py_BuildValue((char *)"");
29356 }
29357 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
29358 PyObject *resultobj;
29359 wxWindow *arg1 = (wxWindow *) 0 ;
29360 int arg2 = (int) (int)-1 ;
29361 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29362 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29363 wxSize const &arg4_defvalue = wxDefaultSize ;
29364 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29365 long arg5 = (long) 0 ;
29366 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29367 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29368 wxString const &arg7_defvalue = wxPyControlNameStr ;
29369 wxString *arg7 = (wxString *) &arg7_defvalue ;
29370 wxPyControl *result;
29371 wxPoint temp3 ;
29372 wxSize temp4 ;
29373 bool temp7 = false ;
29374 PyObject * obj0 = 0 ;
29375 PyObject * obj1 = 0 ;
29376 PyObject * obj2 = 0 ;
29377 PyObject * obj3 = 0 ;
29378 PyObject * obj4 = 0 ;
29379 PyObject * obj5 = 0 ;
29380 PyObject * obj6 = 0 ;
29381 char *kwnames[] = {
29382 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29383 };
29384
29385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29388 if (obj1) {
29389 arg2 = (int)SWIG_As_int(obj1);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
29392 if (obj2) {
29393 {
29394 arg3 = &temp3;
29395 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29396 }
29397 }
29398 if (obj3) {
29399 {
29400 arg4 = &temp4;
29401 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29402 }
29403 }
29404 if (obj4) {
29405 arg5 = (long)SWIG_As_long(obj4);
29406 if (PyErr_Occurred()) SWIG_fail;
29407 }
29408 if (obj5) {
29409 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29410 SWIG_POINTER_EXCEPTION | 0)) == -1)
29411 SWIG_fail;
29412 if (arg6 == NULL) {
29413 PyErr_SetString(PyExc_TypeError,"null reference");
29414 SWIG_fail;
29415 }
29416 }
29417 if (obj6) {
29418 {
29419 arg7 = wxString_in_helper(obj6);
29420 if (arg7 == NULL) SWIG_fail;
29421 temp7 = true;
29422 }
29423 }
29424 {
29425 if (!wxPyCheckForApp()) SWIG_fail;
29426 PyThreadState* __tstate = wxPyBeginAllowThreads();
29427 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29428
29429 wxPyEndAllowThreads(__tstate);
29430 if (PyErr_Occurred()) SWIG_fail;
29431 }
29432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29433 {
29434 if (temp7)
29435 delete arg7;
29436 }
29437 return resultobj;
29438 fail:
29439 {
29440 if (temp7)
29441 delete arg7;
29442 }
29443 return NULL;
29444 }
29445
29446
29447 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
29448 PyObject *resultobj;
29449 wxPyControl *result;
29450 char *kwnames[] = {
29451 NULL
29452 };
29453
29454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29455 {
29456 if (!wxPyCheckForApp()) SWIG_fail;
29457 PyThreadState* __tstate = wxPyBeginAllowThreads();
29458 result = (wxPyControl *)new wxPyControl();
29459
29460 wxPyEndAllowThreads(__tstate);
29461 if (PyErr_Occurred()) SWIG_fail;
29462 }
29463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29464 return resultobj;
29465 fail:
29466 return NULL;
29467 }
29468
29469
29470 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
29471 PyObject *resultobj;
29472 wxPyControl *arg1 = (wxPyControl *) 0 ;
29473 PyObject *arg2 = (PyObject *) 0 ;
29474 PyObject *arg3 = (PyObject *) 0 ;
29475 PyObject * obj0 = 0 ;
29476 PyObject * obj1 = 0 ;
29477 PyObject * obj2 = 0 ;
29478 char *kwnames[] = {
29479 (char *) "self",(char *) "self",(char *) "_class", NULL
29480 };
29481
29482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29485 arg2 = obj1;
29486 arg3 = obj2;
29487 {
29488 PyThreadState* __tstate = wxPyBeginAllowThreads();
29489 (arg1)->_setCallbackInfo(arg2,arg3);
29490
29491 wxPyEndAllowThreads(__tstate);
29492 if (PyErr_Occurred()) SWIG_fail;
29493 }
29494 Py_INCREF(Py_None); resultobj = Py_None;
29495 return resultobj;
29496 fail:
29497 return NULL;
29498 }
29499
29500
29501 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
29502 PyObject *resultobj;
29503 wxPyControl *arg1 = (wxPyControl *) 0 ;
29504 wxSize *arg2 = 0 ;
29505 wxSize temp2 ;
29506 PyObject * obj0 = 0 ;
29507 PyObject * obj1 = 0 ;
29508 char *kwnames[] = {
29509 (char *) "self",(char *) "size", NULL
29510 };
29511
29512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29515 {
29516 arg2 = &temp2;
29517 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29518 }
29519 {
29520 PyThreadState* __tstate = wxPyBeginAllowThreads();
29521 (arg1)->SetBestSize((wxSize const &)*arg2);
29522
29523 wxPyEndAllowThreads(__tstate);
29524 if (PyErr_Occurred()) SWIG_fail;
29525 }
29526 Py_INCREF(Py_None); resultobj = Py_None;
29527 return resultobj;
29528 fail:
29529 return NULL;
29530 }
29531
29532
29533 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29534 PyObject *resultobj;
29535 wxPyControl *arg1 = (wxPyControl *) 0 ;
29536 int arg2 ;
29537 int arg3 ;
29538 int arg4 ;
29539 int arg5 ;
29540 PyObject * obj0 = 0 ;
29541 PyObject * obj1 = 0 ;
29542 PyObject * obj2 = 0 ;
29543 PyObject * obj3 = 0 ;
29544 PyObject * obj4 = 0 ;
29545 char *kwnames[] = {
29546 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29547 };
29548
29549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29552 arg2 = (int)SWIG_As_int(obj1);
29553 if (PyErr_Occurred()) SWIG_fail;
29554 arg3 = (int)SWIG_As_int(obj2);
29555 if (PyErr_Occurred()) SWIG_fail;
29556 arg4 = (int)SWIG_As_int(obj3);
29557 if (PyErr_Occurred()) SWIG_fail;
29558 arg5 = (int)SWIG_As_int(obj4);
29559 if (PyErr_Occurred()) SWIG_fail;
29560 {
29561 PyThreadState* __tstate = wxPyBeginAllowThreads();
29562 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29563
29564 wxPyEndAllowThreads(__tstate);
29565 if (PyErr_Occurred()) SWIG_fail;
29566 }
29567 Py_INCREF(Py_None); resultobj = Py_None;
29568 return resultobj;
29569 fail:
29570 return NULL;
29571 }
29572
29573
29574 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
29575 PyObject *resultobj;
29576 wxPyControl *arg1 = (wxPyControl *) 0 ;
29577 int arg2 ;
29578 int arg3 ;
29579 int arg4 ;
29580 int arg5 ;
29581 int arg6 = (int) wxSIZE_AUTO ;
29582 PyObject * obj0 = 0 ;
29583 PyObject * obj1 = 0 ;
29584 PyObject * obj2 = 0 ;
29585 PyObject * obj3 = 0 ;
29586 PyObject * obj4 = 0 ;
29587 PyObject * obj5 = 0 ;
29588 char *kwnames[] = {
29589 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29590 };
29591
29592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29595 arg2 = (int)SWIG_As_int(obj1);
29596 if (PyErr_Occurred()) SWIG_fail;
29597 arg3 = (int)SWIG_As_int(obj2);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 arg4 = (int)SWIG_As_int(obj3);
29600 if (PyErr_Occurred()) SWIG_fail;
29601 arg5 = (int)SWIG_As_int(obj4);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 if (obj5) {
29604 arg6 = (int)SWIG_As_int(obj5);
29605 if (PyErr_Occurred()) SWIG_fail;
29606 }
29607 {
29608 PyThreadState* __tstate = wxPyBeginAllowThreads();
29609 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29610
29611 wxPyEndAllowThreads(__tstate);
29612 if (PyErr_Occurred()) SWIG_fail;
29613 }
29614 Py_INCREF(Py_None); resultobj = Py_None;
29615 return resultobj;
29616 fail:
29617 return NULL;
29618 }
29619
29620
29621 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
29622 PyObject *resultobj;
29623 wxPyControl *arg1 = (wxPyControl *) 0 ;
29624 int arg2 ;
29625 int arg3 ;
29626 PyObject * obj0 = 0 ;
29627 PyObject * obj1 = 0 ;
29628 PyObject * obj2 = 0 ;
29629 char *kwnames[] = {
29630 (char *) "self",(char *) "width",(char *) "height", NULL
29631 };
29632
29633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29636 arg2 = (int)SWIG_As_int(obj1);
29637 if (PyErr_Occurred()) SWIG_fail;
29638 arg3 = (int)SWIG_As_int(obj2);
29639 if (PyErr_Occurred()) SWIG_fail;
29640 {
29641 PyThreadState* __tstate = wxPyBeginAllowThreads();
29642 (arg1)->base_DoSetClientSize(arg2,arg3);
29643
29644 wxPyEndAllowThreads(__tstate);
29645 if (PyErr_Occurred()) SWIG_fail;
29646 }
29647 Py_INCREF(Py_None); resultobj = Py_None;
29648 return resultobj;
29649 fail:
29650 return NULL;
29651 }
29652
29653
29654 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
29655 PyObject *resultobj;
29656 wxPyControl *arg1 = (wxPyControl *) 0 ;
29657 int arg2 ;
29658 int arg3 ;
29659 PyObject * obj0 = 0 ;
29660 PyObject * obj1 = 0 ;
29661 PyObject * obj2 = 0 ;
29662 char *kwnames[] = {
29663 (char *) "self",(char *) "x",(char *) "y", NULL
29664 };
29665
29666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29669 arg2 = (int)SWIG_As_int(obj1);
29670 if (PyErr_Occurred()) SWIG_fail;
29671 arg3 = (int)SWIG_As_int(obj2);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 {
29674 PyThreadState* __tstate = wxPyBeginAllowThreads();
29675 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29676
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
29680 Py_INCREF(Py_None); resultobj = Py_None;
29681 return resultobj;
29682 fail:
29683 return NULL;
29684 }
29685
29686
29687 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
29688 PyObject *resultobj;
29689 wxPyControl *arg1 = (wxPyControl *) 0 ;
29690 int *arg2 = (int *) 0 ;
29691 int *arg3 = (int *) 0 ;
29692 int temp2 ;
29693 int res2 = 0 ;
29694 int temp3 ;
29695 int res3 = 0 ;
29696 PyObject * obj0 = 0 ;
29697 char *kwnames[] = {
29698 (char *) "self", NULL
29699 };
29700
29701 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29702 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29706 {
29707 PyThreadState* __tstate = wxPyBeginAllowThreads();
29708 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29709
29710 wxPyEndAllowThreads(__tstate);
29711 if (PyErr_Occurred()) SWIG_fail;
29712 }
29713 Py_INCREF(Py_None); resultobj = Py_None;
29714 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29715 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29716 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29717 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
29718 return resultobj;
29719 fail:
29720 return NULL;
29721 }
29722
29723
29724 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
29725 PyObject *resultobj;
29726 wxPyControl *arg1 = (wxPyControl *) 0 ;
29727 int *arg2 = (int *) 0 ;
29728 int *arg3 = (int *) 0 ;
29729 int temp2 ;
29730 int res2 = 0 ;
29731 int temp3 ;
29732 int res3 = 0 ;
29733 PyObject * obj0 = 0 ;
29734 char *kwnames[] = {
29735 (char *) "self", NULL
29736 };
29737
29738 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29739 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29743 {
29744 PyThreadState* __tstate = wxPyBeginAllowThreads();
29745 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29746
29747 wxPyEndAllowThreads(__tstate);
29748 if (PyErr_Occurred()) SWIG_fail;
29749 }
29750 Py_INCREF(Py_None); resultobj = Py_None;
29751 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29752 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29753 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29754 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
29755 return resultobj;
29756 fail:
29757 return NULL;
29758 }
29759
29760
29761 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
29762 PyObject *resultobj;
29763 wxPyControl *arg1 = (wxPyControl *) 0 ;
29764 int *arg2 = (int *) 0 ;
29765 int *arg3 = (int *) 0 ;
29766 int temp2 ;
29767 int res2 = 0 ;
29768 int temp3 ;
29769 int res3 = 0 ;
29770 PyObject * obj0 = 0 ;
29771 char *kwnames[] = {
29772 (char *) "self", NULL
29773 };
29774
29775 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29776 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29780 {
29781 PyThreadState* __tstate = wxPyBeginAllowThreads();
29782 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29783
29784 wxPyEndAllowThreads(__tstate);
29785 if (PyErr_Occurred()) SWIG_fail;
29786 }
29787 Py_INCREF(Py_None); resultobj = Py_None;
29788 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29789 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29790 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29791 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
29792 return resultobj;
29793 fail:
29794 return NULL;
29795 }
29796
29797
29798 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
29799 PyObject *resultobj;
29800 wxPyControl *arg1 = (wxPyControl *) 0 ;
29801 wxSize result;
29802 PyObject * obj0 = 0 ;
29803 char *kwnames[] = {
29804 (char *) "self", NULL
29805 };
29806
29807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29810 {
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29813
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 {
29818 wxSize * resultptr;
29819 resultptr = new wxSize((wxSize &) result);
29820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29821 }
29822 return resultobj;
29823 fail:
29824 return NULL;
29825 }
29826
29827
29828 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
29829 PyObject *resultobj;
29830 wxPyControl *arg1 = (wxPyControl *) 0 ;
29831 wxSize result;
29832 PyObject * obj0 = 0 ;
29833 char *kwnames[] = {
29834 (char *) "self", NULL
29835 };
29836
29837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29840 {
29841 PyThreadState* __tstate = wxPyBeginAllowThreads();
29842 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29843
29844 wxPyEndAllowThreads(__tstate);
29845 if (PyErr_Occurred()) SWIG_fail;
29846 }
29847 {
29848 wxSize * resultptr;
29849 resultptr = new wxSize((wxSize &) result);
29850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29851 }
29852 return resultobj;
29853 fail:
29854 return NULL;
29855 }
29856
29857
29858 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
29859 PyObject *resultobj;
29860 wxPyControl *arg1 = (wxPyControl *) 0 ;
29861 PyObject * obj0 = 0 ;
29862 char *kwnames[] = {
29863 (char *) "self", NULL
29864 };
29865
29866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29869 {
29870 PyThreadState* __tstate = wxPyBeginAllowThreads();
29871 (arg1)->base_InitDialog();
29872
29873 wxPyEndAllowThreads(__tstate);
29874 if (PyErr_Occurred()) SWIG_fail;
29875 }
29876 Py_INCREF(Py_None); resultobj = Py_None;
29877 return resultobj;
29878 fail:
29879 return NULL;
29880 }
29881
29882
29883 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29884 PyObject *resultobj;
29885 wxPyControl *arg1 = (wxPyControl *) 0 ;
29886 bool result;
29887 PyObject * obj0 = 0 ;
29888 char *kwnames[] = {
29889 (char *) "self", NULL
29890 };
29891
29892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29895 {
29896 PyThreadState* __tstate = wxPyBeginAllowThreads();
29897 result = (bool)(arg1)->base_TransferDataToWindow();
29898
29899 wxPyEndAllowThreads(__tstate);
29900 if (PyErr_Occurred()) SWIG_fail;
29901 }
29902 {
29903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29904 }
29905 return resultobj;
29906 fail:
29907 return NULL;
29908 }
29909
29910
29911 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
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_TransferDataFromWindow",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_TransferDataFromWindow();
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
29939 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
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_Validate",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_Validate();
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
29967 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
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_AcceptsFocus",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)((wxPyControl const *)arg1)->base_AcceptsFocus();
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
29995 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
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_AcceptsFocusFromKeyboard",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_AcceptsFocusFromKeyboard();
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
30023 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
30024 PyObject *resultobj;
30025 wxPyControl *arg1 = (wxPyControl *) 0 ;
30026 wxSize result;
30027 PyObject * obj0 = 0 ;
30028 char *kwnames[] = {
30029 (char *) "self", NULL
30030 };
30031
30032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",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 = ((wxPyControl const *)arg1)->base_GetMaxSize();
30038
30039 wxPyEndAllowThreads(__tstate);
30040 if (PyErr_Occurred()) SWIG_fail;
30041 }
30042 {
30043 wxSize * resultptr;
30044 resultptr = new wxSize((wxSize &) result);
30045 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
30046 }
30047 return resultobj;
30048 fail:
30049 return NULL;
30050 }
30051
30052
30053 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
30054 PyObject *resultobj;
30055 wxPyControl *arg1 = (wxPyControl *) 0 ;
30056 wxWindow *arg2 = (wxWindow *) 0 ;
30057 PyObject * obj0 = 0 ;
30058 PyObject * obj1 = 0 ;
30059 char *kwnames[] = {
30060 (char *) "self",(char *) "child", NULL
30061 };
30062
30063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
30064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30068 {
30069 PyThreadState* __tstate = wxPyBeginAllowThreads();
30070 (arg1)->base_AddChild(arg2);
30071
30072 wxPyEndAllowThreads(__tstate);
30073 if (PyErr_Occurred()) SWIG_fail;
30074 }
30075 Py_INCREF(Py_None); resultobj = Py_None;
30076 return resultobj;
30077 fail:
30078 return NULL;
30079 }
30080
30081
30082 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
30083 PyObject *resultobj;
30084 wxPyControl *arg1 = (wxPyControl *) 0 ;
30085 wxWindow *arg2 = (wxWindow *) 0 ;
30086 PyObject * obj0 = 0 ;
30087 PyObject * obj1 = 0 ;
30088 char *kwnames[] = {
30089 (char *) "self",(char *) "child", NULL
30090 };
30091
30092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
30093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30097 {
30098 PyThreadState* __tstate = wxPyBeginAllowThreads();
30099 (arg1)->base_RemoveChild(arg2);
30100
30101 wxPyEndAllowThreads(__tstate);
30102 if (PyErr_Occurred()) SWIG_fail;
30103 }
30104 Py_INCREF(Py_None); resultobj = Py_None;
30105 return resultobj;
30106 fail:
30107 return NULL;
30108 }
30109
30110
30111 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
30112 PyObject *resultobj;
30113 wxPyControl *arg1 = (wxPyControl *) 0 ;
30114 bool result;
30115 PyObject * obj0 = 0 ;
30116 char *kwnames[] = {
30117 (char *) "self", NULL
30118 };
30119
30120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
30121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30123 {
30124 PyThreadState* __tstate = wxPyBeginAllowThreads();
30125 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
30126
30127 wxPyEndAllowThreads(__tstate);
30128 if (PyErr_Occurred()) SWIG_fail;
30129 }
30130 {
30131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30132 }
30133 return resultobj;
30134 fail:
30135 return NULL;
30136 }
30137
30138
30139 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
30140 PyObject *resultobj;
30141 wxPyControl *arg1 = (wxPyControl *) 0 ;
30142 wxColour *arg2 = 0 ;
30143 wxColour temp2 ;
30144 PyObject * obj0 = 0 ;
30145 PyObject * obj1 = 0 ;
30146 char *kwnames[] = {
30147 (char *) "self",(char *) "c", NULL
30148 };
30149
30150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
30151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30153 {
30154 arg2 = &temp2;
30155 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30156 }
30157 {
30158 PyThreadState* __tstate = wxPyBeginAllowThreads();
30159 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
30160
30161 wxPyEndAllowThreads(__tstate);
30162 if (PyErr_Occurred()) SWIG_fail;
30163 }
30164 Py_INCREF(Py_None); resultobj = Py_None;
30165 return resultobj;
30166 fail:
30167 return NULL;
30168 }
30169
30170
30171 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30172 PyObject *resultobj;
30173 wxPyControl *arg1 = (wxPyControl *) 0 ;
30174 wxVisualAttributes result;
30175 PyObject * obj0 = 0 ;
30176 char *kwnames[] = {
30177 (char *) "self", NULL
30178 };
30179
30180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
30181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30183 {
30184 PyThreadState* __tstate = wxPyBeginAllowThreads();
30185 result = (arg1)->base_GetDefaultAttributes();
30186
30187 wxPyEndAllowThreads(__tstate);
30188 if (PyErr_Occurred()) SWIG_fail;
30189 }
30190 {
30191 wxVisualAttributes * resultptr;
30192 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
30193 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30194 }
30195 return resultobj;
30196 fail:
30197 return NULL;
30198 }
30199
30200
30201 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
30202 PyObject *obj;
30203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30204 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
30205 Py_INCREF(obj);
30206 return Py_BuildValue((char *)"");
30207 }
30208 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
30209 PyObject *resultobj;
30210 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
30211 int arg2 = (int) 0 ;
30212 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30213 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30214 wxHelpEvent *result;
30215 wxPoint temp3 ;
30216 PyObject * obj0 = 0 ;
30217 PyObject * obj1 = 0 ;
30218 PyObject * obj2 = 0 ;
30219 char *kwnames[] = {
30220 (char *) "type",(char *) "winid",(char *) "pt", NULL
30221 };
30222
30223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30224 if (obj0) {
30225 arg1 = (wxEventType)SWIG_As_int(obj0);
30226 if (PyErr_Occurred()) SWIG_fail;
30227 }
30228 if (obj1) {
30229 arg2 = (int)SWIG_As_int(obj1);
30230 if (PyErr_Occurred()) SWIG_fail;
30231 }
30232 if (obj2) {
30233 {
30234 arg3 = &temp3;
30235 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30236 }
30237 }
30238 {
30239 PyThreadState* __tstate = wxPyBeginAllowThreads();
30240 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
30241
30242 wxPyEndAllowThreads(__tstate);
30243 if (PyErr_Occurred()) SWIG_fail;
30244 }
30245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
30246 return resultobj;
30247 fail:
30248 return NULL;
30249 }
30250
30251
30252 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30253 PyObject *resultobj;
30254 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30255 wxPoint result;
30256 PyObject * obj0 = 0 ;
30257 char *kwnames[] = {
30258 (char *) "self", NULL
30259 };
30260
30261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
30262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30264 {
30265 PyThreadState* __tstate = wxPyBeginAllowThreads();
30266 result = ((wxHelpEvent const *)arg1)->GetPosition();
30267
30268 wxPyEndAllowThreads(__tstate);
30269 if (PyErr_Occurred()) SWIG_fail;
30270 }
30271 {
30272 wxPoint * resultptr;
30273 resultptr = new wxPoint((wxPoint &) result);
30274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30275 }
30276 return resultobj;
30277 fail:
30278 return NULL;
30279 }
30280
30281
30282 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30283 PyObject *resultobj;
30284 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30285 wxPoint *arg2 = 0 ;
30286 wxPoint temp2 ;
30287 PyObject * obj0 = 0 ;
30288 PyObject * obj1 = 0 ;
30289 char *kwnames[] = {
30290 (char *) "self",(char *) "pos", NULL
30291 };
30292
30293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
30294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30296 {
30297 arg2 = &temp2;
30298 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30299 }
30300 {
30301 PyThreadState* __tstate = wxPyBeginAllowThreads();
30302 (arg1)->SetPosition((wxPoint const &)*arg2);
30303
30304 wxPyEndAllowThreads(__tstate);
30305 if (PyErr_Occurred()) SWIG_fail;
30306 }
30307 Py_INCREF(Py_None); resultobj = Py_None;
30308 return resultobj;
30309 fail:
30310 return NULL;
30311 }
30312
30313
30314 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
30315 PyObject *resultobj;
30316 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30317 wxString *result;
30318 PyObject * obj0 = 0 ;
30319 char *kwnames[] = {
30320 (char *) "self", NULL
30321 };
30322
30323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
30324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 {
30329 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
30330 result = (wxString *) &_result_ref;
30331 }
30332
30333 wxPyEndAllowThreads(__tstate);
30334 if (PyErr_Occurred()) SWIG_fail;
30335 }
30336 {
30337 #if wxUSE_UNICODE
30338 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30339 #else
30340 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30341 #endif
30342 }
30343 return resultobj;
30344 fail:
30345 return NULL;
30346 }
30347
30348
30349 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
30350 PyObject *resultobj;
30351 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30352 wxString *arg2 = 0 ;
30353 bool temp2 = false ;
30354 PyObject * obj0 = 0 ;
30355 PyObject * obj1 = 0 ;
30356 char *kwnames[] = {
30357 (char *) "self",(char *) "link", NULL
30358 };
30359
30360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
30361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30363 {
30364 arg2 = wxString_in_helper(obj1);
30365 if (arg2 == NULL) SWIG_fail;
30366 temp2 = true;
30367 }
30368 {
30369 PyThreadState* __tstate = wxPyBeginAllowThreads();
30370 (arg1)->SetLink((wxString const &)*arg2);
30371
30372 wxPyEndAllowThreads(__tstate);
30373 if (PyErr_Occurred()) SWIG_fail;
30374 }
30375 Py_INCREF(Py_None); resultobj = Py_None;
30376 {
30377 if (temp2)
30378 delete arg2;
30379 }
30380 return resultobj;
30381 fail:
30382 {
30383 if (temp2)
30384 delete arg2;
30385 }
30386 return NULL;
30387 }
30388
30389
30390 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
30391 PyObject *resultobj;
30392 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30393 wxString *result;
30394 PyObject * obj0 = 0 ;
30395 char *kwnames[] = {
30396 (char *) "self", NULL
30397 };
30398
30399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
30400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30402 {
30403 PyThreadState* __tstate = wxPyBeginAllowThreads();
30404 {
30405 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30406 result = (wxString *) &_result_ref;
30407 }
30408
30409 wxPyEndAllowThreads(__tstate);
30410 if (PyErr_Occurred()) SWIG_fail;
30411 }
30412 {
30413 #if wxUSE_UNICODE
30414 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30415 #else
30416 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30417 #endif
30418 }
30419 return resultobj;
30420 fail:
30421 return NULL;
30422 }
30423
30424
30425 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
30426 PyObject *resultobj;
30427 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30428 wxString *arg2 = 0 ;
30429 bool temp2 = false ;
30430 PyObject * obj0 = 0 ;
30431 PyObject * obj1 = 0 ;
30432 char *kwnames[] = {
30433 (char *) "self",(char *) "target", NULL
30434 };
30435
30436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30439 {
30440 arg2 = wxString_in_helper(obj1);
30441 if (arg2 == NULL) SWIG_fail;
30442 temp2 = true;
30443 }
30444 {
30445 PyThreadState* __tstate = wxPyBeginAllowThreads();
30446 (arg1)->SetTarget((wxString const &)*arg2);
30447
30448 wxPyEndAllowThreads(__tstate);
30449 if (PyErr_Occurred()) SWIG_fail;
30450 }
30451 Py_INCREF(Py_None); resultobj = Py_None;
30452 {
30453 if (temp2)
30454 delete arg2;
30455 }
30456 return resultobj;
30457 fail:
30458 {
30459 if (temp2)
30460 delete arg2;
30461 }
30462 return NULL;
30463 }
30464
30465
30466 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
30467 PyObject *obj;
30468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30469 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30470 Py_INCREF(obj);
30471 return Py_BuildValue((char *)"");
30472 }
30473 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30474 PyObject *resultobj;
30475 wxWindow *arg1 = (wxWindow *) NULL ;
30476 bool arg2 = (bool) true ;
30477 wxContextHelp *result;
30478 PyObject * obj0 = 0 ;
30479 PyObject * obj1 = 0 ;
30480 char *kwnames[] = {
30481 (char *) "window",(char *) "doNow", NULL
30482 };
30483
30484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30485 if (obj0) {
30486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30488 }
30489 if (obj1) {
30490 arg2 = (bool)SWIG_As_bool(obj1);
30491 if (PyErr_Occurred()) SWIG_fail;
30492 }
30493 {
30494 if (!wxPyCheckForApp()) SWIG_fail;
30495 PyThreadState* __tstate = wxPyBeginAllowThreads();
30496 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30497
30498 wxPyEndAllowThreads(__tstate);
30499 if (PyErr_Occurred()) SWIG_fail;
30500 }
30501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30502 return resultobj;
30503 fail:
30504 return NULL;
30505 }
30506
30507
30508 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30509 PyObject *resultobj;
30510 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30511 PyObject * obj0 = 0 ;
30512 char *kwnames[] = {
30513 (char *) "self", NULL
30514 };
30515
30516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30519 {
30520 PyThreadState* __tstate = wxPyBeginAllowThreads();
30521 delete arg1;
30522
30523 wxPyEndAllowThreads(__tstate);
30524 if (PyErr_Occurred()) SWIG_fail;
30525 }
30526 Py_INCREF(Py_None); resultobj = Py_None;
30527 return resultobj;
30528 fail:
30529 return NULL;
30530 }
30531
30532
30533 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30534 PyObject *resultobj;
30535 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30536 wxWindow *arg2 = (wxWindow *) NULL ;
30537 bool result;
30538 PyObject * obj0 = 0 ;
30539 PyObject * obj1 = 0 ;
30540 char *kwnames[] = {
30541 (char *) "self",(char *) "window", NULL
30542 };
30543
30544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30547 if (obj1) {
30548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30550 }
30551 {
30552 PyThreadState* __tstate = wxPyBeginAllowThreads();
30553 result = (bool)(arg1)->BeginContextHelp(arg2);
30554
30555 wxPyEndAllowThreads(__tstate);
30556 if (PyErr_Occurred()) SWIG_fail;
30557 }
30558 {
30559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30560 }
30561 return resultobj;
30562 fail:
30563 return NULL;
30564 }
30565
30566
30567 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30568 PyObject *resultobj;
30569 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30570 bool result;
30571 PyObject * obj0 = 0 ;
30572 char *kwnames[] = {
30573 (char *) "self", NULL
30574 };
30575
30576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30579 {
30580 PyThreadState* __tstate = wxPyBeginAllowThreads();
30581 result = (bool)(arg1)->EndContextHelp();
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
30595 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
30596 PyObject *obj;
30597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30598 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30599 Py_INCREF(obj);
30600 return Py_BuildValue((char *)"");
30601 }
30602 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
30603 PyObject *resultobj;
30604 wxWindow *arg1 = (wxWindow *) 0 ;
30605 int arg2 = (int) wxID_CONTEXT_HELP ;
30606 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30607 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30608 wxSize const &arg4_defvalue = wxDefaultSize ;
30609 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30610 long arg5 = (long) wxBU_AUTODRAW ;
30611 wxContextHelpButton *result;
30612 wxPoint temp3 ;
30613 wxSize temp4 ;
30614 PyObject * obj0 = 0 ;
30615 PyObject * obj1 = 0 ;
30616 PyObject * obj2 = 0 ;
30617 PyObject * obj3 = 0 ;
30618 PyObject * obj4 = 0 ;
30619 char *kwnames[] = {
30620 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30621 };
30622
30623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30626 if (obj1) {
30627 arg2 = (int)SWIG_As_int(obj1);
30628 if (PyErr_Occurred()) SWIG_fail;
30629 }
30630 if (obj2) {
30631 {
30632 arg3 = &temp3;
30633 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30634 }
30635 }
30636 if (obj3) {
30637 {
30638 arg4 = &temp4;
30639 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30640 }
30641 }
30642 if (obj4) {
30643 arg5 = (long)SWIG_As_long(obj4);
30644 if (PyErr_Occurred()) SWIG_fail;
30645 }
30646 {
30647 if (!wxPyCheckForApp()) SWIG_fail;
30648 PyThreadState* __tstate = wxPyBeginAllowThreads();
30649 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30650
30651 wxPyEndAllowThreads(__tstate);
30652 if (PyErr_Occurred()) SWIG_fail;
30653 }
30654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30655 return resultobj;
30656 fail:
30657 return NULL;
30658 }
30659
30660
30661 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
30662 PyObject *obj;
30663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30664 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30665 Py_INCREF(obj);
30666 return Py_BuildValue((char *)"");
30667 }
30668 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
30669 PyObject *resultobj;
30670 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30671 wxHelpProvider *result;
30672 PyObject * obj0 = 0 ;
30673 char *kwnames[] = {
30674 (char *) "helpProvider", NULL
30675 };
30676
30677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30680 {
30681 PyThreadState* __tstate = wxPyBeginAllowThreads();
30682 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30683
30684 wxPyEndAllowThreads(__tstate);
30685 if (PyErr_Occurred()) SWIG_fail;
30686 }
30687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30688 return resultobj;
30689 fail:
30690 return NULL;
30691 }
30692
30693
30694 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
30695 PyObject *resultobj;
30696 wxHelpProvider *result;
30697 char *kwnames[] = {
30698 NULL
30699 };
30700
30701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30702 {
30703 PyThreadState* __tstate = wxPyBeginAllowThreads();
30704 result = (wxHelpProvider *)wxHelpProvider::Get();
30705
30706 wxPyEndAllowThreads(__tstate);
30707 if (PyErr_Occurred()) SWIG_fail;
30708 }
30709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30710 return resultobj;
30711 fail:
30712 return NULL;
30713 }
30714
30715
30716 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30717 PyObject *resultobj;
30718 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30719 wxWindow *arg2 = (wxWindow *) 0 ;
30720 wxString result;
30721 PyObject * obj0 = 0 ;
30722 PyObject * obj1 = 0 ;
30723 char *kwnames[] = {
30724 (char *) "self",(char *) "window", NULL
30725 };
30726
30727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30732 {
30733 PyThreadState* __tstate = wxPyBeginAllowThreads();
30734 result = (arg1)->GetHelp((wxWindow const *)arg2);
30735
30736 wxPyEndAllowThreads(__tstate);
30737 if (PyErr_Occurred()) SWIG_fail;
30738 }
30739 {
30740 #if wxUSE_UNICODE
30741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30742 #else
30743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30744 #endif
30745 }
30746 return resultobj;
30747 fail:
30748 return NULL;
30749 }
30750
30751
30752 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30753 PyObject *resultobj;
30754 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30755 wxWindow *arg2 = (wxWindow *) 0 ;
30756 bool result;
30757 PyObject * obj0 = 0 ;
30758 PyObject * obj1 = 0 ;
30759 char *kwnames[] = {
30760 (char *) "self",(char *) "window", NULL
30761 };
30762
30763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30768 {
30769 PyThreadState* __tstate = wxPyBeginAllowThreads();
30770 result = (bool)(arg1)->ShowHelp(arg2);
30771
30772 wxPyEndAllowThreads(__tstate);
30773 if (PyErr_Occurred()) SWIG_fail;
30774 }
30775 {
30776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30777 }
30778 return resultobj;
30779 fail:
30780 return NULL;
30781 }
30782
30783
30784 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30785 PyObject *resultobj;
30786 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30787 wxWindow *arg2 = (wxWindow *) 0 ;
30788 wxString *arg3 = 0 ;
30789 bool temp3 = false ;
30790 PyObject * obj0 = 0 ;
30791 PyObject * obj1 = 0 ;
30792 PyObject * obj2 = 0 ;
30793 char *kwnames[] = {
30794 (char *) "self",(char *) "window",(char *) "text", NULL
30795 };
30796
30797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30802 {
30803 arg3 = wxString_in_helper(obj2);
30804 if (arg3 == NULL) SWIG_fail;
30805 temp3 = true;
30806 }
30807 {
30808 PyThreadState* __tstate = wxPyBeginAllowThreads();
30809 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30810
30811 wxPyEndAllowThreads(__tstate);
30812 if (PyErr_Occurred()) SWIG_fail;
30813 }
30814 Py_INCREF(Py_None); resultobj = Py_None;
30815 {
30816 if (temp3)
30817 delete arg3;
30818 }
30819 return resultobj;
30820 fail:
30821 {
30822 if (temp3)
30823 delete arg3;
30824 }
30825 return NULL;
30826 }
30827
30828
30829 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
30830 PyObject *resultobj;
30831 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30832 int arg2 ;
30833 wxString *arg3 = 0 ;
30834 bool temp3 = false ;
30835 PyObject * obj0 = 0 ;
30836 PyObject * obj1 = 0 ;
30837 PyObject * obj2 = 0 ;
30838 char *kwnames[] = {
30839 (char *) "self",(char *) "id",(char *) "text", NULL
30840 };
30841
30842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30845 arg2 = (int)SWIG_As_int(obj1);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 {
30848 arg3 = wxString_in_helper(obj2);
30849 if (arg3 == NULL) SWIG_fail;
30850 temp3 = true;
30851 }
30852 {
30853 PyThreadState* __tstate = wxPyBeginAllowThreads();
30854 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30855
30856 wxPyEndAllowThreads(__tstate);
30857 if (PyErr_Occurred()) SWIG_fail;
30858 }
30859 Py_INCREF(Py_None); resultobj = Py_None;
30860 {
30861 if (temp3)
30862 delete arg3;
30863 }
30864 return resultobj;
30865 fail:
30866 {
30867 if (temp3)
30868 delete arg3;
30869 }
30870 return NULL;
30871 }
30872
30873
30874 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30875 PyObject *resultobj;
30876 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30877 wxWindow *arg2 = (wxWindow *) 0 ;
30878 PyObject * obj0 = 0 ;
30879 PyObject * obj1 = 0 ;
30880 char *kwnames[] = {
30881 (char *) "self",(char *) "window", NULL
30882 };
30883
30884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30889 {
30890 PyThreadState* __tstate = wxPyBeginAllowThreads();
30891 (arg1)->RemoveHelp(arg2);
30892
30893 wxPyEndAllowThreads(__tstate);
30894 if (PyErr_Occurred()) SWIG_fail;
30895 }
30896 Py_INCREF(Py_None); resultobj = Py_None;
30897 return resultobj;
30898 fail:
30899 return NULL;
30900 }
30901
30902
30903 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
30904 PyObject *resultobj;
30905 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30906 PyObject * obj0 = 0 ;
30907 char *kwnames[] = {
30908 (char *) "self", NULL
30909 };
30910
30911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30914 {
30915 PyThreadState* __tstate = wxPyBeginAllowThreads();
30916 wxHelpProvider_Destroy(arg1);
30917
30918 wxPyEndAllowThreads(__tstate);
30919 if (PyErr_Occurred()) SWIG_fail;
30920 }
30921 Py_INCREF(Py_None); resultobj = Py_None;
30922 return resultobj;
30923 fail:
30924 return NULL;
30925 }
30926
30927
30928 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
30929 PyObject *obj;
30930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30931 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30932 Py_INCREF(obj);
30933 return Py_BuildValue((char *)"");
30934 }
30935 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
30936 PyObject *resultobj;
30937 wxSimpleHelpProvider *result;
30938 char *kwnames[] = {
30939 NULL
30940 };
30941
30942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30943 {
30944 PyThreadState* __tstate = wxPyBeginAllowThreads();
30945 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30946
30947 wxPyEndAllowThreads(__tstate);
30948 if (PyErr_Occurred()) SWIG_fail;
30949 }
30950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30951 return resultobj;
30952 fail:
30953 return NULL;
30954 }
30955
30956
30957 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
30958 PyObject *obj;
30959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30960 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30961 Py_INCREF(obj);
30962 return Py_BuildValue((char *)"");
30963 }
30964 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
30965 PyObject *resultobj;
30966 wxBitmap *arg1 = 0 ;
30967 wxCursor const &arg2_defvalue = wxNullCursor ;
30968 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30969 wxGenericDragImage *result;
30970 PyObject * obj0 = 0 ;
30971 PyObject * obj1 = 0 ;
30972 char *kwnames[] = {
30973 (char *) "image",(char *) "cursor", NULL
30974 };
30975
30976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
30977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30978 SWIG_POINTER_EXCEPTION | 0)) == -1)
30979 SWIG_fail;
30980 if (arg1 == NULL) {
30981 PyErr_SetString(PyExc_TypeError,"null reference");
30982 SWIG_fail;
30983 }
30984 if (obj1) {
30985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30986 SWIG_POINTER_EXCEPTION | 0)) == -1)
30987 SWIG_fail;
30988 if (arg2 == NULL) {
30989 PyErr_SetString(PyExc_TypeError,"null reference");
30990 SWIG_fail;
30991 }
30992 }
30993 {
30994 if (!wxPyCheckForApp()) SWIG_fail;
30995 PyThreadState* __tstate = wxPyBeginAllowThreads();
30996 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30997
30998 wxPyEndAllowThreads(__tstate);
30999 if (PyErr_Occurred()) SWIG_fail;
31000 }
31001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31002 return resultobj;
31003 fail:
31004 return NULL;
31005 }
31006
31007
31008 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
31009 PyObject *resultobj;
31010 wxIcon *arg1 = 0 ;
31011 wxCursor const &arg2_defvalue = wxNullCursor ;
31012 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31013 wxGenericDragImage *result;
31014 PyObject * obj0 = 0 ;
31015 PyObject * obj1 = 0 ;
31016 char *kwnames[] = {
31017 (char *) "image",(char *) "cursor", NULL
31018 };
31019
31020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
31021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
31022 SWIG_POINTER_EXCEPTION | 0)) == -1)
31023 SWIG_fail;
31024 if (arg1 == NULL) {
31025 PyErr_SetString(PyExc_TypeError,"null reference");
31026 SWIG_fail;
31027 }
31028 if (obj1) {
31029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31030 SWIG_POINTER_EXCEPTION | 0)) == -1)
31031 SWIG_fail;
31032 if (arg2 == NULL) {
31033 PyErr_SetString(PyExc_TypeError,"null reference");
31034 SWIG_fail;
31035 }
31036 }
31037 {
31038 if (!wxPyCheckForApp()) SWIG_fail;
31039 PyThreadState* __tstate = wxPyBeginAllowThreads();
31040 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
31041
31042 wxPyEndAllowThreads(__tstate);
31043 if (PyErr_Occurred()) SWIG_fail;
31044 }
31045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31046 return resultobj;
31047 fail:
31048 return NULL;
31049 }
31050
31051
31052 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
31053 PyObject *resultobj;
31054 wxString *arg1 = 0 ;
31055 wxCursor const &arg2_defvalue = wxNullCursor ;
31056 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31057 wxGenericDragImage *result;
31058 bool temp1 = false ;
31059 PyObject * obj0 = 0 ;
31060 PyObject * obj1 = 0 ;
31061 char *kwnames[] = {
31062 (char *) "str",(char *) "cursor", NULL
31063 };
31064
31065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
31066 {
31067 arg1 = wxString_in_helper(obj0);
31068 if (arg1 == NULL) SWIG_fail;
31069 temp1 = true;
31070 }
31071 if (obj1) {
31072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31073 SWIG_POINTER_EXCEPTION | 0)) == -1)
31074 SWIG_fail;
31075 if (arg2 == NULL) {
31076 PyErr_SetString(PyExc_TypeError,"null reference");
31077 SWIG_fail;
31078 }
31079 }
31080 {
31081 if (!wxPyCheckForApp()) SWIG_fail;
31082 PyThreadState* __tstate = wxPyBeginAllowThreads();
31083 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
31084
31085 wxPyEndAllowThreads(__tstate);
31086 if (PyErr_Occurred()) SWIG_fail;
31087 }
31088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31089 {
31090 if (temp1)
31091 delete arg1;
31092 }
31093 return resultobj;
31094 fail:
31095 {
31096 if (temp1)
31097 delete arg1;
31098 }
31099 return NULL;
31100 }
31101
31102
31103 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
31104 PyObject *resultobj;
31105 wxPyTreeCtrl *arg1 = 0 ;
31106 wxTreeItemId *arg2 = 0 ;
31107 wxGenericDragImage *result;
31108 PyObject * obj0 = 0 ;
31109 PyObject * obj1 = 0 ;
31110 char *kwnames[] = {
31111 (char *) "treeCtrl",(char *) "id", NULL
31112 };
31113
31114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
31115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
31116 SWIG_POINTER_EXCEPTION | 0)) == -1)
31117 SWIG_fail;
31118 if (arg1 == NULL) {
31119 PyErr_SetString(PyExc_TypeError,"null reference");
31120 SWIG_fail;
31121 }
31122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
31123 SWIG_POINTER_EXCEPTION | 0)) == -1)
31124 SWIG_fail;
31125 if (arg2 == NULL) {
31126 PyErr_SetString(PyExc_TypeError,"null reference");
31127 SWIG_fail;
31128 }
31129 {
31130 if (!wxPyCheckForApp()) SWIG_fail;
31131 PyThreadState* __tstate = wxPyBeginAllowThreads();
31132 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
31133
31134 wxPyEndAllowThreads(__tstate);
31135 if (PyErr_Occurred()) SWIG_fail;
31136 }
31137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31138 return resultobj;
31139 fail:
31140 return NULL;
31141 }
31142
31143
31144 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
31145 PyObject *resultobj;
31146 wxPyListCtrl *arg1 = 0 ;
31147 long arg2 ;
31148 wxGenericDragImage *result;
31149 PyObject * obj0 = 0 ;
31150 PyObject * obj1 = 0 ;
31151 char *kwnames[] = {
31152 (char *) "listCtrl",(char *) "id", NULL
31153 };
31154
31155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
31156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
31157 SWIG_POINTER_EXCEPTION | 0)) == -1)
31158 SWIG_fail;
31159 if (arg1 == NULL) {
31160 PyErr_SetString(PyExc_TypeError,"null reference");
31161 SWIG_fail;
31162 }
31163 arg2 = (long)SWIG_As_long(obj1);
31164 if (PyErr_Occurred()) SWIG_fail;
31165 {
31166 if (!wxPyCheckForApp()) SWIG_fail;
31167 PyThreadState* __tstate = wxPyBeginAllowThreads();
31168 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
31169
31170 wxPyEndAllowThreads(__tstate);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 }
31173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31174 return resultobj;
31175 fail:
31176 return NULL;
31177 }
31178
31179
31180 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
31181 PyObject *resultobj;
31182 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31183 PyObject * obj0 = 0 ;
31184 char *kwnames[] = {
31185 (char *) "self", NULL
31186 };
31187
31188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
31189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31191 {
31192 PyThreadState* __tstate = wxPyBeginAllowThreads();
31193 delete arg1;
31194
31195 wxPyEndAllowThreads(__tstate);
31196 if (PyErr_Occurred()) SWIG_fail;
31197 }
31198 Py_INCREF(Py_None); resultobj = Py_None;
31199 return resultobj;
31200 fail:
31201 return NULL;
31202 }
31203
31204
31205 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
31206 PyObject *resultobj;
31207 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31208 wxBitmap *arg2 = (wxBitmap *) 0 ;
31209 PyObject * obj0 = 0 ;
31210 PyObject * obj1 = 0 ;
31211 char *kwnames[] = {
31212 (char *) "self",(char *) "bitmap", NULL
31213 };
31214
31215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
31216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31220 {
31221 PyThreadState* __tstate = wxPyBeginAllowThreads();
31222 (arg1)->SetBackingBitmap(arg2);
31223
31224 wxPyEndAllowThreads(__tstate);
31225 if (PyErr_Occurred()) SWIG_fail;
31226 }
31227 Py_INCREF(Py_None); resultobj = Py_None;
31228 return resultobj;
31229 fail:
31230 return NULL;
31231 }
31232
31233
31234 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
31235 PyObject *resultobj;
31236 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31237 wxPoint *arg2 = 0 ;
31238 wxWindow *arg3 = (wxWindow *) 0 ;
31239 bool arg4 = (bool) false ;
31240 wxRect *arg5 = (wxRect *) NULL ;
31241 bool result;
31242 wxPoint temp2 ;
31243 PyObject * obj0 = 0 ;
31244 PyObject * obj1 = 0 ;
31245 PyObject * obj2 = 0 ;
31246 PyObject * obj3 = 0 ;
31247 PyObject * obj4 = 0 ;
31248 char *kwnames[] = {
31249 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31250 };
31251
31252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31255 {
31256 arg2 = &temp2;
31257 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31258 }
31259 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31261 if (obj3) {
31262 arg4 = (bool)SWIG_As_bool(obj3);
31263 if (PyErr_Occurred()) SWIG_fail;
31264 }
31265 if (obj4) {
31266 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
31267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31268 }
31269 {
31270 PyThreadState* __tstate = wxPyBeginAllowThreads();
31271 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
31272
31273 wxPyEndAllowThreads(__tstate);
31274 if (PyErr_Occurred()) SWIG_fail;
31275 }
31276 {
31277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31278 }
31279 return resultobj;
31280 fail:
31281 return NULL;
31282 }
31283
31284
31285 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
31286 PyObject *resultobj;
31287 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31288 wxPoint *arg2 = 0 ;
31289 wxWindow *arg3 = (wxWindow *) 0 ;
31290 wxWindow *arg4 = (wxWindow *) 0 ;
31291 bool result;
31292 wxPoint temp2 ;
31293 PyObject * obj0 = 0 ;
31294 PyObject * obj1 = 0 ;
31295 PyObject * obj2 = 0 ;
31296 PyObject * obj3 = 0 ;
31297 char *kwnames[] = {
31298 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31299 };
31300
31301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31304 {
31305 arg2 = &temp2;
31306 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31307 }
31308 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31310 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
31311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31312 {
31313 PyThreadState* __tstate = wxPyBeginAllowThreads();
31314 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
31315
31316 wxPyEndAllowThreads(__tstate);
31317 if (PyErr_Occurred()) SWIG_fail;
31318 }
31319 {
31320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31321 }
31322 return resultobj;
31323 fail:
31324 return NULL;
31325 }
31326
31327
31328 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
31329 PyObject *resultobj;
31330 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31331 bool result;
31332 PyObject * obj0 = 0 ;
31333 char *kwnames[] = {
31334 (char *) "self", NULL
31335 };
31336
31337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
31338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31340 {
31341 PyThreadState* __tstate = wxPyBeginAllowThreads();
31342 result = (bool)(arg1)->EndDrag();
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
31356 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
31357 PyObject *resultobj;
31358 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31359 wxPoint *arg2 = 0 ;
31360 bool result;
31361 wxPoint temp2 ;
31362 PyObject * obj0 = 0 ;
31363 PyObject * obj1 = 0 ;
31364 char *kwnames[] = {
31365 (char *) "self",(char *) "pt", NULL
31366 };
31367
31368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
31369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31371 {
31372 arg2 = &temp2;
31373 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31374 }
31375 {
31376 PyThreadState* __tstate = wxPyBeginAllowThreads();
31377 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31378
31379 wxPyEndAllowThreads(__tstate);
31380 if (PyErr_Occurred()) SWIG_fail;
31381 }
31382 {
31383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31384 }
31385 return resultobj;
31386 fail:
31387 return NULL;
31388 }
31389
31390
31391 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
31392 PyObject *resultobj;
31393 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31394 bool result;
31395 PyObject * obj0 = 0 ;
31396 char *kwnames[] = {
31397 (char *) "self", NULL
31398 };
31399
31400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
31401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31403 {
31404 PyThreadState* __tstate = wxPyBeginAllowThreads();
31405 result = (bool)(arg1)->Show();
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
31419 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
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_Hide",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)->Hide();
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
31447 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
31448 PyObject *resultobj;
31449 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31450 wxPoint *arg2 = 0 ;
31451 wxRect result;
31452 wxPoint temp2 ;
31453 PyObject * obj0 = 0 ;
31454 PyObject * obj1 = 0 ;
31455 char *kwnames[] = {
31456 (char *) "self",(char *) "pos", NULL
31457 };
31458
31459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31462 {
31463 arg2 = &temp2;
31464 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31465 }
31466 {
31467 PyThreadState* __tstate = wxPyBeginAllowThreads();
31468 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31469
31470 wxPyEndAllowThreads(__tstate);
31471 if (PyErr_Occurred()) SWIG_fail;
31472 }
31473 {
31474 wxRect * resultptr;
31475 resultptr = new wxRect((wxRect &) result);
31476 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31477 }
31478 return resultobj;
31479 fail:
31480 return NULL;
31481 }
31482
31483
31484 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
31485 PyObject *resultobj;
31486 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31487 wxDC *arg2 = 0 ;
31488 wxPoint *arg3 = 0 ;
31489 bool result;
31490 wxPoint temp3 ;
31491 PyObject * obj0 = 0 ;
31492 PyObject * obj1 = 0 ;
31493 PyObject * obj2 = 0 ;
31494 char *kwnames[] = {
31495 (char *) "self",(char *) "dc",(char *) "pos", NULL
31496 };
31497
31498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31502 SWIG_POINTER_EXCEPTION | 0)) == -1)
31503 SWIG_fail;
31504 if (arg2 == NULL) {
31505 PyErr_SetString(PyExc_TypeError,"null reference");
31506 SWIG_fail;
31507 }
31508 {
31509 arg3 = &temp3;
31510 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31511 }
31512 {
31513 PyThreadState* __tstate = wxPyBeginAllowThreads();
31514 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31515
31516 wxPyEndAllowThreads(__tstate);
31517 if (PyErr_Occurred()) SWIG_fail;
31518 }
31519 {
31520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31521 }
31522 return resultobj;
31523 fail:
31524 return NULL;
31525 }
31526
31527
31528 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
31529 PyObject *resultobj;
31530 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31531 wxDC *arg2 = 0 ;
31532 wxMemoryDC *arg3 = 0 ;
31533 wxRect *arg4 = 0 ;
31534 wxRect *arg5 = 0 ;
31535 bool result;
31536 wxRect temp4 ;
31537 wxRect temp5 ;
31538 PyObject * obj0 = 0 ;
31539 PyObject * obj1 = 0 ;
31540 PyObject * obj2 = 0 ;
31541 PyObject * obj3 = 0 ;
31542 PyObject * obj4 = 0 ;
31543 char *kwnames[] = {
31544 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31545 };
31546
31547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31551 SWIG_POINTER_EXCEPTION | 0)) == -1)
31552 SWIG_fail;
31553 if (arg2 == NULL) {
31554 PyErr_SetString(PyExc_TypeError,"null reference");
31555 SWIG_fail;
31556 }
31557 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31558 SWIG_POINTER_EXCEPTION | 0)) == -1)
31559 SWIG_fail;
31560 if (arg3 == NULL) {
31561 PyErr_SetString(PyExc_TypeError,"null reference");
31562 SWIG_fail;
31563 }
31564 {
31565 arg4 = &temp4;
31566 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31567 }
31568 {
31569 arg5 = &temp5;
31570 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31571 }
31572 {
31573 PyThreadState* __tstate = wxPyBeginAllowThreads();
31574 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31575
31576 wxPyEndAllowThreads(__tstate);
31577 if (PyErr_Occurred()) SWIG_fail;
31578 }
31579 {
31580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31581 }
31582 return resultobj;
31583 fail:
31584 return NULL;
31585 }
31586
31587
31588 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
31589 PyObject *resultobj;
31590 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31591 wxPoint *arg2 = 0 ;
31592 wxPoint *arg3 = 0 ;
31593 bool arg4 ;
31594 bool arg5 ;
31595 bool result;
31596 wxPoint temp2 ;
31597 wxPoint temp3 ;
31598 PyObject * obj0 = 0 ;
31599 PyObject * obj1 = 0 ;
31600 PyObject * obj2 = 0 ;
31601 PyObject * obj3 = 0 ;
31602 PyObject * obj4 = 0 ;
31603 char *kwnames[] = {
31604 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31605 };
31606
31607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31610 {
31611 arg2 = &temp2;
31612 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31613 }
31614 {
31615 arg3 = &temp3;
31616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31617 }
31618 arg4 = (bool)SWIG_As_bool(obj3);
31619 if (PyErr_Occurred()) SWIG_fail;
31620 arg5 = (bool)SWIG_As_bool(obj4);
31621 if (PyErr_Occurred()) SWIG_fail;
31622 {
31623 PyThreadState* __tstate = wxPyBeginAllowThreads();
31624 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31625
31626 wxPyEndAllowThreads(__tstate);
31627 if (PyErr_Occurred()) SWIG_fail;
31628 }
31629 {
31630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31631 }
31632 return resultobj;
31633 fail:
31634 return NULL;
31635 }
31636
31637
31638 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
31639 PyObject *obj;
31640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31641 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31642 Py_INCREF(obj);
31643 return Py_BuildValue((char *)"");
31644 }
31645 static PyMethodDef SwigMethods[] = {
31646 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
31647 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
31648 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31649 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31650 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31651 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31652 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
31653 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31654 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31655 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31656 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31657 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31658 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31659 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31660 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31661 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31662 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31663 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31664 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
31665 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
31666 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
31667 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
31668 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31669 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31670 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31671 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31672 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31673 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31674 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31675 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31676 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
31677 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
31678 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31679 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
31680 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
31681 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
31682 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31683 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31684 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31685 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31686 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31687 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
31688 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31689 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31690 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31691 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31692 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31693 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31694 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
31695 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
31696 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31697 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31698 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31699 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
31700 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31701 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
31702 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31703 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31704 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31705 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31706 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
31707 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31708 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
31709 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
31710 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
31711 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31712 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31713 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31714 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31715 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31716 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31717 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
31718 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
31719 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
31720 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
31721 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31722 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
31723 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
31724 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
31725 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31726 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31727 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
31728 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
31729 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
31730 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31731 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31732 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31733 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31734 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
31735 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
31736 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
31737 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31738 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31739 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
31740 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31741 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31742 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31743 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31744 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31745 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
31746 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31747 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
31748 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31749 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31750 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31751 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
31752 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
31753 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
31754 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31755 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31756 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
31757 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
31758 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
31759 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31760 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
31761 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
31762 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
31763 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
31764 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
31765 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
31766 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31767 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31768 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
31769 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31770 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
31771 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31772 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31773 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31774 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31775 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
31776 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
31777 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
31778 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
31779 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
31780 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
31781 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
31782 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31783 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31784 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
31785 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31786 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31787 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31788 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31789 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
31790 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31791 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31792 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
31793 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31794 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31795 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31796 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31797 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
31798 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31799 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31800 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
31801 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31802 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31803 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31804 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31805 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31806 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
31807 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31808 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
31809 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
31810 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31811 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31812 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31813 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31814 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31815 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31816 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
31817 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
31818 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
31819 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
31820 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31821 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
31822 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
31823 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31824 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31825 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
31826 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
31827 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
31828 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
31829 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
31830 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
31831 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
31832 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
31833 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
31834 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
31835 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
31836 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31837 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31838 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31839 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31840 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31841 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
31842 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31843 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
31844 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL },
31845 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31846 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
31847 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
31848 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
31849 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
31850 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
31851 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
31852 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
31853 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
31854 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
31855 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31856 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31857 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31858 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31859 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31860 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
31861 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31862 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
31863 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
31864 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31865 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
31866 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31867 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31868 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
31869 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31870 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
31871 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
31872 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
31873 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31874 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31875 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
31876 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31877 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31878 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31879 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31880 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
31881 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31882 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
31883 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
31884 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
31885 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31886 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31887 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31888 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31889 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31890 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31891 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31892 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31893 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31894 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31895 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
31896 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31897 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31898 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31899 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31900 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31901 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
31902 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31903 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31904 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31905 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31906 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31907 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
31908 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31909 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31910 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31911 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
31912 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
31913 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
31914 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31915 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31916 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31917 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31918 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31919 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
31920 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
31921 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
31922 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31923 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
31924 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
31925 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
31926 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
31927 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
31928 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31929 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
31930 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
31931 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
31932 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31933 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31934 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31935 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31936 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
31937 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
31938 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
31939 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31940 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31941 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31942 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31943 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31944 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31945 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31946 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31947 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
31948 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31949 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
31950 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31951 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
31952 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
31953 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
31954 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
31955 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
31956 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
31957 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
31958 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31959 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
31960 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31961 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31962 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
31963 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
31964 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
31965 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31966 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31967 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31968 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31969 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31970 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
31971 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
31972 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
31973 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31974 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
31975 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
31976 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
31977 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
31978 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
31979 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
31980 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
31981 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31982 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
31983 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
31984 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
31985 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
31986 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
31987 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
31988 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31989 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31990 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31991 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS, NULL },
31992 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31993 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31994 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31995 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31996 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31997 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS, NULL },
31998 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
31999 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32000 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32001 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
32002 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
32003 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
32004 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32005 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32006 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32007 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
32008 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32009 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
32010 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
32011 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
32012 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32013 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32014 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL },
32015 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
32016 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32017 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
32018 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32019 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32020 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32021 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32022 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32023 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL },
32024 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32025 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL },
32026 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32027 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32028 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32029 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32030 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
32031 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32032 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32033 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32034 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32035 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
32036 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32037 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32038 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32039 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
32040 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
32041 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32042 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32043 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
32044 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32045 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32046 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32047 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32048 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32049 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32050 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32051 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32052 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32053 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
32054 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32055 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32056 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32057 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32058 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32059 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32060 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32061 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
32062 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
32063 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32064 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32065 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
32066 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
32067 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
32068 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32069 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32070 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
32071 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
32072 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
32073 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32074 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32075 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
32076 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
32077 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
32078 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
32079 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
32080 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
32081 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
32082 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32083 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32084 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32085 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
32086 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
32087 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32088 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32089 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32090 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32091 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32092 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
32093 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32094 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32095 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32096 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32097 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32098 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32099 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32100 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
32101 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
32102 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
32103 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
32104 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32105 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32106 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
32107 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32108 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
32109 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32110 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
32111 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32112 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32113 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32114 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32115 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32116 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
32117 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32118 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32119 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32120 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32121 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32122 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32123 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
32124 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32125 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32126 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32127 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32128 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
32129 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32130 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32131 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
32132 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32133 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32134 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32135 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32136 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
32137 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
32138 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
32139 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32140 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32141 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32142 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32143 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32144 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32145 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32146 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32147 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32148 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32149 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
32150 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32151 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32152 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32153 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32154 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32155 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32156 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32157 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32158 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32159 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32160 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32161 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32162 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
32163 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
32164 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32165 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32166 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
32167 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
32168 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32169 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32170 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
32171 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
32172 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
32173 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
32174 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
32175 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
32176 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
32177 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
32178 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
32179 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
32180 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
32181 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32182 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
32183 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
32184 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32185 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32186 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32187 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32188 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32189 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32190 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
32191 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
32192 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
32193 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32194 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32195 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32196 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32197 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32198 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32199 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32200 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32201 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32202 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32203 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
32204 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
32205 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32206 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32207 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
32208 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32209 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32210 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32211 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32212 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32213 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32214 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32215 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32216 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32217 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32218 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
32219 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
32220 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32221 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32222 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32223 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32224 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32225 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32226 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32227 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32228 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32229 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32230 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32231 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
32232 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32233 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32234 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
32235 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32236 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32237 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32238 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32239 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32240 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
32241 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32242 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
32243 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
32244 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32245 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32246 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32247 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
32248 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
32249 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
32250 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
32251 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
32252 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
32253 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32254 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32255 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
32256 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
32257 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32258 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32259 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
32260 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32261 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
32262 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32263 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32264 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32265 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
32266 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32267 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32268 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32269 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32270 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
32271 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32272 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32273 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32274 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32275 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
32276 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32277 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32278 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
32279 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
32280 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
32281 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32282 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
32283 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
32284 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
32285 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32286 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32287 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32288 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32289 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32290 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
32291 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32292 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32293 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
32294 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
32295 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
32296 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
32297 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
32298 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
32299 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32300 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32301 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32302 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32303 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32304 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32305 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
32306 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32307 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32308 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32309 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32310 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32311 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32312 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32313 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32314 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32315 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32316 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32317 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32318 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32319 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32320 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
32321 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
32322 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32323 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32324 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32325 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32326 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
32327 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32328 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32329 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32330 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32331 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32332 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32333 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32334 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32335 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32336 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32337 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32338 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32339 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32340 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32341 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32342 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32343 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32344 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32345 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32346 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32347 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32348 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32349 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
32350 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32351 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32352 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32353 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32354 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32355 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
32356 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32357 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
32358 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
32359 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
32360 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32361 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
32362 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
32363 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
32364 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
32365 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
32366 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32367 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32368 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
32369 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32370 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32371 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
32372 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
32373 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32374 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
32375 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
32376 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
32377 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32378 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32379 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
32380 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
32381 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
32382 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32383 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
32384 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32385 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32386 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32387 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32388 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32389 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
32390 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32391 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
32392 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32393 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32394 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
32395 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32396 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
32397 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32398 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32399 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32400 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
32401 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32402 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32403 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32404 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
32405 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32406 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32407 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32408 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32409 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32410 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32411 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32412 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
32413 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32414 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32415 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
32416 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
32417 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
32418 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
32419 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32420 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32421 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32422 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
32423 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
32424 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32425 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32426 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32427 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32428 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32429 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32430 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32431 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32432 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32433 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32434 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32435 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32436 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32437 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
32438 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32439 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32440 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
32441 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
32442 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
32443 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
32444 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
32445 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
32446 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
32447 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
32448 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32449 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
32450 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32451 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32452 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32453 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32454 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32455 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32456 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32457 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
32458 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32459 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32460 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32461 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32462 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
32463 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
32464 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
32465 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
32466 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
32467 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32468 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32469 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32470 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
32471 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32472 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32473 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
32474 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
32475 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
32476 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32477 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
32478 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
32479 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
32480 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32481 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32482 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32483 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32484 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
32485 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32486 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
32487 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
32488 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
32489 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
32490 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32491 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32492 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32493 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
32494 { NULL, NULL, 0, NULL }
32495 };
32496
32497
32498 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32499
32500 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32501 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32502 }
32503 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32504 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32505 }
32506 static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x) {
32507 return (void *)((wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32508 }
32509 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32510 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32511 }
32512 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32513 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32514 }
32515 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32516 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32517 }
32518 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32519 return (void *)((wxSizer *) ((wxGridSizer *) x));
32520 }
32521 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32522 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32523 }
32524 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32525 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32526 }
32527 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32528 return (void *)((wxSizer *) ((wxPySizer *) x));
32529 }
32530 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32531 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32532 }
32533 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32534 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32535 }
32536 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32537 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32538 }
32539 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32540 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32541 }
32542 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32543 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32544 }
32545 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32546 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32547 }
32548 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32549 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32550 }
32551 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32552 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32553 }
32554 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32555 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32556 }
32557 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32558 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32559 }
32560 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32561 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32562 }
32563 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32564 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32565 }
32566 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32567 return (void *)((wxEvent *) ((wxPyEvent *) x));
32568 }
32569 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32570 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32571 }
32572 static void *_p_wxListEventTo_p_wxEvent(void *x) {
32573 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32574 }
32575 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32576 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32577 }
32578 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32579 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32580 }
32581 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
32582 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32583 }
32584 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32585 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32586 }
32587 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32588 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32589 }
32590 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32591 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32592 }
32593 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32594 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32595 }
32596 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32597 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32598 }
32599 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32600 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32601 }
32602 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32603 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32604 }
32605 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32606 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32607 }
32608 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32609 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32610 }
32611 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32612 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32613 }
32614 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32615 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32616 }
32617 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32618 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32619 }
32620 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32621 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32622 }
32623 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32624 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32625 }
32626 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32627 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32628 }
32629 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32630 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32631 }
32632 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32633 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32634 }
32635 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32636 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32637 }
32638 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32639 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32640 }
32641 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32642 return (void *)((wxEvent *) ((wxShowEvent *) x));
32643 }
32644 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32645 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32646 }
32647 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32648 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32649 }
32650 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32651 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32652 }
32653 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32654 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32655 }
32656 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32657 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32658 }
32659 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32660 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32661 }
32662 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32663 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32664 }
32665 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32666 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32667 }
32668 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32669 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32670 }
32671 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32672 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32673 }
32674 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32675 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32676 }
32677 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32678 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32679 }
32680 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32681 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32682 }
32683 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32684 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32685 }
32686 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32687 return (void *)((wxControl *) ((wxBookCtrl *) x));
32688 }
32689 static void *_p_wxToolBarTo_p_wxControl(void *x) {
32690 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32691 }
32692 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32693 return (void *)((wxControl *) ((wxToggleButton *) x));
32694 }
32695 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32696 return (void *)((wxControl *) ((wxRadioButton *) x));
32697 }
32698 static void *_p_wxPyControlTo_p_wxControl(void *x) {
32699 return (void *)((wxControl *) ((wxPyControl *) x));
32700 }
32701 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32702 return (void *)((wxControl *) ((wxToolBarBase *) x));
32703 }
32704 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32705 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32706 }
32707 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32708 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32709 }
32710 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32711 return (void *)((wxControl *) ((wxComboBox *) x));
32712 }
32713 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32714 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32715 }
32716 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32717 return (void *)((wxControl *) ((wxScrollBar *) x));
32718 }
32719 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32720 return (void *)((wxControl *) ((wxControlWithItems *) x));
32721 }
32722 static void *_p_wxGaugeTo_p_wxControl(void *x) {
32723 return (void *)((wxControl *) ((wxGauge *) x));
32724 }
32725 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32726 return (void *)((wxControl *) ((wxStaticLine *) x));
32727 }
32728 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
32729 return (void *)((wxControl *) (wxBookCtrl *) ((wxChoicebook *) x));
32730 }
32731 static void *_p_wxListbookTo_p_wxControl(void *x) {
32732 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32733 }
32734 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32735 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32736 }
32737 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32738 return (void *)((wxControl *) ((wxCheckBox *) x));
32739 }
32740 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32741 return (void *)((wxControl *) ((wxRadioBox *) x));
32742 }
32743 static void *_p_wxChoiceTo_p_wxControl(void *x) {
32744 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32745 }
32746 static void *_p_wxListBoxTo_p_wxControl(void *x) {
32747 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32748 }
32749 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32750 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32751 }
32752 static void *_p_wxListViewTo_p_wxControl(void *x) {
32753 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32754 }
32755 static void *_p_wxNotebookTo_p_wxControl(void *x) {
32756 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32757 }
32758 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32759 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32760 }
32761 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32762 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32763 }
32764 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32765 return (void *)((wxControl *) ((wxStaticText *) x));
32766 }
32767 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32768 return (void *)((wxControl *) ((wxStaticBox *) x));
32769 }
32770 static void *_p_wxSliderTo_p_wxControl(void *x) {
32771 return (void *)((wxControl *) ((wxSlider *) x));
32772 }
32773 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32774 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32775 }
32776 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32777 return (void *)((wxControl *) ((wxSpinButton *) x));
32778 }
32779 static void *_p_wxButtonTo_p_wxControl(void *x) {
32780 return (void *)((wxControl *) ((wxButton *) x));
32781 }
32782 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32783 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32784 }
32785 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32786 return (void *)((wxControl *) ((wxTextCtrl *) x));
32787 }
32788 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32789 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32790 }
32791 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32792 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32793 }
32794 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32795 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32796 }
32797 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32798 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32799 }
32800 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32801 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32802 }
32803 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32804 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32805 }
32806 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32807 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32808 }
32809 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32810 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32811 }
32812 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
32813 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32814 }
32815 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32816 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32817 }
32818 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32819 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32820 }
32821 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32822 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32823 }
32824 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32825 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32826 }
32827 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32828 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32829 }
32830 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32831 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32832 }
32833 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32834 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32835 }
32836 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32837 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32838 }
32839 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32840 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32841 }
32842 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32843 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32844 }
32845 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32846 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32847 }
32848 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32849 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32850 }
32851 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32852 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32853 }
32854 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32855 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32856 }
32857 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32858 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32859 }
32860 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32861 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32862 }
32863 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32864 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32865 }
32866 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32867 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32868 }
32869 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32870 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32871 }
32872 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32873 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32874 }
32875 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32876 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32877 }
32878 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
32879 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
32880 }
32881 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32882 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32883 }
32884 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32885 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32886 }
32887 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32888 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32889 }
32890 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32891 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32892 }
32893 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32894 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32895 }
32896 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32897 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32898 }
32899 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32900 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32901 }
32902 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32903 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32904 }
32905 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32906 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32907 }
32908 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32909 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32910 }
32911 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32912 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32913 }
32914 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32915 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32916 }
32917 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32918 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32919 }
32920 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32921 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32922 }
32923 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32924 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32925 }
32926 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32928 }
32929 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32930 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32931 }
32932 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32934 }
32935 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32936 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32937 }
32938 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32939 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32940 }
32941 static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x) {
32942 return (void *)((wxBookCtrl *) ((wxChoicebook *) x));
32943 }
32944 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32945 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32946 }
32947 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32948 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32949 }
32950 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32951 return (void *)((wxButton *) ((wxBitmapButton *) x));
32952 }
32953 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32954 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32955 }
32956 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32957 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32958 }
32959 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32960 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32961 }
32962 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32963 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32964 }
32965 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32966 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32967 }
32968 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32969 return (void *)((wxObject *) ((wxSizerItem *) x));
32970 }
32971 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32972 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32973 }
32974 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32975 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32976 }
32977 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32979 }
32980 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32981 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32982 }
32983 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32984 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32985 }
32986 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32987 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32988 }
32989 static void *_p_wxSizerTo_p_wxObject(void *x) {
32990 return (void *)((wxObject *) ((wxSizer *) x));
32991 }
32992 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32993 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32994 }
32995 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32997 }
32998 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
33000 }
33001 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33002 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33003 }
33004 static void *_p_wxEventTo_p_wxObject(void *x) {
33005 return (void *)((wxObject *) ((wxEvent *) x));
33006 }
33007 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33008 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33009 }
33010 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33011 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33012 }
33013 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33014 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33015 }
33016 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
33017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
33018 }
33019 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
33020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
33021 }
33022 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
33023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33024 }
33025 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33026 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33027 }
33028 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33029 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33030 }
33031 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33032 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33033 }
33034 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33035 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33036 }
33037 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33038 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33039 }
33040 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33041 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33042 }
33043 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
33044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
33045 }
33046 static void *_p_wxControlTo_p_wxObject(void *x) {
33047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33048 }
33049 static void *_p_wxPyControlTo_p_wxObject(void *x) {
33050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
33051 }
33052 static void *_p_wxGaugeTo_p_wxObject(void *x) {
33053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
33054 }
33055 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
33056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
33057 }
33058 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
33059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
33060 }
33061 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
33062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
33063 }
33064 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33065 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33066 }
33067 static void *_p_wxChoiceTo_p_wxObject(void *x) {
33068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33069 }
33070 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33071 return (void *)((wxObject *) ((wxFSFile *) x));
33072 }
33073 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33074 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33075 }
33076 static void *_p_wxListViewTo_p_wxObject(void *x) {
33077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33078 }
33079 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
33080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
33081 }
33082 static void *_p_wxNotebookTo_p_wxObject(void *x) {
33083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33084 }
33085 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33086 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33087 }
33088 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33090 }
33091 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
33092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33093 }
33094 static void *_p_wxListbookTo_p_wxObject(void *x) {
33095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33096 }
33097 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33098 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33099 }
33100 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
33101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
33102 }
33103 static void *_p_wxSliderTo_p_wxObject(void *x) {
33104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
33105 }
33106 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33107 return (void *)((wxObject *) ((wxMenuItem *) x));
33108 }
33109 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33110 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33111 }
33112 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33113 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33114 }
33115 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33116 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33117 }
33118 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33119 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33120 }
33121 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33122 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33123 }
33124 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33125 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33126 }
33127 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33128 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33129 }
33130 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33131 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33132 }
33133 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
33134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
33135 }
33136 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
33137 return (void *)((wxObject *) ((wxContextHelp *) x));
33138 }
33139 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33140 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33141 }
33142 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33143 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33144 }
33145 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33146 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33147 }
33148 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33149 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33150 }
33151 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33152 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33153 }
33154 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33155 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33156 }
33157 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33158 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33159 }
33160 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33161 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33162 }
33163 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33164 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33165 }
33166 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33167 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33168 }
33169 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33170 return (void *)((wxObject *) ((wxImageHandler *) x));
33171 }
33172 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33173 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33174 }
33175 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33176 return (void *)((wxObject *) ((wxEvtHandler *) x));
33177 }
33178 static void *_p_wxListEventTo_p_wxObject(void *x) {
33179 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
33180 }
33181 static void *_p_wxListBoxTo_p_wxObject(void *x) {
33182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33183 }
33184 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
33185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33186 }
33187 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
33188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
33189 }
33190 static void *_p_wxButtonTo_p_wxObject(void *x) {
33191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
33192 }
33193 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
33194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33195 }
33196 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
33197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
33198 }
33199 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
33200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33201 }
33202 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33203 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33204 }
33205 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
33206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
33207 }
33208 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
33209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
33210 }
33211 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
33212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
33213 }
33214 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
33215 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
33216 }
33217 static void *_p_wxListItemTo_p_wxObject(void *x) {
33218 return (void *)((wxObject *) ((wxListItem *) x));
33219 }
33220 static void *_p_wxImageTo_p_wxObject(void *x) {
33221 return (void *)((wxObject *) ((wxImage *) x));
33222 }
33223 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
33224 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
33225 }
33226 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33227 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33228 }
33229 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
33230 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
33231 }
33232 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
33233 return (void *)((wxObject *) ((wxGenericDragImage *) x));
33234 }
33235 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
33236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33237 }
33238 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
33239 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33240 }
33241 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
33242 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33243 }
33244 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
33245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33246 }
33247 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33248 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33249 }
33250 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33251 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33252 }
33253 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33254 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33255 }
33256 static void *_p_wxWindowTo_p_wxObject(void *x) {
33257 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33258 }
33259 static void *_p_wxMenuTo_p_wxObject(void *x) {
33260 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33261 }
33262 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33264 }
33265 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33266 return (void *)((wxObject *) ((wxFileSystem *) x));
33267 }
33268 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33270 }
33271 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33272 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33273 }
33274 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33275 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33276 }
33277 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33278 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33279 }
33280 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33281 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33282 }
33283 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33284 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33285 }
33286 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
33287 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
33288 }
33289 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33291 }
33292 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33293 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33294 }
33295 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
33296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
33297 }
33298 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33299 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33300 }
33301 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33302 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33303 }
33304 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33306 }
33307 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33309 }
33310 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
33311 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
33312 }
33313 static void *_p_wxToolBarTo_p_wxObject(void *x) {
33314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33315 }
33316 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33317 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33318 }
33319 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33320 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33321 }
33322 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
33323 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
33324 }
33325 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
33326 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
33327 }
33328 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33329 return (void *)((wxWindow *) ((wxMenuBar *) x));
33330 }
33331 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
33332 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33333 }
33334 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
33335 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
33336 }
33337 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
33338 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
33339 }
33340 static void *_p_wxControlTo_p_wxWindow(void *x) {
33341 return (void *)((wxWindow *) ((wxControl *) x));
33342 }
33343 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
33344 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
33345 }
33346 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
33347 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33348 }
33349 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
33350 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
33351 }
33352 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
33353 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
33354 }
33355 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
33356 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
33357 }
33358 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
33359 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
33360 }
33361 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
33362 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
33363 }
33364 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33365 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33366 }
33367 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
33368 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
33369 }
33370 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
33371 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
33372 }
33373 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
33374 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33375 }
33376 static void *_p_wxListbookTo_p_wxWindow(void *x) {
33377 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33378 }
33379 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
33380 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
33381 }
33382 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
33383 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
33384 }
33385 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
33386 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
33387 }
33388 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
33389 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33390 }
33391 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
33392 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33393 }
33394 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
33395 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33396 }
33397 static void *_p_wxListViewTo_p_wxWindow(void *x) {
33398 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33399 }
33400 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
33401 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33402 }
33403 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33404 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33405 }
33406 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33407 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33408 }
33409 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33410 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33411 }
33412 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33413 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33414 }
33415 static void *_p_wxSliderTo_p_wxWindow(void *x) {
33416 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33417 }
33418 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33419 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33420 }
33421 static void *_p_wxButtonTo_p_wxWindow(void *x) {
33422 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33423 }
33424 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33425 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33426 }
33427 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33428 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33429 }
33430 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33431 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33432 }
33433 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33434 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33435 }
33436 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
33437 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33438 }
33439 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33440 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33441 }
33442 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33443 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33444 }
33445 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33446 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33447 }
33448 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33449 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33450 }
33451 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33452 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33453 }
33454 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
33455 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33456 }
33457 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33458 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33459 }
33460 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33461 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33462 }
33463 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33464 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33465 }
33466 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33467 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33468 }
33469 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33470 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33471 }
33472 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33473 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33474 }
33475 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33476 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33477 }
33478 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33479 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33480 }
33481 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33482 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33483 }
33484 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33485 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33486 }
33487 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33488 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33489 }
33490 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33491 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33492 }
33493 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33494 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33495 }
33496 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33497 return (void *)((wxValidator *) ((wxPyValidator *) x));
33498 }
33499 static 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}};
33500 static swig_type_info _swigt__p_wxBookCtrlEvent[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33501 static 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}};
33502 static 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}};
33503 static 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}};
33504 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33505 static 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}};
33506 static 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}};
33507 static 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}};
33508 static 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}};
33509 static 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}};
33510 static 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}};
33511 static 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}};
33512 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33513 static 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}};
33514 static 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}};
33515 static 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}};
33516 static 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}};
33517 static 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}};
33518 static 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}};
33519 static 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}};
33520 static 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}};
33521 static 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}};
33522 static 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}};
33523 static 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}};
33524 static 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}};
33525 static 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}};
33526 static 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}};
33527 static 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}};
33528 static 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}};
33529 static 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}};
33530 static 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}};
33531 static 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}};
33532 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33533 static 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}};
33534 static 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}};
33535 static 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}};
33536 static 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}};
33537 static 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}};
33538 static 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}};
33539 static 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}};
33540 static 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}};
33541 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33542 static 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}};
33543 static 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}};
33544 static 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}};
33545 static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33546 static 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}};
33547 static 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}};
33548 static 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}};
33549 static 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}};
33550 static 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}};
33551 static 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}};
33552 static 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}};
33553 static 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}};
33554 static 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}};
33555 static 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}};
33556 static 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}};
33557 static 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}};
33558 static 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}};
33559 static 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}};
33560 static 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}};
33561 static 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}};
33562 static 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}};
33563 static 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}};
33564 static 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}};
33565 static 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}};
33566 static 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}};
33567 static 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}};
33568 static 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}};
33569 static 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}};
33570 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33571 static 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}};
33572 static 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}};
33573 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33574 static 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}};
33575 static 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}};
33576 static 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}};
33577 static 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}};
33578 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33579 static 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}};
33580 static 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}};
33581 static 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}};
33582 static 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}};
33583 static 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}};
33584 static 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}};
33585 static 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}};
33586
33587 static swig_type_info *swig_types_initial[] = {
33588 _swigt__p_wxTextUrlEvent,
33589 _swigt__p_wxBookCtrlEvent,
33590 _swigt__p_wxSizer,
33591 _swigt__p_wxCheckBox,
33592 _swigt__p_wxPyTreeCtrl,
33593 _swigt__p_wxEvent,
33594 _swigt__p_wxGenericDirCtrl,
33595 _swigt__p_bool,
33596 _swigt__p_wxPyTreeItemData,
33597 _swigt__p_wxItemContainer,
33598 _swigt__p_wxPyListCtrl,
33599 _swigt__p_wxDirFilterListCtrl,
33600 _swigt__p_wxStaticLine,
33601 _swigt__p_wxControl,
33602 _swigt__p_wxPyControl,
33603 _swigt__p_wxGauge,
33604 _swigt__p_wxToolBarBase,
33605 _swigt__p_wxFont,
33606 _swigt__p_wxToggleButton,
33607 _swigt__p_wxRadioButton,
33608 _swigt__p_wxChoice,
33609 _swigt__p_wxMemoryDC,
33610 _swigt__p_wxListItemAttr,
33611 _swigt__p_void,
33612 _swigt__p_int,
33613 _swigt__p_wxSize,
33614 _swigt__p_wxDC,
33615 _swigt__p_wxListView,
33616 _swigt__p_wxIcon,
33617 _swigt__p_wxVisualAttributes,
33618 _swigt__p_wxTextCtrl,
33619 _swigt__p_wxNotebook,
33620 _swigt__p_wxChoicebook,
33621 _swigt__p_wxNotifyEvent,
33622 _swigt__p_wxArrayString,
33623 _swigt__p_wxListbook,
33624 _swigt__p_wxStaticBitmap,
33625 _swigt__p_wxSlider,
33626 _swigt__p_wxStaticBox,
33627 _swigt__p_wxArrayInt,
33628 _swigt__p_wxContextHelp,
33629 _swigt__p_long,
33630 _swigt__p_wxEvtHandler,
33631 _swigt__p_wxListEvent,
33632 _swigt__p_wxCheckListBox,
33633 _swigt__p_wxListBox,
33634 _swigt__p_wxBookCtrl,
33635 _swigt__p_wxSpinButton,
33636 _swigt__p_wxButton,
33637 _swigt__p_wxBitmapButton,
33638 _swigt__p_wxRect,
33639 _swigt__p_wxContextHelpButton,
33640 _swigt__p_wxRadioBox,
33641 _swigt__p_wxScrollBar,
33642 _swigt__p_char,
33643 _swigt__p_wxTreeItemId,
33644 _swigt__p_wxComboBox,
33645 _swigt__p_wxHelpEvent,
33646 _swigt__p_wxListItem,
33647 _swigt__p_wxNotebookSizer,
33648 _swigt__p_wxSpinEvent,
33649 _swigt__p_wxGenericDragImage,
33650 _swigt__p_wxSpinCtrl,
33651 _swigt__p_wxImageList,
33652 _swigt__p_wxHelpProvider,
33653 _swigt__p_wxTextAttr,
33654 _swigt__p_wxSimpleHelpProvider,
33655 _swigt__p_wxPoint,
33656 _swigt__p_wxChoicebookEvent,
33657 _swigt__p_wxListbookEvent,
33658 _swigt__p_wxNotebookEvent,
33659 _swigt__p_wxObject,
33660 _swigt__p_wxCursor,
33661 _swigt__p_wxKeyEvent,
33662 _swigt__p_wxWindow,
33663 _swigt__p_wxString,
33664 _swigt__p_wxBitmap,
33665 _swigt__p_wxTreeEvent,
33666 _swigt__p_wxMouseEvent,
33667 _swigt__p_wxCommandEvent,
33668 _swigt__p_wxStaticText,
33669 _swigt__p_wxControlWithItems,
33670 _swigt__p_wxToolBarToolBase,
33671 _swigt__p_wxColour,
33672 _swigt__p_wxToolBar,
33673 _swigt__p_wxBookCtrlSizer,
33674 _swigt__p_wxValidator,
33675 0
33676 };
33677
33678
33679 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33680
33681 static swig_const_info swig_const_table[] = {
33682 {0, 0, 0, 0.0, 0, 0}};
33683
33684 #ifdef __cplusplus
33685 }
33686 #endif
33687
33688 #ifdef __cplusplus
33689 extern "C"
33690 #endif
33691 SWIGEXPORT(void) SWIG_init(void) {
33692 static PyObject *SWIG_globals = 0;
33693 static int typeinit = 0;
33694 PyObject *m, *d;
33695 int i;
33696 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33697 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33698 d = PyModule_GetDict(m);
33699
33700 if (!typeinit) {
33701 for (i = 0; swig_types_initial[i]; i++) {
33702 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33703 }
33704 typeinit = 1;
33705 }
33706 SWIG_InstallConstants(d,swig_const_table);
33707
33708 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33709 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33710 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT));
33711 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)wxBU_TOP));
33712 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT));
33713 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM));
33714 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT));
33715 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW));
33716 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33717 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE));
33718 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE));
33719 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33720 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED));
33721 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED));
33722 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED));
33723 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33724 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33725 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33726 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL));
33727 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL));
33728 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH));
33729 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR));
33730 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33731 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33732 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33733 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33734 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33735 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL));
33736 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL));
33737 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY));
33738 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE));
33739 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB));
33740 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT));
33741 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER));
33742 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT));
33743 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE));
33744 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)wxTE_RICH));
33745 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER));
33746 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD));
33747 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL));
33748 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL));
33749 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP));
33750 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP));
33751 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP));
33752 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2));
33753 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT));
33754 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT));
33755 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE));
33756 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER));
33757 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT));
33758 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33759 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR));
33760 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33761 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE));
33762 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE));
33763 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT));
33764 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC));
33765 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE));
33766 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT));
33767 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT));
33768 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT));
33769 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT));
33770 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS));
33771 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN));
33772 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE));
33773 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT));
33774 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW));
33775 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND));
33776 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33777 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33778 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33779 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33780 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33781 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33782 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33783 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL));
33784 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL));
33785 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS));
33786 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP));
33787 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33788 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33789 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33790 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33791 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33792 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33793 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33794 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH));
33795 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)wxNB_TOP));
33796 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT));
33797 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT));
33798 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM));
33799 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE));
33800 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE));
33801 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON));
33802 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL));
33803 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM));
33804 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33805 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33806 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT));
33807 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)wxLB_TOP));
33808 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM));
33809 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT));
33810 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT));
33811 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK));
33812 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33813 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33814 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT));
33815 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP));
33816 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM));
33817 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT));
33818 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT));
33819 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK));
33820 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
33821 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
33822 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON));
33823 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR));
33824 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL));
33825 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL));
33826 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL));
33827 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS));
33828 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT));
33829 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE));
33830 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS));
33831 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT));
33832 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER));
33833 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN));
33834 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT));
33835 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT));
33836 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33837 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES));
33838 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES));
33839 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)wxLC_ICON));
33840 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON));
33841 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)wxLC_LIST));
33842 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT));
33843 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP));
33844 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT));
33845 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE));
33846 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL));
33847 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS));
33848 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER));
33849 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER));
33850 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL));
33851 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING));
33852 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING));
33853 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE));
33854 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN));
33855 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT));
33856 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE));
33857 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT));
33858 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE));
33859 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA));
33860 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM));
33861 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH));
33862 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT));
33863 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE));
33864 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED));
33865 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED));
33866 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED));
33867 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT));
33868 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED));
33869 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED));
33870 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE));
33871 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED));
33872 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE));
33873 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE));
33874 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW));
33875 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE));
33876 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON));
33877 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL));
33878 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT));
33879 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON));
33880 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT));
33881 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT));
33882 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM));
33883 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE));
33884 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL));
33885 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW));
33886 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT));
33887 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT));
33888 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT));
33889 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT));
33890 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP));
33891 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID));
33892 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT));
33893 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT));
33894 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE));
33895 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER));
33896 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE));
33897 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER));
33898 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS));
33899 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON));
33900 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL));
33901 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP));
33902 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN));
33903 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT));
33904 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT));
33905 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33906 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33907 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33908 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33909 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33910 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33911 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33912 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33913 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33914 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33915 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33916 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33917 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33918 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33919 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33920 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33921 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33922 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33923 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33924 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33925 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33926 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33927
33928 // Map renamed classes back to their common name for OOR
33929 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33930
33931 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33932 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS));
33933 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS));
33934 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES));
33935 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT));
33936 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE));
33937 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE));
33938 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED));
33939 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33940 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS));
33941 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT));
33942 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES));
33943 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT));
33944 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE));
33945 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS));
33946 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS));
33947 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS));
33948 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal));
33949 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected));
33950 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded));
33951 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded));
33952 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max));
33953 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE));
33954 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW));
33955 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE));
33956 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON));
33957 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON));
33958 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT));
33959 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL));
33960 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT));
33961 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON));
33962 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT));
33963 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT));
33964 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART));
33965 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART));
33966 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM));
33967 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33968 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33969 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33970 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33971 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33972 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33973 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33974 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33975 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33976 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33977 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33978 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33979 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33980 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33981 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33982 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33983 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33984 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33985 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
33986 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
33987
33988 // Map renamed classes back to their common name for OOR
33989 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33990 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33991
33992 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
33993 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY));
33994 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST));
33995 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS));
33996 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL));
33997 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS));
33998 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP));
33999 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP));
34000 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
34001 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
34002
34003 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
34004
34005 }
34006