]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
Added
[wxWidgets.git] / wxPython / src / gtk / _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_wxSizer swig_types[1]
213 #define SWIGTYPE_p_wxCheckBox swig_types[2]
214 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
215 #define SWIGTYPE_p_wxEvent swig_types[4]
216 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
217 #define SWIGTYPE_p_bool swig_types[6]
218 #define SWIGTYPE_p_wxPyTreeItemData swig_types[7]
219 #define SWIGTYPE_p_wxItemContainer swig_types[8]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[9]
221 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxStaticLine swig_types[11]
223 #define SWIGTYPE_p_wxControl swig_types[12]
224 #define SWIGTYPE_p_wxPyControl swig_types[13]
225 #define SWIGTYPE_p_wxGauge swig_types[14]
226 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
227 #define SWIGTYPE_p_wxFont swig_types[16]
228 #define SWIGTYPE_p_wxToggleButton swig_types[17]
229 #define SWIGTYPE_p_wxRadioButton swig_types[18]
230 #define SWIGTYPE_p_wxChoice swig_types[19]
231 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
232 #define SWIGTYPE_p_wxListItemAttr swig_types[21]
233 #define SWIGTYPE_p_void swig_types[22]
234 #define SWIGTYPE_p_int swig_types[23]
235 #define SWIGTYPE_p_wxSize swig_types[24]
236 #define SWIGTYPE_p_wxDC swig_types[25]
237 #define SWIGTYPE_p_wxListView swig_types[26]
238 #define SWIGTYPE_p_wxIcon swig_types[27]
239 #define SWIGTYPE_p_wxVisualAttributes swig_types[28]
240 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
241 #define SWIGTYPE_p_wxNotebook swig_types[30]
242 #define SWIGTYPE_p_wxChoicebook swig_types[31]
243 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
244 #define SWIGTYPE_p_wxArrayString swig_types[33]
245 #define SWIGTYPE_p_wxListbook swig_types[34]
246 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
247 #define SWIGTYPE_p_wxSlider swig_types[36]
248 #define SWIGTYPE_p_wxStaticBox swig_types[37]
249 #define SWIGTYPE_p_wxArrayInt swig_types[38]
250 #define SWIGTYPE_p_wxContextHelp swig_types[39]
251 #define SWIGTYPE_p_long swig_types[40]
252 #define SWIGTYPE_p_wxBookCtrlBase swig_types[41]
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_wxSpinButton swig_types[46]
258 #define SWIGTYPE_p_wxButton swig_types[47]
259 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
262 #define SWIGTYPE_p_wxRadioBox swig_types[51]
263 #define SWIGTYPE_p_wxScrollBar swig_types[52]
264 #define SWIGTYPE_p_char swig_types[53]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
266 #define SWIGTYPE_p_wxComboBox swig_types[55]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
268 #define SWIGTYPE_p_wxListItem swig_types[57]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
270 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
271 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
272 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
273 #define SWIGTYPE_p_wxImageList swig_types[62]
274 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
275 #define SWIGTYPE_p_wxTextAttr swig_types[64]
276 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
277 #define SWIGTYPE_p_wxPoint swig_types[66]
278 #define SWIGTYPE_p_wxChoicebookEvent swig_types[67]
279 #define SWIGTYPE_p_wxListbookEvent swig_types[68]
280 #define SWIGTYPE_p_wxNotebookEvent swig_types[69]
281 #define SWIGTYPE_p_wxObject swig_types[70]
282 #define SWIGTYPE_p_wxCursor swig_types[71]
283 #define SWIGTYPE_p_wxKeyEvent swig_types[72]
284 #define SWIGTYPE_p_wxWindow swig_types[73]
285 #define SWIGTYPE_p_wxString swig_types[74]
286 #define SWIGTYPE_p_wxBitmap swig_types[75]
287 #define SWIGTYPE_p_wxTreeEvent swig_types[76]
288 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
289 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[78]
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 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
672 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
673 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
674
675 #include <wx/slider.h>
676
677
678 static const wxString wxPySliderNameStr(wxSliderNameStr);
679 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
680
681 #if !wxUSE_TOGGLEBTN
682 // implement dummy items for platforms that don't have this class
683
684 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
685
686 class wxToggleButton : public wxControl
687 {
688 public:
689 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
690 const wxPoint&, const wxSize&, long,
691 const wxValidator&, const wxString&)
692 { wxPyRaiseNotImplemented(); }
693
694 wxToggleButton()
695 { wxPyRaiseNotImplemented(); }
696 };
697 #endif
698
699 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
700
701 SWIGSTATICINLINE(PyObject* )
702 SWIG_From_unsigned_SS_long(unsigned long value)
703 {
704 return (value > LONG_MAX) ?
705 PyLong_FromUnsignedLong(value)
706 : PyInt_FromLong(swig_numeric_cast(value,long));
707 }
708
709 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
710 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
711 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
712 if (udata) {
713 Py_INCREF(udata->m_obj);
714 return udata->m_obj;
715 } else {
716 Py_INCREF(Py_None);
717 return Py_None;
718 }
719 }
720 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
721 self->SetClientData(new wxPyUserData(clientData));
722 }
723 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){
724 wxPyUserData* udata = NULL;
725 if (clientData && clientData != Py_None)
726 udata = new wxPyUserData(clientData);
727 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
728 shortHelp, longHelp, udata);
729 }
730 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){
731 wxPyUserData* udata = NULL;
732 if (clientData && clientData != Py_None)
733 udata = new wxPyUserData(clientData);
734 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
735 shortHelp, longHelp, udata);
736 }
737 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
738 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
739 if (udata) {
740 Py_INCREF(udata->m_obj);
741 return udata->m_obj;
742 } else {
743 Py_INCREF(Py_None);
744 return Py_None;
745 }
746 }
747 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
748 self->SetToolClientData(id, new wxPyUserData(clientData));
749 }
750
751 #include <wx/listctrl.h>
752
753 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
754 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
755 // Python aware sorting function for wxPyListCtrl
756 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
757 int retval = 0;
758 PyObject* func = (PyObject*)funcPtr;
759 bool blocked = wxPyBeginBlockThreads();
760
761 PyObject* args = Py_BuildValue("(ii)", item1, item2);
762 PyObject* result = PyEval_CallObject(func, args);
763 Py_DECREF(args);
764 if (result) {
765 retval = PyInt_AsLong(result);
766 Py_DECREF(result);
767 }
768
769 wxPyEndBlockThreads(blocked);
770 return retval;
771 }
772
773 // C++ Version of a Python aware class
774 class wxPyListCtrl : public wxListCtrl {
775 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
776 public:
777 wxPyListCtrl() : wxListCtrl() {}
778 wxPyListCtrl(wxWindow* parent, wxWindowID id,
779 const wxPoint& pos,
780 const wxSize& size,
781 long style,
782 const wxValidator& validator,
783 const wxString& name) :
784 wxListCtrl(parent, id, pos, size, style, validator, name) {}
785
786 bool Create(wxWindow* parent, wxWindowID id,
787 const wxPoint& pos,
788 const wxSize& size,
789 long style,
790 const wxValidator& validator,
791 const wxString& name) {
792 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
793 }
794
795 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
796 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
797
798 // use the virtual version to avoid a confusing assert in the base class
799 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
800
801 PYPRIVATE;
802 };
803
804 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
805
806 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
807 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
808 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
809
810
811 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
812 wxListItem item;
813 item.SetMask( wxLIST_MASK_STATE |
814 wxLIST_MASK_TEXT |
815 wxLIST_MASK_IMAGE |
816 wxLIST_MASK_DATA |
817 wxLIST_SET_ITEM |
818 wxLIST_MASK_WIDTH |
819 wxLIST_MASK_FORMAT
820 );
821 if (self->GetColumn(col, item))
822 return new wxListItem(item);
823 else
824 return NULL;
825 }
826 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
827 wxListItem* info = new wxListItem;
828 info->m_itemId = itemId;
829 info->m_col = col;
830 info->m_mask = 0xFFFF;
831 self->GetItem(*info);
832 return info;
833 }
834 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
835 wxPoint pos;
836 self->GetItemPosition(item, pos);
837 return pos;
838 }
839 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
840 wxRect rect;
841 self->GetItemRect(item, rect, code);
842 return rect;
843 }
844
845 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
846 if (!PyCallable_Check(func))
847 return false;
848 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
849 }
850 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
851
852
853
854 return (wxWindow*)self->m_mainWin;
855
856 }
857
858 #include <wx/treectrl.h>
859 #include "wx/wxPython/pytree.h"
860
861 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
862 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
863 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
864 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
865 // C++ version of Python aware wxTreeCtrl
866 class wxPyTreeCtrl : public wxTreeCtrl {
867 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
868 public:
869 wxPyTreeCtrl() : wxTreeCtrl() {}
870 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
871 const wxPoint& pos,
872 const wxSize& size,
873 long style,
874 const wxValidator& validator,
875 const wxString& name) :
876 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
877
878 bool Create(wxWindow *parent, wxWindowID id,
879 const wxPoint& pos,
880 const wxSize& size,
881 long style,
882 const wxValidator& validator,
883 const wxString& name) {
884 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
885 }
886
887
888 int OnCompareItems(const wxTreeItemId& item1,
889 const wxTreeItemId& item2) {
890 int rval = 0;
891 bool found;
892 bool blocked = wxPyBeginBlockThreads();
893 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
894 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
895 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
896 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
897 Py_DECREF(o1);
898 Py_DECREF(o2);
899 }
900 wxPyEndBlockThreads(blocked);
901 if (! found)
902 rval = wxTreeCtrl::OnCompareItems(item1, item2);
903 return rval;
904 }
905 PYPRIVATE;
906 };
907
908 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
909
910
911
912 #if UINT_MAX < LONG_MAX
913 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
914 #define SWIG_From_unsigned_SS_int SWIG_From_long
915 /*@@*/
916 #else
917 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
918 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
919 /*@@*/
920 #endif
921
922
923 SWIGSTATICINLINE(int)
924 SWIG_CheckUnsignedLongInRange(unsigned long value,
925 unsigned long max_value,
926 const char *errmsg)
927 {
928 if (value > max_value) {
929 if (errmsg) {
930 PyErr_Format(PyExc_OverflowError,
931 "value %ld is greater than '%s' minimum %ld",
932 value, errmsg, max_value);
933 }
934 return 0;
935 }
936 return 1;
937 }
938
939
940 #if UINT_MAX != ULONG_MAX
941 SWIGSTATICINLINE(int)
942 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
943 {
944 const char* errmsg = val ? "unsigned int" : 0;
945 unsigned long v;
946 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
947 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
948 if (val) *val = swig_numeric_cast(v, unsigned int);
949 return 1;
950 }
951 } else {
952 PyErr_Clear();
953 }
954 if (val) {
955 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
956 }
957 return 0;
958 }
959 #else
960 SWIGSTATICINLINE(unsigned int)
961 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
962 {
963 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
964 }
965 #endif
966
967
968 SWIGSTATICINLINE(unsigned int)
969 SWIG_As_unsigned_SS_int(PyObject* obj)
970 {
971 unsigned int v;
972 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
973 /*
974 this is needed to make valgrind/purify happier. the other
975 solution is throw an exception, but since this code should work
976 with plain C ....
977 */
978 memset((void*)&v, 0, sizeof(unsigned int));
979 }
980 return v;
981 }
982
983
984 SWIGSTATICINLINE(int)
985 SWIG_Check_unsigned_SS_int(PyObject* obj)
986 {
987 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
988 }
989
990 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
991 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
992 if (data == NULL) {
993 data = new wxPyTreeItemData();
994 data->SetId(item); // set the id
995 self->SetItemData(item, data);
996 }
997 return data;
998 }
999 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
1000 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1001 if (data == NULL) {
1002 data = new wxPyTreeItemData();
1003 data->SetId(item); // set the id
1004 self->SetItemData(item, data);
1005 }
1006 return data->GetData();
1007 }
1008 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
1009 data->SetId(item); // set the id
1010 self->SetItemData(item, data);
1011 }
1012 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
1013 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1014 if (data == NULL) {
1015 data = new wxPyTreeItemData(obj);
1016 data->SetId(item); // set the id
1017 self->SetItemData(item, data);
1018 } else
1019 data->SetData(obj);
1020 }
1021 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
1022 bool blocked = wxPyBeginBlockThreads();
1023 PyObject* rval = PyList_New(0);
1024 wxArrayTreeItemIds array;
1025 size_t num, x;
1026 num = self->GetSelections(array);
1027 for (x=0; x < num; x++) {
1028 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
1029 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
1030 PyList_Append(rval, item);
1031 Py_DECREF(item);
1032 }
1033 wxPyEndBlockThreads(blocked);
1034 return rval;
1035 }
1036 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
1037 void* cookie = 0;
1038 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
1039 bool blocked = wxPyBeginBlockThreads();
1040 PyObject* tup = PyTuple_New(2);
1041 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
1042 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1043 wxPyEndBlockThreads(blocked);
1044 return tup;
1045 }
1046 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
1047 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
1048 bool blocked = wxPyBeginBlockThreads();
1049 PyObject* tup = PyTuple_New(2);
1050 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
1051 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1052 wxPyEndBlockThreads(blocked);
1053 return tup;
1054 }
1055 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
1056 wxRect rect;
1057 if (self->GetBoundingRect(item, rect, textOnly)) {
1058 bool blocked = wxPyBeginBlockThreads();
1059 wxRect* r = new wxRect(rect);
1060 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
1061 wxPyEndBlockThreads(blocked);
1062 return val;
1063 }
1064 else
1065 RETURN_NONE();
1066 }
1067 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
1068
1069 SWIGSTATICINLINE(PyObject*)
1070 SWIG_From_bool(bool value)
1071 {
1072 PyObject *obj = value ? Py_True : Py_False;
1073 Py_INCREF(obj);
1074 return obj;
1075 }
1076
1077
1078 // C++ version of Python aware wxControl
1079 class wxPyControl : public wxControl
1080 {
1081 DECLARE_DYNAMIC_CLASS(wxPyControl)
1082 public:
1083 wxPyControl() : wxControl() {}
1084 wxPyControl(wxWindow* parent, const wxWindowID id,
1085 const wxPoint& pos = wxDefaultPosition,
1086 const wxSize& size = wxDefaultSize,
1087 long style = 0,
1088 const wxValidator& validator=wxDefaultValidator,
1089 const wxString& name = wxPyControlNameStr)
1090 : wxControl(parent, id, pos, size, style, validator, name) {}
1091
1092 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
1093
1094 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1095 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1096 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1097 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1098
1099 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1100 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1101 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1102
1103 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1104 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1105
1106 DEC_PYCALLBACK__(InitDialog);
1107 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1108 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1109 DEC_PYCALLBACK_BOOL_(Validate);
1110
1111 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1112 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1113 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1114
1115 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1116 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1117
1118 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1119 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1120 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1121
1122 PYPRIVATE;
1123 };
1124
1125 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
1126
1127 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
1128 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
1129 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
1130 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
1131
1132 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
1133 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
1134 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
1135
1136 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
1137 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
1138
1139 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
1140 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
1141 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
1142 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1143
1144 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1145 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1146 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1147
1148 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1149 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1150
1151 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1152 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1153 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
1154
1155
1156
1157 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1158
1159 #include <wx/generic/dragimgg.h>
1160
1161 #ifdef __cplusplus
1162 extern "C" {
1163 #endif
1164 static int _wrap_ButtonNameStr_set(PyObject *) {
1165 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1166 return 1;
1167 }
1168
1169
1170 static PyObject *_wrap_ButtonNameStr_get() {
1171 PyObject *pyobj;
1172
1173 {
1174 #if wxUSE_UNICODE
1175 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1176 #else
1177 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1178 #endif
1179 }
1180 return pyobj;
1181 }
1182
1183
1184 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
1185 PyObject *resultobj;
1186 wxWindow *arg1 = (wxWindow *) 0 ;
1187 int arg2 = (int) -1 ;
1188 wxString const &arg3_defvalue = wxPyEmptyString ;
1189 wxString *arg3 = (wxString *) &arg3_defvalue ;
1190 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1191 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1192 wxSize const &arg5_defvalue = wxDefaultSize ;
1193 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1194 long arg6 = (long) 0 ;
1195 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1196 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1197 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1198 wxString *arg8 = (wxString *) &arg8_defvalue ;
1199 wxButton *result;
1200 bool temp3 = false ;
1201 wxPoint temp4 ;
1202 wxSize temp5 ;
1203 bool temp8 = false ;
1204 PyObject * obj0 = 0 ;
1205 PyObject * obj1 = 0 ;
1206 PyObject * obj2 = 0 ;
1207 PyObject * obj3 = 0 ;
1208 PyObject * obj4 = 0 ;
1209 PyObject * obj5 = 0 ;
1210 PyObject * obj6 = 0 ;
1211 PyObject * obj7 = 0 ;
1212 char *kwnames[] = {
1213 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1214 };
1215
1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1219 if (obj1) {
1220 arg2 = (int)SWIG_As_int(obj1);
1221 if (PyErr_Occurred()) SWIG_fail;
1222 }
1223 if (obj2) {
1224 {
1225 arg3 = wxString_in_helper(obj2);
1226 if (arg3 == NULL) SWIG_fail;
1227 temp3 = true;
1228 }
1229 }
1230 if (obj3) {
1231 {
1232 arg4 = &temp4;
1233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1234 }
1235 }
1236 if (obj4) {
1237 {
1238 arg5 = &temp5;
1239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1240 }
1241 }
1242 if (obj5) {
1243 arg6 = (long)SWIG_As_long(obj5);
1244 if (PyErr_Occurred()) SWIG_fail;
1245 }
1246 if (obj6) {
1247 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1248 SWIG_POINTER_EXCEPTION | 0)) == -1)
1249 SWIG_fail;
1250 if (arg7 == NULL) {
1251 PyErr_SetString(PyExc_TypeError,"null reference");
1252 SWIG_fail;
1253 }
1254 }
1255 if (obj7) {
1256 {
1257 arg8 = wxString_in_helper(obj7);
1258 if (arg8 == NULL) SWIG_fail;
1259 temp8 = true;
1260 }
1261 }
1262 {
1263 if (!wxPyCheckForApp()) SWIG_fail;
1264 PyThreadState* __tstate = wxPyBeginAllowThreads();
1265 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1266
1267 wxPyEndAllowThreads(__tstate);
1268 if (PyErr_Occurred()) SWIG_fail;
1269 }
1270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
1271 {
1272 if (temp3)
1273 delete arg3;
1274 }
1275 {
1276 if (temp8)
1277 delete arg8;
1278 }
1279 return resultobj;
1280 fail:
1281 {
1282 if (temp3)
1283 delete arg3;
1284 }
1285 {
1286 if (temp8)
1287 delete arg8;
1288 }
1289 return NULL;
1290 }
1291
1292
1293 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
1294 PyObject *resultobj;
1295 wxButton *result;
1296 char *kwnames[] = {
1297 NULL
1298 };
1299
1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1301 {
1302 if (!wxPyCheckForApp()) SWIG_fail;
1303 PyThreadState* __tstate = wxPyBeginAllowThreads();
1304 result = (wxButton *)new wxButton();
1305
1306 wxPyEndAllowThreads(__tstate);
1307 if (PyErr_Occurred()) SWIG_fail;
1308 }
1309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
1310 return resultobj;
1311 fail:
1312 return NULL;
1313 }
1314
1315
1316 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1317 PyObject *resultobj;
1318 wxButton *arg1 = (wxButton *) 0 ;
1319 wxWindow *arg2 = (wxWindow *) 0 ;
1320 int arg3 = (int) -1 ;
1321 wxString const &arg4_defvalue = wxPyEmptyString ;
1322 wxString *arg4 = (wxString *) &arg4_defvalue ;
1323 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1324 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1325 wxSize const &arg6_defvalue = wxDefaultSize ;
1326 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1327 long arg7 = (long) 0 ;
1328 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1329 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1330 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1331 wxString *arg9 = (wxString *) &arg9_defvalue ;
1332 bool result;
1333 bool temp4 = false ;
1334 wxPoint temp5 ;
1335 wxSize temp6 ;
1336 bool temp9 = false ;
1337 PyObject * obj0 = 0 ;
1338 PyObject * obj1 = 0 ;
1339 PyObject * obj2 = 0 ;
1340 PyObject * obj3 = 0 ;
1341 PyObject * obj4 = 0 ;
1342 PyObject * obj5 = 0 ;
1343 PyObject * obj6 = 0 ;
1344 PyObject * obj7 = 0 ;
1345 PyObject * obj8 = 0 ;
1346 char *kwnames[] = {
1347 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1348 };
1349
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1355 if (obj2) {
1356 arg3 = (int)SWIG_As_int(obj2);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 if (obj3) {
1360 {
1361 arg4 = wxString_in_helper(obj3);
1362 if (arg4 == NULL) SWIG_fail;
1363 temp4 = true;
1364 }
1365 }
1366 if (obj4) {
1367 {
1368 arg5 = &temp5;
1369 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1370 }
1371 }
1372 if (obj5) {
1373 {
1374 arg6 = &temp6;
1375 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1376 }
1377 }
1378 if (obj6) {
1379 arg7 = (long)SWIG_As_long(obj6);
1380 if (PyErr_Occurred()) SWIG_fail;
1381 }
1382 if (obj7) {
1383 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1384 SWIG_POINTER_EXCEPTION | 0)) == -1)
1385 SWIG_fail;
1386 if (arg8 == NULL) {
1387 PyErr_SetString(PyExc_TypeError,"null reference");
1388 SWIG_fail;
1389 }
1390 }
1391 if (obj8) {
1392 {
1393 arg9 = wxString_in_helper(obj8);
1394 if (arg9 == NULL) SWIG_fail;
1395 temp9 = true;
1396 }
1397 }
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 {
1406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1407 }
1408 {
1409 if (temp4)
1410 delete arg4;
1411 }
1412 {
1413 if (temp9)
1414 delete arg9;
1415 }
1416 return resultobj;
1417 fail:
1418 {
1419 if (temp4)
1420 delete arg4;
1421 }
1422 {
1423 if (temp9)
1424 delete arg9;
1425 }
1426 return NULL;
1427 }
1428
1429
1430 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
1431 PyObject *resultobj;
1432 wxButton *arg1 = (wxButton *) 0 ;
1433 PyObject * obj0 = 0 ;
1434 char *kwnames[] = {
1435 (char *) "self", NULL
1436 };
1437
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1441 {
1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1443 (arg1)->SetDefault();
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 Py_INCREF(Py_None); resultobj = Py_None;
1449 return resultobj;
1450 fail:
1451 return NULL;
1452 }
1453
1454
1455 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxSize result;
1458 char *kwnames[] = {
1459 NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1463 {
1464 PyThreadState* __tstate = wxPyBeginAllowThreads();
1465 result = wxButton::GetDefaultSize();
1466
1467 wxPyEndAllowThreads(__tstate);
1468 if (PyErr_Occurred()) SWIG_fail;
1469 }
1470 {
1471 wxSize * resultptr;
1472 resultptr = new wxSize((wxSize &) result);
1473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1474 }
1475 return resultobj;
1476 fail:
1477 return NULL;
1478 }
1479
1480
1481 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1482 PyObject *resultobj;
1483 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1484 wxVisualAttributes result;
1485 PyObject * obj0 = 0 ;
1486 char *kwnames[] = {
1487 (char *) "variant", NULL
1488 };
1489
1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1491 if (obj0) {
1492 arg1 = (int)SWIG_As_int(obj0);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 {
1496 if (!wxPyCheckForApp()) SWIG_fail;
1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
1498 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1499
1500 wxPyEndAllowThreads(__tstate);
1501 if (PyErr_Occurred()) SWIG_fail;
1502 }
1503 {
1504 wxVisualAttributes * resultptr;
1505 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1506 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1507 }
1508 return resultobj;
1509 fail:
1510 return NULL;
1511 }
1512
1513
1514 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
1515 PyObject *obj;
1516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1517 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1518 Py_INCREF(obj);
1519 return Py_BuildValue((char *)"");
1520 }
1521 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1522 PyObject *resultobj;
1523 wxWindow *arg1 = (wxWindow *) 0 ;
1524 int arg2 = (int) -1 ;
1525 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1526 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
1527 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1528 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1529 wxSize const &arg5_defvalue = wxDefaultSize ;
1530 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1531 long arg6 = (long) wxBU_AUTODRAW ;
1532 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1533 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1534 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1535 wxString *arg8 = (wxString *) &arg8_defvalue ;
1536 wxBitmapButton *result;
1537 wxPoint temp4 ;
1538 wxSize temp5 ;
1539 bool temp8 = false ;
1540 PyObject * obj0 = 0 ;
1541 PyObject * obj1 = 0 ;
1542 PyObject * obj2 = 0 ;
1543 PyObject * obj3 = 0 ;
1544 PyObject * obj4 = 0 ;
1545 PyObject * obj5 = 0 ;
1546 PyObject * obj6 = 0 ;
1547 PyObject * obj7 = 0 ;
1548 char *kwnames[] = {
1549 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1550 };
1551
1552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1555 if (obj1) {
1556 arg2 = (int)SWIG_As_int(obj1);
1557 if (PyErr_Occurred()) SWIG_fail;
1558 }
1559 if (obj2) {
1560 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1561 SWIG_POINTER_EXCEPTION | 0)) == -1)
1562 SWIG_fail;
1563 if (arg3 == NULL) {
1564 PyErr_SetString(PyExc_TypeError,"null reference");
1565 SWIG_fail;
1566 }
1567 }
1568 if (obj3) {
1569 {
1570 arg4 = &temp4;
1571 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1572 }
1573 }
1574 if (obj4) {
1575 {
1576 arg5 = &temp5;
1577 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1578 }
1579 }
1580 if (obj5) {
1581 arg6 = (long)SWIG_As_long(obj5);
1582 if (PyErr_Occurred()) SWIG_fail;
1583 }
1584 if (obj6) {
1585 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1586 SWIG_POINTER_EXCEPTION | 0)) == -1)
1587 SWIG_fail;
1588 if (arg7 == NULL) {
1589 PyErr_SetString(PyExc_TypeError,"null reference");
1590 SWIG_fail;
1591 }
1592 }
1593 if (obj7) {
1594 {
1595 arg8 = wxString_in_helper(obj7);
1596 if (arg8 == NULL) SWIG_fail;
1597 temp8 = true;
1598 }
1599 }
1600 {
1601 if (!wxPyCheckForApp()) SWIG_fail;
1602 PyThreadState* __tstate = wxPyBeginAllowThreads();
1603 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1604
1605 wxPyEndAllowThreads(__tstate);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 }
1608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
1609 {
1610 if (temp8)
1611 delete arg8;
1612 }
1613 return resultobj;
1614 fail:
1615 {
1616 if (temp8)
1617 delete arg8;
1618 }
1619 return NULL;
1620 }
1621
1622
1623 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1624 PyObject *resultobj;
1625 wxBitmapButton *result;
1626 char *kwnames[] = {
1627 NULL
1628 };
1629
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1631 {
1632 if (!wxPyCheckForApp()) SWIG_fail;
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 result = (wxBitmapButton *)new wxBitmapButton();
1635
1636 wxPyEndAllowThreads(__tstate);
1637 if (PyErr_Occurred()) SWIG_fail;
1638 }
1639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
1640 return resultobj;
1641 fail:
1642 return NULL;
1643 }
1644
1645
1646 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1647 PyObject *resultobj;
1648 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1649 wxWindow *arg2 = (wxWindow *) 0 ;
1650 int arg3 = (int) -1 ;
1651 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1652 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
1653 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1654 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1655 wxSize const &arg6_defvalue = wxDefaultSize ;
1656 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1657 long arg7 = (long) wxBU_AUTODRAW ;
1658 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1659 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1660 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1661 wxString *arg9 = (wxString *) &arg9_defvalue ;
1662 bool result;
1663 wxPoint temp5 ;
1664 wxSize temp6 ;
1665 bool temp9 = false ;
1666 PyObject * obj0 = 0 ;
1667 PyObject * obj1 = 0 ;
1668 PyObject * obj2 = 0 ;
1669 PyObject * obj3 = 0 ;
1670 PyObject * obj4 = 0 ;
1671 PyObject * obj5 = 0 ;
1672 PyObject * obj6 = 0 ;
1673 PyObject * obj7 = 0 ;
1674 PyObject * obj8 = 0 ;
1675 char *kwnames[] = {
1676 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1684 if (obj2) {
1685 arg3 = (int)SWIG_As_int(obj2);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 if (obj3) {
1689 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1690 SWIG_POINTER_EXCEPTION | 0)) == -1)
1691 SWIG_fail;
1692 if (arg4 == NULL) {
1693 PyErr_SetString(PyExc_TypeError,"null reference");
1694 SWIG_fail;
1695 }
1696 }
1697 if (obj4) {
1698 {
1699 arg5 = &temp5;
1700 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1701 }
1702 }
1703 if (obj5) {
1704 {
1705 arg6 = &temp6;
1706 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1707 }
1708 }
1709 if (obj6) {
1710 arg7 = (long)SWIG_As_long(obj6);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 }
1713 if (obj7) {
1714 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1715 SWIG_POINTER_EXCEPTION | 0)) == -1)
1716 SWIG_fail;
1717 if (arg8 == NULL) {
1718 PyErr_SetString(PyExc_TypeError,"null reference");
1719 SWIG_fail;
1720 }
1721 }
1722 if (obj8) {
1723 {
1724 arg9 = wxString_in_helper(obj8);
1725 if (arg9 == NULL) SWIG_fail;
1726 temp9 = true;
1727 }
1728 }
1729 {
1730 PyThreadState* __tstate = wxPyBeginAllowThreads();
1731 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1732
1733 wxPyEndAllowThreads(__tstate);
1734 if (PyErr_Occurred()) SWIG_fail;
1735 }
1736 {
1737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1738 }
1739 {
1740 if (temp9)
1741 delete arg9;
1742 }
1743 return resultobj;
1744 fail:
1745 {
1746 if (temp9)
1747 delete arg9;
1748 }
1749 return NULL;
1750 }
1751
1752
1753 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1754 PyObject *resultobj;
1755 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1756 wxBitmap result;
1757 PyObject * obj0 = 0 ;
1758 char *kwnames[] = {
1759 (char *) "self", NULL
1760 };
1761
1762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 result = (arg1)->GetBitmapLabel();
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 }
1772 {
1773 wxBitmap * resultptr;
1774 resultptr = new wxBitmap((wxBitmap &) result);
1775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1776 }
1777 return resultobj;
1778 fail:
1779 return NULL;
1780 }
1781
1782
1783 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1784 PyObject *resultobj;
1785 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1786 wxBitmap result;
1787 PyObject * obj0 = 0 ;
1788 char *kwnames[] = {
1789 (char *) "self", NULL
1790 };
1791
1792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1795 {
1796 PyThreadState* __tstate = wxPyBeginAllowThreads();
1797 result = (arg1)->GetBitmapDisabled();
1798
1799 wxPyEndAllowThreads(__tstate);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 }
1802 {
1803 wxBitmap * resultptr;
1804 resultptr = new wxBitmap((wxBitmap &) result);
1805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1806 }
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1816 wxBitmap result;
1817 PyObject * obj0 = 0 ;
1818 char *kwnames[] = {
1819 (char *) "self", NULL
1820 };
1821
1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 result = (arg1)->GetBitmapFocus();
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 {
1833 wxBitmap * resultptr;
1834 resultptr = new wxBitmap((wxBitmap &) result);
1835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1836 }
1837 return resultobj;
1838 fail:
1839 return NULL;
1840 }
1841
1842
1843 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1846 wxBitmap result;
1847 PyObject * obj0 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1855 {
1856 PyThreadState* __tstate = wxPyBeginAllowThreads();
1857 result = (arg1)->GetBitmapSelected();
1858
1859 wxPyEndAllowThreads(__tstate);
1860 if (PyErr_Occurred()) SWIG_fail;
1861 }
1862 {
1863 wxBitmap * resultptr;
1864 resultptr = new wxBitmap((wxBitmap &) result);
1865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1866 }
1867 return resultobj;
1868 fail:
1869 return NULL;
1870 }
1871
1872
1873 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1876 wxBitmap *arg2 = 0 ;
1877 PyObject * obj0 = 0 ;
1878 PyObject * obj1 = 0 ;
1879 char *kwnames[] = {
1880 (char *) "self",(char *) "bitmap", NULL
1881 };
1882
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1887 SWIG_POINTER_EXCEPTION | 0)) == -1)
1888 SWIG_fail;
1889 if (arg2 == NULL) {
1890 PyErr_SetString(PyExc_TypeError,"null reference");
1891 SWIG_fail;
1892 }
1893 {
1894 PyThreadState* __tstate = wxPyBeginAllowThreads();
1895 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1896
1897 wxPyEndAllowThreads(__tstate);
1898 if (PyErr_Occurred()) SWIG_fail;
1899 }
1900 Py_INCREF(Py_None); resultobj = Py_None;
1901 return resultobj;
1902 fail:
1903 return NULL;
1904 }
1905
1906
1907 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1908 PyObject *resultobj;
1909 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1910 wxBitmap *arg2 = 0 ;
1911 PyObject * obj0 = 0 ;
1912 PyObject * obj1 = 0 ;
1913 char *kwnames[] = {
1914 (char *) "self",(char *) "bitmap", NULL
1915 };
1916
1917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1921 SWIG_POINTER_EXCEPTION | 0)) == -1)
1922 SWIG_fail;
1923 if (arg2 == NULL) {
1924 PyErr_SetString(PyExc_TypeError,"null reference");
1925 SWIG_fail;
1926 }
1927 {
1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
1929 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1930
1931 wxPyEndAllowThreads(__tstate);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 }
1934 Py_INCREF(Py_None); resultobj = Py_None;
1935 return resultobj;
1936 fail:
1937 return NULL;
1938 }
1939
1940
1941 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1942 PyObject *resultobj;
1943 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1944 wxBitmap *arg2 = 0 ;
1945 PyObject * obj0 = 0 ;
1946 PyObject * obj1 = 0 ;
1947 char *kwnames[] = {
1948 (char *) "self",(char *) "bitmap", NULL
1949 };
1950
1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1955 SWIG_POINTER_EXCEPTION | 0)) == -1)
1956 SWIG_fail;
1957 if (arg2 == NULL) {
1958 PyErr_SetString(PyExc_TypeError,"null reference");
1959 SWIG_fail;
1960 }
1961 {
1962 PyThreadState* __tstate = wxPyBeginAllowThreads();
1963 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1964
1965 wxPyEndAllowThreads(__tstate);
1966 if (PyErr_Occurred()) SWIG_fail;
1967 }
1968 Py_INCREF(Py_None); resultobj = Py_None;
1969 return resultobj;
1970 fail:
1971 return NULL;
1972 }
1973
1974
1975 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1976 PyObject *resultobj;
1977 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1978 wxBitmap *arg2 = 0 ;
1979 PyObject * obj0 = 0 ;
1980 PyObject * obj1 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "self",(char *) "bitmap", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1989 SWIG_POINTER_EXCEPTION | 0)) == -1)
1990 SWIG_fail;
1991 if (arg2 == NULL) {
1992 PyErr_SetString(PyExc_TypeError,"null reference");
1993 SWIG_fail;
1994 }
1995 {
1996 PyThreadState* __tstate = wxPyBeginAllowThreads();
1997 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1998
1999 wxPyEndAllowThreads(__tstate);
2000 if (PyErr_Occurred()) SWIG_fail;
2001 }
2002 Py_INCREF(Py_None); resultobj = Py_None;
2003 return resultobj;
2004 fail:
2005 return NULL;
2006 }
2007
2008
2009 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
2010 PyObject *resultobj;
2011 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2012 int arg2 ;
2013 int arg3 ;
2014 PyObject * obj0 = 0 ;
2015 PyObject * obj1 = 0 ;
2016 PyObject * obj2 = 0 ;
2017 char *kwnames[] = {
2018 (char *) "self",(char *) "x",(char *) "y", NULL
2019 };
2020
2021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
2022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2024 arg2 = (int)SWIG_As_int(obj1);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 arg3 = (int)SWIG_As_int(obj2);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 {
2029 PyThreadState* __tstate = wxPyBeginAllowThreads();
2030 (arg1)->SetMargins(arg2,arg3);
2031
2032 wxPyEndAllowThreads(__tstate);
2033 if (PyErr_Occurred()) SWIG_fail;
2034 }
2035 Py_INCREF(Py_None); resultobj = Py_None;
2036 return resultobj;
2037 fail:
2038 return NULL;
2039 }
2040
2041
2042 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
2043 PyObject *resultobj;
2044 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2045 int result;
2046 PyObject * obj0 = 0 ;
2047 char *kwnames[] = {
2048 (char *) "self", NULL
2049 };
2050
2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
2052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 }
2061 resultobj = SWIG_From_int((int)result);
2062 return resultobj;
2063 fail:
2064 return NULL;
2065 }
2066
2067
2068 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2071 int result;
2072 PyObject * obj0 = 0 ;
2073 char *kwnames[] = {
2074 (char *) "self", NULL
2075 };
2076
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
2078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 resultobj = SWIG_From_int((int)result);
2088 return resultobj;
2089 fail:
2090 return NULL;
2091 }
2092
2093
2094 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
2095 PyObject *obj;
2096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2097 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
2098 Py_INCREF(obj);
2099 return Py_BuildValue((char *)"");
2100 }
2101 static int _wrap_CheckBoxNameStr_set(PyObject *) {
2102 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
2103 return 1;
2104 }
2105
2106
2107 static PyObject *_wrap_CheckBoxNameStr_get() {
2108 PyObject *pyobj;
2109
2110 {
2111 #if wxUSE_UNICODE
2112 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
2113 #else
2114 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
2115 #endif
2116 }
2117 return pyobj;
2118 }
2119
2120
2121 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
2122 PyObject *resultobj;
2123 wxWindow *arg1 = (wxWindow *) 0 ;
2124 int arg2 = (int) -1 ;
2125 wxString const &arg3_defvalue = wxPyEmptyString ;
2126 wxString *arg3 = (wxString *) &arg3_defvalue ;
2127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2129 wxSize const &arg5_defvalue = wxDefaultSize ;
2130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2131 long arg6 = (long) 0 ;
2132 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2133 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2134 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
2135 wxString *arg8 = (wxString *) &arg8_defvalue ;
2136 wxCheckBox *result;
2137 bool temp3 = false ;
2138 wxPoint temp4 ;
2139 wxSize temp5 ;
2140 bool temp8 = false ;
2141 PyObject * obj0 = 0 ;
2142 PyObject * obj1 = 0 ;
2143 PyObject * obj2 = 0 ;
2144 PyObject * obj3 = 0 ;
2145 PyObject * obj4 = 0 ;
2146 PyObject * obj5 = 0 ;
2147 PyObject * obj6 = 0 ;
2148 PyObject * obj7 = 0 ;
2149 char *kwnames[] = {
2150 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2151 };
2152
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2156 if (obj1) {
2157 arg2 = (int)SWIG_As_int(obj1);
2158 if (PyErr_Occurred()) SWIG_fail;
2159 }
2160 if (obj2) {
2161 {
2162 arg3 = wxString_in_helper(obj2);
2163 if (arg3 == NULL) SWIG_fail;
2164 temp3 = true;
2165 }
2166 }
2167 if (obj3) {
2168 {
2169 arg4 = &temp4;
2170 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2171 }
2172 }
2173 if (obj4) {
2174 {
2175 arg5 = &temp5;
2176 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2177 }
2178 }
2179 if (obj5) {
2180 arg6 = (long)SWIG_As_long(obj5);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 if (obj6) {
2184 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2185 SWIG_POINTER_EXCEPTION | 0)) == -1)
2186 SWIG_fail;
2187 if (arg7 == NULL) {
2188 PyErr_SetString(PyExc_TypeError,"null reference");
2189 SWIG_fail;
2190 }
2191 }
2192 if (obj7) {
2193 {
2194 arg8 = wxString_in_helper(obj7);
2195 if (arg8 == NULL) SWIG_fail;
2196 temp8 = true;
2197 }
2198 }
2199 {
2200 if (!wxPyCheckForApp()) SWIG_fail;
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2208 {
2209 if (temp3)
2210 delete arg3;
2211 }
2212 {
2213 if (temp8)
2214 delete arg8;
2215 }
2216 return resultobj;
2217 fail:
2218 {
2219 if (temp3)
2220 delete arg3;
2221 }
2222 {
2223 if (temp8)
2224 delete arg8;
2225 }
2226 return NULL;
2227 }
2228
2229
2230 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 wxCheckBox *result;
2233 char *kwnames[] = {
2234 NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2238 {
2239 if (!wxPyCheckForApp()) SWIG_fail;
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 result = (wxCheckBox *)new wxCheckBox();
2242
2243 wxPyEndAllowThreads(__tstate);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2247 return resultobj;
2248 fail:
2249 return NULL;
2250 }
2251
2252
2253 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2254 PyObject *resultobj;
2255 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2256 wxWindow *arg2 = (wxWindow *) 0 ;
2257 int arg3 = (int) -1 ;
2258 wxString const &arg4_defvalue = wxPyEmptyString ;
2259 wxString *arg4 = (wxString *) &arg4_defvalue ;
2260 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2261 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2262 wxSize const &arg6_defvalue = wxDefaultSize ;
2263 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2264 long arg7 = (long) 0 ;
2265 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2266 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2267 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2268 wxString *arg9 = (wxString *) &arg9_defvalue ;
2269 bool result;
2270 bool temp4 = false ;
2271 wxPoint temp5 ;
2272 wxSize temp6 ;
2273 bool temp9 = false ;
2274 PyObject * obj0 = 0 ;
2275 PyObject * obj1 = 0 ;
2276 PyObject * obj2 = 0 ;
2277 PyObject * obj3 = 0 ;
2278 PyObject * obj4 = 0 ;
2279 PyObject * obj5 = 0 ;
2280 PyObject * obj6 = 0 ;
2281 PyObject * obj7 = 0 ;
2282 PyObject * obj8 = 0 ;
2283 char *kwnames[] = {
2284 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2285 };
2286
2287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2290 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2292 if (obj2) {
2293 arg3 = (int)SWIG_As_int(obj2);
2294 if (PyErr_Occurred()) SWIG_fail;
2295 }
2296 if (obj3) {
2297 {
2298 arg4 = wxString_in_helper(obj3);
2299 if (arg4 == NULL) SWIG_fail;
2300 temp4 = true;
2301 }
2302 }
2303 if (obj4) {
2304 {
2305 arg5 = &temp5;
2306 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2307 }
2308 }
2309 if (obj5) {
2310 {
2311 arg6 = &temp6;
2312 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2313 }
2314 }
2315 if (obj6) {
2316 arg7 = (long)SWIG_As_long(obj6);
2317 if (PyErr_Occurred()) SWIG_fail;
2318 }
2319 if (obj7) {
2320 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1)
2322 SWIG_fail;
2323 if (arg8 == NULL) {
2324 PyErr_SetString(PyExc_TypeError,"null reference");
2325 SWIG_fail;
2326 }
2327 }
2328 if (obj8) {
2329 {
2330 arg9 = wxString_in_helper(obj8);
2331 if (arg9 == NULL) SWIG_fail;
2332 temp9 = true;
2333 }
2334 }
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 {
2343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2344 }
2345 {
2346 if (temp4)
2347 delete arg4;
2348 }
2349 {
2350 if (temp9)
2351 delete arg9;
2352 }
2353 return resultobj;
2354 fail:
2355 {
2356 if (temp4)
2357 delete arg4;
2358 }
2359 {
2360 if (temp9)
2361 delete arg9;
2362 }
2363 return NULL;
2364 }
2365
2366
2367 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2368 PyObject *resultobj;
2369 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2370 bool result;
2371 PyObject * obj0 = 0 ;
2372 char *kwnames[] = {
2373 (char *) "self", NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2379 {
2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
2381 result = (bool)(arg1)->GetValue();
2382
2383 wxPyEndAllowThreads(__tstate);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 }
2386 {
2387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2388 }
2389 return resultobj;
2390 fail:
2391 return NULL;
2392 }
2393
2394
2395 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
2396 PyObject *resultobj;
2397 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2398 bool result;
2399 PyObject * obj0 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "self", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = (bool)(arg1)->IsChecked();
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 {
2415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2416 }
2417 return resultobj;
2418 fail:
2419 return NULL;
2420 }
2421
2422
2423 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2424 PyObject *resultobj;
2425 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2426 bool arg2 ;
2427 PyObject * obj0 = 0 ;
2428 PyObject * obj1 = 0 ;
2429 char *kwnames[] = {
2430 (char *) "self",(char *) "state", NULL
2431 };
2432
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2436 arg2 = (bool)SWIG_As_bool(obj1);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 {
2439 PyThreadState* __tstate = wxPyBeginAllowThreads();
2440 (arg1)->SetValue(arg2);
2441
2442 wxPyEndAllowThreads(__tstate);
2443 if (PyErr_Occurred()) SWIG_fail;
2444 }
2445 Py_INCREF(Py_None); resultobj = Py_None;
2446 return resultobj;
2447 fail:
2448 return NULL;
2449 }
2450
2451
2452 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2453 PyObject *resultobj;
2454 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2455 int result;
2456 PyObject * obj0 = 0 ;
2457 char *kwnames[] = {
2458 (char *) "self", NULL
2459 };
2460
2461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2464 {
2465 PyThreadState* __tstate = wxPyBeginAllowThreads();
2466 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2467
2468 wxPyEndAllowThreads(__tstate);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
2471 resultobj = SWIG_From_int((int)result);
2472 return resultobj;
2473 fail:
2474 return NULL;
2475 }
2476
2477
2478 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2479 PyObject *resultobj;
2480 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2481 int arg2 ;
2482 PyObject * obj0 = 0 ;
2483 PyObject * obj1 = 0 ;
2484 char *kwnames[] = {
2485 (char *) "self",(char *) "state", NULL
2486 };
2487
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2491 arg2 = (int)SWIG_As_int(obj1);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
2495 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 }
2500 Py_INCREF(Py_None); resultobj = Py_None;
2501 return resultobj;
2502 fail:
2503 return NULL;
2504 }
2505
2506
2507 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
2508 PyObject *resultobj;
2509 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2510 bool result;
2511 PyObject * obj0 = 0 ;
2512 char *kwnames[] = {
2513 (char *) "self", NULL
2514 };
2515
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2522
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 {
2527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2528 }
2529 return resultobj;
2530 fail:
2531 return NULL;
2532 }
2533
2534
2535 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
2536 PyObject *resultobj;
2537 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2538 bool result;
2539 PyObject * obj0 = 0 ;
2540 char *kwnames[] = {
2541 (char *) "self", NULL
2542 };
2543
2544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 {
2555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2556 }
2557 return resultobj;
2558 fail:
2559 return NULL;
2560 }
2561
2562
2563 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2564 PyObject *resultobj;
2565 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2566 wxVisualAttributes result;
2567 PyObject * obj0 = 0 ;
2568 char *kwnames[] = {
2569 (char *) "variant", NULL
2570 };
2571
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2573 if (obj0) {
2574 arg1 = (int)SWIG_As_int(obj0);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 {
2578 if (!wxPyCheckForApp()) SWIG_fail;
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 }
2585 {
2586 wxVisualAttributes * resultptr;
2587 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2589 }
2590 return resultobj;
2591 fail:
2592 return NULL;
2593 }
2594
2595
2596 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
2597 PyObject *obj;
2598 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2599 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2600 Py_INCREF(obj);
2601 return Py_BuildValue((char *)"");
2602 }
2603 static int _wrap_ChoiceNameStr_set(PyObject *) {
2604 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2605 return 1;
2606 }
2607
2608
2609 static PyObject *_wrap_ChoiceNameStr_get() {
2610 PyObject *pyobj;
2611
2612 {
2613 #if wxUSE_UNICODE
2614 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2615 #else
2616 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2617 #endif
2618 }
2619 return pyobj;
2620 }
2621
2622
2623 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxWindow *arg1 = (wxWindow *) 0 ;
2626 int arg2 = (int) -1 ;
2627 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2628 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2629 wxSize const &arg4_defvalue = wxDefaultSize ;
2630 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2631 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2632 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2633 long arg6 = (long) 0 ;
2634 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2635 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2636 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2637 wxString *arg8 = (wxString *) &arg8_defvalue ;
2638 wxChoice *result;
2639 wxPoint temp3 ;
2640 wxSize temp4 ;
2641 bool temp5 = false ;
2642 bool temp8 = false ;
2643 PyObject * obj0 = 0 ;
2644 PyObject * obj1 = 0 ;
2645 PyObject * obj2 = 0 ;
2646 PyObject * obj3 = 0 ;
2647 PyObject * obj4 = 0 ;
2648 PyObject * obj5 = 0 ;
2649 PyObject * obj6 = 0 ;
2650 PyObject * obj7 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2653 };
2654
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2658 if (obj1) {
2659 arg2 = (int)SWIG_As_int(obj1);
2660 if (PyErr_Occurred()) SWIG_fail;
2661 }
2662 if (obj2) {
2663 {
2664 arg3 = &temp3;
2665 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2666 }
2667 }
2668 if (obj3) {
2669 {
2670 arg4 = &temp4;
2671 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2672 }
2673 }
2674 if (obj4) {
2675 {
2676 if (! PySequence_Check(obj4)) {
2677 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2678 SWIG_fail;
2679 }
2680 arg5 = new wxArrayString;
2681 temp5 = true;
2682 int i, len=PySequence_Length(obj4);
2683 for (i=0; i<len; i++) {
2684 PyObject* item = PySequence_GetItem(obj4, i);
2685 #if wxUSE_UNICODE
2686 PyObject* str = PyObject_Unicode(item);
2687 #else
2688 PyObject* str = PyObject_Str(item);
2689 #endif
2690 if (PyErr_Occurred()) SWIG_fail;
2691 arg5->Add(Py2wxString(str));
2692 Py_DECREF(item);
2693 Py_DECREF(str);
2694 }
2695 }
2696 }
2697 if (obj5) {
2698 arg6 = (long)SWIG_As_long(obj5);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
2701 if (obj6) {
2702 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2703 SWIG_POINTER_EXCEPTION | 0)) == -1)
2704 SWIG_fail;
2705 if (arg7 == NULL) {
2706 PyErr_SetString(PyExc_TypeError,"null reference");
2707 SWIG_fail;
2708 }
2709 }
2710 if (obj7) {
2711 {
2712 arg8 = wxString_in_helper(obj7);
2713 if (arg8 == NULL) SWIG_fail;
2714 temp8 = true;
2715 }
2716 }
2717 {
2718 if (!wxPyCheckForApp()) SWIG_fail;
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
2720 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
2725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2726 {
2727 if (temp5) delete arg5;
2728 }
2729 {
2730 if (temp8)
2731 delete arg8;
2732 }
2733 return resultobj;
2734 fail:
2735 {
2736 if (temp5) delete arg5;
2737 }
2738 {
2739 if (temp8)
2740 delete arg8;
2741 }
2742 return NULL;
2743 }
2744
2745
2746 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
2747 PyObject *resultobj;
2748 wxChoice *result;
2749 char *kwnames[] = {
2750 NULL
2751 };
2752
2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2754 {
2755 if (!wxPyCheckForApp()) SWIG_fail;
2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
2757 result = (wxChoice *)new wxChoice();
2758
2759 wxPyEndAllowThreads(__tstate);
2760 if (PyErr_Occurred()) SWIG_fail;
2761 }
2762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2763 return resultobj;
2764 fail:
2765 return NULL;
2766 }
2767
2768
2769 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2770 PyObject *resultobj;
2771 wxChoice *arg1 = (wxChoice *) 0 ;
2772 wxWindow *arg2 = (wxWindow *) 0 ;
2773 int arg3 = (int) -1 ;
2774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2776 wxSize const &arg5_defvalue = wxDefaultSize ;
2777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2778 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2779 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2780 long arg7 = (long) 0 ;
2781 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2782 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2783 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2784 wxString *arg9 = (wxString *) &arg9_defvalue ;
2785 bool result;
2786 wxPoint temp4 ;
2787 wxSize temp5 ;
2788 bool temp6 = false ;
2789 bool temp9 = false ;
2790 PyObject * obj0 = 0 ;
2791 PyObject * obj1 = 0 ;
2792 PyObject * obj2 = 0 ;
2793 PyObject * obj3 = 0 ;
2794 PyObject * obj4 = 0 ;
2795 PyObject * obj5 = 0 ;
2796 PyObject * obj6 = 0 ;
2797 PyObject * obj7 = 0 ;
2798 PyObject * obj8 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2808 if (obj2) {
2809 arg3 = (int)SWIG_As_int(obj2);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 if (obj3) {
2813 {
2814 arg4 = &temp4;
2815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2816 }
2817 }
2818 if (obj4) {
2819 {
2820 arg5 = &temp5;
2821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2822 }
2823 }
2824 if (obj5) {
2825 {
2826 if (! PySequence_Check(obj5)) {
2827 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2828 SWIG_fail;
2829 }
2830 arg6 = new wxArrayString;
2831 temp6 = true;
2832 int i, len=PySequence_Length(obj5);
2833 for (i=0; i<len; i++) {
2834 PyObject* item = PySequence_GetItem(obj5, i);
2835 #if wxUSE_UNICODE
2836 PyObject* str = PyObject_Unicode(item);
2837 #else
2838 PyObject* str = PyObject_Str(item);
2839 #endif
2840 if (PyErr_Occurred()) SWIG_fail;
2841 arg6->Add(Py2wxString(str));
2842 Py_DECREF(item);
2843 Py_DECREF(str);
2844 }
2845 }
2846 }
2847 if (obj6) {
2848 arg7 = (long)SWIG_As_long(obj6);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
2851 if (obj7) {
2852 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2853 SWIG_POINTER_EXCEPTION | 0)) == -1)
2854 SWIG_fail;
2855 if (arg8 == NULL) {
2856 PyErr_SetString(PyExc_TypeError,"null reference");
2857 SWIG_fail;
2858 }
2859 }
2860 if (obj8) {
2861 {
2862 arg9 = wxString_in_helper(obj8);
2863 if (arg9 == NULL) SWIG_fail;
2864 temp9 = true;
2865 }
2866 }
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 {
2875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2876 }
2877 {
2878 if (temp6) delete arg6;
2879 }
2880 {
2881 if (temp9)
2882 delete arg9;
2883 }
2884 return resultobj;
2885 fail:
2886 {
2887 if (temp6) delete arg6;
2888 }
2889 {
2890 if (temp9)
2891 delete arg9;
2892 }
2893 return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxChoice *arg1 = (wxChoice *) 0 ;
2900 int arg2 ;
2901 PyObject * obj0 = 0 ;
2902 PyObject * obj1 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self",(char *) "n", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2910 arg2 = (int)SWIG_As_int(obj1);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 (arg1)->SetSelection(arg2);
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 Py_INCREF(Py_None); resultobj = Py_None;
2920 return resultobj;
2921 fail:
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxChoice *arg1 = (wxChoice *) 0 ;
2929 wxString *arg2 = 0 ;
2930 bool result;
2931 bool temp2 = false ;
2932 PyObject * obj0 = 0 ;
2933 PyObject * obj1 = 0 ;
2934 char *kwnames[] = {
2935 (char *) "self",(char *) "string", NULL
2936 };
2937
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2941 {
2942 arg2 = wxString_in_helper(obj1);
2943 if (arg2 == NULL) SWIG_fail;
2944 temp2 = true;
2945 }
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 {
2954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2955 }
2956 {
2957 if (temp2)
2958 delete arg2;
2959 }
2960 return resultobj;
2961 fail:
2962 {
2963 if (temp2)
2964 delete arg2;
2965 }
2966 return NULL;
2967 }
2968
2969
2970 static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
2971 PyObject *resultobj;
2972 wxChoice *arg1 = (wxChoice *) 0 ;
2973 int arg2 ;
2974 wxString *arg3 = 0 ;
2975 bool temp3 = false ;
2976 PyObject * obj0 = 0 ;
2977 PyObject * obj1 = 0 ;
2978 PyObject * obj2 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "n",(char *) "string", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2986 arg2 = (int)SWIG_As_int(obj1);
2987 if (PyErr_Occurred()) SWIG_fail;
2988 {
2989 arg3 = wxString_in_helper(obj2);
2990 if (arg3 == NULL) SWIG_fail;
2991 temp3 = true;
2992 }
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 (arg1)->SetString(arg2,(wxString const &)*arg3);
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 Py_INCREF(Py_None); resultobj = Py_None;
3001 {
3002 if (temp3)
3003 delete arg3;
3004 }
3005 return resultobj;
3006 fail:
3007 {
3008 if (temp3)
3009 delete arg3;
3010 }
3011 return NULL;
3012 }
3013
3014
3015 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3016 PyObject *resultobj;
3017 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3018 wxVisualAttributes result;
3019 PyObject * obj0 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "variant", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3025 if (obj0) {
3026 arg1 = (int)SWIG_As_int(obj0);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 {
3030 if (!wxPyCheckForApp()) SWIG_fail;
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 {
3038 wxVisualAttributes * resultptr;
3039 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3041 }
3042 return resultobj;
3043 fail:
3044 return NULL;
3045 }
3046
3047
3048 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
3049 PyObject *obj;
3050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3051 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
3052 Py_INCREF(obj);
3053 return Py_BuildValue((char *)"");
3054 }
3055 static int _wrap_ComboBoxNameStr_set(PyObject *) {
3056 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
3057 return 1;
3058 }
3059
3060
3061 static PyObject *_wrap_ComboBoxNameStr_get() {
3062 PyObject *pyobj;
3063
3064 {
3065 #if wxUSE_UNICODE
3066 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
3067 #else
3068 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
3069 #endif
3070 }
3071 return pyobj;
3072 }
3073
3074
3075 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
3076 PyObject *resultobj;
3077 wxWindow *arg1 = (wxWindow *) 0 ;
3078 int arg2 = (int) -1 ;
3079 wxString const &arg3_defvalue = wxPyEmptyString ;
3080 wxString *arg3 = (wxString *) &arg3_defvalue ;
3081 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3082 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3083 wxSize const &arg5_defvalue = wxDefaultSize ;
3084 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3085 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3086 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3087 long arg7 = (long) 0 ;
3088 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3089 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3090 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
3091 wxString *arg9 = (wxString *) &arg9_defvalue ;
3092 wxComboBox *result;
3093 bool temp3 = false ;
3094 wxPoint temp4 ;
3095 wxSize temp5 ;
3096 bool temp6 = false ;
3097 bool temp9 = false ;
3098 PyObject * obj0 = 0 ;
3099 PyObject * obj1 = 0 ;
3100 PyObject * obj2 = 0 ;
3101 PyObject * obj3 = 0 ;
3102 PyObject * obj4 = 0 ;
3103 PyObject * obj5 = 0 ;
3104 PyObject * obj6 = 0 ;
3105 PyObject * obj7 = 0 ;
3106 PyObject * obj8 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3109 };
3110
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3114 if (obj1) {
3115 arg2 = (int)SWIG_As_int(obj1);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 if (obj2) {
3119 {
3120 arg3 = wxString_in_helper(obj2);
3121 if (arg3 == NULL) SWIG_fail;
3122 temp3 = true;
3123 }
3124 }
3125 if (obj3) {
3126 {
3127 arg4 = &temp4;
3128 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3129 }
3130 }
3131 if (obj4) {
3132 {
3133 arg5 = &temp5;
3134 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3135 }
3136 }
3137 if (obj5) {
3138 {
3139 if (! PySequence_Check(obj5)) {
3140 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3141 SWIG_fail;
3142 }
3143 arg6 = new wxArrayString;
3144 temp6 = true;
3145 int i, len=PySequence_Length(obj5);
3146 for (i=0; i<len; i++) {
3147 PyObject* item = PySequence_GetItem(obj5, i);
3148 #if wxUSE_UNICODE
3149 PyObject* str = PyObject_Unicode(item);
3150 #else
3151 PyObject* str = PyObject_Str(item);
3152 #endif
3153 if (PyErr_Occurred()) SWIG_fail;
3154 arg6->Add(Py2wxString(str));
3155 Py_DECREF(item);
3156 Py_DECREF(str);
3157 }
3158 }
3159 }
3160 if (obj6) {
3161 arg7 = (long)SWIG_As_long(obj6);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 if (obj7) {
3165 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3166 SWIG_POINTER_EXCEPTION | 0)) == -1)
3167 SWIG_fail;
3168 if (arg8 == NULL) {
3169 PyErr_SetString(PyExc_TypeError,"null reference");
3170 SWIG_fail;
3171 }
3172 }
3173 if (obj8) {
3174 {
3175 arg9 = wxString_in_helper(obj8);
3176 if (arg9 == NULL) SWIG_fail;
3177 temp9 = true;
3178 }
3179 }
3180 {
3181 if (!wxPyCheckForApp()) SWIG_fail;
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3184
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) SWIG_fail;
3187 }
3188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3189 {
3190 if (temp3)
3191 delete arg3;
3192 }
3193 {
3194 if (temp6) delete arg6;
3195 }
3196 {
3197 if (temp9)
3198 delete arg9;
3199 }
3200 return resultobj;
3201 fail:
3202 {
3203 if (temp3)
3204 delete arg3;
3205 }
3206 {
3207 if (temp6) delete arg6;
3208 }
3209 {
3210 if (temp9)
3211 delete arg9;
3212 }
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj;
3219 wxComboBox *result;
3220 char *kwnames[] = {
3221 NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3225 {
3226 if (!wxPyCheckForApp()) SWIG_fail;
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 result = (wxComboBox *)new wxComboBox();
3229
3230 wxPyEndAllowThreads(__tstate);
3231 if (PyErr_Occurred()) SWIG_fail;
3232 }
3233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3234 return resultobj;
3235 fail:
3236 return NULL;
3237 }
3238
3239
3240 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3241 PyObject *resultobj;
3242 wxComboBox *arg1 = (wxComboBox *) 0 ;
3243 wxWindow *arg2 = (wxWindow *) 0 ;
3244 int arg3 = (int) -1 ;
3245 wxString const &arg4_defvalue = wxPyEmptyString ;
3246 wxString *arg4 = (wxString *) &arg4_defvalue ;
3247 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3248 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3249 wxSize const &arg6_defvalue = wxDefaultSize ;
3250 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3251 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3252 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3253 long arg8 = (long) 0 ;
3254 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3255 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3256 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3257 wxString *arg10 = (wxString *) &arg10_defvalue ;
3258 bool result;
3259 bool temp4 = false ;
3260 wxPoint temp5 ;
3261 wxSize temp6 ;
3262 bool temp7 = false ;
3263 bool temp10 = false ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 PyObject * obj2 = 0 ;
3267 PyObject * obj3 = 0 ;
3268 PyObject * obj4 = 0 ;
3269 PyObject * obj5 = 0 ;
3270 PyObject * obj6 = 0 ;
3271 PyObject * obj7 = 0 ;
3272 PyObject * obj8 = 0 ;
3273 PyObject * obj9 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3283 if (obj2) {
3284 arg3 = (int)SWIG_As_int(obj2);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 if (obj3) {
3288 {
3289 arg4 = wxString_in_helper(obj3);
3290 if (arg4 == NULL) SWIG_fail;
3291 temp4 = true;
3292 }
3293 }
3294 if (obj4) {
3295 {
3296 arg5 = &temp5;
3297 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3298 }
3299 }
3300 if (obj5) {
3301 {
3302 arg6 = &temp6;
3303 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3304 }
3305 }
3306 if (obj6) {
3307 {
3308 if (! PySequence_Check(obj6)) {
3309 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3310 SWIG_fail;
3311 }
3312 arg7 = new wxArrayString;
3313 temp7 = true;
3314 int i, len=PySequence_Length(obj6);
3315 for (i=0; i<len; i++) {
3316 PyObject* item = PySequence_GetItem(obj6, i);
3317 #if wxUSE_UNICODE
3318 PyObject* str = PyObject_Unicode(item);
3319 #else
3320 PyObject* str = PyObject_Str(item);
3321 #endif
3322 if (PyErr_Occurred()) SWIG_fail;
3323 arg7->Add(Py2wxString(str));
3324 Py_DECREF(item);
3325 Py_DECREF(str);
3326 }
3327 }
3328 }
3329 if (obj7) {
3330 arg8 = (long)SWIG_As_long(obj7);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 if (obj8) {
3334 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3335 SWIG_POINTER_EXCEPTION | 0)) == -1)
3336 SWIG_fail;
3337 if (arg9 == NULL) {
3338 PyErr_SetString(PyExc_TypeError,"null reference");
3339 SWIG_fail;
3340 }
3341 }
3342 if (obj9) {
3343 {
3344 arg10 = wxString_in_helper(obj9);
3345 if (arg10 == NULL) SWIG_fail;
3346 temp10 = true;
3347 }
3348 }
3349 {
3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
3351 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
3352
3353 wxPyEndAllowThreads(__tstate);
3354 if (PyErr_Occurred()) SWIG_fail;
3355 }
3356 {
3357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3358 }
3359 {
3360 if (temp4)
3361 delete arg4;
3362 }
3363 {
3364 if (temp7) delete arg7;
3365 }
3366 {
3367 if (temp10)
3368 delete arg10;
3369 }
3370 return resultobj;
3371 fail:
3372 {
3373 if (temp4)
3374 delete arg4;
3375 }
3376 {
3377 if (temp7) delete arg7;
3378 }
3379 {
3380 if (temp10)
3381 delete arg10;
3382 }
3383 return NULL;
3384 }
3385
3386
3387 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3388 PyObject *resultobj;
3389 wxComboBox *arg1 = (wxComboBox *) 0 ;
3390 wxString result;
3391 PyObject * obj0 = 0 ;
3392 char *kwnames[] = {
3393 (char *) "self", NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3399 {
3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
3401 result = ((wxComboBox const *)arg1)->GetValue();
3402
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 {
3407 #if wxUSE_UNICODE
3408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3409 #else
3410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3411 #endif
3412 }
3413 return resultobj;
3414 fail:
3415 return NULL;
3416 }
3417
3418
3419 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3420 PyObject *resultobj;
3421 wxComboBox *arg1 = (wxComboBox *) 0 ;
3422 wxString *arg2 = 0 ;
3423 bool temp2 = false ;
3424 PyObject * obj0 = 0 ;
3425 PyObject * obj1 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self",(char *) "value", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3433 {
3434 arg2 = wxString_in_helper(obj1);
3435 if (arg2 == NULL) SWIG_fail;
3436 temp2 = true;
3437 }
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 (arg1)->SetValue((wxString const &)*arg2);
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 Py_INCREF(Py_None); resultobj = Py_None;
3446 {
3447 if (temp2)
3448 delete arg2;
3449 }
3450 return resultobj;
3451 fail:
3452 {
3453 if (temp2)
3454 delete arg2;
3455 }
3456 return NULL;
3457 }
3458
3459
3460 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
3461 PyObject *resultobj;
3462 wxComboBox *arg1 = (wxComboBox *) 0 ;
3463 PyObject * obj0 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "self", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 (arg1)->Copy();
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 Py_INCREF(Py_None); resultobj = Py_None;
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxComboBox *arg1 = (wxComboBox *) 0 ;
3488 PyObject * obj0 = 0 ;
3489 char *kwnames[] = {
3490 (char *) "self", NULL
3491 };
3492
3493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 (arg1)->Cut();
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 Py_INCREF(Py_None); resultobj = Py_None;
3504 return resultobj;
3505 fail:
3506 return NULL;
3507 }
3508
3509
3510 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
3511 PyObject *resultobj;
3512 wxComboBox *arg1 = (wxComboBox *) 0 ;
3513 PyObject * obj0 = 0 ;
3514 char *kwnames[] = {
3515 (char *) "self", NULL
3516 };
3517
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 (arg1)->Paste();
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 Py_INCREF(Py_None); resultobj = Py_None;
3529 return resultobj;
3530 fail:
3531 return NULL;
3532 }
3533
3534
3535 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3536 PyObject *resultobj;
3537 wxComboBox *arg1 = (wxComboBox *) 0 ;
3538 long arg2 ;
3539 PyObject * obj0 = 0 ;
3540 PyObject * obj1 = 0 ;
3541 char *kwnames[] = {
3542 (char *) "self",(char *) "pos", NULL
3543 };
3544
3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3548 arg2 = (long)SWIG_As_long(obj1);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 (arg1)->SetInsertionPoint(arg2);
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 Py_INCREF(Py_None); resultobj = Py_None;
3558 return resultobj;
3559 fail:
3560 return NULL;
3561 }
3562
3563
3564 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3565 PyObject *resultobj;
3566 wxComboBox *arg1 = (wxComboBox *) 0 ;
3567 long result;
3568 PyObject * obj0 = 0 ;
3569 char *kwnames[] = {
3570 (char *) "self", NULL
3571 };
3572
3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3576 {
3577 PyThreadState* __tstate = wxPyBeginAllowThreads();
3578 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3579
3580 wxPyEndAllowThreads(__tstate);
3581 if (PyErr_Occurred()) SWIG_fail;
3582 }
3583 resultobj = SWIG_From_long((long)result);
3584 return resultobj;
3585 fail:
3586 return NULL;
3587 }
3588
3589
3590 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
3591 PyObject *resultobj;
3592 wxComboBox *arg1 = (wxComboBox *) 0 ;
3593 long result;
3594 PyObject * obj0 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "self", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3602 {
3603 PyThreadState* __tstate = wxPyBeginAllowThreads();
3604 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3605
3606 wxPyEndAllowThreads(__tstate);
3607 if (PyErr_Occurred()) SWIG_fail;
3608 }
3609 resultobj = SWIG_From_long((long)result);
3610 return resultobj;
3611 fail:
3612 return NULL;
3613 }
3614
3615
3616 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
3617 PyObject *resultobj;
3618 wxComboBox *arg1 = (wxComboBox *) 0 ;
3619 long arg2 ;
3620 long arg3 ;
3621 wxString *arg4 = 0 ;
3622 bool temp4 = false ;
3623 PyObject * obj0 = 0 ;
3624 PyObject * obj1 = 0 ;
3625 PyObject * obj2 = 0 ;
3626 PyObject * obj3 = 0 ;
3627 char *kwnames[] = {
3628 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3629 };
3630
3631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3634 arg2 = (long)SWIG_As_long(obj1);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 arg3 = (long)SWIG_As_long(obj2);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 {
3639 arg4 = wxString_in_helper(obj3);
3640 if (arg4 == NULL) SWIG_fail;
3641 temp4 = true;
3642 }
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 Py_INCREF(Py_None); resultobj = Py_None;
3651 {
3652 if (temp4)
3653 delete arg4;
3654 }
3655 return resultobj;
3656 fail:
3657 {
3658 if (temp4)
3659 delete arg4;
3660 }
3661 return NULL;
3662 }
3663
3664
3665 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3666 PyObject *resultobj;
3667 wxComboBox *arg1 = (wxComboBox *) 0 ;
3668 int arg2 ;
3669 PyObject * obj0 = 0 ;
3670 PyObject * obj1 = 0 ;
3671 char *kwnames[] = {
3672 (char *) "self",(char *) "n", NULL
3673 };
3674
3675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3678 arg2 = (int)SWIG_As_int(obj1);
3679 if (PyErr_Occurred()) SWIG_fail;
3680 {
3681 PyThreadState* __tstate = wxPyBeginAllowThreads();
3682 (arg1)->SetSelection(arg2);
3683
3684 wxPyEndAllowThreads(__tstate);
3685 if (PyErr_Occurred()) SWIG_fail;
3686 }
3687 Py_INCREF(Py_None); resultobj = Py_None;
3688 return resultobj;
3689 fail:
3690 return NULL;
3691 }
3692
3693
3694 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
3695 PyObject *resultobj;
3696 wxComboBox *arg1 = (wxComboBox *) 0 ;
3697 long arg2 ;
3698 long arg3 ;
3699 PyObject * obj0 = 0 ;
3700 PyObject * obj1 = 0 ;
3701 PyObject * obj2 = 0 ;
3702 char *kwnames[] = {
3703 (char *) "self",(char *) "from",(char *) "to", NULL
3704 };
3705
3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3709 arg2 = (long)SWIG_As_long(obj1);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 arg3 = (long)SWIG_As_long(obj2);
3712 if (PyErr_Occurred()) SWIG_fail;
3713 {
3714 PyThreadState* __tstate = wxPyBeginAllowThreads();
3715 (arg1)->SetSelection(arg2,arg3);
3716
3717 wxPyEndAllowThreads(__tstate);
3718 if (PyErr_Occurred()) SWIG_fail;
3719 }
3720 Py_INCREF(Py_None); resultobj = Py_None;
3721 return resultobj;
3722 fail:
3723 return NULL;
3724 }
3725
3726
3727 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3728 PyObject *resultobj;
3729 wxComboBox *arg1 = (wxComboBox *) 0 ;
3730 wxString *arg2 = 0 ;
3731 bool result;
3732 bool temp2 = false ;
3733 PyObject * obj0 = 0 ;
3734 PyObject * obj1 = 0 ;
3735 char *kwnames[] = {
3736 (char *) "self",(char *) "string", NULL
3737 };
3738
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3742 {
3743 arg2 = wxString_in_helper(obj1);
3744 if (arg2 == NULL) SWIG_fail;
3745 temp2 = true;
3746 }
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 {
3755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3756 }
3757 {
3758 if (temp2)
3759 delete arg2;
3760 }
3761 return resultobj;
3762 fail:
3763 {
3764 if (temp2)
3765 delete arg2;
3766 }
3767 return NULL;
3768 }
3769
3770
3771 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
3772 PyObject *resultobj;
3773 wxComboBox *arg1 = (wxComboBox *) 0 ;
3774 int arg2 ;
3775 wxString *arg3 = 0 ;
3776 bool temp3 = false ;
3777 PyObject * obj0 = 0 ;
3778 PyObject * obj1 = 0 ;
3779 PyObject * obj2 = 0 ;
3780 char *kwnames[] = {
3781 (char *) "self",(char *) "n",(char *) "string", NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3787 arg2 = (int)SWIG_As_int(obj1);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 {
3790 arg3 = wxString_in_helper(obj2);
3791 if (arg3 == NULL) SWIG_fail;
3792 temp3 = true;
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetString(arg2,(wxString const &)*arg3);
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 Py_INCREF(Py_None); resultobj = Py_None;
3802 {
3803 if (temp3)
3804 delete arg3;
3805 }
3806 return resultobj;
3807 fail:
3808 {
3809 if (temp3)
3810 delete arg3;
3811 }
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj;
3818 wxComboBox *arg1 = (wxComboBox *) 0 ;
3819 bool arg2 ;
3820 PyObject * obj0 = 0 ;
3821 PyObject * obj1 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self",(char *) "editable", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3829 arg2 = (bool)SWIG_As_bool(obj1);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 {
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 (arg1)->SetEditable(arg2);
3834
3835 wxPyEndAllowThreads(__tstate);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 Py_INCREF(Py_None); resultobj = Py_None;
3839 return resultobj;
3840 fail:
3841 return NULL;
3842 }
3843
3844
3845 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
3846 PyObject *resultobj;
3847 wxComboBox *arg1 = (wxComboBox *) 0 ;
3848 PyObject * obj0 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 (arg1)->SetInsertionPointEnd();
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 Py_INCREF(Py_None); resultobj = Py_None;
3864 return resultobj;
3865 fail:
3866 return NULL;
3867 }
3868
3869
3870 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj;
3872 wxComboBox *arg1 = (wxComboBox *) 0 ;
3873 long arg2 ;
3874 long arg3 ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj1 = 0 ;
3877 PyObject * obj2 = 0 ;
3878 char *kwnames[] = {
3879 (char *) "self",(char *) "from",(char *) "to", NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3885 arg2 = (long)SWIG_As_long(obj1);
3886 if (PyErr_Occurred()) SWIG_fail;
3887 arg3 = (long)SWIG_As_long(obj2);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 (arg1)->Remove(arg2,arg3);
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 Py_INCREF(Py_None); resultobj = Py_None;
3897 return resultobj;
3898 fail:
3899 return NULL;
3900 }
3901
3902
3903 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3906 wxVisualAttributes result;
3907 PyObject * obj0 = 0 ;
3908 char *kwnames[] = {
3909 (char *) "variant", NULL
3910 };
3911
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3913 if (obj0) {
3914 arg1 = (int)SWIG_As_int(obj0);
3915 if (PyErr_Occurred()) SWIG_fail;
3916 }
3917 {
3918 if (!wxPyCheckForApp()) SWIG_fail;
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 {
3926 wxVisualAttributes * resultptr;
3927 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3929 }
3930 return resultobj;
3931 fail:
3932 return NULL;
3933 }
3934
3935
3936 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
3937 PyObject *obj;
3938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3939 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3940 Py_INCREF(obj);
3941 return Py_BuildValue((char *)"");
3942 }
3943 static int _wrap_GaugeNameStr_set(PyObject *) {
3944 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3945 return 1;
3946 }
3947
3948
3949 static PyObject *_wrap_GaugeNameStr_get() {
3950 PyObject *pyobj;
3951
3952 {
3953 #if wxUSE_UNICODE
3954 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3955 #else
3956 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3957 #endif
3958 }
3959 return pyobj;
3960 }
3961
3962
3963 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxWindow *arg1 = (wxWindow *) 0 ;
3966 int arg2 = (int) -1 ;
3967 int arg3 = (int) 100 ;
3968 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3969 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3970 wxSize const &arg5_defvalue = wxDefaultSize ;
3971 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3972 long arg6 = (long) wxGA_HORIZONTAL ;
3973 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3974 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3975 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3976 wxString *arg8 = (wxString *) &arg8_defvalue ;
3977 wxGauge *result;
3978 wxPoint temp4 ;
3979 wxSize temp5 ;
3980 bool temp8 = false ;
3981 PyObject * obj0 = 0 ;
3982 PyObject * obj1 = 0 ;
3983 PyObject * obj2 = 0 ;
3984 PyObject * obj3 = 0 ;
3985 PyObject * obj4 = 0 ;
3986 PyObject * obj5 = 0 ;
3987 PyObject * obj6 = 0 ;
3988 PyObject * obj7 = 0 ;
3989 char *kwnames[] = {
3990 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3991 };
3992
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3996 if (obj1) {
3997 arg2 = (int)SWIG_As_int(obj1);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 if (obj2) {
4001 arg3 = (int)SWIG_As_int(obj2);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 if (obj3) {
4005 {
4006 arg4 = &temp4;
4007 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4008 }
4009 }
4010 if (obj4) {
4011 {
4012 arg5 = &temp5;
4013 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4014 }
4015 }
4016 if (obj5) {
4017 arg6 = (long)SWIG_As_long(obj5);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 if (obj6) {
4021 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
4022 SWIG_POINTER_EXCEPTION | 0)) == -1)
4023 SWIG_fail;
4024 if (arg7 == NULL) {
4025 PyErr_SetString(PyExc_TypeError,"null reference");
4026 SWIG_fail;
4027 }
4028 }
4029 if (obj7) {
4030 {
4031 arg8 = wxString_in_helper(obj7);
4032 if (arg8 == NULL) SWIG_fail;
4033 temp8 = true;
4034 }
4035 }
4036 {
4037 if (!wxPyCheckForApp()) SWIG_fail;
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
4045 {
4046 if (temp8)
4047 delete arg8;
4048 }
4049 return resultobj;
4050 fail:
4051 {
4052 if (temp8)
4053 delete arg8;
4054 }
4055 return NULL;
4056 }
4057
4058
4059 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
4060 PyObject *resultobj;
4061 wxGauge *result;
4062 char *kwnames[] = {
4063 NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
4067 {
4068 if (!wxPyCheckForApp()) SWIG_fail;
4069 PyThreadState* __tstate = wxPyBeginAllowThreads();
4070 result = (wxGauge *)new wxGauge();
4071
4072 wxPyEndAllowThreads(__tstate);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 }
4075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
4076 return resultobj;
4077 fail:
4078 return NULL;
4079 }
4080
4081
4082 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4083 PyObject *resultobj;
4084 wxGauge *arg1 = (wxGauge *) 0 ;
4085 wxWindow *arg2 = (wxWindow *) 0 ;
4086 int arg3 = (int) -1 ;
4087 int arg4 = (int) 100 ;
4088 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4089 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4090 wxSize const &arg6_defvalue = wxDefaultSize ;
4091 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4092 long arg7 = (long) wxGA_HORIZONTAL ;
4093 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4094 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4095 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
4096 wxString *arg9 = (wxString *) &arg9_defvalue ;
4097 bool result;
4098 wxPoint temp5 ;
4099 wxSize temp6 ;
4100 bool temp9 = false ;
4101 PyObject * obj0 = 0 ;
4102 PyObject * obj1 = 0 ;
4103 PyObject * obj2 = 0 ;
4104 PyObject * obj3 = 0 ;
4105 PyObject * obj4 = 0 ;
4106 PyObject * obj5 = 0 ;
4107 PyObject * obj6 = 0 ;
4108 PyObject * obj7 = 0 ;
4109 PyObject * obj8 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 if (obj2) {
4120 arg3 = (int)SWIG_As_int(obj2);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 if (obj3) {
4124 arg4 = (int)SWIG_As_int(obj3);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 if (obj4) {
4128 {
4129 arg5 = &temp5;
4130 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4131 }
4132 }
4133 if (obj5) {
4134 {
4135 arg6 = &temp6;
4136 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4137 }
4138 }
4139 if (obj6) {
4140 arg7 = (long)SWIG_As_long(obj6);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 }
4143 if (obj7) {
4144 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4145 SWIG_POINTER_EXCEPTION | 0)) == -1)
4146 SWIG_fail;
4147 if (arg8 == NULL) {
4148 PyErr_SetString(PyExc_TypeError,"null reference");
4149 SWIG_fail;
4150 }
4151 }
4152 if (obj8) {
4153 {
4154 arg9 = wxString_in_helper(obj8);
4155 if (arg9 == NULL) SWIG_fail;
4156 temp9 = true;
4157 }
4158 }
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 {
4167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4168 }
4169 {
4170 if (temp9)
4171 delete arg9;
4172 }
4173 return resultobj;
4174 fail:
4175 {
4176 if (temp9)
4177 delete arg9;
4178 }
4179 return NULL;
4180 }
4181
4182
4183 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
4184 PyObject *resultobj;
4185 wxGauge *arg1 = (wxGauge *) 0 ;
4186 int arg2 ;
4187 PyObject * obj0 = 0 ;
4188 PyObject * obj1 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self",(char *) "range", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4196 arg2 = (int)SWIG_As_int(obj1);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 (arg1)->SetRange(arg2);
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 Py_INCREF(Py_None); resultobj = Py_None;
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxGauge *arg1 = (wxGauge *) 0 ;
4215 int result;
4216 PyObject * obj0 = 0 ;
4217 char *kwnames[] = {
4218 (char *) "self", NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (int)((wxGauge const *)arg1)->GetRange();
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 resultobj = SWIG_From_int((int)result);
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj;
4240 wxGauge *arg1 = (wxGauge *) 0 ;
4241 int arg2 ;
4242 PyObject * obj0 = 0 ;
4243 PyObject * obj1 = 0 ;
4244 char *kwnames[] = {
4245 (char *) "self",(char *) "pos", NULL
4246 };
4247
4248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4251 arg2 = (int)SWIG_As_int(obj1);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 (arg1)->SetValue(arg2);
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 Py_INCREF(Py_None); resultobj = Py_None;
4261 return resultobj;
4262 fail:
4263 return NULL;
4264 }
4265
4266
4267 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4268 PyObject *resultobj;
4269 wxGauge *arg1 = (wxGauge *) 0 ;
4270 int result;
4271 PyObject * obj0 = 0 ;
4272 char *kwnames[] = {
4273 (char *) "self", NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4279 {
4280 PyThreadState* __tstate = wxPyBeginAllowThreads();
4281 result = (int)((wxGauge const *)arg1)->GetValue();
4282
4283 wxPyEndAllowThreads(__tstate);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 }
4286 resultobj = SWIG_From_int((int)result);
4287 return resultobj;
4288 fail:
4289 return NULL;
4290 }
4291
4292
4293 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
4294 PyObject *resultobj;
4295 wxGauge *arg1 = (wxGauge *) 0 ;
4296 bool result;
4297 PyObject * obj0 = 0 ;
4298 char *kwnames[] = {
4299 (char *) "self", NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 result = (bool)((wxGauge const *)arg1)->IsVertical();
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 {
4313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4314 }
4315 return resultobj;
4316 fail:
4317 return NULL;
4318 }
4319
4320
4321 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4322 PyObject *resultobj;
4323 wxGauge *arg1 = (wxGauge *) 0 ;
4324 int arg2 ;
4325 PyObject * obj0 = 0 ;
4326 PyObject * obj1 = 0 ;
4327 char *kwnames[] = {
4328 (char *) "self",(char *) "w", NULL
4329 };
4330
4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4334 arg2 = (int)SWIG_As_int(obj1);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 (arg1)->SetShadowWidth(arg2);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 Py_INCREF(Py_None); resultobj = Py_None;
4344 return resultobj;
4345 fail:
4346 return NULL;
4347 }
4348
4349
4350 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4351 PyObject *resultobj;
4352 wxGauge *arg1 = (wxGauge *) 0 ;
4353 int result;
4354 PyObject * obj0 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 resultobj = SWIG_From_int((int)result);
4370 return resultobj;
4371 fail:
4372 return NULL;
4373 }
4374
4375
4376 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxGauge *arg1 = (wxGauge *) 0 ;
4379 int arg2 ;
4380 PyObject * obj0 = 0 ;
4381 PyObject * obj1 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "self",(char *) "w", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4389 arg2 = (int)SWIG_As_int(obj1);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 (arg1)->SetBezelFace(arg2);
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 Py_INCREF(Py_None); resultobj = Py_None;
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj;
4407 wxGauge *arg1 = (wxGauge *) 0 ;
4408 int result;
4409 PyObject * obj0 = 0 ;
4410 char *kwnames[] = {
4411 (char *) "self", NULL
4412 };
4413
4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_From_int((int)result);
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj;
4433 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4434 wxVisualAttributes result;
4435 PyObject * obj0 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "variant", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4441 if (obj0) {
4442 arg1 = (int)SWIG_As_int(obj0);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 {
4446 if (!wxPyCheckForApp()) SWIG_fail;
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 {
4454 wxVisualAttributes * resultptr;
4455 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4457 }
4458 return resultobj;
4459 fail:
4460 return NULL;
4461 }
4462
4463
4464 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
4465 PyObject *obj;
4466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4467 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4468 Py_INCREF(obj);
4469 return Py_BuildValue((char *)"");
4470 }
4471 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
4472 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4473 return 1;
4474 }
4475
4476
4477 static PyObject *_wrap_StaticBitmapNameStr_get() {
4478 PyObject *pyobj;
4479
4480 {
4481 #if wxUSE_UNICODE
4482 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4483 #else
4484 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4485 #endif
4486 }
4487 return pyobj;
4488 }
4489
4490
4491 static int _wrap_StaticBoxNameStr_set(PyObject *) {
4492 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4493 return 1;
4494 }
4495
4496
4497 static PyObject *_wrap_StaticBoxNameStr_get() {
4498 PyObject *pyobj;
4499
4500 {
4501 #if wxUSE_UNICODE
4502 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4503 #else
4504 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4505 #endif
4506 }
4507 return pyobj;
4508 }
4509
4510
4511 static int _wrap_StaticTextNameStr_set(PyObject *) {
4512 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4513 return 1;
4514 }
4515
4516
4517 static PyObject *_wrap_StaticTextNameStr_get() {
4518 PyObject *pyobj;
4519
4520 {
4521 #if wxUSE_UNICODE
4522 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4523 #else
4524 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4525 #endif
4526 }
4527 return pyobj;
4528 }
4529
4530
4531 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxWindow *arg1 = (wxWindow *) 0 ;
4534 int arg2 = (int) -1 ;
4535 wxString const &arg3_defvalue = wxPyEmptyString ;
4536 wxString *arg3 = (wxString *) &arg3_defvalue ;
4537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4539 wxSize const &arg5_defvalue = wxDefaultSize ;
4540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4541 long arg6 = (long) 0 ;
4542 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4543 wxString *arg7 = (wxString *) &arg7_defvalue ;
4544 wxStaticBox *result;
4545 bool temp3 = false ;
4546 wxPoint temp4 ;
4547 wxSize temp5 ;
4548 bool temp7 = false ;
4549 PyObject * obj0 = 0 ;
4550 PyObject * obj1 = 0 ;
4551 PyObject * obj2 = 0 ;
4552 PyObject * obj3 = 0 ;
4553 PyObject * obj4 = 0 ;
4554 PyObject * obj5 = 0 ;
4555 PyObject * obj6 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4558 };
4559
4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4563 if (obj1) {
4564 arg2 = (int)SWIG_As_int(obj1);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 if (obj2) {
4568 {
4569 arg3 = wxString_in_helper(obj2);
4570 if (arg3 == NULL) SWIG_fail;
4571 temp3 = true;
4572 }
4573 }
4574 if (obj3) {
4575 {
4576 arg4 = &temp4;
4577 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4578 }
4579 }
4580 if (obj4) {
4581 {
4582 arg5 = &temp5;
4583 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4584 }
4585 }
4586 if (obj5) {
4587 arg6 = (long)SWIG_As_long(obj5);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 if (obj6) {
4591 {
4592 arg7 = wxString_in_helper(obj6);
4593 if (arg7 == NULL) SWIG_fail;
4594 temp7 = true;
4595 }
4596 }
4597 {
4598 if (!wxPyCheckForApp()) SWIG_fail;
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
4606 {
4607 if (temp3)
4608 delete arg3;
4609 }
4610 {
4611 if (temp7)
4612 delete arg7;
4613 }
4614 return resultobj;
4615 fail:
4616 {
4617 if (temp3)
4618 delete arg3;
4619 }
4620 {
4621 if (temp7)
4622 delete arg7;
4623 }
4624 return NULL;
4625 }
4626
4627
4628 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4629 PyObject *resultobj;
4630 wxStaticBox *result;
4631 char *kwnames[] = {
4632 NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4636 {
4637 if (!wxPyCheckForApp()) SWIG_fail;
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 result = (wxStaticBox *)new wxStaticBox();
4640
4641 wxPyEndAllowThreads(__tstate);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
4645 return resultobj;
4646 fail:
4647 return NULL;
4648 }
4649
4650
4651 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4652 PyObject *resultobj;
4653 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4654 wxWindow *arg2 = (wxWindow *) 0 ;
4655 int arg3 = (int) -1 ;
4656 wxString const &arg4_defvalue = wxPyEmptyString ;
4657 wxString *arg4 = (wxString *) &arg4_defvalue ;
4658 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4659 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4660 wxSize const &arg6_defvalue = wxDefaultSize ;
4661 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4662 long arg7 = (long) 0 ;
4663 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4664 wxString *arg8 = (wxString *) &arg8_defvalue ;
4665 bool result;
4666 bool temp4 = false ;
4667 wxPoint temp5 ;
4668 wxSize temp6 ;
4669 bool temp8 = false ;
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
4672 PyObject * obj2 = 0 ;
4673 PyObject * obj3 = 0 ;
4674 PyObject * obj4 = 0 ;
4675 PyObject * obj5 = 0 ;
4676 PyObject * obj6 = 0 ;
4677 PyObject * obj7 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4687 if (obj2) {
4688 arg3 = (int)SWIG_As_int(obj2);
4689 if (PyErr_Occurred()) SWIG_fail;
4690 }
4691 if (obj3) {
4692 {
4693 arg4 = wxString_in_helper(obj3);
4694 if (arg4 == NULL) SWIG_fail;
4695 temp4 = true;
4696 }
4697 }
4698 if (obj4) {
4699 {
4700 arg5 = &temp5;
4701 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4702 }
4703 }
4704 if (obj5) {
4705 {
4706 arg6 = &temp6;
4707 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4708 }
4709 }
4710 if (obj6) {
4711 arg7 = (long)SWIG_As_long(obj6);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
4714 if (obj7) {
4715 {
4716 arg8 = wxString_in_helper(obj7);
4717 if (arg8 == NULL) SWIG_fail;
4718 temp8 = true;
4719 }
4720 }
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4728 {
4729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4730 }
4731 {
4732 if (temp4)
4733 delete arg4;
4734 }
4735 {
4736 if (temp8)
4737 delete arg8;
4738 }
4739 return resultobj;
4740 fail:
4741 {
4742 if (temp4)
4743 delete arg4;
4744 }
4745 {
4746 if (temp8)
4747 delete arg8;
4748 }
4749 return NULL;
4750 }
4751
4752
4753 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4756 wxVisualAttributes result;
4757 PyObject * obj0 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "variant", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4763 if (obj0) {
4764 arg1 = (int)SWIG_As_int(obj0);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 {
4768 if (!wxPyCheckForApp()) SWIG_fail;
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 {
4776 wxVisualAttributes * resultptr;
4777 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4779 }
4780 return resultobj;
4781 fail:
4782 return NULL;
4783 }
4784
4785
4786 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
4787 PyObject *obj;
4788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4789 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4790 Py_INCREF(obj);
4791 return Py_BuildValue((char *)"");
4792 }
4793 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj;
4795 wxWindow *arg1 = (wxWindow *) 0 ;
4796 int arg2 = (int) -1 ;
4797 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4798 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4799 wxSize const &arg4_defvalue = wxDefaultSize ;
4800 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4801 long arg5 = (long) wxLI_HORIZONTAL ;
4802 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4803 wxString *arg6 = (wxString *) &arg6_defvalue ;
4804 wxStaticLine *result;
4805 wxPoint temp3 ;
4806 wxSize temp4 ;
4807 bool temp6 = false ;
4808 PyObject * obj0 = 0 ;
4809 PyObject * obj1 = 0 ;
4810 PyObject * obj2 = 0 ;
4811 PyObject * obj3 = 0 ;
4812 PyObject * obj4 = 0 ;
4813 PyObject * obj5 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4816 };
4817
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4821 if (obj1) {
4822 arg2 = (int)SWIG_As_int(obj1);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 if (obj2) {
4826 {
4827 arg3 = &temp3;
4828 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4829 }
4830 }
4831 if (obj3) {
4832 {
4833 arg4 = &temp4;
4834 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4835 }
4836 }
4837 if (obj4) {
4838 arg5 = (long)SWIG_As_long(obj4);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 if (obj5) {
4842 {
4843 arg6 = wxString_in_helper(obj5);
4844 if (arg6 == NULL) SWIG_fail;
4845 temp6 = true;
4846 }
4847 }
4848 {
4849 if (!wxPyCheckForApp()) SWIG_fail;
4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4851 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4852
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4857 {
4858 if (temp6)
4859 delete arg6;
4860 }
4861 return resultobj;
4862 fail:
4863 {
4864 if (temp6)
4865 delete arg6;
4866 }
4867 return NULL;
4868 }
4869
4870
4871 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4872 PyObject *resultobj;
4873 wxStaticLine *result;
4874 char *kwnames[] = {
4875 NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4879 {
4880 if (!wxPyCheckForApp()) SWIG_fail;
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 result = (wxStaticLine *)new wxStaticLine();
4883
4884 wxPyEndAllowThreads(__tstate);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4888 return resultobj;
4889 fail:
4890 return NULL;
4891 }
4892
4893
4894 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4895 PyObject *resultobj;
4896 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4897 wxWindow *arg2 = (wxWindow *) 0 ;
4898 int arg3 = (int) -1 ;
4899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4901 wxSize const &arg5_defvalue = wxDefaultSize ;
4902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4903 long arg6 = (long) wxLI_HORIZONTAL ;
4904 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4905 wxString *arg7 = (wxString *) &arg7_defvalue ;
4906 bool result;
4907 wxPoint temp4 ;
4908 wxSize temp5 ;
4909 bool temp7 = false ;
4910 PyObject * obj0 = 0 ;
4911 PyObject * obj1 = 0 ;
4912 PyObject * obj2 = 0 ;
4913 PyObject * obj3 = 0 ;
4914 PyObject * obj4 = 0 ;
4915 PyObject * obj5 = 0 ;
4916 PyObject * obj6 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4926 if (obj2) {
4927 arg3 = (int)SWIG_As_int(obj2);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 if (obj3) {
4931 {
4932 arg4 = &temp4;
4933 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4934 }
4935 }
4936 if (obj4) {
4937 {
4938 arg5 = &temp5;
4939 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4940 }
4941 }
4942 if (obj5) {
4943 arg6 = (long)SWIG_As_long(obj5);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 if (obj6) {
4947 {
4948 arg7 = wxString_in_helper(obj6);
4949 if (arg7 == NULL) SWIG_fail;
4950 temp7 = true;
4951 }
4952 }
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4960 {
4961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4962 }
4963 {
4964 if (temp7)
4965 delete arg7;
4966 }
4967 return resultobj;
4968 fail:
4969 {
4970 if (temp7)
4971 delete arg7;
4972 }
4973 return NULL;
4974 }
4975
4976
4977 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj;
4979 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4980 bool result;
4981 PyObject * obj0 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "self", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4989 {
4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
4991 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4992
4993 wxPyEndAllowThreads(__tstate);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 }
4996 {
4997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4998 }
4999 return resultobj;
5000 fail:
5001 return NULL;
5002 }
5003
5004
5005 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
5006 PyObject *resultobj;
5007 int result;
5008 char *kwnames[] = {
5009 NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 result = (int)wxStaticLine::GetDefaultSize();
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 resultobj = SWIG_From_int((int)result);
5021 return resultobj;
5022 fail:
5023 return NULL;
5024 }
5025
5026
5027 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5028 PyObject *resultobj;
5029 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5030 wxVisualAttributes result;
5031 PyObject * obj0 = 0 ;
5032 char *kwnames[] = {
5033 (char *) "variant", NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5037 if (obj0) {
5038 arg1 = (int)SWIG_As_int(obj0);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 {
5042 if (!wxPyCheckForApp()) SWIG_fail;
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 {
5050 wxVisualAttributes * resultptr;
5051 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5053 }
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
5061 PyObject *obj;
5062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5063 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
5064 Py_INCREF(obj);
5065 return Py_BuildValue((char *)"");
5066 }
5067 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxWindow *arg1 = (wxWindow *) 0 ;
5070 int arg2 = (int) -1 ;
5071 wxString const &arg3_defvalue = wxPyEmptyString ;
5072 wxString *arg3 = (wxString *) &arg3_defvalue ;
5073 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5074 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5075 wxSize const &arg5_defvalue = wxDefaultSize ;
5076 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5077 long arg6 = (long) 0 ;
5078 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
5079 wxString *arg7 = (wxString *) &arg7_defvalue ;
5080 wxStaticText *result;
5081 bool temp3 = false ;
5082 wxPoint temp4 ;
5083 wxSize temp5 ;
5084 bool temp7 = false ;
5085 PyObject * obj0 = 0 ;
5086 PyObject * obj1 = 0 ;
5087 PyObject * obj2 = 0 ;
5088 PyObject * obj3 = 0 ;
5089 PyObject * obj4 = 0 ;
5090 PyObject * obj5 = 0 ;
5091 PyObject * obj6 = 0 ;
5092 char *kwnames[] = {
5093 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5094 };
5095
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5099 if (obj1) {
5100 arg2 = (int)SWIG_As_int(obj1);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 if (obj2) {
5104 {
5105 arg3 = wxString_in_helper(obj2);
5106 if (arg3 == NULL) SWIG_fail;
5107 temp3 = true;
5108 }
5109 }
5110 if (obj3) {
5111 {
5112 arg4 = &temp4;
5113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5114 }
5115 }
5116 if (obj4) {
5117 {
5118 arg5 = &temp5;
5119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5120 }
5121 }
5122 if (obj5) {
5123 arg6 = (long)SWIG_As_long(obj5);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 }
5126 if (obj6) {
5127 {
5128 arg7 = wxString_in_helper(obj6);
5129 if (arg7 == NULL) SWIG_fail;
5130 temp7 = true;
5131 }
5132 }
5133 {
5134 if (!wxPyCheckForApp()) SWIG_fail;
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5142 {
5143 if (temp3)
5144 delete arg3;
5145 }
5146 {
5147 if (temp7)
5148 delete arg7;
5149 }
5150 return resultobj;
5151 fail:
5152 {
5153 if (temp3)
5154 delete arg3;
5155 }
5156 {
5157 if (temp7)
5158 delete arg7;
5159 }
5160 return NULL;
5161 }
5162
5163
5164 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
5165 PyObject *resultobj;
5166 wxStaticText *result;
5167 char *kwnames[] = {
5168 NULL
5169 };
5170
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5172 {
5173 if (!wxPyCheckForApp()) SWIG_fail;
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 result = (wxStaticText *)new wxStaticText();
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5181 return resultobj;
5182 fail:
5183 return NULL;
5184 }
5185
5186
5187 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 wxStaticText *arg1 = (wxStaticText *) 0 ;
5190 wxWindow *arg2 = (wxWindow *) 0 ;
5191 int arg3 = (int) -1 ;
5192 wxString const &arg4_defvalue = wxPyEmptyString ;
5193 wxString *arg4 = (wxString *) &arg4_defvalue ;
5194 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5195 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5196 wxSize const &arg6_defvalue = wxDefaultSize ;
5197 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5198 long arg7 = (long) 0 ;
5199 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5200 wxString *arg8 = (wxString *) &arg8_defvalue ;
5201 bool result;
5202 bool temp4 = false ;
5203 wxPoint temp5 ;
5204 wxSize temp6 ;
5205 bool temp8 = false ;
5206 PyObject * obj0 = 0 ;
5207 PyObject * obj1 = 0 ;
5208 PyObject * obj2 = 0 ;
5209 PyObject * obj3 = 0 ;
5210 PyObject * obj4 = 0 ;
5211 PyObject * obj5 = 0 ;
5212 PyObject * obj6 = 0 ;
5213 PyObject * obj7 = 0 ;
5214 char *kwnames[] = {
5215 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5223 if (obj2) {
5224 arg3 = (int)SWIG_As_int(obj2);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 if (obj3) {
5228 {
5229 arg4 = wxString_in_helper(obj3);
5230 if (arg4 == NULL) SWIG_fail;
5231 temp4 = true;
5232 }
5233 }
5234 if (obj4) {
5235 {
5236 arg5 = &temp5;
5237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5238 }
5239 }
5240 if (obj5) {
5241 {
5242 arg6 = &temp6;
5243 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5244 }
5245 }
5246 if (obj6) {
5247 arg7 = (long)SWIG_As_long(obj6);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 if (obj7) {
5251 {
5252 arg8 = wxString_in_helper(obj7);
5253 if (arg8 == NULL) SWIG_fail;
5254 temp8 = true;
5255 }
5256 }
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
5264 {
5265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5266 }
5267 {
5268 if (temp4)
5269 delete arg4;
5270 }
5271 {
5272 if (temp8)
5273 delete arg8;
5274 }
5275 return resultobj;
5276 fail:
5277 {
5278 if (temp4)
5279 delete arg4;
5280 }
5281 {
5282 if (temp8)
5283 delete arg8;
5284 }
5285 return NULL;
5286 }
5287
5288
5289 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5292 wxVisualAttributes result;
5293 PyObject * obj0 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "variant", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5299 if (obj0) {
5300 arg1 = (int)SWIG_As_int(obj0);
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
5303 {
5304 if (!wxPyCheckForApp()) SWIG_fail;
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 {
5312 wxVisualAttributes * resultptr;
5313 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5314 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5315 }
5316 return resultobj;
5317 fail:
5318 return NULL;
5319 }
5320
5321
5322 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
5323 PyObject *obj;
5324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5325 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5326 Py_INCREF(obj);
5327 return Py_BuildValue((char *)"");
5328 }
5329 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5330 PyObject *resultobj;
5331 wxWindow *arg1 = (wxWindow *) 0 ;
5332 int arg2 = (int) -1 ;
5333 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5334 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
5335 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5336 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5337 wxSize const &arg5_defvalue = wxDefaultSize ;
5338 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5339 long arg6 = (long) 0 ;
5340 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5341 wxString *arg7 = (wxString *) &arg7_defvalue ;
5342 wxStaticBitmap *result;
5343 wxPoint temp4 ;
5344 wxSize temp5 ;
5345 bool temp7 = false ;
5346 PyObject * obj0 = 0 ;
5347 PyObject * obj1 = 0 ;
5348 PyObject * obj2 = 0 ;
5349 PyObject * obj3 = 0 ;
5350 PyObject * obj4 = 0 ;
5351 PyObject * obj5 = 0 ;
5352 PyObject * obj6 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5360 if (obj1) {
5361 arg2 = (int)SWIG_As_int(obj1);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 if (obj2) {
5365 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5366 SWIG_POINTER_EXCEPTION | 0)) == -1)
5367 SWIG_fail;
5368 if (arg3 == NULL) {
5369 PyErr_SetString(PyExc_TypeError,"null reference");
5370 SWIG_fail;
5371 }
5372 }
5373 if (obj3) {
5374 {
5375 arg4 = &temp4;
5376 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5377 }
5378 }
5379 if (obj4) {
5380 {
5381 arg5 = &temp5;
5382 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5383 }
5384 }
5385 if (obj5) {
5386 arg6 = (long)SWIG_As_long(obj5);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 if (obj6) {
5390 {
5391 arg7 = wxString_in_helper(obj6);
5392 if (arg7 == NULL) SWIG_fail;
5393 temp7 = true;
5394 }
5395 }
5396 {
5397 if (!wxPyCheckForApp()) SWIG_fail;
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5405 {
5406 if (temp7)
5407 delete arg7;
5408 }
5409 return resultobj;
5410 fail:
5411 {
5412 if (temp7)
5413 delete arg7;
5414 }
5415 return NULL;
5416 }
5417
5418
5419 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxStaticBitmap *result;
5422 char *kwnames[] = {
5423 NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5427 {
5428 if (!wxPyCheckForApp()) SWIG_fail;
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (wxStaticBitmap *)new wxStaticBitmap();
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5436 return resultobj;
5437 fail:
5438 return NULL;
5439 }
5440
5441
5442 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5443 PyObject *resultobj;
5444 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5445 wxWindow *arg2 = (wxWindow *) 0 ;
5446 int arg3 = (int) -1 ;
5447 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5448 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
5449 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5450 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5451 wxSize const &arg6_defvalue = wxDefaultSize ;
5452 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5453 long arg7 = (long) 0 ;
5454 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5455 wxString *arg8 = (wxString *) &arg8_defvalue ;
5456 bool result;
5457 wxPoint temp5 ;
5458 wxSize temp6 ;
5459 bool temp8 = false ;
5460 PyObject * obj0 = 0 ;
5461 PyObject * obj1 = 0 ;
5462 PyObject * obj2 = 0 ;
5463 PyObject * obj3 = 0 ;
5464 PyObject * obj4 = 0 ;
5465 PyObject * obj5 = 0 ;
5466 PyObject * obj6 = 0 ;
5467 PyObject * obj7 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5477 if (obj2) {
5478 arg3 = (int)SWIG_As_int(obj2);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 if (obj3) {
5482 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5483 SWIG_POINTER_EXCEPTION | 0)) == -1)
5484 SWIG_fail;
5485 if (arg4 == NULL) {
5486 PyErr_SetString(PyExc_TypeError,"null reference");
5487 SWIG_fail;
5488 }
5489 }
5490 if (obj4) {
5491 {
5492 arg5 = &temp5;
5493 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5494 }
5495 }
5496 if (obj5) {
5497 {
5498 arg6 = &temp6;
5499 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5500 }
5501 }
5502 if (obj6) {
5503 arg7 = (long)SWIG_As_long(obj6);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 if (obj7) {
5507 {
5508 arg8 = wxString_in_helper(obj7);
5509 if (arg8 == NULL) SWIG_fail;
5510 temp8 = true;
5511 }
5512 }
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 {
5521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5522 }
5523 {
5524 if (temp8)
5525 delete arg8;
5526 }
5527 return resultobj;
5528 fail:
5529 {
5530 if (temp8)
5531 delete arg8;
5532 }
5533 return NULL;
5534 }
5535
5536
5537 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5538 PyObject *resultobj;
5539 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5540 wxBitmap result;
5541 PyObject * obj0 = 0 ;
5542 char *kwnames[] = {
5543 (char *) "self", NULL
5544 };
5545
5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (arg1)->GetBitmap();
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 {
5557 wxBitmap * resultptr;
5558 resultptr = new wxBitmap((wxBitmap &) result);
5559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5560 }
5561 return resultobj;
5562 fail:
5563 return NULL;
5564 }
5565
5566
5567 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5568 PyObject *resultobj;
5569 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5570 wxBitmap *arg2 = 0 ;
5571 PyObject * obj0 = 0 ;
5572 PyObject * obj1 = 0 ;
5573 char *kwnames[] = {
5574 (char *) "self",(char *) "bitmap", NULL
5575 };
5576
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5581 SWIG_POINTER_EXCEPTION | 0)) == -1)
5582 SWIG_fail;
5583 if (arg2 == NULL) {
5584 PyErr_SetString(PyExc_TypeError,"null reference");
5585 SWIG_fail;
5586 }
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 Py_INCREF(Py_None); resultobj = Py_None;
5595 return resultobj;
5596 fail:
5597 return NULL;
5598 }
5599
5600
5601 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj;
5603 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5604 wxIcon *arg2 = 0 ;
5605 PyObject * obj0 = 0 ;
5606 PyObject * obj1 = 0 ;
5607 char *kwnames[] = {
5608 (char *) "self",(char *) "icon", NULL
5609 };
5610
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5615 SWIG_POINTER_EXCEPTION | 0)) == -1)
5616 SWIG_fail;
5617 if (arg2 == NULL) {
5618 PyErr_SetString(PyExc_TypeError,"null reference");
5619 SWIG_fail;
5620 }
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 (arg1)->SetIcon((wxIcon const &)*arg2);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 Py_INCREF(Py_None); resultobj = Py_None;
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5638 wxVisualAttributes result;
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "variant", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5645 if (obj0) {
5646 arg1 = (int)SWIG_As_int(obj0);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 {
5650 if (!wxPyCheckForApp()) SWIG_fail;
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 {
5658 wxVisualAttributes * resultptr;
5659 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5661 }
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
5669 PyObject *obj;
5670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5671 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5672 Py_INCREF(obj);
5673 return Py_BuildValue((char *)"");
5674 }
5675 static int _wrap_ListBoxNameStr_set(PyObject *) {
5676 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5677 return 1;
5678 }
5679
5680
5681 static PyObject *_wrap_ListBoxNameStr_get() {
5682 PyObject *pyobj;
5683
5684 {
5685 #if wxUSE_UNICODE
5686 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5687 #else
5688 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5689 #endif
5690 }
5691 return pyobj;
5692 }
5693
5694
5695 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5696 PyObject *resultobj;
5697 wxWindow *arg1 = (wxWindow *) 0 ;
5698 int arg2 = (int) -1 ;
5699 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5700 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5701 wxSize const &arg4_defvalue = wxDefaultSize ;
5702 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5703 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5704 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5705 long arg6 = (long) 0 ;
5706 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5707 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5708 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5709 wxString *arg8 = (wxString *) &arg8_defvalue ;
5710 wxListBox *result;
5711 wxPoint temp3 ;
5712 wxSize temp4 ;
5713 bool temp5 = false ;
5714 bool temp8 = false ;
5715 PyObject * obj0 = 0 ;
5716 PyObject * obj1 = 0 ;
5717 PyObject * obj2 = 0 ;
5718 PyObject * obj3 = 0 ;
5719 PyObject * obj4 = 0 ;
5720 PyObject * obj5 = 0 ;
5721 PyObject * obj6 = 0 ;
5722 PyObject * obj7 = 0 ;
5723 char *kwnames[] = {
5724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5725 };
5726
5727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5730 if (obj1) {
5731 arg2 = (int)SWIG_As_int(obj1);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
5734 if (obj2) {
5735 {
5736 arg3 = &temp3;
5737 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5738 }
5739 }
5740 if (obj3) {
5741 {
5742 arg4 = &temp4;
5743 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5744 }
5745 }
5746 if (obj4) {
5747 {
5748 if (! PySequence_Check(obj4)) {
5749 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5750 SWIG_fail;
5751 }
5752 arg5 = new wxArrayString;
5753 temp5 = true;
5754 int i, len=PySequence_Length(obj4);
5755 for (i=0; i<len; i++) {
5756 PyObject* item = PySequence_GetItem(obj4, i);
5757 #if wxUSE_UNICODE
5758 PyObject* str = PyObject_Unicode(item);
5759 #else
5760 PyObject* str = PyObject_Str(item);
5761 #endif
5762 if (PyErr_Occurred()) SWIG_fail;
5763 arg5->Add(Py2wxString(str));
5764 Py_DECREF(item);
5765 Py_DECREF(str);
5766 }
5767 }
5768 }
5769 if (obj5) {
5770 arg6 = (long)SWIG_As_long(obj5);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 if (obj6) {
5774 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5775 SWIG_POINTER_EXCEPTION | 0)) == -1)
5776 SWIG_fail;
5777 if (arg7 == NULL) {
5778 PyErr_SetString(PyExc_TypeError,"null reference");
5779 SWIG_fail;
5780 }
5781 }
5782 if (obj7) {
5783 {
5784 arg8 = wxString_in_helper(obj7);
5785 if (arg8 == NULL) SWIG_fail;
5786 temp8 = true;
5787 }
5788 }
5789 {
5790 if (!wxPyCheckForApp()) SWIG_fail;
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5798 {
5799 if (temp5) delete arg5;
5800 }
5801 {
5802 if (temp8)
5803 delete arg8;
5804 }
5805 return resultobj;
5806 fail:
5807 {
5808 if (temp5) delete arg5;
5809 }
5810 {
5811 if (temp8)
5812 delete arg8;
5813 }
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxListBox *result;
5821 char *kwnames[] = {
5822 NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5826 {
5827 if (!wxPyCheckForApp()) SWIG_fail;
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 result = (wxListBox *)new wxListBox();
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5835 return resultobj;
5836 fail:
5837 return NULL;
5838 }
5839
5840
5841 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj;
5843 wxListBox *arg1 = (wxListBox *) 0 ;
5844 wxWindow *arg2 = (wxWindow *) 0 ;
5845 int arg3 = (int) -1 ;
5846 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5847 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5848 wxSize const &arg5_defvalue = wxDefaultSize ;
5849 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5850 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5851 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5852 long arg7 = (long) 0 ;
5853 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5854 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5855 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5856 wxString *arg9 = (wxString *) &arg9_defvalue ;
5857 bool result;
5858 wxPoint temp4 ;
5859 wxSize temp5 ;
5860 bool temp6 = false ;
5861 bool temp9 = false ;
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 PyObject * obj2 = 0 ;
5865 PyObject * obj3 = 0 ;
5866 PyObject * obj4 = 0 ;
5867 PyObject * obj5 = 0 ;
5868 PyObject * obj6 = 0 ;
5869 PyObject * obj7 = 0 ;
5870 PyObject * obj8 = 0 ;
5871 char *kwnames[] = {
5872 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5873 };
5874
5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5880 if (obj2) {
5881 arg3 = (int)SWIG_As_int(obj2);
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
5884 if (obj3) {
5885 {
5886 arg4 = &temp4;
5887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5888 }
5889 }
5890 if (obj4) {
5891 {
5892 arg5 = &temp5;
5893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5894 }
5895 }
5896 if (obj5) {
5897 {
5898 if (! PySequence_Check(obj5)) {
5899 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5900 SWIG_fail;
5901 }
5902 arg6 = new wxArrayString;
5903 temp6 = true;
5904 int i, len=PySequence_Length(obj5);
5905 for (i=0; i<len; i++) {
5906 PyObject* item = PySequence_GetItem(obj5, i);
5907 #if wxUSE_UNICODE
5908 PyObject* str = PyObject_Unicode(item);
5909 #else
5910 PyObject* str = PyObject_Str(item);
5911 #endif
5912 if (PyErr_Occurred()) SWIG_fail;
5913 arg6->Add(Py2wxString(str));
5914 Py_DECREF(item);
5915 Py_DECREF(str);
5916 }
5917 }
5918 }
5919 if (obj6) {
5920 arg7 = (long)SWIG_As_long(obj6);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 if (obj7) {
5924 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5925 SWIG_POINTER_EXCEPTION | 0)) == -1)
5926 SWIG_fail;
5927 if (arg8 == NULL) {
5928 PyErr_SetString(PyExc_TypeError,"null reference");
5929 SWIG_fail;
5930 }
5931 }
5932 if (obj8) {
5933 {
5934 arg9 = wxString_in_helper(obj8);
5935 if (arg9 == NULL) SWIG_fail;
5936 temp9 = true;
5937 }
5938 }
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5942
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 {
5947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5948 }
5949 {
5950 if (temp6) delete arg6;
5951 }
5952 {
5953 if (temp9)
5954 delete arg9;
5955 }
5956 return resultobj;
5957 fail:
5958 {
5959 if (temp6) delete arg6;
5960 }
5961 {
5962 if (temp9)
5963 delete arg9;
5964 }
5965 return NULL;
5966 }
5967
5968
5969 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
5970 PyObject *resultobj;
5971 wxListBox *arg1 = (wxListBox *) 0 ;
5972 wxString *arg2 = 0 ;
5973 int arg3 ;
5974 PyObject *arg4 = (PyObject *) NULL ;
5975 bool temp2 = false ;
5976 PyObject * obj0 = 0 ;
5977 PyObject * obj1 = 0 ;
5978 PyObject * obj2 = 0 ;
5979 PyObject * obj3 = 0 ;
5980 char *kwnames[] = {
5981 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5982 };
5983
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5987 {
5988 arg2 = wxString_in_helper(obj1);
5989 if (arg2 == NULL) SWIG_fail;
5990 temp2 = true;
5991 }
5992 arg3 = (int)SWIG_As_int(obj2);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 if (obj3) {
5995 arg4 = obj3;
5996 }
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 Py_INCREF(Py_None); resultobj = Py_None;
6005 {
6006 if (temp2)
6007 delete arg2;
6008 }
6009 return resultobj;
6010 fail:
6011 {
6012 if (temp2)
6013 delete arg2;
6014 }
6015 return NULL;
6016 }
6017
6018
6019 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
6020 PyObject *resultobj;
6021 wxListBox *arg1 = (wxListBox *) 0 ;
6022 wxArrayString *arg2 = 0 ;
6023 int arg3 ;
6024 bool temp2 = false ;
6025 PyObject * obj0 = 0 ;
6026 PyObject * obj1 = 0 ;
6027 PyObject * obj2 = 0 ;
6028 char *kwnames[] = {
6029 (char *) "self",(char *) "items",(char *) "pos", NULL
6030 };
6031
6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
6033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6035 {
6036 if (! PySequence_Check(obj1)) {
6037 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6038 SWIG_fail;
6039 }
6040 arg2 = new wxArrayString;
6041 temp2 = true;
6042 int i, len=PySequence_Length(obj1);
6043 for (i=0; i<len; i++) {
6044 PyObject* item = PySequence_GetItem(obj1, i);
6045 #if wxUSE_UNICODE
6046 PyObject* str = PyObject_Unicode(item);
6047 #else
6048 PyObject* str = PyObject_Str(item);
6049 #endif
6050 if (PyErr_Occurred()) SWIG_fail;
6051 arg2->Add(Py2wxString(str));
6052 Py_DECREF(item);
6053 Py_DECREF(str);
6054 }
6055 }
6056 arg3 = (int)SWIG_As_int(obj2);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 Py_INCREF(Py_None); resultobj = Py_None;
6066 {
6067 if (temp2) delete arg2;
6068 }
6069 return resultobj;
6070 fail:
6071 {
6072 if (temp2) delete arg2;
6073 }
6074 return NULL;
6075 }
6076
6077
6078 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
6079 PyObject *resultobj;
6080 wxListBox *arg1 = (wxListBox *) 0 ;
6081 wxArrayString *arg2 = 0 ;
6082 bool temp2 = false ;
6083 PyObject * obj0 = 0 ;
6084 PyObject * obj1 = 0 ;
6085 char *kwnames[] = {
6086 (char *) "self",(char *) "items", NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
6090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6092 {
6093 if (! PySequence_Check(obj1)) {
6094 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6095 SWIG_fail;
6096 }
6097 arg2 = new wxArrayString;
6098 temp2 = true;
6099 int i, len=PySequence_Length(obj1);
6100 for (i=0; i<len; i++) {
6101 PyObject* item = PySequence_GetItem(obj1, i);
6102 #if wxUSE_UNICODE
6103 PyObject* str = PyObject_Unicode(item);
6104 #else
6105 PyObject* str = PyObject_Str(item);
6106 #endif
6107 if (PyErr_Occurred()) SWIG_fail;
6108 arg2->Add(Py2wxString(str));
6109 Py_DECREF(item);
6110 Py_DECREF(str);
6111 }
6112 }
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 (arg1)->Set((wxArrayString const &)*arg2);
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 Py_INCREF(Py_None); resultobj = Py_None;
6121 {
6122 if (temp2) delete arg2;
6123 }
6124 return resultobj;
6125 fail:
6126 {
6127 if (temp2) delete arg2;
6128 }
6129 return NULL;
6130 }
6131
6132
6133 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj;
6135 wxListBox *arg1 = (wxListBox *) 0 ;
6136 int arg2 ;
6137 bool result;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self",(char *) "n", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6147 arg2 = (int)SWIG_As_int(obj1);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 {
6150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6151 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6152
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 {
6157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6158 }
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj;
6167 wxListBox *arg1 = (wxListBox *) 0 ;
6168 int arg2 ;
6169 bool arg3 = (bool) true ;
6170 PyObject * obj0 = 0 ;
6171 PyObject * obj1 = 0 ;
6172 PyObject * obj2 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self",(char *) "n",(char *) "select", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6180 arg2 = (int)SWIG_As_int(obj1);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 if (obj2) {
6183 arg3 = (bool)SWIG_As_bool(obj2);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 (arg1)->SetSelection(arg2,arg3);
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 Py_INCREF(Py_None); resultobj = Py_None;
6194 return resultobj;
6195 fail:
6196 return NULL;
6197 }
6198
6199
6200 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj;
6202 wxListBox *arg1 = (wxListBox *) 0 ;
6203 int arg2 ;
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "self",(char *) "n", NULL
6208 };
6209
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6213 arg2 = (int)SWIG_As_int(obj1);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 (arg1)->Select(arg2);
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 Py_INCREF(Py_None); resultobj = Py_None;
6223 return resultobj;
6224 fail:
6225 return NULL;
6226 }
6227
6228
6229 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
6230 PyObject *resultobj;
6231 wxListBox *arg1 = (wxListBox *) 0 ;
6232 int arg2 ;
6233 PyObject * obj0 = 0 ;
6234 PyObject * obj1 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self",(char *) "n", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6242 arg2 = (int)SWIG_As_int(obj1);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 (arg1)->Deselect(arg2);
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 Py_INCREF(Py_None); resultobj = Py_None;
6252 return resultobj;
6253 fail:
6254 return NULL;
6255 }
6256
6257
6258 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxListBox *arg1 = (wxListBox *) 0 ;
6261 int arg2 = (int) -1 ;
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "self",(char *) "itemToLeaveSelected", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6271 if (obj1) {
6272 arg2 = (int)SWIG_As_int(obj1);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 (arg1)->DeselectAll(arg2);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 Py_INCREF(Py_None); resultobj = Py_None;
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxListBox *arg1 = (wxListBox *) 0 ;
6292 wxString *arg2 = 0 ;
6293 bool arg3 = (bool) true ;
6294 bool result;
6295 bool temp2 = false ;
6296 PyObject * obj0 = 0 ;
6297 PyObject * obj1 = 0 ;
6298 PyObject * obj2 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self",(char *) "s",(char *) "select", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6306 {
6307 arg2 = wxString_in_helper(obj1);
6308 if (arg2 == NULL) SWIG_fail;
6309 temp2 = true;
6310 }
6311 if (obj2) {
6312 arg3 = (bool)SWIG_As_bool(obj2);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 {
6323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6324 }
6325 {
6326 if (temp2)
6327 delete arg2;
6328 }
6329 return resultobj;
6330 fail:
6331 {
6332 if (temp2)
6333 delete arg2;
6334 }
6335 return NULL;
6336 }
6337
6338
6339 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxListBox *arg1 = (wxListBox *) 0 ;
6342 PyObject *result;
6343 PyObject * obj0 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (PyObject *)wxListBox_GetSelections(arg1);
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 resultobj = result;
6359 return resultobj;
6360 fail:
6361 return NULL;
6362 }
6363
6364
6365 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj;
6367 wxListBox *arg1 = (wxListBox *) 0 ;
6368 int arg2 ;
6369 PyObject * obj0 = 0 ;
6370 PyObject * obj1 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self",(char *) "n", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6378 arg2 = (int)SWIG_As_int(obj1);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 (arg1)->SetFirstItem(arg2);
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 Py_INCREF(Py_None); resultobj = Py_None;
6388 return resultobj;
6389 fail:
6390 return NULL;
6391 }
6392
6393
6394 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
6395 PyObject *resultobj;
6396 wxListBox *arg1 = (wxListBox *) 0 ;
6397 wxString *arg2 = 0 ;
6398 bool temp2 = false ;
6399 PyObject * obj0 = 0 ;
6400 PyObject * obj1 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "self",(char *) "s", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6408 {
6409 arg2 = wxString_in_helper(obj1);
6410 if (arg2 == NULL) SWIG_fail;
6411 temp2 = true;
6412 }
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->SetFirstItem((wxString const &)*arg2);
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 Py_INCREF(Py_None); resultobj = Py_None;
6421 {
6422 if (temp2)
6423 delete arg2;
6424 }
6425 return resultobj;
6426 fail:
6427 {
6428 if (temp2)
6429 delete arg2;
6430 }
6431 return NULL;
6432 }
6433
6434
6435 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6436 PyObject *resultobj;
6437 wxListBox *arg1 = (wxListBox *) 0 ;
6438 int arg2 ;
6439 PyObject * obj0 = 0 ;
6440 PyObject * obj1 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "self",(char *) "n", NULL
6443 };
6444
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6448 arg2 = (int)SWIG_As_int(obj1);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 (arg1)->EnsureVisible(arg2);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 Py_INCREF(Py_None); resultobj = Py_None;
6458 return resultobj;
6459 fail:
6460 return NULL;
6461 }
6462
6463
6464 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6465 PyObject *resultobj;
6466 wxListBox *arg1 = (wxListBox *) 0 ;
6467 wxString *arg2 = 0 ;
6468 bool temp2 = false ;
6469 PyObject * obj0 = 0 ;
6470 PyObject * obj1 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "self",(char *) "s", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6478 {
6479 arg2 = wxString_in_helper(obj1);
6480 if (arg2 == NULL) SWIG_fail;
6481 temp2 = true;
6482 }
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 Py_INCREF(Py_None); resultobj = Py_None;
6491 {
6492 if (temp2)
6493 delete arg2;
6494 }
6495 return resultobj;
6496 fail:
6497 {
6498 if (temp2)
6499 delete arg2;
6500 }
6501 return NULL;
6502 }
6503
6504
6505 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
6506 PyObject *resultobj;
6507 wxListBox *arg1 = (wxListBox *) 0 ;
6508 bool result;
6509 PyObject * obj0 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 result = (bool)((wxListBox const *)arg1)->IsSorted();
6520
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 {
6525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6526 }
6527 return resultobj;
6528 fail:
6529 return NULL;
6530 }
6531
6532
6533 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxListBox *arg1 = (wxListBox *) 0 ;
6536 int arg2 ;
6537 wxColour *arg3 = 0 ;
6538 wxColour temp3 ;
6539 PyObject * obj0 = 0 ;
6540 PyObject * obj1 = 0 ;
6541 PyObject * obj2 = 0 ;
6542 char *kwnames[] = {
6543 (char *) "self",(char *) "item",(char *) "c", NULL
6544 };
6545
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6549 arg2 = (int)SWIG_As_int(obj1);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 {
6552 arg3 = &temp3;
6553 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxListBox *arg1 = (wxListBox *) 0 ;
6572 int arg2 ;
6573 wxColour *arg3 = 0 ;
6574 wxColour temp3 ;
6575 PyObject * obj0 = 0 ;
6576 PyObject * obj1 = 0 ;
6577 PyObject * obj2 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self",(char *) "item",(char *) "c", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6585 arg2 = (int)SWIG_As_int(obj1);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 {
6588 arg3 = &temp3;
6589 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6590 }
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 Py_INCREF(Py_None); resultobj = Py_None;
6599 return resultobj;
6600 fail:
6601 return NULL;
6602 }
6603
6604
6605 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj;
6607 wxListBox *arg1 = (wxListBox *) 0 ;
6608 int arg2 ;
6609 wxFont *arg3 = 0 ;
6610 PyObject * obj0 = 0 ;
6611 PyObject * obj1 = 0 ;
6612 PyObject * obj2 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self",(char *) "item",(char *) "f", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6620 arg2 = (int)SWIG_As_int(obj1);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6623 SWIG_POINTER_EXCEPTION | 0)) == -1)
6624 SWIG_fail;
6625 if (arg3 == NULL) {
6626 PyErr_SetString(PyExc_TypeError,"null reference");
6627 SWIG_fail;
6628 }
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6632
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 Py_INCREF(Py_None); resultobj = Py_None;
6637 return resultobj;
6638 fail:
6639 return NULL;
6640 }
6641
6642
6643 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6644 PyObject *resultobj;
6645 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6646 wxVisualAttributes result;
6647 PyObject * obj0 = 0 ;
6648 char *kwnames[] = {
6649 (char *) "variant", NULL
6650 };
6651
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6653 if (obj0) {
6654 arg1 = (int)SWIG_As_int(obj0);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
6657 {
6658 if (!wxPyCheckForApp()) SWIG_fail;
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 wxVisualAttributes * resultptr;
6667 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6668 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6669 }
6670 return resultobj;
6671 fail:
6672 return NULL;
6673 }
6674
6675
6676 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
6677 PyObject *obj;
6678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6679 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6680 Py_INCREF(obj);
6681 return Py_BuildValue((char *)"");
6682 }
6683 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj;
6685 wxWindow *arg1 = (wxWindow *) 0 ;
6686 int arg2 = (int) -1 ;
6687 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6688 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6689 wxSize const &arg4_defvalue = wxDefaultSize ;
6690 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6691 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6692 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6693 long arg6 = (long) 0 ;
6694 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6695 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6696 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6697 wxString *arg8 = (wxString *) &arg8_defvalue ;
6698 wxCheckListBox *result;
6699 wxPoint temp3 ;
6700 wxSize temp4 ;
6701 bool temp5 = false ;
6702 bool temp8 = false ;
6703 PyObject * obj0 = 0 ;
6704 PyObject * obj1 = 0 ;
6705 PyObject * obj2 = 0 ;
6706 PyObject * obj3 = 0 ;
6707 PyObject * obj4 = 0 ;
6708 PyObject * obj5 = 0 ;
6709 PyObject * obj6 = 0 ;
6710 PyObject * obj7 = 0 ;
6711 char *kwnames[] = {
6712 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6713 };
6714
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6718 if (obj1) {
6719 arg2 = (int)SWIG_As_int(obj1);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
6722 if (obj2) {
6723 {
6724 arg3 = &temp3;
6725 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6726 }
6727 }
6728 if (obj3) {
6729 {
6730 arg4 = &temp4;
6731 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6732 }
6733 }
6734 if (obj4) {
6735 {
6736 if (! PySequence_Check(obj4)) {
6737 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6738 SWIG_fail;
6739 }
6740 arg5 = new wxArrayString;
6741 temp5 = true;
6742 int i, len=PySequence_Length(obj4);
6743 for (i=0; i<len; i++) {
6744 PyObject* item = PySequence_GetItem(obj4, i);
6745 #if wxUSE_UNICODE
6746 PyObject* str = PyObject_Unicode(item);
6747 #else
6748 PyObject* str = PyObject_Str(item);
6749 #endif
6750 if (PyErr_Occurred()) SWIG_fail;
6751 arg5->Add(Py2wxString(str));
6752 Py_DECREF(item);
6753 Py_DECREF(str);
6754 }
6755 }
6756 }
6757 if (obj5) {
6758 arg6 = (long)SWIG_As_long(obj5);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 if (obj6) {
6762 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6763 SWIG_POINTER_EXCEPTION | 0)) == -1)
6764 SWIG_fail;
6765 if (arg7 == NULL) {
6766 PyErr_SetString(PyExc_TypeError,"null reference");
6767 SWIG_fail;
6768 }
6769 }
6770 if (obj7) {
6771 {
6772 arg8 = wxString_in_helper(obj7);
6773 if (arg8 == NULL) SWIG_fail;
6774 temp8 = true;
6775 }
6776 }
6777 {
6778 if (!wxPyCheckForApp()) SWIG_fail;
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6786 {
6787 if (temp5) delete arg5;
6788 }
6789 {
6790 if (temp8)
6791 delete arg8;
6792 }
6793 return resultobj;
6794 fail:
6795 {
6796 if (temp5) delete arg5;
6797 }
6798 {
6799 if (temp8)
6800 delete arg8;
6801 }
6802 return NULL;
6803 }
6804
6805
6806 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6807 PyObject *resultobj;
6808 wxCheckListBox *result;
6809 char *kwnames[] = {
6810 NULL
6811 };
6812
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6814 {
6815 if (!wxPyCheckForApp()) SWIG_fail;
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 result = (wxCheckListBox *)new wxCheckListBox();
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6832 wxWindow *arg2 = (wxWindow *) 0 ;
6833 int arg3 = (int) -1 ;
6834 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6835 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6836 wxSize const &arg5_defvalue = wxDefaultSize ;
6837 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6838 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6839 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6840 long arg7 = (long) 0 ;
6841 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6842 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6843 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6844 wxString *arg9 = (wxString *) &arg9_defvalue ;
6845 bool result;
6846 wxPoint temp4 ;
6847 wxSize temp5 ;
6848 bool temp6 = false ;
6849 bool temp9 = false ;
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
6852 PyObject * obj2 = 0 ;
6853 PyObject * obj3 = 0 ;
6854 PyObject * obj4 = 0 ;
6855 PyObject * obj5 = 0 ;
6856 PyObject * obj6 = 0 ;
6857 PyObject * obj7 = 0 ;
6858 PyObject * obj8 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6868 if (obj2) {
6869 arg3 = (int)SWIG_As_int(obj2);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 if (obj3) {
6873 {
6874 arg4 = &temp4;
6875 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6876 }
6877 }
6878 if (obj4) {
6879 {
6880 arg5 = &temp5;
6881 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6882 }
6883 }
6884 if (obj5) {
6885 {
6886 if (! PySequence_Check(obj5)) {
6887 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6888 SWIG_fail;
6889 }
6890 arg6 = new wxArrayString;
6891 temp6 = true;
6892 int i, len=PySequence_Length(obj5);
6893 for (i=0; i<len; i++) {
6894 PyObject* item = PySequence_GetItem(obj5, i);
6895 #if wxUSE_UNICODE
6896 PyObject* str = PyObject_Unicode(item);
6897 #else
6898 PyObject* str = PyObject_Str(item);
6899 #endif
6900 if (PyErr_Occurred()) SWIG_fail;
6901 arg6->Add(Py2wxString(str));
6902 Py_DECREF(item);
6903 Py_DECREF(str);
6904 }
6905 }
6906 }
6907 if (obj6) {
6908 arg7 = (long)SWIG_As_long(obj6);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 if (obj7) {
6912 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6913 SWIG_POINTER_EXCEPTION | 0)) == -1)
6914 SWIG_fail;
6915 if (arg8 == NULL) {
6916 PyErr_SetString(PyExc_TypeError,"null reference");
6917 SWIG_fail;
6918 }
6919 }
6920 if (obj8) {
6921 {
6922 arg9 = wxString_in_helper(obj8);
6923 if (arg9 == NULL) SWIG_fail;
6924 temp9 = true;
6925 }
6926 }
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 {
6935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6936 }
6937 {
6938 if (temp6) delete arg6;
6939 }
6940 {
6941 if (temp9)
6942 delete arg9;
6943 }
6944 return resultobj;
6945 fail:
6946 {
6947 if (temp6) delete arg6;
6948 }
6949 {
6950 if (temp9)
6951 delete arg9;
6952 }
6953 return NULL;
6954 }
6955
6956
6957 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj;
6959 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6960 int arg2 ;
6961 bool result;
6962 PyObject * obj0 = 0 ;
6963 PyObject * obj1 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self",(char *) "index", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6971 arg2 = (int)SWIG_As_int(obj1);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (bool)(arg1)->IsChecked(arg2);
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 {
6981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6982 }
6983 return resultobj;
6984 fail:
6985 return NULL;
6986 }
6987
6988
6989 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
6990 PyObject *resultobj;
6991 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6992 int arg2 ;
6993 int arg3 = (int) true ;
6994 PyObject * obj0 = 0 ;
6995 PyObject * obj1 = 0 ;
6996 PyObject * obj2 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self",(char *) "index",(char *) "check", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
7002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7004 arg2 = (int)SWIG_As_int(obj1);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 if (obj2) {
7007 arg3 = (int)SWIG_As_int(obj2);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 (arg1)->Check(arg2,arg3);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 Py_INCREF(Py_None); resultobj = Py_None;
7018 return resultobj;
7019 fail:
7020 return NULL;
7021 }
7022
7023
7024 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7025 PyObject *resultobj;
7026 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7027 int result;
7028 PyObject * obj0 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "self", NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
7034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7036 {
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 result = (int)(arg1)->GetItemHeight();
7039
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 resultobj = SWIG_From_int((int)result);
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj;
7052 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7053 wxPoint *arg2 = 0 ;
7054 int result;
7055 wxPoint temp2 ;
7056 PyObject * obj0 = 0 ;
7057 PyObject * obj1 = 0 ;
7058 char *kwnames[] = {
7059 (char *) "self",(char *) "pt", NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
7063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7065 {
7066 arg2 = &temp2;
7067 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_From_int((int)result);
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7086 int arg2 ;
7087 int arg3 ;
7088 int result;
7089 PyObject * obj0 = 0 ;
7090 PyObject * obj1 = 0 ;
7091 PyObject * obj2 = 0 ;
7092 char *kwnames[] = {
7093 (char *) "self",(char *) "x",(char *) "y", NULL
7094 };
7095
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
7097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7099 arg2 = (int)SWIG_As_int(obj1);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 arg3 = (int)SWIG_As_int(obj2);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 resultobj = SWIG_From_int((int)result);
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
7118 PyObject *obj;
7119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7120 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
7121 Py_INCREF(obj);
7122 return Py_BuildValue((char *)"");
7123 }
7124 static int _wrap_TextCtrlNameStr_set(PyObject *) {
7125 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
7126 return 1;
7127 }
7128
7129
7130 static PyObject *_wrap_TextCtrlNameStr_get() {
7131 PyObject *pyobj;
7132
7133 {
7134 #if wxUSE_UNICODE
7135 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7136 #else
7137 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7138 #endif
7139 }
7140 return pyobj;
7141 }
7142
7143
7144 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxColour const &arg1_defvalue = wxNullColour ;
7147 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
7148 wxColour const &arg2_defvalue = wxNullColour ;
7149 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7150 wxFont const &arg3_defvalue = wxNullFont ;
7151 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7152 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7153 wxTextAttr *result;
7154 wxColour temp1 ;
7155 wxColour temp2 ;
7156 PyObject * obj0 = 0 ;
7157 PyObject * obj1 = 0 ;
7158 PyObject * obj2 = 0 ;
7159 PyObject * obj3 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7162 };
7163
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7165 if (obj0) {
7166 {
7167 arg1 = &temp1;
7168 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7169 }
7170 }
7171 if (obj1) {
7172 {
7173 arg2 = &temp2;
7174 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7175 }
7176 }
7177 if (obj2) {
7178 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7179 SWIG_POINTER_EXCEPTION | 0)) == -1)
7180 SWIG_fail;
7181 if (arg3 == NULL) {
7182 PyErr_SetString(PyExc_TypeError,"null reference");
7183 SWIG_fail;
7184 }
7185 }
7186 if (obj3) {
7187 arg4 = (int)SWIG_As_int(obj3);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7198 return resultobj;
7199 fail:
7200 return NULL;
7201 }
7202
7203
7204 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7207 PyObject * obj0 = 0 ;
7208 char *kwnames[] = {
7209 (char *) "self", NULL
7210 };
7211
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 delete arg1;
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 return resultobj;
7224 fail:
7225 return NULL;
7226 }
7227
7228
7229 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj;
7231 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7232 PyObject * obj0 = 0 ;
7233 char *kwnames[] = {
7234 (char *) "self", NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 (arg1)->Init();
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 Py_INCREF(Py_None); resultobj = Py_None;
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7257 wxColour *arg2 = 0 ;
7258 wxColour temp2 ;
7259 PyObject * obj0 = 0 ;
7260 PyObject * obj1 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self",(char *) "colText", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7268 {
7269 arg2 = &temp2;
7270 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7271 }
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 (arg1)->SetTextColour((wxColour const &)*arg2);
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 Py_INCREF(Py_None); resultobj = Py_None;
7280 return resultobj;
7281 fail:
7282 return NULL;
7283 }
7284
7285
7286 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7289 wxColour *arg2 = 0 ;
7290 wxColour temp2 ;
7291 PyObject * obj0 = 0 ;
7292 PyObject * obj1 = 0 ;
7293 char *kwnames[] = {
7294 (char *) "self",(char *) "colBack", NULL
7295 };
7296
7297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7300 {
7301 arg2 = &temp2;
7302 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7303 }
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 Py_INCREF(Py_None); resultobj = Py_None;
7312 return resultobj;
7313 fail:
7314 return NULL;
7315 }
7316
7317
7318 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7321 wxFont *arg2 = 0 ;
7322 long arg3 = (long) wxTEXT_ATTR_FONT ;
7323 PyObject * obj0 = 0 ;
7324 PyObject * obj1 = 0 ;
7325 PyObject * obj2 = 0 ;
7326 char *kwnames[] = {
7327 (char *) "self",(char *) "font",(char *) "flags", NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7334 SWIG_POINTER_EXCEPTION | 0)) == -1)
7335 SWIG_fail;
7336 if (arg2 == NULL) {
7337 PyErr_SetString(PyExc_TypeError,"null reference");
7338 SWIG_fail;
7339 }
7340 if (obj2) {
7341 arg3 = (long)SWIG_As_long(obj2);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 Py_INCREF(Py_None); resultobj = Py_None;
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7361 int arg2 ;
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj1 = 0 ;
7364 char *kwnames[] = {
7365 (char *) "self",(char *) "alignment", NULL
7366 };
7367
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7371 arg2 = (int)SWIG_As_int(obj1);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7376
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 Py_INCREF(Py_None); resultobj = Py_None;
7381 return resultobj;
7382 fail:
7383 return NULL;
7384 }
7385
7386
7387 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7390 wxArrayInt *arg2 = 0 ;
7391 bool temp2 = false ;
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 char *kwnames[] = {
7395 (char *) "self",(char *) "tabs", NULL
7396 };
7397
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7401 {
7402 if (! PySequence_Check(obj1)) {
7403 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7404 SWIG_fail;
7405 }
7406 arg2 = new wxArrayInt;
7407 temp2 = true;
7408 int i, len=PySequence_Length(obj1);
7409 for (i=0; i<len; i++) {
7410 PyObject* item = PySequence_GetItem(obj1, i);
7411 PyObject* number = PyNumber_Int(item);
7412 arg2->Add(PyInt_AS_LONG(number));
7413 Py_DECREF(item);
7414 Py_DECREF(number);
7415 }
7416 }
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 {
7426 if (temp2) delete arg2;
7427 }
7428 return resultobj;
7429 fail:
7430 {
7431 if (temp2) delete arg2;
7432 }
7433 return NULL;
7434 }
7435
7436
7437 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7438 PyObject *resultobj;
7439 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7440 int arg2 ;
7441 int arg3 = (int) 0 ;
7442 PyObject * obj0 = 0 ;
7443 PyObject * obj1 = 0 ;
7444 PyObject * obj2 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7447 };
7448
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7452 arg2 = (int)SWIG_As_int(obj1);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 if (obj2) {
7455 arg3 = (int)SWIG_As_int(obj2);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 (arg1)->SetLeftIndent(arg2,arg3);
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_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7475 int arg2 ;
7476 PyObject * obj0 = 0 ;
7477 PyObject * obj1 = 0 ;
7478 char *kwnames[] = {
7479 (char *) "self",(char *) "indent", NULL
7480 };
7481
7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",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 = (int)SWIG_As_int(obj1);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 (arg1)->SetRightIndent(arg2);
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 Py_INCREF(Py_None); resultobj = Py_None;
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7504 long arg2 ;
7505 PyObject * obj0 = 0 ;
7506 PyObject * obj1 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self",(char *) "flags", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7514 arg2 = (long)SWIG_As_long(obj1);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 {
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 (arg1)->SetFlags(arg2);
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 }
7523 Py_INCREF(Py_None); resultobj = Py_None;
7524 return resultobj;
7525 fail:
7526 return NULL;
7527 }
7528
7529
7530 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7531 PyObject *resultobj;
7532 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7533 bool result;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 {
7550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7551 }
7552 return resultobj;
7553 fail:
7554 return NULL;
7555 }
7556
7557
7558 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7559 PyObject *resultobj;
7560 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7561 bool result;
7562 PyObject * obj0 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 {
7578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7579 }
7580 return resultobj;
7581 fail:
7582 return NULL;
7583 }
7584
7585
7586 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7589 bool result;
7590 PyObject * obj0 = 0 ;
7591 char *kwnames[] = {
7592 (char *) "self", NULL
7593 };
7594
7595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 {
7606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7607 }
7608 return resultobj;
7609 fail:
7610 return NULL;
7611 }
7612
7613
7614 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7615 PyObject *resultobj;
7616 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7617 bool result;
7618 PyObject * obj0 = 0 ;
7619 char *kwnames[] = {
7620 (char *) "self", NULL
7621 };
7622
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 {
7634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7635 }
7636 return resultobj;
7637 fail:
7638 return NULL;
7639 }
7640
7641
7642 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj;
7644 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7645 bool result;
7646 PyObject * obj0 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 {
7662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7663 }
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7671 PyObject *resultobj;
7672 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7673 bool result;
7674 PyObject * obj0 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 {
7690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7691 }
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj;
7700 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7701 bool result;
7702 PyObject * obj0 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 {
7718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7719 }
7720 return resultobj;
7721 fail:
7722 return NULL;
7723 }
7724
7725
7726 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7727 PyObject *resultobj;
7728 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7729 long arg2 ;
7730 bool result;
7731 PyObject * obj0 = 0 ;
7732 PyObject * obj1 = 0 ;
7733 char *kwnames[] = {
7734 (char *) "self",(char *) "flag", NULL
7735 };
7736
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7740 arg2 = (long)SWIG_As_long(obj1);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 {
7750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7751 }
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 static PyObject *_wrap_TextAttr_GetTextColour(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_GetTextColour",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)->GetTextColour();
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_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7788 PyObject *resultobj;
7789 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7790 wxColour *result;
7791 PyObject * obj0 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "self", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
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 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7803 result = (wxColour *) &_result_ref;
7804 }
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7810 return resultobj;
7811 fail:
7812 return NULL;
7813 }
7814
7815
7816 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7817 PyObject *resultobj;
7818 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7819 wxFont *result;
7820 PyObject * obj0 = 0 ;
7821 char *kwnames[] = {
7822 (char *) "self", NULL
7823 };
7824
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 {
7831 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7832 result = (wxFont *) &_result_ref;
7833 }
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 {
7839 wxFont* resultptr = new wxFont(*result);
7840 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7841 }
7842 return resultobj;
7843 fail:
7844 return NULL;
7845 }
7846
7847
7848 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7849 PyObject *resultobj;
7850 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7851 int result;
7852 PyObject * obj0 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "self", NULL
7855 };
7856
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7860 {
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
7867 resultobj = SWIG_From_int((int)result);
7868 return resultobj;
7869 fail:
7870 return NULL;
7871 }
7872
7873
7874 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7875 PyObject *resultobj;
7876 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7877 wxArrayInt *result;
7878 PyObject * obj0 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "self", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 {
7889 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7890 result = (wxArrayInt *) &_result_ref;
7891 }
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 {
7897 resultobj = PyList_New(0);
7898 size_t idx;
7899 for (idx = 0; idx < result->GetCount(); idx += 1) {
7900 PyObject* val = PyInt_FromLong( result->Item(idx) );
7901 PyList_Append(resultobj, val);
7902 Py_DECREF(val);
7903 }
7904 }
7905 return resultobj;
7906 fail:
7907 return NULL;
7908 }
7909
7910
7911 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7912 PyObject *resultobj;
7913 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7914 long result;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 resultobj = SWIG_From_long((long)result);
7931 return resultobj;
7932 fail:
7933 return NULL;
7934 }
7935
7936
7937 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7938 PyObject *resultobj;
7939 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7940 long result;
7941 PyObject * obj0 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = SWIG_From_long((long)result);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7966 long result;
7967 PyObject * obj0 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 resultobj = SWIG_From_long((long)result);
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj;
7991 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7992 long result;
7993 PyObject * obj0 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
8000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 result = (long)((wxTextAttr const *)arg1)->GetFlags();
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 }
8008 resultobj = SWIG_From_long((long)result);
8009 return resultobj;
8010 fail:
8011 return NULL;
8012 }
8013
8014
8015 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
8016 PyObject *resultobj;
8017 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8018 bool result;
8019 PyObject * obj0 = 0 ;
8020 char *kwnames[] = {
8021 (char *) "self", NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
8025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
8026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 {
8035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8036 }
8037 return resultobj;
8038 fail:
8039 return NULL;
8040 }
8041
8042
8043 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 wxTextAttr *arg1 = 0 ;
8046 wxTextAttr *arg2 = 0 ;
8047 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
8048 wxTextAttr result;
8049 PyObject * obj0 = 0 ;
8050 PyObject * obj1 = 0 ;
8051 PyObject * obj2 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
8058 SWIG_POINTER_EXCEPTION | 0)) == -1)
8059 SWIG_fail;
8060 if (arg1 == NULL) {
8061 PyErr_SetString(PyExc_TypeError,"null reference");
8062 SWIG_fail;
8063 }
8064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8065 SWIG_POINTER_EXCEPTION | 0)) == -1)
8066 SWIG_fail;
8067 if (arg2 == NULL) {
8068 PyErr_SetString(PyExc_TypeError,"null reference");
8069 SWIG_fail;
8070 }
8071 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
8072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8073 {
8074 PyThreadState* __tstate = wxPyBeginAllowThreads();
8075 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
8076
8077 wxPyEndAllowThreads(__tstate);
8078 if (PyErr_Occurred()) SWIG_fail;
8079 }
8080 {
8081 wxTextAttr * resultptr;
8082 resultptr = new wxTextAttr((wxTextAttr &) result);
8083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
8084 }
8085 return resultobj;
8086 fail:
8087 return NULL;
8088 }
8089
8090
8091 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
8092 PyObject *obj;
8093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8094 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
8095 Py_INCREF(obj);
8096 return Py_BuildValue((char *)"");
8097 }
8098 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
8099 PyObject *resultobj;
8100 wxWindow *arg1 = (wxWindow *) 0 ;
8101 int arg2 = (int) -1 ;
8102 wxString const &arg3_defvalue = wxPyEmptyString ;
8103 wxString *arg3 = (wxString *) &arg3_defvalue ;
8104 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8105 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8106 wxSize const &arg5_defvalue = wxDefaultSize ;
8107 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8108 long arg6 = (long) 0 ;
8109 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8110 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8111 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
8112 wxString *arg8 = (wxString *) &arg8_defvalue ;
8113 wxTextCtrl *result;
8114 bool temp3 = false ;
8115 wxPoint temp4 ;
8116 wxSize temp5 ;
8117 bool temp8 = false ;
8118 PyObject * obj0 = 0 ;
8119 PyObject * obj1 = 0 ;
8120 PyObject * obj2 = 0 ;
8121 PyObject * obj3 = 0 ;
8122 PyObject * obj4 = 0 ;
8123 PyObject * obj5 = 0 ;
8124 PyObject * obj6 = 0 ;
8125 PyObject * obj7 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8133 if (obj1) {
8134 arg2 = (int)SWIG_As_int(obj1);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 if (obj2) {
8138 {
8139 arg3 = wxString_in_helper(obj2);
8140 if (arg3 == NULL) SWIG_fail;
8141 temp3 = true;
8142 }
8143 }
8144 if (obj3) {
8145 {
8146 arg4 = &temp4;
8147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8148 }
8149 }
8150 if (obj4) {
8151 {
8152 arg5 = &temp5;
8153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8154 }
8155 }
8156 if (obj5) {
8157 arg6 = (long)SWIG_As_long(obj5);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 if (obj6) {
8161 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8162 SWIG_POINTER_EXCEPTION | 0)) == -1)
8163 SWIG_fail;
8164 if (arg7 == NULL) {
8165 PyErr_SetString(PyExc_TypeError,"null reference");
8166 SWIG_fail;
8167 }
8168 }
8169 if (obj7) {
8170 {
8171 arg8 = wxString_in_helper(obj7);
8172 if (arg8 == NULL) SWIG_fail;
8173 temp8 = true;
8174 }
8175 }
8176 {
8177 if (!wxPyCheckForApp()) SWIG_fail;
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
8185 {
8186 if (temp3)
8187 delete arg3;
8188 }
8189 {
8190 if (temp8)
8191 delete arg8;
8192 }
8193 return resultobj;
8194 fail:
8195 {
8196 if (temp3)
8197 delete arg3;
8198 }
8199 {
8200 if (temp8)
8201 delete arg8;
8202 }
8203 return NULL;
8204 }
8205
8206
8207 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
8208 PyObject *resultobj;
8209 wxTextCtrl *result;
8210 char *kwnames[] = {
8211 NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8215 {
8216 if (!wxPyCheckForApp()) SWIG_fail;
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 result = (wxTextCtrl *)new wxTextCtrl();
8219
8220 wxPyEndAllowThreads(__tstate);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
8223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
8224 return resultobj;
8225 fail:
8226 return NULL;
8227 }
8228
8229
8230 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj;
8232 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8233 wxWindow *arg2 = (wxWindow *) 0 ;
8234 int arg3 = (int) -1 ;
8235 wxString const &arg4_defvalue = wxPyEmptyString ;
8236 wxString *arg4 = (wxString *) &arg4_defvalue ;
8237 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8238 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8239 wxSize const &arg6_defvalue = wxDefaultSize ;
8240 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8241 long arg7 = (long) 0 ;
8242 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8243 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8244 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8245 wxString *arg9 = (wxString *) &arg9_defvalue ;
8246 bool result;
8247 bool temp4 = false ;
8248 wxPoint temp5 ;
8249 wxSize temp6 ;
8250 bool temp9 = false ;
8251 PyObject * obj0 = 0 ;
8252 PyObject * obj1 = 0 ;
8253 PyObject * obj2 = 0 ;
8254 PyObject * obj3 = 0 ;
8255 PyObject * obj4 = 0 ;
8256 PyObject * obj5 = 0 ;
8257 PyObject * obj6 = 0 ;
8258 PyObject * obj7 = 0 ;
8259 PyObject * obj8 = 0 ;
8260 char *kwnames[] = {
8261 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8262 };
8263
8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8269 if (obj2) {
8270 arg3 = (int)SWIG_As_int(obj2);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 if (obj3) {
8274 {
8275 arg4 = wxString_in_helper(obj3);
8276 if (arg4 == NULL) SWIG_fail;
8277 temp4 = true;
8278 }
8279 }
8280 if (obj4) {
8281 {
8282 arg5 = &temp5;
8283 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8284 }
8285 }
8286 if (obj5) {
8287 {
8288 arg6 = &temp6;
8289 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8290 }
8291 }
8292 if (obj6) {
8293 arg7 = (long)SWIG_As_long(obj6);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 if (obj7) {
8297 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8298 SWIG_POINTER_EXCEPTION | 0)) == -1)
8299 SWIG_fail;
8300 if (arg8 == NULL) {
8301 PyErr_SetString(PyExc_TypeError,"null reference");
8302 SWIG_fail;
8303 }
8304 }
8305 if (obj8) {
8306 {
8307 arg9 = wxString_in_helper(obj8);
8308 if (arg9 == NULL) SWIG_fail;
8309 temp9 = true;
8310 }
8311 }
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 {
8320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8321 }
8322 {
8323 if (temp4)
8324 delete arg4;
8325 }
8326 {
8327 if (temp9)
8328 delete arg9;
8329 }
8330 return resultobj;
8331 fail:
8332 {
8333 if (temp4)
8334 delete arg4;
8335 }
8336 {
8337 if (temp9)
8338 delete arg9;
8339 }
8340 return NULL;
8341 }
8342
8343
8344 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj;
8346 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8347 wxString result;
8348 PyObject * obj0 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "self", NULL
8351 };
8352
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = ((wxTextCtrl const *)arg1)->GetValue();
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 {
8364 #if wxUSE_UNICODE
8365 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8366 #else
8367 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8368 #endif
8369 }
8370 return resultobj;
8371 fail:
8372 return NULL;
8373 }
8374
8375
8376 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
8377 PyObject *resultobj;
8378 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8379 wxString *arg2 = 0 ;
8380 bool temp2 = false ;
8381 PyObject * obj0 = 0 ;
8382 PyObject * obj1 = 0 ;
8383 char *kwnames[] = {
8384 (char *) "self",(char *) "value", NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8390 {
8391 arg2 = wxString_in_helper(obj1);
8392 if (arg2 == NULL) SWIG_fail;
8393 temp2 = true;
8394 }
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 (arg1)->SetValue((wxString const &)*arg2);
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 Py_INCREF(Py_None); resultobj = Py_None;
8403 {
8404 if (temp2)
8405 delete arg2;
8406 }
8407 return resultobj;
8408 fail:
8409 {
8410 if (temp2)
8411 delete arg2;
8412 }
8413 return NULL;
8414 }
8415
8416
8417 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8420 long arg2 ;
8421 long arg3 ;
8422 wxString result;
8423 PyObject * obj0 = 0 ;
8424 PyObject * obj1 = 0 ;
8425 PyObject * obj2 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "self",(char *) "from",(char *) "to", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8433 arg2 = (long)SWIG_As_long(obj1);
8434 if (PyErr_Occurred()) SWIG_fail;
8435 arg3 = (long)SWIG_As_long(obj2);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 {
8445 #if wxUSE_UNICODE
8446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8447 #else
8448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8449 #endif
8450 }
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8460 long arg2 ;
8461 int result;
8462 PyObject * obj0 = 0 ;
8463 PyObject * obj1 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self",(char *) "lineNo", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8471 arg2 = (long)SWIG_As_long(obj1);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 resultobj = SWIG_From_int((int)result);
8481 return resultobj;
8482 fail:
8483 return NULL;
8484 }
8485
8486
8487 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj;
8489 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8490 long arg2 ;
8491 wxString result;
8492 PyObject * obj0 = 0 ;
8493 PyObject * obj1 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "self",(char *) "lineNo", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8501 arg2 = (long)SWIG_As_long(obj1);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8506
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 {
8511 #if wxUSE_UNICODE
8512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8513 #else
8514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8515 #endif
8516 }
8517 return resultobj;
8518 fail:
8519 return NULL;
8520 }
8521
8522
8523 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
8524 PyObject *resultobj;
8525 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8526 int result;
8527 PyObject * obj0 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 resultobj = SWIG_From_int((int)result);
8543 return resultobj;
8544 fail:
8545 return NULL;
8546 }
8547
8548
8549 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
8550 PyObject *resultobj;
8551 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8552 bool result;
8553 PyObject * obj0 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "self", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 {
8569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8570 }
8571 return resultobj;
8572 fail:
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8580 bool result;
8581 PyObject * obj0 = 0 ;
8582 char *kwnames[] = {
8583 (char *) "self", NULL
8584 };
8585
8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 {
8597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8598 }
8599 return resultobj;
8600 fail:
8601 return NULL;
8602 }
8603
8604
8605 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8608 bool result;
8609 PyObject * obj0 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 {
8625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8626 }
8627 return resultobj;
8628 fail:
8629 return NULL;
8630 }
8631
8632
8633 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
8634 PyObject *resultobj;
8635 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8636 bool result;
8637 PyObject * obj0 = 0 ;
8638 char *kwnames[] = {
8639 (char *) "self", NULL
8640 };
8641
8642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 {
8653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8654 }
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj;
8663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8664 long *arg2 = (long *) 0 ;
8665 long *arg3 = (long *) 0 ;
8666 long temp2 ;
8667 int res2 = 0 ;
8668 long temp3 ;
8669 int res3 = 0 ;
8670 PyObject * obj0 = 0 ;
8671 char *kwnames[] = {
8672 (char *) "self", NULL
8673 };
8674
8675 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8676 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 Py_INCREF(Py_None); resultobj = Py_None;
8688 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8689 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
8690 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8691 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
8692 return resultobj;
8693 fail:
8694 return NULL;
8695 }
8696
8697
8698 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8699 PyObject *resultobj;
8700 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8701 wxString result;
8702 PyObject * obj0 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 {
8718 #if wxUSE_UNICODE
8719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8720 #else
8721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8722 #endif
8723 }
8724 return resultobj;
8725 fail:
8726 return NULL;
8727 }
8728
8729
8730 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj;
8732 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8733 PyObject * obj0 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 (arg1)->Clear();
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 Py_INCREF(Py_None); resultobj = Py_None;
8749 return resultobj;
8750 fail:
8751 return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8758 long arg2 ;
8759 long arg3 ;
8760 wxString *arg4 = 0 ;
8761 bool temp4 = false ;
8762 PyObject * obj0 = 0 ;
8763 PyObject * obj1 = 0 ;
8764 PyObject * obj2 = 0 ;
8765 PyObject * obj3 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8768 };
8769
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8773 arg2 = (long)SWIG_As_long(obj1);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 arg3 = (long)SWIG_As_long(obj2);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 {
8778 arg4 = wxString_in_helper(obj3);
8779 if (arg4 == NULL) SWIG_fail;
8780 temp4 = true;
8781 }
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 Py_INCREF(Py_None); resultobj = Py_None;
8790 {
8791 if (temp4)
8792 delete arg4;
8793 }
8794 return resultobj;
8795 fail:
8796 {
8797 if (temp4)
8798 delete arg4;
8799 }
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8807 long arg2 ;
8808 long arg3 ;
8809 PyObject * obj0 = 0 ;
8810 PyObject * obj1 = 0 ;
8811 PyObject * obj2 = 0 ;
8812 char *kwnames[] = {
8813 (char *) "self",(char *) "from",(char *) "to", NULL
8814 };
8815
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8819 arg2 = (long)SWIG_As_long(obj1);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 arg3 = (long)SWIG_As_long(obj2);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 (arg1)->Remove(arg2,arg3);
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 Py_INCREF(Py_None); resultobj = Py_None;
8831 return resultobj;
8832 fail:
8833 return NULL;
8834 }
8835
8836
8837 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8840 wxString *arg2 = 0 ;
8841 bool result;
8842 bool temp2 = false ;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self",(char *) "file", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8852 {
8853 arg2 = wxString_in_helper(obj1);
8854 if (arg2 == NULL) SWIG_fail;
8855 temp2 = true;
8856 }
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8859 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 {
8865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8866 }
8867 {
8868 if (temp2)
8869 delete arg2;
8870 }
8871 return resultobj;
8872 fail:
8873 {
8874 if (temp2)
8875 delete arg2;
8876 }
8877 return NULL;
8878 }
8879
8880
8881 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
8882 PyObject *resultobj;
8883 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8884 wxString const &arg2_defvalue = wxPyEmptyString ;
8885 wxString *arg2 = (wxString *) &arg2_defvalue ;
8886 bool result;
8887 bool temp2 = false ;
8888 PyObject * obj0 = 0 ;
8889 PyObject * obj1 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self",(char *) "file", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8897 if (obj1) {
8898 {
8899 arg2 = wxString_in_helper(obj1);
8900 if (arg2 == NULL) SWIG_fail;
8901 temp2 = true;
8902 }
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 {
8912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8913 }
8914 {
8915 if (temp2)
8916 delete arg2;
8917 }
8918 return resultobj;
8919 fail:
8920 {
8921 if (temp2)
8922 delete arg2;
8923 }
8924 return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj;
8930 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8931 PyObject * obj0 = 0 ;
8932 char *kwnames[] = {
8933 (char *) "self", NULL
8934 };
8935
8936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 (arg1)->MarkDirty();
8942
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 Py_INCREF(Py_None); resultobj = Py_None;
8947 return resultobj;
8948 fail:
8949 return NULL;
8950 }
8951
8952
8953 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
8954 PyObject *resultobj;
8955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8956 PyObject * obj0 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "self", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->DiscardEdits();
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 return resultobj;
8973 fail:
8974 return NULL;
8975 }
8976
8977
8978 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj;
8980 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8981 unsigned long arg2 ;
8982 PyObject * obj0 = 0 ;
8983 PyObject * obj1 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self",(char *) "len", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8991 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 {
8994 PyThreadState* __tstate = wxPyBeginAllowThreads();
8995 (arg1)->SetMaxLength(arg2);
8996
8997 wxPyEndAllowThreads(__tstate);
8998 if (PyErr_Occurred()) SWIG_fail;
8999 }
9000 Py_INCREF(Py_None); resultobj = Py_None;
9001 return resultobj;
9002 fail:
9003 return NULL;
9004 }
9005
9006
9007 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
9008 PyObject *resultobj;
9009 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9010 wxString *arg2 = 0 ;
9011 bool temp2 = false ;
9012 PyObject * obj0 = 0 ;
9013 PyObject * obj1 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self",(char *) "text", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
9019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9021 {
9022 arg2 = wxString_in_helper(obj1);
9023 if (arg2 == NULL) SWIG_fail;
9024 temp2 = true;
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 (arg1)->WriteText((wxString const &)*arg2);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 Py_INCREF(Py_None); resultobj = Py_None;
9034 {
9035 if (temp2)
9036 delete arg2;
9037 }
9038 return resultobj;
9039 fail:
9040 {
9041 if (temp2)
9042 delete arg2;
9043 }
9044 return NULL;
9045 }
9046
9047
9048 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9051 wxString *arg2 = 0 ;
9052 bool temp2 = false ;
9053 PyObject * obj0 = 0 ;
9054 PyObject * obj1 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "self",(char *) "text", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
9060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9062 {
9063 arg2 = wxString_in_helper(obj1);
9064 if (arg2 == NULL) SWIG_fail;
9065 temp2 = true;
9066 }
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 (arg1)->AppendText((wxString const &)*arg2);
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 Py_INCREF(Py_None); resultobj = Py_None;
9075 {
9076 if (temp2)
9077 delete arg2;
9078 }
9079 return resultobj;
9080 fail:
9081 {
9082 if (temp2)
9083 delete arg2;
9084 }
9085 return NULL;
9086 }
9087
9088
9089 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9092 wxKeyEvent *arg2 = 0 ;
9093 bool result;
9094 PyObject * obj0 = 0 ;
9095 PyObject * obj1 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "self",(char *) "event", NULL
9098 };
9099
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
9101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
9104 SWIG_POINTER_EXCEPTION | 0)) == -1)
9105 SWIG_fail;
9106 if (arg2 == NULL) {
9107 PyErr_SetString(PyExc_TypeError,"null reference");
9108 SWIG_fail;
9109 }
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
9120 return resultobj;
9121 fail:
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9129 long arg2 ;
9130 long arg3 ;
9131 wxTextAttr *arg4 = 0 ;
9132 bool result;
9133 PyObject * obj0 = 0 ;
9134 PyObject * obj1 = 0 ;
9135 PyObject * obj2 = 0 ;
9136 PyObject * obj3 = 0 ;
9137 char *kwnames[] = {
9138 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9139 };
9140
9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9144 arg2 = (long)SWIG_As_long(obj1);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 arg3 = (long)SWIG_As_long(obj2);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9149 SWIG_POINTER_EXCEPTION | 0)) == -1)
9150 SWIG_fail;
9151 if (arg4 == NULL) {
9152 PyErr_SetString(PyExc_TypeError,"null reference");
9153 SWIG_fail;
9154 }
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 {
9163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9164 }
9165 return resultobj;
9166 fail:
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9174 long arg2 ;
9175 wxTextAttr *arg3 = 0 ;
9176 bool result;
9177 PyObject * obj0 = 0 ;
9178 PyObject * obj1 = 0 ;
9179 PyObject * obj2 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self",(char *) "position",(char *) "style", NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9187 arg2 = (long)SWIG_As_long(obj1);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9190 SWIG_POINTER_EXCEPTION | 0)) == -1)
9191 SWIG_fail;
9192 if (arg3 == NULL) {
9193 PyErr_SetString(PyExc_TypeError,"null reference");
9194 SWIG_fail;
9195 }
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 {
9204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9205 }
9206 return resultobj;
9207 fail:
9208 return NULL;
9209 }
9210
9211
9212 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9215 wxTextAttr *arg2 = 0 ;
9216 bool result;
9217 PyObject * obj0 = 0 ;
9218 PyObject * obj1 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self",(char *) "style", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9227 SWIG_POINTER_EXCEPTION | 0)) == -1)
9228 SWIG_fail;
9229 if (arg2 == NULL) {
9230 PyErr_SetString(PyExc_TypeError,"null reference");
9231 SWIG_fail;
9232 }
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 {
9241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9242 }
9243 return resultobj;
9244 fail:
9245 return NULL;
9246 }
9247
9248
9249 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
9250 PyObject *resultobj;
9251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9252 wxTextAttr *result;
9253 PyObject * obj0 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 {
9264 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9265 result = (wxTextAttr *) &_result_ref;
9266 }
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9272 return resultobj;
9273 fail:
9274 return NULL;
9275 }
9276
9277
9278 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj;
9280 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9281 long arg2 ;
9282 long arg3 ;
9283 long result;
9284 PyObject * obj0 = 0 ;
9285 PyObject * obj1 = 0 ;
9286 PyObject * obj2 = 0 ;
9287 char *kwnames[] = {
9288 (char *) "self",(char *) "x",(char *) "y", NULL
9289 };
9290
9291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9294 arg2 = (long)SWIG_As_long(obj1);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 arg3 = (long)SWIG_As_long(obj2);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = SWIG_From_long((long)result);
9306 return resultobj;
9307 fail:
9308 return NULL;
9309 }
9310
9311
9312 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
9313 PyObject *resultobj;
9314 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9315 long arg2 ;
9316 long *arg3 = (long *) 0 ;
9317 long *arg4 = (long *) 0 ;
9318 long temp3 ;
9319 int res3 = 0 ;
9320 long temp4 ;
9321 int res4 = 0 ;
9322 PyObject * obj0 = 0 ;
9323 PyObject * obj1 = 0 ;
9324 char *kwnames[] = {
9325 (char *) "self",(char *) "pos", NULL
9326 };
9327
9328 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9329 arg4 = &temp4; res4 = SWIG_NEWOBJ;
9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9333 arg2 = (long)SWIG_As_long(obj1);
9334 if (PyErr_Occurred()) SWIG_fail;
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 Py_INCREF(Py_None); resultobj = Py_None;
9343 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9344 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9345 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9346 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
9347 return resultobj;
9348 fail:
9349 return NULL;
9350 }
9351
9352
9353 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9356 long arg2 ;
9357 PyObject * obj0 = 0 ;
9358 PyObject * obj1 = 0 ;
9359 char *kwnames[] = {
9360 (char *) "self",(char *) "pos", NULL
9361 };
9362
9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9366 arg2 = (long)SWIG_As_long(obj1);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->ShowPosition(arg2);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 Py_INCREF(Py_None); resultobj = Py_None;
9376 return resultobj;
9377 fail:
9378 return NULL;
9379 }
9380
9381
9382 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9383 PyObject *resultobj;
9384 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9385 wxPoint *arg2 = 0 ;
9386 long *arg3 = (long *) 0 ;
9387 long *arg4 = (long *) 0 ;
9388 int result;
9389 wxPoint temp2 ;
9390 long temp3 ;
9391 int res3 = 0 ;
9392 long temp4 ;
9393 int res4 = 0 ;
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self",(char *) "pt", NULL
9398 };
9399
9400 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9401 arg4 = &temp4; res4 = SWIG_NEWOBJ;
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9405 {
9406 arg2 = &temp2;
9407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9408 }
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 resultobj = SWIG_From_int((int)result);
9417 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9418 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9419 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9420 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
9421 return resultobj;
9422 fail:
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9430 wxPoint *arg2 = 0 ;
9431 long *arg3 = (long *) 0 ;
9432 int result;
9433 wxPoint temp2 ;
9434 long temp3 ;
9435 int res3 = 0 ;
9436 PyObject * obj0 = 0 ;
9437 PyObject * obj1 = 0 ;
9438 char *kwnames[] = {
9439 (char *) "self",(char *) "pt", NULL
9440 };
9441
9442 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
9444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9446 {
9447 arg2 = &temp2;
9448 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9449 }
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = SWIG_From_int((int)result);
9458 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9459 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj;
9468 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9469 PyObject * obj0 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "self", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 (arg1)->Copy();
9480
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 Py_INCREF(Py_None); resultobj = Py_None;
9485 return resultobj;
9486 fail:
9487 return NULL;
9488 }
9489
9490
9491 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
9492 PyObject *resultobj;
9493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9494 PyObject * obj0 = 0 ;
9495 char *kwnames[] = {
9496 (char *) "self", NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 (arg1)->Cut();
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 Py_INCREF(Py_None); resultobj = Py_None;
9510 return resultobj;
9511 fail:
9512 return NULL;
9513 }
9514
9515
9516 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
9517 PyObject *resultobj;
9518 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9519 PyObject * obj0 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 (arg1)->Paste();
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 Py_INCREF(Py_None); resultobj = Py_None;
9535 return resultobj;
9536 fail:
9537 return NULL;
9538 }
9539
9540
9541 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
9542 PyObject *resultobj;
9543 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9544 bool result;
9545 PyObject * obj0 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "self", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9553 {
9554 PyThreadState* __tstate = wxPyBeginAllowThreads();
9555 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9556
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
9560 {
9561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9562 }
9563 return resultobj;
9564 fail:
9565 return NULL;
9566 }
9567
9568
9569 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
9570 PyObject *resultobj;
9571 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9572 bool result;
9573 PyObject * obj0 = 0 ;
9574 char *kwnames[] = {
9575 (char *) "self", NULL
9576 };
9577
9578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9581 {
9582 PyThreadState* __tstate = wxPyBeginAllowThreads();
9583 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9584
9585 wxPyEndAllowThreads(__tstate);
9586 if (PyErr_Occurred()) SWIG_fail;
9587 }
9588 {
9589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9590 }
9591 return resultobj;
9592 fail:
9593 return NULL;
9594 }
9595
9596
9597 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj;
9599 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9600 bool result;
9601 PyObject * obj0 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 {
9617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9618 }
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9628 PyObject * obj0 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->Undo();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 Py_INCREF(Py_None); resultobj = Py_None;
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9653 PyObject * obj0 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 (arg1)->Redo();
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 Py_INCREF(Py_None); resultobj = Py_None;
9669 return resultobj;
9670 fail:
9671 return NULL;
9672 }
9673
9674
9675 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
9676 PyObject *resultobj;
9677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9678 bool result;
9679 PyObject * obj0 = 0 ;
9680 char *kwnames[] = {
9681 (char *) "self", NULL
9682 };
9683
9684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 {
9695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9696 }
9697 return resultobj;
9698 fail:
9699 return NULL;
9700 }
9701
9702
9703 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj;
9705 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9706 bool result;
9707 PyObject * obj0 = 0 ;
9708 char *kwnames[] = {
9709 (char *) "self", NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
9722 {
9723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9724 }
9725 return resultobj;
9726 fail:
9727 return NULL;
9728 }
9729
9730
9731 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9732 PyObject *resultobj;
9733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9734 long arg2 ;
9735 PyObject * obj0 = 0 ;
9736 PyObject * obj1 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self",(char *) "pos", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9744 arg2 = (long)SWIG_As_long(obj1);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 (arg1)->SetInsertionPoint(arg2);
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 Py_INCREF(Py_None); resultobj = Py_None;
9754 return resultobj;
9755 fail:
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9763 PyObject * obj0 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 (arg1)->SetInsertionPointEnd();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 Py_INCREF(Py_None); resultobj = Py_None;
9779 return resultobj;
9780 fail:
9781 return NULL;
9782 }
9783
9784
9785 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9788 long result;
9789 PyObject * obj0 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 resultobj = SWIG_From_long((long)result);
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9814 long result;
9815 PyObject * obj0 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9826
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
9830 resultobj = SWIG_From_long((long)result);
9831 return resultobj;
9832 fail:
9833 return NULL;
9834 }
9835
9836
9837 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9838 PyObject *resultobj;
9839 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9840 long arg2 ;
9841 long arg3 ;
9842 PyObject * obj0 = 0 ;
9843 PyObject * obj1 = 0 ;
9844 PyObject * obj2 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self",(char *) "from",(char *) "to", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9852 arg2 = (long)SWIG_As_long(obj1);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 arg3 = (long)SWIG_As_long(obj2);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 (arg1)->SetSelection(arg2,arg3);
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 Py_INCREF(Py_None); resultobj = Py_None;
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9873 PyObject * obj0 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 (arg1)->SelectAll();
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 Py_INCREF(Py_None); resultobj = Py_None;
9889 return resultobj;
9890 fail:
9891 return NULL;
9892 }
9893
9894
9895 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj;
9897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9898 bool arg2 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self",(char *) "editable", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9908 arg2 = (bool)SWIG_As_bool(obj1);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 (arg1)->SetEditable(arg2);
9913
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 Py_INCREF(Py_None); resultobj = Py_None;
9918 return resultobj;
9919 fail:
9920 return NULL;
9921 }
9922
9923
9924 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
9925 PyObject *resultobj;
9926 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9927 wxString *arg2 = 0 ;
9928 bool temp2 = false ;
9929 PyObject * obj0 = 0 ;
9930 PyObject * obj1 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self",(char *) "text", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9938 {
9939 arg2 = wxString_in_helper(obj1);
9940 if (arg2 == NULL) SWIG_fail;
9941 temp2 = true;
9942 }
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9946
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 Py_INCREF(Py_None); resultobj = Py_None;
9951 {
9952 if (temp2)
9953 delete arg2;
9954 }
9955 return resultobj;
9956 fail:
9957 {
9958 if (temp2)
9959 delete arg2;
9960 }
9961 return NULL;
9962 }
9963
9964
9965 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
9966 PyObject *resultobj;
9967 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9968 long arg2 ;
9969 long arg3 ;
9970 wxString result;
9971 PyObject * obj0 = 0 ;
9972 PyObject * obj1 = 0 ;
9973 PyObject * obj2 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self",(char *) "from",(char *) "to", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9981 arg2 = (long)SWIG_As_long(obj1);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 arg3 = (long)SWIG_As_long(obj2);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9988
9989 wxPyEndAllowThreads(__tstate);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 }
9992 {
9993 #if wxUSE_UNICODE
9994 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9995 #else
9996 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9997 #endif
9998 }
9999 return resultobj;
10000 fail:
10001 return NULL;
10002 }
10003
10004
10005 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
10006 PyObject *resultobj;
10007 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10008 wxVisualAttributes result;
10009 PyObject * obj0 = 0 ;
10010 char *kwnames[] = {
10011 (char *) "variant", NULL
10012 };
10013
10014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10015 if (obj0) {
10016 arg1 = (int)SWIG_As_int(obj0);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 {
10020 if (!wxPyCheckForApp()) SWIG_fail;
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 wxVisualAttributes * resultptr;
10029 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035 }
10036
10037
10038 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
10039 PyObject *obj;
10040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10041 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
10042 Py_INCREF(obj);
10043 return Py_BuildValue((char *)"");
10044 }
10045 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10046 PyObject *resultobj;
10047 int arg1 ;
10048 wxMouseEvent *arg2 = 0 ;
10049 long arg3 ;
10050 long arg4 ;
10051 wxTextUrlEvent *result;
10052 PyObject * obj0 = 0 ;
10053 PyObject * obj1 = 0 ;
10054 PyObject * obj2 = 0 ;
10055 PyObject * obj3 = 0 ;
10056 char *kwnames[] = {
10057 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10058 };
10059
10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10061 arg1 = (int)SWIG_As_int(obj0);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
10064 SWIG_POINTER_EXCEPTION | 0)) == -1)
10065 SWIG_fail;
10066 if (arg2 == NULL) {
10067 PyErr_SetString(PyExc_TypeError,"null reference");
10068 SWIG_fail;
10069 }
10070 arg3 = (long)SWIG_As_long(obj2);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 arg4 = (long)SWIG_As_long(obj3);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10091 wxMouseEvent *result;
10092 PyObject * obj0 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 {
10103 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
10104 result = (wxMouseEvent *) &_result_ref;
10105 }
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10120 long result;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = SWIG_From_long((long)result);
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj;
10145 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10146 long result;
10147 PyObject * obj0 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 resultobj = SWIG_From_long((long)result);
10163 return resultobj;
10164 fail:
10165 return NULL;
10166 }
10167
10168
10169 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
10170 PyObject *obj;
10171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10172 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10173 Py_INCREF(obj);
10174 return Py_BuildValue((char *)"");
10175 }
10176 static int _wrap_ScrollBarNameStr_set(PyObject *) {
10177 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10178 return 1;
10179 }
10180
10181
10182 static PyObject *_wrap_ScrollBarNameStr_get() {
10183 PyObject *pyobj;
10184
10185 {
10186 #if wxUSE_UNICODE
10187 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10188 #else
10189 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10190 #endif
10191 }
10192 return pyobj;
10193 }
10194
10195
10196 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
10197 PyObject *resultobj;
10198 wxWindow *arg1 = (wxWindow *) 0 ;
10199 int arg2 = (int) -1 ;
10200 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10201 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10202 wxSize const &arg4_defvalue = wxDefaultSize ;
10203 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10204 long arg5 = (long) wxSB_HORIZONTAL ;
10205 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10206 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10207 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10208 wxString *arg7 = (wxString *) &arg7_defvalue ;
10209 wxScrollBar *result;
10210 wxPoint temp3 ;
10211 wxSize temp4 ;
10212 bool temp7 = false ;
10213 PyObject * obj0 = 0 ;
10214 PyObject * obj1 = 0 ;
10215 PyObject * obj2 = 0 ;
10216 PyObject * obj3 = 0 ;
10217 PyObject * obj4 = 0 ;
10218 PyObject * obj5 = 0 ;
10219 PyObject * obj6 = 0 ;
10220 char *kwnames[] = {
10221 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10222 };
10223
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10227 if (obj1) {
10228 arg2 = (int)SWIG_As_int(obj1);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 if (obj2) {
10232 {
10233 arg3 = &temp3;
10234 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10235 }
10236 }
10237 if (obj3) {
10238 {
10239 arg4 = &temp4;
10240 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10241 }
10242 }
10243 if (obj4) {
10244 arg5 = (long)SWIG_As_long(obj4);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 if (obj5) {
10248 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10249 SWIG_POINTER_EXCEPTION | 0)) == -1)
10250 SWIG_fail;
10251 if (arg6 == NULL) {
10252 PyErr_SetString(PyExc_TypeError,"null reference");
10253 SWIG_fail;
10254 }
10255 }
10256 if (obj6) {
10257 {
10258 arg7 = wxString_in_helper(obj6);
10259 if (arg7 == NULL) SWIG_fail;
10260 temp7 = true;
10261 }
10262 }
10263 {
10264 if (!wxPyCheckForApp()) SWIG_fail;
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10267
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
10271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10272 {
10273 if (temp7)
10274 delete arg7;
10275 }
10276 return resultobj;
10277 fail:
10278 {
10279 if (temp7)
10280 delete arg7;
10281 }
10282 return NULL;
10283 }
10284
10285
10286 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj;
10288 wxScrollBar *result;
10289 char *kwnames[] = {
10290 NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10294 {
10295 if (!wxPyCheckForApp()) SWIG_fail;
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 result = (wxScrollBar *)new wxScrollBar();
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10303 return resultobj;
10304 fail:
10305 return NULL;
10306 }
10307
10308
10309 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10310 PyObject *resultobj;
10311 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10312 wxWindow *arg2 = (wxWindow *) 0 ;
10313 int arg3 = (int) -1 ;
10314 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10315 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10316 wxSize const &arg5_defvalue = wxDefaultSize ;
10317 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10318 long arg6 = (long) wxSB_HORIZONTAL ;
10319 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10320 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10321 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10322 wxString *arg8 = (wxString *) &arg8_defvalue ;
10323 bool result;
10324 wxPoint temp4 ;
10325 wxSize temp5 ;
10326 bool temp8 = false ;
10327 PyObject * obj0 = 0 ;
10328 PyObject * obj1 = 0 ;
10329 PyObject * obj2 = 0 ;
10330 PyObject * obj3 = 0 ;
10331 PyObject * obj4 = 0 ;
10332 PyObject * obj5 = 0 ;
10333 PyObject * obj6 = 0 ;
10334 PyObject * obj7 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10344 if (obj2) {
10345 arg3 = (int)SWIG_As_int(obj2);
10346 if (PyErr_Occurred()) SWIG_fail;
10347 }
10348 if (obj3) {
10349 {
10350 arg4 = &temp4;
10351 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10352 }
10353 }
10354 if (obj4) {
10355 {
10356 arg5 = &temp5;
10357 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10358 }
10359 }
10360 if (obj5) {
10361 arg6 = (long)SWIG_As_long(obj5);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 if (obj6) {
10365 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10366 SWIG_POINTER_EXCEPTION | 0)) == -1)
10367 SWIG_fail;
10368 if (arg7 == NULL) {
10369 PyErr_SetString(PyExc_TypeError,"null reference");
10370 SWIG_fail;
10371 }
10372 }
10373 if (obj7) {
10374 {
10375 arg8 = wxString_in_helper(obj7);
10376 if (arg8 == NULL) SWIG_fail;
10377 temp8 = true;
10378 }
10379 }
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10383
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 {
10388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10389 }
10390 {
10391 if (temp8)
10392 delete arg8;
10393 }
10394 return resultobj;
10395 fail:
10396 {
10397 if (temp8)
10398 delete arg8;
10399 }
10400 return NULL;
10401 }
10402
10403
10404 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10407 int result;
10408 PyObject * obj0 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 resultobj = SWIG_From_int((int)result);
10424 return resultobj;
10425 fail:
10426 return NULL;
10427 }
10428
10429
10430 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj;
10432 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10433 int result;
10434 PyObject * obj0 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10445
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 resultobj = SWIG_From_int((int)result);
10450 return resultobj;
10451 fail:
10452 return NULL;
10453 }
10454
10455
10456 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
10457 PyObject *resultobj;
10458 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10459 int result;
10460 PyObject * obj0 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 resultobj = SWIG_From_int((int)result);
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10485 int result;
10486 PyObject * obj0 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 result = (int)((wxScrollBar const *)arg1)->GetRange();
10497
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 resultobj = SWIG_From_int((int)result);
10502 return resultobj;
10503 fail:
10504 return NULL;
10505 }
10506
10507
10508 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
10509 PyObject *resultobj;
10510 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10511 bool result;
10512 PyObject * obj0 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 {
10528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10529 }
10530 return resultobj;
10531 fail:
10532 return NULL;
10533 }
10534
10535
10536 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10539 int arg2 ;
10540 PyObject * obj0 = 0 ;
10541 PyObject * obj1 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "self",(char *) "viewStart", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10549 arg2 = (int)SWIG_As_int(obj1);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 (arg1)->SetThumbPosition(arg2);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562 }
10563
10564
10565 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10568 int arg2 ;
10569 int arg3 ;
10570 int arg4 ;
10571 int arg5 ;
10572 bool arg6 = (bool) true ;
10573 PyObject * obj0 = 0 ;
10574 PyObject * obj1 = 0 ;
10575 PyObject * obj2 = 0 ;
10576 PyObject * obj3 = 0 ;
10577 PyObject * obj4 = 0 ;
10578 PyObject * obj5 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10586 arg2 = (int)SWIG_As_int(obj1);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 arg3 = (int)SWIG_As_int(obj2);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 arg4 = (int)SWIG_As_int(obj3);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 arg5 = (int)SWIG_As_int(obj4);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 if (obj5) {
10595 arg6 = (bool)SWIG_As_bool(obj5);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 Py_INCREF(Py_None); resultobj = Py_None;
10606 return resultobj;
10607 fail:
10608 return NULL;
10609 }
10610
10611
10612 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
10613 PyObject *resultobj;
10614 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10615 wxVisualAttributes result;
10616 PyObject * obj0 = 0 ;
10617 char *kwnames[] = {
10618 (char *) "variant", NULL
10619 };
10620
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10622 if (obj0) {
10623 arg1 = (int)SWIG_As_int(obj0);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 {
10627 if (!wxPyCheckForApp()) SWIG_fail;
10628 PyThreadState* __tstate = wxPyBeginAllowThreads();
10629 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10630
10631 wxPyEndAllowThreads(__tstate);
10632 if (PyErr_Occurred()) SWIG_fail;
10633 }
10634 {
10635 wxVisualAttributes * resultptr;
10636 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10638 }
10639 return resultobj;
10640 fail:
10641 return NULL;
10642 }
10643
10644
10645 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
10646 PyObject *obj;
10647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10648 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10649 Py_INCREF(obj);
10650 return Py_BuildValue((char *)"");
10651 }
10652 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
10653 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10654 return 1;
10655 }
10656
10657
10658 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10659 PyObject *pyobj;
10660
10661 {
10662 #if wxUSE_UNICODE
10663 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10664 #else
10665 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10666 #endif
10667 }
10668 return pyobj;
10669 }
10670
10671
10672 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
10673 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10674 return 1;
10675 }
10676
10677
10678 static PyObject *_wrap_SpinCtrlNameStr_get() {
10679 PyObject *pyobj;
10680
10681 {
10682 #if wxUSE_UNICODE
10683 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10684 #else
10685 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10686 #endif
10687 }
10688 return pyobj;
10689 }
10690
10691
10692 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
10693 PyObject *resultobj;
10694 wxWindow *arg1 = (wxWindow *) 0 ;
10695 int arg2 = (int) -1 ;
10696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10698 wxSize const &arg4_defvalue = wxDefaultSize ;
10699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10700 long arg5 = (long) wxSP_HORIZONTAL ;
10701 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10702 wxString *arg6 = (wxString *) &arg6_defvalue ;
10703 wxSpinButton *result;
10704 wxPoint temp3 ;
10705 wxSize temp4 ;
10706 bool temp6 = false ;
10707 PyObject * obj0 = 0 ;
10708 PyObject * obj1 = 0 ;
10709 PyObject * obj2 = 0 ;
10710 PyObject * obj3 = 0 ;
10711 PyObject * obj4 = 0 ;
10712 PyObject * obj5 = 0 ;
10713 char *kwnames[] = {
10714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10715 };
10716
10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10720 if (obj1) {
10721 arg2 = (int)SWIG_As_int(obj1);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
10724 if (obj2) {
10725 {
10726 arg3 = &temp3;
10727 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10728 }
10729 }
10730 if (obj3) {
10731 {
10732 arg4 = &temp4;
10733 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10734 }
10735 }
10736 if (obj4) {
10737 arg5 = (long)SWIG_As_long(obj4);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 if (obj5) {
10741 {
10742 arg6 = wxString_in_helper(obj5);
10743 if (arg6 == NULL) SWIG_fail;
10744 temp6 = true;
10745 }
10746 }
10747 {
10748 if (!wxPyCheckForApp()) SWIG_fail;
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10756 {
10757 if (temp6)
10758 delete arg6;
10759 }
10760 return resultobj;
10761 fail:
10762 {
10763 if (temp6)
10764 delete arg6;
10765 }
10766 return NULL;
10767 }
10768
10769
10770 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
10771 PyObject *resultobj;
10772 wxSpinButton *result;
10773 char *kwnames[] = {
10774 NULL
10775 };
10776
10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10778 {
10779 if (!wxPyCheckForApp()) SWIG_fail;
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 result = (wxSpinButton *)new wxSpinButton();
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10787 return resultobj;
10788 fail:
10789 return NULL;
10790 }
10791
10792
10793 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10794 PyObject *resultobj;
10795 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10796 wxWindow *arg2 = (wxWindow *) 0 ;
10797 int arg3 = (int) -1 ;
10798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10800 wxSize const &arg5_defvalue = wxDefaultSize ;
10801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10802 long arg6 = (long) wxSP_HORIZONTAL ;
10803 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10804 wxString *arg7 = (wxString *) &arg7_defvalue ;
10805 bool result;
10806 wxPoint temp4 ;
10807 wxSize temp5 ;
10808 bool temp7 = false ;
10809 PyObject * obj0 = 0 ;
10810 PyObject * obj1 = 0 ;
10811 PyObject * obj2 = 0 ;
10812 PyObject * obj3 = 0 ;
10813 PyObject * obj4 = 0 ;
10814 PyObject * obj5 = 0 ;
10815 PyObject * obj6 = 0 ;
10816 char *kwnames[] = {
10817 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10818 };
10819
10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10825 if (obj2) {
10826 arg3 = (int)SWIG_As_int(obj2);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
10829 if (obj3) {
10830 {
10831 arg4 = &temp4;
10832 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10833 }
10834 }
10835 if (obj4) {
10836 {
10837 arg5 = &temp5;
10838 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10839 }
10840 }
10841 if (obj5) {
10842 arg6 = (long)SWIG_As_long(obj5);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 if (obj6) {
10846 {
10847 arg7 = wxString_in_helper(obj6);
10848 if (arg7 == NULL) SWIG_fail;
10849 temp7 = true;
10850 }
10851 }
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 {
10860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10861 }
10862 {
10863 if (temp7)
10864 delete arg7;
10865 }
10866 return resultobj;
10867 fail:
10868 {
10869 if (temp7)
10870 delete arg7;
10871 }
10872 return NULL;
10873 }
10874
10875
10876 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10877 PyObject *resultobj;
10878 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10879 int result;
10880 PyObject * obj0 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 result = (int)((wxSpinButton const *)arg1)->GetValue();
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 resultobj = SWIG_From_int((int)result);
10896 return resultobj;
10897 fail:
10898 return NULL;
10899 }
10900
10901
10902 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10905 int result;
10906 PyObject * obj0 = 0 ;
10907 char *kwnames[] = {
10908 (char *) "self", NULL
10909 };
10910
10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 result = (int)((wxSpinButton const *)arg1)->GetMin();
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 resultobj = SWIG_From_int((int)result);
10922 return resultobj;
10923 fail:
10924 return NULL;
10925 }
10926
10927
10928 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10929 PyObject *resultobj;
10930 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10931 int result;
10932 PyObject * obj0 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (int)((wxSpinButton const *)arg1)->GetMax();
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 resultobj = SWIG_From_int((int)result);
10948 return resultobj;
10949 fail:
10950 return NULL;
10951 }
10952
10953
10954 static PyObject *_wrap_SpinButton_SetValue(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 *) "val", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",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)->SetValue(arg2);
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 Py_INCREF(Py_None); resultobj = Py_None;
10977 return resultobj;
10978 fail:
10979 return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_SpinButton_SetMin(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 *) "minVal", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",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)->SetMin(arg2);
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 Py_INCREF(Py_None); resultobj = Py_None;
11006 return resultobj;
11007 fail:
11008 return NULL;
11009 }
11010
11011
11012 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11015 int arg2 ;
11016 PyObject * obj0 = 0 ;
11017 PyObject * obj1 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self",(char *) "maxVal", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11025 arg2 = (int)SWIG_As_int(obj1);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
11029 (arg1)->SetMax(arg2);
11030
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 Py_INCREF(Py_None); resultobj = Py_None;
11035 return resultobj;
11036 fail:
11037 return NULL;
11038 }
11039
11040
11041 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
11042 PyObject *resultobj;
11043 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11044 int arg2 ;
11045 int arg3 ;
11046 PyObject * obj0 = 0 ;
11047 PyObject * obj1 = 0 ;
11048 PyObject * obj2 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11056 arg2 = (int)SWIG_As_int(obj1);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 arg3 = (int)SWIG_As_int(obj2);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 (arg1)->SetRange(arg2,arg3);
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 Py_INCREF(Py_None); resultobj = Py_None;
11068 return resultobj;
11069 fail:
11070 return NULL;
11071 }
11072
11073
11074 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11077 bool result;
11078 PyObject * obj0 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "self", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
11084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 {
11094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11095 }
11096 return resultobj;
11097 fail:
11098 return NULL;
11099 }
11100
11101
11102 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj;
11104 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11105 wxVisualAttributes result;
11106 PyObject * obj0 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "variant", NULL
11109 };
11110
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11112 if (obj0) {
11113 arg1 = (int)SWIG_As_int(obj0);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 {
11117 if (!wxPyCheckForApp()) SWIG_fail;
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 {
11125 wxVisualAttributes * resultptr;
11126 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11128 }
11129 return resultobj;
11130 fail:
11131 return NULL;
11132 }
11133
11134
11135 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
11136 PyObject *obj;
11137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11138 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
11139 Py_INCREF(obj);
11140 return Py_BuildValue((char *)"");
11141 }
11142 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj;
11144 wxWindow *arg1 = (wxWindow *) 0 ;
11145 int arg2 = (int) -1 ;
11146 wxString const &arg3_defvalue = wxPyEmptyString ;
11147 wxString *arg3 = (wxString *) &arg3_defvalue ;
11148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11150 wxSize const &arg5_defvalue = wxDefaultSize ;
11151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11152 long arg6 = (long) wxSP_ARROW_KEYS ;
11153 int arg7 = (int) 0 ;
11154 int arg8 = (int) 100 ;
11155 int arg9 = (int) 0 ;
11156 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
11157 wxString *arg10 = (wxString *) &arg10_defvalue ;
11158 wxSpinCtrl *result;
11159 bool temp3 = false ;
11160 wxPoint temp4 ;
11161 wxSize temp5 ;
11162 bool temp10 = false ;
11163 PyObject * obj0 = 0 ;
11164 PyObject * obj1 = 0 ;
11165 PyObject * obj2 = 0 ;
11166 PyObject * obj3 = 0 ;
11167 PyObject * obj4 = 0 ;
11168 PyObject * obj5 = 0 ;
11169 PyObject * obj6 = 0 ;
11170 PyObject * obj7 = 0 ;
11171 PyObject * obj8 = 0 ;
11172 PyObject * obj9 = 0 ;
11173 char *kwnames[] = {
11174 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11175 };
11176
11177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11180 if (obj1) {
11181 arg2 = (int)SWIG_As_int(obj1);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 if (obj2) {
11185 {
11186 arg3 = wxString_in_helper(obj2);
11187 if (arg3 == NULL) SWIG_fail;
11188 temp3 = true;
11189 }
11190 }
11191 if (obj3) {
11192 {
11193 arg4 = &temp4;
11194 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11195 }
11196 }
11197 if (obj4) {
11198 {
11199 arg5 = &temp5;
11200 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11201 }
11202 }
11203 if (obj5) {
11204 arg6 = (long)SWIG_As_long(obj5);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 if (obj6) {
11208 arg7 = (int)SWIG_As_int(obj6);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 if (obj7) {
11212 arg8 = (int)SWIG_As_int(obj7);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
11215 if (obj8) {
11216 arg9 = (int)SWIG_As_int(obj8);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 if (obj9) {
11220 {
11221 arg10 = wxString_in_helper(obj9);
11222 if (arg10 == NULL) SWIG_fail;
11223 temp10 = true;
11224 }
11225 }
11226 {
11227 if (!wxPyCheckForApp()) SWIG_fail;
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11230
11231 wxPyEndAllowThreads(__tstate);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
11234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11235 {
11236 if (temp3)
11237 delete arg3;
11238 }
11239 {
11240 if (temp10)
11241 delete arg10;
11242 }
11243 return resultobj;
11244 fail:
11245 {
11246 if (temp3)
11247 delete arg3;
11248 }
11249 {
11250 if (temp10)
11251 delete arg10;
11252 }
11253 return NULL;
11254 }
11255
11256
11257 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
11258 PyObject *resultobj;
11259 wxSpinCtrl *result;
11260 char *kwnames[] = {
11261 NULL
11262 };
11263
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11265 {
11266 if (!wxPyCheckForApp()) SWIG_fail;
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (wxSpinCtrl *)new wxSpinCtrl();
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11274 return resultobj;
11275 fail:
11276 return NULL;
11277 }
11278
11279
11280 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj;
11282 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11283 wxWindow *arg2 = (wxWindow *) 0 ;
11284 int arg3 = (int) -1 ;
11285 wxString const &arg4_defvalue = wxPyEmptyString ;
11286 wxString *arg4 = (wxString *) &arg4_defvalue ;
11287 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11288 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11289 wxSize const &arg6_defvalue = wxDefaultSize ;
11290 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11291 long arg7 = (long) wxSP_ARROW_KEYS ;
11292 int arg8 = (int) 0 ;
11293 int arg9 = (int) 100 ;
11294 int arg10 = (int) 0 ;
11295 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11296 wxString *arg11 = (wxString *) &arg11_defvalue ;
11297 bool result;
11298 bool temp4 = false ;
11299 wxPoint temp5 ;
11300 wxSize temp6 ;
11301 bool temp11 = false ;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 PyObject * obj2 = 0 ;
11305 PyObject * obj3 = 0 ;
11306 PyObject * obj4 = 0 ;
11307 PyObject * obj5 = 0 ;
11308 PyObject * obj6 = 0 ;
11309 PyObject * obj7 = 0 ;
11310 PyObject * obj8 = 0 ;
11311 PyObject * obj9 = 0 ;
11312 PyObject * obj10 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11315 };
11316
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11322 if (obj2) {
11323 arg3 = (int)SWIG_As_int(obj2);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 if (obj3) {
11327 {
11328 arg4 = wxString_in_helper(obj3);
11329 if (arg4 == NULL) SWIG_fail;
11330 temp4 = true;
11331 }
11332 }
11333 if (obj4) {
11334 {
11335 arg5 = &temp5;
11336 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11337 }
11338 }
11339 if (obj5) {
11340 {
11341 arg6 = &temp6;
11342 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11343 }
11344 }
11345 if (obj6) {
11346 arg7 = (long)SWIG_As_long(obj6);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 if (obj7) {
11350 arg8 = (int)SWIG_As_int(obj7);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 if (obj8) {
11354 arg9 = (int)SWIG_As_int(obj8);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 if (obj9) {
11358 arg10 = (int)SWIG_As_int(obj9);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 if (obj10) {
11362 {
11363 arg11 = wxString_in_helper(obj10);
11364 if (arg11 == NULL) SWIG_fail;
11365 temp11 = true;
11366 }
11367 }
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
11375 {
11376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11377 }
11378 {
11379 if (temp4)
11380 delete arg4;
11381 }
11382 {
11383 if (temp11)
11384 delete arg11;
11385 }
11386 return resultobj;
11387 fail:
11388 {
11389 if (temp4)
11390 delete arg4;
11391 }
11392 {
11393 if (temp11)
11394 delete arg11;
11395 }
11396 return NULL;
11397 }
11398
11399
11400 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj;
11402 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11403 int result;
11404 PyObject * obj0 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11415
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 resultobj = SWIG_From_int((int)result);
11420 return resultobj;
11421 fail:
11422 return NULL;
11423 }
11424
11425
11426 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj;
11428 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11429 int arg2 ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "value", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11439 arg2 = (int)SWIG_As_int(obj1);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 (arg1)->SetValue(arg2);
11444
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 Py_INCREF(Py_None); resultobj = Py_None;
11449 return resultobj;
11450 fail:
11451 return NULL;
11452 }
11453
11454
11455 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
11456 PyObject *resultobj;
11457 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11458 wxString *arg2 = 0 ;
11459 bool temp2 = false ;
11460 PyObject * obj0 = 0 ;
11461 PyObject * obj1 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self",(char *) "text", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11469 {
11470 arg2 = wxString_in_helper(obj1);
11471 if (arg2 == NULL) SWIG_fail;
11472 temp2 = true;
11473 }
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 (arg1)->SetValue((wxString const &)*arg2);
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 Py_INCREF(Py_None); resultobj = Py_None;
11482 {
11483 if (temp2)
11484 delete arg2;
11485 }
11486 return resultobj;
11487 fail:
11488 {
11489 if (temp2)
11490 delete arg2;
11491 }
11492 return NULL;
11493 }
11494
11495
11496 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
11497 PyObject *resultobj;
11498 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11499 int arg2 ;
11500 int arg3 ;
11501 PyObject * obj0 = 0 ;
11502 PyObject * obj1 = 0 ;
11503 PyObject * obj2 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11511 arg2 = (int)SWIG_As_int(obj1);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 arg3 = (int)SWIG_As_int(obj2);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 (arg1)->SetRange(arg2,arg3);
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 Py_INCREF(Py_None); resultobj = Py_None;
11523 return resultobj;
11524 fail:
11525 return NULL;
11526 }
11527
11528
11529 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
11530 PyObject *resultobj;
11531 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11532 int result;
11533 PyObject * obj0 = 0 ;
11534 char *kwnames[] = {
11535 (char *) "self", NULL
11536 };
11537
11538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 resultobj = SWIG_From_int((int)result);
11549 return resultobj;
11550 fail:
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11558 int result;
11559 PyObject * obj0 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "self", NULL
11562 };
11563
11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 resultobj = SWIG_From_int((int)result);
11575 return resultobj;
11576 fail:
11577 return NULL;
11578 }
11579
11580
11581 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj;
11583 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11584 long arg2 ;
11585 long arg3 ;
11586 PyObject * obj0 = 0 ;
11587 PyObject * obj1 = 0 ;
11588 PyObject * obj2 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "from",(char *) "to", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11596 arg2 = (long)SWIG_As_long(obj1);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 arg3 = (long)SWIG_As_long(obj2);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 (arg1)->SetSelection(arg2,arg3);
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 Py_INCREF(Py_None); resultobj = Py_None;
11608 return resultobj;
11609 fail:
11610 return NULL;
11611 }
11612
11613
11614 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11615 PyObject *resultobj;
11616 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11617 wxVisualAttributes result;
11618 PyObject * obj0 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "variant", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11624 if (obj0) {
11625 arg1 = (int)SWIG_As_int(obj0);
11626 if (PyErr_Occurred()) SWIG_fail;
11627 }
11628 {
11629 if (!wxPyCheckForApp()) SWIG_fail;
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 {
11637 wxVisualAttributes * resultptr;
11638 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11640 }
11641 return resultobj;
11642 fail:
11643 return NULL;
11644 }
11645
11646
11647 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
11648 PyObject *obj;
11649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11650 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11651 Py_INCREF(obj);
11652 return Py_BuildValue((char *)"");
11653 }
11654 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11657 int arg2 = (int) 0 ;
11658 wxSpinEvent *result;
11659 PyObject * obj0 = 0 ;
11660 PyObject * obj1 = 0 ;
11661 char *kwnames[] = {
11662 (char *) "commandType",(char *) "winid", NULL
11663 };
11664
11665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11666 if (obj0) {
11667 arg1 = (wxEventType)SWIG_As_int(obj0);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 if (obj1) {
11671 arg2 = (int)SWIG_As_int(obj1);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11677
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11682 return resultobj;
11683 fail:
11684 return NULL;
11685 }
11686
11687
11688 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11689 PyObject *resultobj;
11690 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11691 int result;
11692 PyObject * obj0 = 0 ;
11693 char *kwnames[] = {
11694 (char *) "self", NULL
11695 };
11696
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 resultobj = SWIG_From_int((int)result);
11708 return resultobj;
11709 fail:
11710 return NULL;
11711 }
11712
11713
11714 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11715 PyObject *resultobj;
11716 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11717 int arg2 ;
11718 PyObject * obj0 = 0 ;
11719 PyObject * obj1 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self",(char *) "pos", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11727 arg2 = (int)SWIG_As_int(obj1);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 (arg1)->SetPosition(arg2);
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 Py_INCREF(Py_None); resultobj = Py_None;
11737 return resultobj;
11738 fail:
11739 return NULL;
11740 }
11741
11742
11743 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
11744 PyObject *obj;
11745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11746 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11747 Py_INCREF(obj);
11748 return Py_BuildValue((char *)"");
11749 }
11750 static int _wrap_RadioBoxNameStr_set(PyObject *) {
11751 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11752 return 1;
11753 }
11754
11755
11756 static PyObject *_wrap_RadioBoxNameStr_get() {
11757 PyObject *pyobj;
11758
11759 {
11760 #if wxUSE_UNICODE
11761 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11762 #else
11763 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11764 #endif
11765 }
11766 return pyobj;
11767 }
11768
11769
11770 static int _wrap_RadioButtonNameStr_set(PyObject *) {
11771 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11772 return 1;
11773 }
11774
11775
11776 static PyObject *_wrap_RadioButtonNameStr_get() {
11777 PyObject *pyobj;
11778
11779 {
11780 #if wxUSE_UNICODE
11781 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11782 #else
11783 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11784 #endif
11785 }
11786 return pyobj;
11787 }
11788
11789
11790 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj;
11792 wxWindow *arg1 = (wxWindow *) 0 ;
11793 int arg2 = (int) -1 ;
11794 wxString const &arg3_defvalue = wxPyEmptyString ;
11795 wxString *arg3 = (wxString *) &arg3_defvalue ;
11796 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11797 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11798 wxSize const &arg5_defvalue = wxDefaultSize ;
11799 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11800 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11801 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11802 int arg7 = (int) 0 ;
11803 long arg8 = (long) wxRA_HORIZONTAL ;
11804 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11805 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11806 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11807 wxString *arg10 = (wxString *) &arg10_defvalue ;
11808 wxRadioBox *result;
11809 bool temp3 = false ;
11810 wxPoint temp4 ;
11811 wxSize temp5 ;
11812 bool temp6 = false ;
11813 bool temp10 = false ;
11814 PyObject * obj0 = 0 ;
11815 PyObject * obj1 = 0 ;
11816 PyObject * obj2 = 0 ;
11817 PyObject * obj3 = 0 ;
11818 PyObject * obj4 = 0 ;
11819 PyObject * obj5 = 0 ;
11820 PyObject * obj6 = 0 ;
11821 PyObject * obj7 = 0 ;
11822 PyObject * obj8 = 0 ;
11823 PyObject * obj9 = 0 ;
11824 char *kwnames[] = {
11825 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11826 };
11827
11828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11831 if (obj1) {
11832 arg2 = (int)SWIG_As_int(obj1);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 if (obj2) {
11836 {
11837 arg3 = wxString_in_helper(obj2);
11838 if (arg3 == NULL) SWIG_fail;
11839 temp3 = true;
11840 }
11841 }
11842 if (obj3) {
11843 {
11844 arg4 = &temp4;
11845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11846 }
11847 }
11848 if (obj4) {
11849 {
11850 arg5 = &temp5;
11851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11852 }
11853 }
11854 if (obj5) {
11855 {
11856 if (! PySequence_Check(obj5)) {
11857 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11858 SWIG_fail;
11859 }
11860 arg6 = new wxArrayString;
11861 temp6 = true;
11862 int i, len=PySequence_Length(obj5);
11863 for (i=0; i<len; i++) {
11864 PyObject* item = PySequence_GetItem(obj5, i);
11865 #if wxUSE_UNICODE
11866 PyObject* str = PyObject_Unicode(item);
11867 #else
11868 PyObject* str = PyObject_Str(item);
11869 #endif
11870 if (PyErr_Occurred()) SWIG_fail;
11871 arg6->Add(Py2wxString(str));
11872 Py_DECREF(item);
11873 Py_DECREF(str);
11874 }
11875 }
11876 }
11877 if (obj6) {
11878 arg7 = (int)SWIG_As_int(obj6);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 if (obj7) {
11882 arg8 = (long)SWIG_As_long(obj7);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 if (obj8) {
11886 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11887 SWIG_POINTER_EXCEPTION | 0)) == -1)
11888 SWIG_fail;
11889 if (arg9 == NULL) {
11890 PyErr_SetString(PyExc_TypeError,"null reference");
11891 SWIG_fail;
11892 }
11893 }
11894 if (obj9) {
11895 {
11896 arg10 = wxString_in_helper(obj9);
11897 if (arg10 == NULL) SWIG_fail;
11898 temp10 = true;
11899 }
11900 }
11901 {
11902 if (!wxPyCheckForApp()) SWIG_fail;
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11910 {
11911 if (temp3)
11912 delete arg3;
11913 }
11914 {
11915 if (temp6) delete arg6;
11916 }
11917 {
11918 if (temp10)
11919 delete arg10;
11920 }
11921 return resultobj;
11922 fail:
11923 {
11924 if (temp3)
11925 delete arg3;
11926 }
11927 {
11928 if (temp6) delete arg6;
11929 }
11930 {
11931 if (temp10)
11932 delete arg10;
11933 }
11934 return NULL;
11935 }
11936
11937
11938 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxRadioBox *result;
11941 char *kwnames[] = {
11942 NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11946 {
11947 if (!wxPyCheckForApp()) SWIG_fail;
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 result = (wxRadioBox *)new wxRadioBox();
11950
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11955 return resultobj;
11956 fail:
11957 return NULL;
11958 }
11959
11960
11961 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj;
11963 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11964 wxWindow *arg2 = (wxWindow *) 0 ;
11965 int arg3 = (int) -1 ;
11966 wxString const &arg4_defvalue = wxPyEmptyString ;
11967 wxString *arg4 = (wxString *) &arg4_defvalue ;
11968 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11969 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11970 wxSize const &arg6_defvalue = wxDefaultSize ;
11971 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11972 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11973 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11974 int arg8 = (int) 0 ;
11975 long arg9 = (long) wxRA_HORIZONTAL ;
11976 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11977 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11978 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11979 wxString *arg11 = (wxString *) &arg11_defvalue ;
11980 bool result;
11981 bool temp4 = false ;
11982 wxPoint temp5 ;
11983 wxSize temp6 ;
11984 bool temp7 = false ;
11985 bool temp11 = false ;
11986 PyObject * obj0 = 0 ;
11987 PyObject * obj1 = 0 ;
11988 PyObject * obj2 = 0 ;
11989 PyObject * obj3 = 0 ;
11990 PyObject * obj4 = 0 ;
11991 PyObject * obj5 = 0 ;
11992 PyObject * obj6 = 0 ;
11993 PyObject * obj7 = 0 ;
11994 PyObject * obj8 = 0 ;
11995 PyObject * obj9 = 0 ;
11996 PyObject * obj10 = 0 ;
11997 char *kwnames[] = {
11998 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11999 };
12000
12001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12006 if (obj2) {
12007 arg3 = (int)SWIG_As_int(obj2);
12008 if (PyErr_Occurred()) SWIG_fail;
12009 }
12010 if (obj3) {
12011 {
12012 arg4 = wxString_in_helper(obj3);
12013 if (arg4 == NULL) SWIG_fail;
12014 temp4 = true;
12015 }
12016 }
12017 if (obj4) {
12018 {
12019 arg5 = &temp5;
12020 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12021 }
12022 }
12023 if (obj5) {
12024 {
12025 arg6 = &temp6;
12026 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12027 }
12028 }
12029 if (obj6) {
12030 {
12031 if (! PySequence_Check(obj6)) {
12032 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12033 SWIG_fail;
12034 }
12035 arg7 = new wxArrayString;
12036 temp7 = true;
12037 int i, len=PySequence_Length(obj6);
12038 for (i=0; i<len; i++) {
12039 PyObject* item = PySequence_GetItem(obj6, i);
12040 #if wxUSE_UNICODE
12041 PyObject* str = PyObject_Unicode(item);
12042 #else
12043 PyObject* str = PyObject_Str(item);
12044 #endif
12045 if (PyErr_Occurred()) SWIG_fail;
12046 arg7->Add(Py2wxString(str));
12047 Py_DECREF(item);
12048 Py_DECREF(str);
12049 }
12050 }
12051 }
12052 if (obj7) {
12053 arg8 = (int)SWIG_As_int(obj7);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 if (obj8) {
12057 arg9 = (long)SWIG_As_long(obj8);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 if (obj9) {
12061 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12062 SWIG_POINTER_EXCEPTION | 0)) == -1)
12063 SWIG_fail;
12064 if (arg10 == NULL) {
12065 PyErr_SetString(PyExc_TypeError,"null reference");
12066 SWIG_fail;
12067 }
12068 }
12069 if (obj10) {
12070 {
12071 arg11 = wxString_in_helper(obj10);
12072 if (arg11 == NULL) SWIG_fail;
12073 temp11 = true;
12074 }
12075 }
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 {
12084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12085 }
12086 {
12087 if (temp4)
12088 delete arg4;
12089 }
12090 {
12091 if (temp7) delete arg7;
12092 }
12093 {
12094 if (temp11)
12095 delete arg11;
12096 }
12097 return resultobj;
12098 fail:
12099 {
12100 if (temp4)
12101 delete arg4;
12102 }
12103 {
12104 if (temp7) delete arg7;
12105 }
12106 {
12107 if (temp11)
12108 delete arg11;
12109 }
12110 return NULL;
12111 }
12112
12113
12114 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12115 PyObject *resultobj;
12116 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12117 int arg2 ;
12118 PyObject * obj0 = 0 ;
12119 PyObject * obj1 = 0 ;
12120 char *kwnames[] = {
12121 (char *) "self",(char *) "n", NULL
12122 };
12123
12124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12127 arg2 = (int)SWIG_As_int(obj1);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 {
12130 PyThreadState* __tstate = wxPyBeginAllowThreads();
12131 (arg1)->SetSelection(arg2);
12132
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 Py_INCREF(Py_None); resultobj = Py_None;
12137 return resultobj;
12138 fail:
12139 return NULL;
12140 }
12141
12142
12143 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12144 PyObject *resultobj;
12145 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12146 int result;
12147 PyObject * obj0 = 0 ;
12148 char *kwnames[] = {
12149 (char *) "self", NULL
12150 };
12151
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
12153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 result = (int)((wxRadioBox const *)arg1)->GetSelection();
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 resultobj = SWIG_From_int((int)result);
12163 return resultobj;
12164 fail:
12165 return NULL;
12166 }
12167
12168
12169 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12170 PyObject *resultobj;
12171 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12172 wxString result;
12173 PyObject * obj0 = 0 ;
12174 char *kwnames[] = {
12175 (char *) "self", NULL
12176 };
12177
12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
12179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12184
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 {
12189 #if wxUSE_UNICODE
12190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12191 #else
12192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12193 #endif
12194 }
12195 return resultobj;
12196 fail:
12197 return NULL;
12198 }
12199
12200
12201 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12202 PyObject *resultobj;
12203 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12204 wxString *arg2 = 0 ;
12205 bool result;
12206 bool temp2 = false ;
12207 PyObject * obj0 = 0 ;
12208 PyObject * obj1 = 0 ;
12209 char *kwnames[] = {
12210 (char *) "self",(char *) "s", NULL
12211 };
12212
12213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12216 {
12217 arg2 = wxString_in_helper(obj1);
12218 if (arg2 == NULL) SWIG_fail;
12219 temp2 = true;
12220 }
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12224
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 {
12229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12230 }
12231 {
12232 if (temp2)
12233 delete arg2;
12234 }
12235 return resultobj;
12236 fail:
12237 {
12238 if (temp2)
12239 delete arg2;
12240 }
12241 return NULL;
12242 }
12243
12244
12245 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
12246 PyObject *resultobj;
12247 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12248 int result;
12249 PyObject * obj0 = 0 ;
12250 char *kwnames[] = {
12251 (char *) "self", NULL
12252 };
12253
12254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (int)((wxRadioBox const *)arg1)->GetCount();
12260
12261 wxPyEndAllowThreads(__tstate);
12262 if (PyErr_Occurred()) SWIG_fail;
12263 }
12264 resultobj = SWIG_From_int((int)result);
12265 return resultobj;
12266 fail:
12267 return NULL;
12268 }
12269
12270
12271 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
12272 PyObject *resultobj;
12273 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12274 wxString *arg2 = 0 ;
12275 int result;
12276 bool temp2 = false ;
12277 PyObject * obj0 = 0 ;
12278 PyObject * obj1 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self",(char *) "s", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12286 {
12287 arg2 = wxString_in_helper(obj1);
12288 if (arg2 == NULL) SWIG_fail;
12289 temp2 = true;
12290 }
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 resultobj = SWIG_From_int((int)result);
12299 {
12300 if (temp2)
12301 delete arg2;
12302 }
12303 return resultobj;
12304 fail:
12305 {
12306 if (temp2)
12307 delete arg2;
12308 }
12309 return NULL;
12310 }
12311
12312
12313 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj;
12315 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12316 int arg2 ;
12317 wxString result;
12318 PyObject * obj0 = 0 ;
12319 PyObject * obj1 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self",(char *) "n", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12327 arg2 = (int)SWIG_As_int(obj1);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 {
12337 #if wxUSE_UNICODE
12338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12339 #else
12340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12341 #endif
12342 }
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
12350 PyObject *resultobj;
12351 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12352 int arg2 ;
12353 wxString *arg3 = 0 ;
12354 bool temp3 = false ;
12355 PyObject * obj0 = 0 ;
12356 PyObject * obj1 = 0 ;
12357 PyObject * obj2 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self",(char *) "n",(char *) "label", NULL
12360 };
12361
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12365 arg2 = (int)SWIG_As_int(obj1);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 {
12368 arg3 = wxString_in_helper(obj2);
12369 if (arg3 == NULL) SWIG_fail;
12370 temp3 = true;
12371 }
12372 {
12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
12374 (arg1)->SetString(arg2,(wxString const &)*arg3);
12375
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 Py_INCREF(Py_None); resultobj = Py_None;
12380 {
12381 if (temp3)
12382 delete arg3;
12383 }
12384 return resultobj;
12385 fail:
12386 {
12387 if (temp3)
12388 delete arg3;
12389 }
12390 return NULL;
12391 }
12392
12393
12394 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
12395 PyObject *resultobj;
12396 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12397 int arg2 ;
12398 bool arg3 = (bool) true ;
12399 PyObject * obj0 = 0 ;
12400 PyObject * obj1 = 0 ;
12401 PyObject * obj2 = 0 ;
12402 char *kwnames[] = {
12403 (char *) "self",(char *) "n",(char *) "enable", NULL
12404 };
12405
12406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12409 arg2 = (int)SWIG_As_int(obj1);
12410 if (PyErr_Occurred()) SWIG_fail;
12411 if (obj2) {
12412 arg3 = (bool)SWIG_As_bool(obj2);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 (arg1)->Enable(arg2,arg3);
12418
12419 wxPyEndAllowThreads(__tstate);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 Py_INCREF(Py_None); resultobj = Py_None;
12423 return resultobj;
12424 fail:
12425 return NULL;
12426 }
12427
12428
12429 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
12430 PyObject *resultobj;
12431 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12432 int arg2 ;
12433 bool arg3 = (bool) true ;
12434 PyObject * obj0 = 0 ;
12435 PyObject * obj1 = 0 ;
12436 PyObject * obj2 = 0 ;
12437 char *kwnames[] = {
12438 (char *) "self",(char *) "n",(char *) "show", NULL
12439 };
12440
12441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12444 arg2 = (int)SWIG_As_int(obj1);
12445 if (PyErr_Occurred()) SWIG_fail;
12446 if (obj2) {
12447 arg3 = (bool)SWIG_As_bool(obj2);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 (arg1)->Show(arg2,arg3);
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 Py_INCREF(Py_None); resultobj = Py_None;
12458 return resultobj;
12459 fail:
12460 return NULL;
12461 }
12462
12463
12464 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12467 int result;
12468 PyObject * obj0 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "self", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 resultobj = SWIG_From_int((int)result);
12484 return resultobj;
12485 fail:
12486 return NULL;
12487 }
12488
12489
12490 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12493 int result;
12494 PyObject * obj0 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
12505
12506 wxPyEndAllowThreads(__tstate);
12507 if (PyErr_Occurred()) SWIG_fail;
12508 }
12509 resultobj = SWIG_From_int((int)result);
12510 return resultobj;
12511 fail:
12512 return NULL;
12513 }
12514
12515
12516 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj;
12518 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12519 int arg2 ;
12520 int arg3 ;
12521 long arg4 ;
12522 int result;
12523 PyObject * obj0 = 0 ;
12524 PyObject * obj1 = 0 ;
12525 PyObject * obj2 = 0 ;
12526 PyObject * obj3 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12534 arg2 = (int)SWIG_As_int(obj1);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 arg3 = (int)SWIG_As_int(obj2);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 arg4 = (long)SWIG_As_long(obj3);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 resultobj = SWIG_From_int((int)result);
12548 return resultobj;
12549 fail:
12550 return NULL;
12551 }
12552
12553
12554 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj;
12556 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12557 wxVisualAttributes result;
12558 PyObject * obj0 = 0 ;
12559 char *kwnames[] = {
12560 (char *) "variant", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12564 if (obj0) {
12565 arg1 = (int)SWIG_As_int(obj0);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 {
12569 if (!wxPyCheckForApp()) SWIG_fail;
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 {
12577 wxVisualAttributes * resultptr;
12578 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12580 }
12581 return resultobj;
12582 fail:
12583 return NULL;
12584 }
12585
12586
12587 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
12588 PyObject *obj;
12589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12590 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12591 Py_INCREF(obj);
12592 return Py_BuildValue((char *)"");
12593 }
12594 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
12595 PyObject *resultobj;
12596 wxWindow *arg1 = (wxWindow *) 0 ;
12597 int arg2 = (int) -1 ;
12598 wxString const &arg3_defvalue = wxPyEmptyString ;
12599 wxString *arg3 = (wxString *) &arg3_defvalue ;
12600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12602 wxSize const &arg5_defvalue = wxDefaultSize ;
12603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12604 long arg6 = (long) 0 ;
12605 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12606 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12607 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12608 wxString *arg8 = (wxString *) &arg8_defvalue ;
12609 wxRadioButton *result;
12610 bool temp3 = false ;
12611 wxPoint temp4 ;
12612 wxSize temp5 ;
12613 bool temp8 = false ;
12614 PyObject * obj0 = 0 ;
12615 PyObject * obj1 = 0 ;
12616 PyObject * obj2 = 0 ;
12617 PyObject * obj3 = 0 ;
12618 PyObject * obj4 = 0 ;
12619 PyObject * obj5 = 0 ;
12620 PyObject * obj6 = 0 ;
12621 PyObject * obj7 = 0 ;
12622 char *kwnames[] = {
12623 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12624 };
12625
12626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12629 if (obj1) {
12630 arg2 = (int)SWIG_As_int(obj1);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 if (obj2) {
12634 {
12635 arg3 = wxString_in_helper(obj2);
12636 if (arg3 == NULL) SWIG_fail;
12637 temp3 = true;
12638 }
12639 }
12640 if (obj3) {
12641 {
12642 arg4 = &temp4;
12643 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12644 }
12645 }
12646 if (obj4) {
12647 {
12648 arg5 = &temp5;
12649 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12650 }
12651 }
12652 if (obj5) {
12653 arg6 = (long)SWIG_As_long(obj5);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 if (obj6) {
12657 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1)
12659 SWIG_fail;
12660 if (arg7 == NULL) {
12661 PyErr_SetString(PyExc_TypeError,"null reference");
12662 SWIG_fail;
12663 }
12664 }
12665 if (obj7) {
12666 {
12667 arg8 = wxString_in_helper(obj7);
12668 if (arg8 == NULL) SWIG_fail;
12669 temp8 = true;
12670 }
12671 }
12672 {
12673 if (!wxPyCheckForApp()) SWIG_fail;
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12676
12677 wxPyEndAllowThreads(__tstate);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
12680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12681 {
12682 if (temp3)
12683 delete arg3;
12684 }
12685 {
12686 if (temp8)
12687 delete arg8;
12688 }
12689 return resultobj;
12690 fail:
12691 {
12692 if (temp3)
12693 delete arg3;
12694 }
12695 {
12696 if (temp8)
12697 delete arg8;
12698 }
12699 return NULL;
12700 }
12701
12702
12703 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
12704 PyObject *resultobj;
12705 wxRadioButton *result;
12706 char *kwnames[] = {
12707 NULL
12708 };
12709
12710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12711 {
12712 if (!wxPyCheckForApp()) SWIG_fail;
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
12714 result = (wxRadioButton *)new wxRadioButton();
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12720 return resultobj;
12721 fail:
12722 return NULL;
12723 }
12724
12725
12726 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12729 wxWindow *arg2 = (wxWindow *) 0 ;
12730 int arg3 = (int) -1 ;
12731 wxString const &arg4_defvalue = wxPyEmptyString ;
12732 wxString *arg4 = (wxString *) &arg4_defvalue ;
12733 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12734 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12735 wxSize const &arg6_defvalue = wxDefaultSize ;
12736 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12737 long arg7 = (long) 0 ;
12738 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12739 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12740 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12741 wxString *arg9 = (wxString *) &arg9_defvalue ;
12742 bool result;
12743 bool temp4 = false ;
12744 wxPoint temp5 ;
12745 wxSize temp6 ;
12746 bool temp9 = false ;
12747 PyObject * obj0 = 0 ;
12748 PyObject * obj1 = 0 ;
12749 PyObject * obj2 = 0 ;
12750 PyObject * obj3 = 0 ;
12751 PyObject * obj4 = 0 ;
12752 PyObject * obj5 = 0 ;
12753 PyObject * obj6 = 0 ;
12754 PyObject * obj7 = 0 ;
12755 PyObject * obj8 = 0 ;
12756 char *kwnames[] = {
12757 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12758 };
12759
12760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12765 if (obj2) {
12766 arg3 = (int)SWIG_As_int(obj2);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 if (obj3) {
12770 {
12771 arg4 = wxString_in_helper(obj3);
12772 if (arg4 == NULL) SWIG_fail;
12773 temp4 = true;
12774 }
12775 }
12776 if (obj4) {
12777 {
12778 arg5 = &temp5;
12779 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12780 }
12781 }
12782 if (obj5) {
12783 {
12784 arg6 = &temp6;
12785 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12786 }
12787 }
12788 if (obj6) {
12789 arg7 = (long)SWIG_As_long(obj6);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 if (obj7) {
12793 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12794 SWIG_POINTER_EXCEPTION | 0)) == -1)
12795 SWIG_fail;
12796 if (arg8 == NULL) {
12797 PyErr_SetString(PyExc_TypeError,"null reference");
12798 SWIG_fail;
12799 }
12800 }
12801 if (obj8) {
12802 {
12803 arg9 = wxString_in_helper(obj8);
12804 if (arg9 == NULL) SWIG_fail;
12805 temp9 = true;
12806 }
12807 }
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 {
12816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12817 }
12818 {
12819 if (temp4)
12820 delete arg4;
12821 }
12822 {
12823 if (temp9)
12824 delete arg9;
12825 }
12826 return resultobj;
12827 fail:
12828 {
12829 if (temp4)
12830 delete arg4;
12831 }
12832 {
12833 if (temp9)
12834 delete arg9;
12835 }
12836 return NULL;
12837 }
12838
12839
12840 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj;
12842 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12843 bool result;
12844 PyObject * obj0 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (bool)(arg1)->GetValue();
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 {
12860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12861 }
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12871 bool arg2 ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 char *kwnames[] = {
12875 (char *) "self",(char *) "value", NULL
12876 };
12877
12878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12881 arg2 = (bool)SWIG_As_bool(obj1);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 (arg1)->SetValue(arg2);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 Py_INCREF(Py_None); resultobj = Py_None;
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12898 PyObject *resultobj;
12899 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12900 wxVisualAttributes result;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "variant", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12907 if (obj0) {
12908 arg1 = (int)SWIG_As_int(obj0);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 {
12912 if (!wxPyCheckForApp()) SWIG_fail;
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12915
12916 wxPyEndAllowThreads(__tstate);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
12919 {
12920 wxVisualAttributes * resultptr;
12921 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12922 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12923 }
12924 return resultobj;
12925 fail:
12926 return NULL;
12927 }
12928
12929
12930 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
12931 PyObject *obj;
12932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12933 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12934 Py_INCREF(obj);
12935 return Py_BuildValue((char *)"");
12936 }
12937 static int _wrap_SliderNameStr_set(PyObject *) {
12938 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12939 return 1;
12940 }
12941
12942
12943 static PyObject *_wrap_SliderNameStr_get() {
12944 PyObject *pyobj;
12945
12946 {
12947 #if wxUSE_UNICODE
12948 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12949 #else
12950 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12951 #endif
12952 }
12953 return pyobj;
12954 }
12955
12956
12957 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj;
12959 wxWindow *arg1 = (wxWindow *) 0 ;
12960 int arg2 = (int) -1 ;
12961 int arg3 = (int) 0 ;
12962 int arg4 = (int) 0 ;
12963 int arg5 = (int) 100 ;
12964 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12965 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12966 wxSize const &arg7_defvalue = wxDefaultSize ;
12967 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12968 long arg8 = (long) wxSL_HORIZONTAL ;
12969 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12970 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12971 wxString const &arg10_defvalue = wxPySliderNameStr ;
12972 wxString *arg10 = (wxString *) &arg10_defvalue ;
12973 wxSlider *result;
12974 wxPoint temp6 ;
12975 wxSize temp7 ;
12976 bool temp10 = false ;
12977 PyObject * obj0 = 0 ;
12978 PyObject * obj1 = 0 ;
12979 PyObject * obj2 = 0 ;
12980 PyObject * obj3 = 0 ;
12981 PyObject * obj4 = 0 ;
12982 PyObject * obj5 = 0 ;
12983 PyObject * obj6 = 0 ;
12984 PyObject * obj7 = 0 ;
12985 PyObject * obj8 = 0 ;
12986 PyObject * obj9 = 0 ;
12987 char *kwnames[] = {
12988 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12989 };
12990
12991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12994 if (obj1) {
12995 arg2 = (int)SWIG_As_int(obj1);
12996 if (PyErr_Occurred()) SWIG_fail;
12997 }
12998 if (obj2) {
12999 arg3 = (int)SWIG_As_int(obj2);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 if (obj3) {
13003 arg4 = (int)SWIG_As_int(obj3);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 if (obj4) {
13007 arg5 = (int)SWIG_As_int(obj4);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 if (obj5) {
13011 {
13012 arg6 = &temp6;
13013 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13014 }
13015 }
13016 if (obj6) {
13017 {
13018 arg7 = &temp7;
13019 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
13020 }
13021 }
13022 if (obj7) {
13023 arg8 = (long)SWIG_As_long(obj7);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 if (obj8) {
13027 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
13028 SWIG_POINTER_EXCEPTION | 0)) == -1)
13029 SWIG_fail;
13030 if (arg9 == NULL) {
13031 PyErr_SetString(PyExc_TypeError,"null reference");
13032 SWIG_fail;
13033 }
13034 }
13035 if (obj9) {
13036 {
13037 arg10 = wxString_in_helper(obj9);
13038 if (arg10 == NULL) SWIG_fail;
13039 temp10 = true;
13040 }
13041 }
13042 {
13043 if (!wxPyCheckForApp()) SWIG_fail;
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
13046
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13051 {
13052 if (temp10)
13053 delete arg10;
13054 }
13055 return resultobj;
13056 fail:
13057 {
13058 if (temp10)
13059 delete arg10;
13060 }
13061 return NULL;
13062 }
13063
13064
13065 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
13066 PyObject *resultobj;
13067 wxSlider *result;
13068 char *kwnames[] = {
13069 NULL
13070 };
13071
13072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
13073 {
13074 if (!wxPyCheckForApp()) SWIG_fail;
13075 PyThreadState* __tstate = wxPyBeginAllowThreads();
13076 result = (wxSlider *)new wxSlider();
13077
13078 wxPyEndAllowThreads(__tstate);
13079 if (PyErr_Occurred()) SWIG_fail;
13080 }
13081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13082 return resultobj;
13083 fail:
13084 return NULL;
13085 }
13086
13087
13088 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13089 PyObject *resultobj;
13090 wxSlider *arg1 = (wxSlider *) 0 ;
13091 wxWindow *arg2 = (wxWindow *) 0 ;
13092 int arg3 = (int) -1 ;
13093 int arg4 = (int) 0 ;
13094 int arg5 = (int) 0 ;
13095 int arg6 = (int) 100 ;
13096 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13097 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13098 wxSize const &arg8_defvalue = wxDefaultSize ;
13099 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
13100 long arg9 = (long) wxSL_HORIZONTAL ;
13101 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13102 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13103 wxString const &arg11_defvalue = wxPySliderNameStr ;
13104 wxString *arg11 = (wxString *) &arg11_defvalue ;
13105 bool result;
13106 wxPoint temp7 ;
13107 wxSize temp8 ;
13108 bool temp11 = false ;
13109 PyObject * obj0 = 0 ;
13110 PyObject * obj1 = 0 ;
13111 PyObject * obj2 = 0 ;
13112 PyObject * obj3 = 0 ;
13113 PyObject * obj4 = 0 ;
13114 PyObject * obj5 = 0 ;
13115 PyObject * obj6 = 0 ;
13116 PyObject * obj7 = 0 ;
13117 PyObject * obj8 = 0 ;
13118 PyObject * obj9 = 0 ;
13119 PyObject * obj10 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13129 if (obj2) {
13130 arg3 = (int)SWIG_As_int(obj2);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 if (obj3) {
13134 arg4 = (int)SWIG_As_int(obj3);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 if (obj4) {
13138 arg5 = (int)SWIG_As_int(obj4);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 if (obj5) {
13142 arg6 = (int)SWIG_As_int(obj5);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 if (obj6) {
13146 {
13147 arg7 = &temp7;
13148 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13149 }
13150 }
13151 if (obj7) {
13152 {
13153 arg8 = &temp8;
13154 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
13155 }
13156 }
13157 if (obj8) {
13158 arg9 = (long)SWIG_As_long(obj8);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 }
13161 if (obj9) {
13162 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
13163 SWIG_POINTER_EXCEPTION | 0)) == -1)
13164 SWIG_fail;
13165 if (arg10 == NULL) {
13166 PyErr_SetString(PyExc_TypeError,"null reference");
13167 SWIG_fail;
13168 }
13169 }
13170 if (obj10) {
13171 {
13172 arg11 = wxString_in_helper(obj10);
13173 if (arg11 == NULL) SWIG_fail;
13174 temp11 = true;
13175 }
13176 }
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 {
13185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13186 }
13187 {
13188 if (temp11)
13189 delete arg11;
13190 }
13191 return resultobj;
13192 fail:
13193 {
13194 if (temp11)
13195 delete arg11;
13196 }
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxSlider *arg1 = (wxSlider *) 0 ;
13204 int result;
13205 PyObject * obj0 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
13211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (int)((wxSlider const *)arg1)->GetValue();
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
13220 resultobj = SWIG_From_int((int)result);
13221 return resultobj;
13222 fail:
13223 return NULL;
13224 }
13225
13226
13227 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj;
13229 wxSlider *arg1 = (wxSlider *) 0 ;
13230 int arg2 ;
13231 PyObject * obj0 = 0 ;
13232 PyObject * obj1 = 0 ;
13233 char *kwnames[] = {
13234 (char *) "self",(char *) "value", NULL
13235 };
13236
13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13240 arg2 = (int)SWIG_As_int(obj1);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->SetValue(arg2);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 return resultobj;
13251 fail:
13252 return NULL;
13253 }
13254
13255
13256 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxSlider *arg1 = (wxSlider *) 0 ;
13259 int arg2 ;
13260 int arg3 ;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 PyObject * obj2 = 0 ;
13264 char *kwnames[] = {
13265 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13266 };
13267
13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13271 arg2 = (int)SWIG_As_int(obj1);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 arg3 = (int)SWIG_As_int(obj2);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 (arg1)->SetRange(arg2,arg3);
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 Py_INCREF(Py_None); resultobj = Py_None;
13283 return resultobj;
13284 fail:
13285 return NULL;
13286 }
13287
13288
13289 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13290 PyObject *resultobj;
13291 wxSlider *arg1 = (wxSlider *) 0 ;
13292 int result;
13293 PyObject * obj0 = 0 ;
13294 char *kwnames[] = {
13295 (char *) "self", NULL
13296 };
13297
13298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 result = (int)((wxSlider const *)arg1)->GetMin();
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 resultobj = SWIG_From_int((int)result);
13309 return resultobj;
13310 fail:
13311 return NULL;
13312 }
13313
13314
13315 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13316 PyObject *resultobj;
13317 wxSlider *arg1 = (wxSlider *) 0 ;
13318 int result;
13319 PyObject * obj0 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "self", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 result = (int)((wxSlider const *)arg1)->GetMax();
13330
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
13334 resultobj = SWIG_From_int((int)result);
13335 return resultobj;
13336 fail:
13337 return NULL;
13338 }
13339
13340
13341 static PyObject *_wrap_Slider_SetMin(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 *) "minValue", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",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)->SetMin(arg2);
13359
13360 wxPyEndAllowThreads(__tstate);
13361 if (PyErr_Occurred()) SWIG_fail;
13362 }
13363 Py_INCREF(Py_None); resultobj = Py_None;
13364 return resultobj;
13365 fail:
13366 return NULL;
13367 }
13368
13369
13370 static PyObject *_wrap_Slider_SetMax(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 *) "maxValue", NULL
13378 };
13379
13380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",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)->SetMax(arg2);
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 Py_INCREF(Py_None); resultobj = Py_None;
13393 return resultobj;
13394 fail:
13395 return NULL;
13396 }
13397
13398
13399 static PyObject *_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",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)->SetLineSize(arg2);
13417
13418 wxPyEndAllowThreads(__tstate);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 Py_INCREF(Py_None); resultobj = Py_None;
13422 return resultobj;
13423 fail:
13424 return NULL;
13425 }
13426
13427
13428 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
13429 PyObject *resultobj;
13430 wxSlider *arg1 = (wxSlider *) 0 ;
13431 int arg2 ;
13432 PyObject * obj0 = 0 ;
13433 PyObject * obj1 = 0 ;
13434 char *kwnames[] = {
13435 (char *) "self",(char *) "pageSize", NULL
13436 };
13437
13438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13441 arg2 = (int)SWIG_As_int(obj1);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->SetPageSize(arg2);
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 Py_INCREF(Py_None); resultobj = Py_None;
13451 return resultobj;
13452 fail:
13453 return NULL;
13454 }
13455
13456
13457 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
13458 PyObject *resultobj;
13459 wxSlider *arg1 = (wxSlider *) 0 ;
13460 int result;
13461 PyObject * obj0 = 0 ;
13462 char *kwnames[] = {
13463 (char *) "self", NULL
13464 };
13465
13466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (int)((wxSlider const *)arg1)->GetLineSize();
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 resultobj = SWIG_From_int((int)result);
13477 return resultobj;
13478 fail:
13479 return NULL;
13480 }
13481
13482
13483 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxSlider *arg1 = (wxSlider *) 0 ;
13486 int result;
13487 PyObject * obj0 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 result = (int)((wxSlider const *)arg1)->GetPageSize();
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 resultobj = SWIG_From_int((int)result);
13503 return resultobj;
13504 fail:
13505 return NULL;
13506 }
13507
13508
13509 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
13510 PyObject *resultobj;
13511 wxSlider *arg1 = (wxSlider *) 0 ;
13512 int arg2 ;
13513 PyObject * obj0 = 0 ;
13514 PyObject * obj1 = 0 ;
13515 char *kwnames[] = {
13516 (char *) "self",(char *) "lenPixels", NULL
13517 };
13518
13519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13522 arg2 = (int)SWIG_As_int(obj1);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 (arg1)->SetThumbLength(arg2);
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 Py_INCREF(Py_None); resultobj = Py_None;
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj;
13540 wxSlider *arg1 = (wxSlider *) 0 ;
13541 int result;
13542 PyObject * obj0 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 resultobj = SWIG_From_int((int)result);
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
13565 PyObject *resultobj;
13566 wxSlider *arg1 = (wxSlider *) 0 ;
13567 int arg2 ;
13568 int arg3 = (int) 1 ;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 PyObject * obj2 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "n",(char *) "pos", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13579 arg2 = (int)SWIG_As_int(obj1);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 if (obj2) {
13582 arg3 = (int)SWIG_As_int(obj2);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 (arg1)->SetTickFreq(arg2,arg3);
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 Py_INCREF(Py_None); resultobj = Py_None;
13593 return resultobj;
13594 fail:
13595 return NULL;
13596 }
13597
13598
13599 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
13600 PyObject *resultobj;
13601 wxSlider *arg1 = (wxSlider *) 0 ;
13602 int result;
13603 PyObject * obj0 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13611 {
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13614
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 resultobj = SWIG_From_int((int)result);
13619 return resultobj;
13620 fail:
13621 return NULL;
13622 }
13623
13624
13625 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
13626 PyObject *resultobj;
13627 wxSlider *arg1 = (wxSlider *) 0 ;
13628 PyObject * obj0 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self", NULL
13631 };
13632
13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 (arg1)->ClearTicks();
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 Py_INCREF(Py_None); resultobj = Py_None;
13644 return resultobj;
13645 fail:
13646 return NULL;
13647 }
13648
13649
13650 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
13651 PyObject *resultobj;
13652 wxSlider *arg1 = (wxSlider *) 0 ;
13653 int arg2 ;
13654 PyObject * obj0 = 0 ;
13655 PyObject * obj1 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self",(char *) "tickPos", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13663 arg2 = (int)SWIG_As_int(obj1);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 (arg1)->SetTick(arg2);
13668
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
13672 Py_INCREF(Py_None); resultobj = Py_None;
13673 return resultobj;
13674 fail:
13675 return NULL;
13676 }
13677
13678
13679 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
13680 PyObject *resultobj;
13681 wxSlider *arg1 = (wxSlider *) 0 ;
13682 PyObject * obj0 = 0 ;
13683 char *kwnames[] = {
13684 (char *) "self", NULL
13685 };
13686
13687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13690 {
13691 PyThreadState* __tstate = wxPyBeginAllowThreads();
13692 (arg1)->ClearSel();
13693
13694 wxPyEndAllowThreads(__tstate);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 }
13697 Py_INCREF(Py_None); resultobj = Py_None;
13698 return resultobj;
13699 fail:
13700 return NULL;
13701 }
13702
13703
13704 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
13705 PyObject *resultobj;
13706 wxSlider *arg1 = (wxSlider *) 0 ;
13707 int result;
13708 PyObject * obj0 = 0 ;
13709 char *kwnames[] = {
13710 (char *) "self", NULL
13711 };
13712
13713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13716 {
13717 PyThreadState* __tstate = wxPyBeginAllowThreads();
13718 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13719
13720 wxPyEndAllowThreads(__tstate);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 }
13723 resultobj = SWIG_From_int((int)result);
13724 return resultobj;
13725 fail:
13726 return NULL;
13727 }
13728
13729
13730 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
13731 PyObject *resultobj;
13732 wxSlider *arg1 = (wxSlider *) 0 ;
13733 int result;
13734 PyObject * obj0 = 0 ;
13735 char *kwnames[] = {
13736 (char *) "self", NULL
13737 };
13738
13739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13742 {
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
13744 result = (int)((wxSlider const *)arg1)->GetSelStart();
13745
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 resultobj = SWIG_From_int((int)result);
13750 return resultobj;
13751 fail:
13752 return NULL;
13753 }
13754
13755
13756 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj;
13758 wxSlider *arg1 = (wxSlider *) 0 ;
13759 int arg2 ;
13760 int arg3 ;
13761 PyObject * obj0 = 0 ;
13762 PyObject * obj1 = 0 ;
13763 PyObject * obj2 = 0 ;
13764 char *kwnames[] = {
13765 (char *) "self",(char *) "min",(char *) "max", NULL
13766 };
13767
13768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13771 arg2 = (int)SWIG_As_int(obj1);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 arg3 = (int)SWIG_As_int(obj2);
13774 if (PyErr_Occurred()) SWIG_fail;
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 (arg1)->SetSelection(arg2,arg3);
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 Py_INCREF(Py_None); resultobj = Py_None;
13783 return resultobj;
13784 fail:
13785 return NULL;
13786 }
13787
13788
13789 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13790 PyObject *resultobj;
13791 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13792 wxVisualAttributes result;
13793 PyObject * obj0 = 0 ;
13794 char *kwnames[] = {
13795 (char *) "variant", NULL
13796 };
13797
13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13799 if (obj0) {
13800 arg1 = (int)SWIG_As_int(obj0);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 {
13804 if (!wxPyCheckForApp()) SWIG_fail;
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 {
13812 wxVisualAttributes * resultptr;
13813 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13815 }
13816 return resultobj;
13817 fail:
13818 return NULL;
13819 }
13820
13821
13822 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
13823 PyObject *obj;
13824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13825 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13826 Py_INCREF(obj);
13827 return Py_BuildValue((char *)"");
13828 }
13829 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
13830 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13831 return 1;
13832 }
13833
13834
13835 static PyObject *_wrap_ToggleButtonNameStr_get() {
13836 PyObject *pyobj;
13837
13838 {
13839 #if wxUSE_UNICODE
13840 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13841 #else
13842 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13843 #endif
13844 }
13845 return pyobj;
13846 }
13847
13848
13849 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
13850 PyObject *resultobj;
13851 wxWindow *arg1 = (wxWindow *) 0 ;
13852 int arg2 = (int) -1 ;
13853 wxString const &arg3_defvalue = wxPyEmptyString ;
13854 wxString *arg3 = (wxString *) &arg3_defvalue ;
13855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13857 wxSize const &arg5_defvalue = wxDefaultSize ;
13858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13859 long arg6 = (long) 0 ;
13860 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13861 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13862 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13863 wxString *arg8 = (wxString *) &arg8_defvalue ;
13864 wxToggleButton *result;
13865 bool temp3 = false ;
13866 wxPoint temp4 ;
13867 wxSize temp5 ;
13868 bool temp8 = false ;
13869 PyObject * obj0 = 0 ;
13870 PyObject * obj1 = 0 ;
13871 PyObject * obj2 = 0 ;
13872 PyObject * obj3 = 0 ;
13873 PyObject * obj4 = 0 ;
13874 PyObject * obj5 = 0 ;
13875 PyObject * obj6 = 0 ;
13876 PyObject * obj7 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13879 };
13880
13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13884 if (obj1) {
13885 arg2 = (int)SWIG_As_int(obj1);
13886 if (PyErr_Occurred()) SWIG_fail;
13887 }
13888 if (obj2) {
13889 {
13890 arg3 = wxString_in_helper(obj2);
13891 if (arg3 == NULL) SWIG_fail;
13892 temp3 = true;
13893 }
13894 }
13895 if (obj3) {
13896 {
13897 arg4 = &temp4;
13898 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13899 }
13900 }
13901 if (obj4) {
13902 {
13903 arg5 = &temp5;
13904 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13905 }
13906 }
13907 if (obj5) {
13908 arg6 = (long)SWIG_As_long(obj5);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 if (obj6) {
13912 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13913 SWIG_POINTER_EXCEPTION | 0)) == -1)
13914 SWIG_fail;
13915 if (arg7 == NULL) {
13916 PyErr_SetString(PyExc_TypeError,"null reference");
13917 SWIG_fail;
13918 }
13919 }
13920 if (obj7) {
13921 {
13922 arg8 = wxString_in_helper(obj7);
13923 if (arg8 == NULL) SWIG_fail;
13924 temp8 = true;
13925 }
13926 }
13927 {
13928 if (!wxPyCheckForApp()) SWIG_fail;
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13936 {
13937 if (temp3)
13938 delete arg3;
13939 }
13940 {
13941 if (temp8)
13942 delete arg8;
13943 }
13944 return resultobj;
13945 fail:
13946 {
13947 if (temp3)
13948 delete arg3;
13949 }
13950 {
13951 if (temp8)
13952 delete arg8;
13953 }
13954 return NULL;
13955 }
13956
13957
13958 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
13959 PyObject *resultobj;
13960 wxToggleButton *result;
13961 char *kwnames[] = {
13962 NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13966 {
13967 if (!wxPyCheckForApp()) SWIG_fail;
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 result = (wxToggleButton *)new wxToggleButton();
13970
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13975 return resultobj;
13976 fail:
13977 return NULL;
13978 }
13979
13980
13981 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13982 PyObject *resultobj;
13983 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13984 wxWindow *arg2 = (wxWindow *) 0 ;
13985 int arg3 = (int) -1 ;
13986 wxString const &arg4_defvalue = wxPyEmptyString ;
13987 wxString *arg4 = (wxString *) &arg4_defvalue ;
13988 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13989 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13990 wxSize const &arg6_defvalue = wxDefaultSize ;
13991 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13992 long arg7 = (long) 0 ;
13993 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13994 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13995 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13996 wxString *arg9 = (wxString *) &arg9_defvalue ;
13997 bool result;
13998 bool temp4 = false ;
13999 wxPoint temp5 ;
14000 wxSize temp6 ;
14001 bool temp9 = false ;
14002 PyObject * obj0 = 0 ;
14003 PyObject * obj1 = 0 ;
14004 PyObject * obj2 = 0 ;
14005 PyObject * obj3 = 0 ;
14006 PyObject * obj4 = 0 ;
14007 PyObject * obj5 = 0 ;
14008 PyObject * obj6 = 0 ;
14009 PyObject * obj7 = 0 ;
14010 PyObject * obj8 = 0 ;
14011 char *kwnames[] = {
14012 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14013 };
14014
14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14020 if (obj2) {
14021 arg3 = (int)SWIG_As_int(obj2);
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
14024 if (obj3) {
14025 {
14026 arg4 = wxString_in_helper(obj3);
14027 if (arg4 == NULL) SWIG_fail;
14028 temp4 = true;
14029 }
14030 }
14031 if (obj4) {
14032 {
14033 arg5 = &temp5;
14034 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14035 }
14036 }
14037 if (obj5) {
14038 {
14039 arg6 = &temp6;
14040 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14041 }
14042 }
14043 if (obj6) {
14044 arg7 = (long)SWIG_As_long(obj6);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 if (obj7) {
14048 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
14049 SWIG_POINTER_EXCEPTION | 0)) == -1)
14050 SWIG_fail;
14051 if (arg8 == NULL) {
14052 PyErr_SetString(PyExc_TypeError,"null reference");
14053 SWIG_fail;
14054 }
14055 }
14056 if (obj8) {
14057 {
14058 arg9 = wxString_in_helper(obj8);
14059 if (arg9 == NULL) SWIG_fail;
14060 temp9 = true;
14061 }
14062 }
14063 {
14064 PyThreadState* __tstate = wxPyBeginAllowThreads();
14065 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14066
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 {
14071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14072 }
14073 {
14074 if (temp4)
14075 delete arg4;
14076 }
14077 {
14078 if (temp9)
14079 delete arg9;
14080 }
14081 return resultobj;
14082 fail:
14083 {
14084 if (temp4)
14085 delete arg4;
14086 }
14087 {
14088 if (temp9)
14089 delete arg9;
14090 }
14091 return NULL;
14092 }
14093
14094
14095 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14096 PyObject *resultobj;
14097 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14098 bool arg2 ;
14099 PyObject * obj0 = 0 ;
14100 PyObject * obj1 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "self",(char *) "value", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14108 arg2 = (bool)SWIG_As_bool(obj1);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 {
14111 PyThreadState* __tstate = wxPyBeginAllowThreads();
14112 (arg1)->SetValue(arg2);
14113
14114 wxPyEndAllowThreads(__tstate);
14115 if (PyErr_Occurred()) SWIG_fail;
14116 }
14117 Py_INCREF(Py_None); resultobj = Py_None;
14118 return resultobj;
14119 fail:
14120 return NULL;
14121 }
14122
14123
14124 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14125 PyObject *resultobj;
14126 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14127 bool result;
14128 PyObject * obj0 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 result = (bool)((wxToggleButton const *)arg1)->GetValue();
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 {
14144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14145 }
14146 return resultobj;
14147 fail:
14148 return NULL;
14149 }
14150
14151
14152 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
14153 PyObject *resultobj;
14154 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14155 wxString *arg2 = 0 ;
14156 bool temp2 = false ;
14157 PyObject * obj0 = 0 ;
14158 PyObject * obj1 = 0 ;
14159 char *kwnames[] = {
14160 (char *) "self",(char *) "label", NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
14164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14166 {
14167 arg2 = wxString_in_helper(obj1);
14168 if (arg2 == NULL) SWIG_fail;
14169 temp2 = true;
14170 }
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 (arg1)->SetLabel((wxString const &)*arg2);
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 Py_INCREF(Py_None); resultobj = Py_None;
14179 {
14180 if (temp2)
14181 delete arg2;
14182 }
14183 return resultobj;
14184 fail:
14185 {
14186 if (temp2)
14187 delete arg2;
14188 }
14189 return NULL;
14190 }
14191
14192
14193 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14194 PyObject *resultobj;
14195 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14196 wxVisualAttributes result;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "variant", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14203 if (obj0) {
14204 arg1 = (int)SWIG_As_int(obj0);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 {
14208 if (!wxPyCheckForApp()) SWIG_fail;
14209 PyThreadState* __tstate = wxPyBeginAllowThreads();
14210 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14211
14212 wxPyEndAllowThreads(__tstate);
14213 if (PyErr_Occurred()) SWIG_fail;
14214 }
14215 {
14216 wxVisualAttributes * resultptr;
14217 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14219 }
14220 return resultobj;
14221 fail:
14222 return NULL;
14223 }
14224
14225
14226 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
14227 PyObject *obj;
14228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14229 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14230 Py_INCREF(obj);
14231 return Py_BuildValue((char *)"");
14232 }
14233 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
14234 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14235 return 1;
14236 }
14237
14238
14239 static PyObject *_wrap_NOTEBOOK_NAME_get() {
14240 PyObject *pyobj;
14241
14242 {
14243 #if wxUSE_UNICODE
14244 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14245 #else
14246 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14247 #endif
14248 }
14249 return pyobj;
14250 }
14251
14252
14253 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
14254 PyObject *resultobj;
14255 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14256 size_t result;
14257 PyObject * obj0 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
14263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14265 {
14266 PyThreadState* __tstate = wxPyBeginAllowThreads();
14267 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
14268
14269 wxPyEndAllowThreads(__tstate);
14270 if (PyErr_Occurred()) SWIG_fail;
14271 }
14272 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
14273 return resultobj;
14274 fail:
14275 return NULL;
14276 }
14277
14278
14279 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
14280 PyObject *resultobj;
14281 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14282 size_t arg2 ;
14283 wxWindow *result;
14284 PyObject * obj0 = 0 ;
14285 PyObject * obj1 = 0 ;
14286 char *kwnames[] = {
14287 (char *) "self",(char *) "n", NULL
14288 };
14289
14290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
14291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14293 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 result = (wxWindow *)(arg1)->GetPage(arg2);
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 {
14303 resultobj = wxPyMake_wxObject(result, 0);
14304 }
14305 return resultobj;
14306 fail:
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14314 wxWindow *result;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
14321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 {
14331 resultobj = wxPyMake_wxObject(result, 0);
14332 }
14333 return resultobj;
14334 fail:
14335 return NULL;
14336 }
14337
14338
14339 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14340 PyObject *resultobj;
14341 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14342 int result;
14343 PyObject * obj0 = 0 ;
14344 char *kwnames[] = {
14345 (char *) "self", NULL
14346 };
14347
14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
14349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14351 {
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
14354
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = SWIG_From_int((int)result);
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj;
14367 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14368 size_t arg2 ;
14369 wxString *arg3 = 0 ;
14370 bool result;
14371 bool temp3 = false ;
14372 PyObject * obj0 = 0 ;
14373 PyObject * obj1 = 0 ;
14374 PyObject * obj2 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self",(char *) "n",(char *) "strText", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14382 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 {
14385 arg3 = wxString_in_helper(obj2);
14386 if (arg3 == NULL) SWIG_fail;
14387 temp3 = true;
14388 }
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 {
14397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14398 }
14399 {
14400 if (temp3)
14401 delete arg3;
14402 }
14403 return resultobj;
14404 fail:
14405 {
14406 if (temp3)
14407 delete arg3;
14408 }
14409 return NULL;
14410 }
14411
14412
14413 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
14414 PyObject *resultobj;
14415 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14416 size_t arg2 ;
14417 wxString result;
14418 PyObject * obj0 = 0 ;
14419 PyObject * obj1 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "self",(char *) "n", NULL
14422 };
14423
14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14427 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14428 if (PyErr_Occurred()) SWIG_fail;
14429 {
14430 PyThreadState* __tstate = wxPyBeginAllowThreads();
14431 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
14432
14433 wxPyEndAllowThreads(__tstate);
14434 if (PyErr_Occurred()) SWIG_fail;
14435 }
14436 {
14437 #if wxUSE_UNICODE
14438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14439 #else
14440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14441 #endif
14442 }
14443 return resultobj;
14444 fail:
14445 return NULL;
14446 }
14447
14448
14449 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14452 wxImageList *arg2 = (wxImageList *) 0 ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self",(char *) "imageList", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 (arg1)->SetImageList(arg2);
14467
14468 wxPyEndAllowThreads(__tstate);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 Py_INCREF(Py_None); resultobj = Py_None;
14472 return resultobj;
14473 fail:
14474 return NULL;
14475 }
14476
14477
14478 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14479 PyObject *resultobj;
14480 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14481 wxImageList *arg2 = (wxImageList *) 0 ;
14482 PyObject * obj0 = 0 ;
14483 PyObject * obj1 = 0 ;
14484 char *kwnames[] = {
14485 (char *) "self",(char *) "imageList", NULL
14486 };
14487
14488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14492 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 (arg1)->AssignImageList(arg2);
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 Py_INCREF(Py_None); resultobj = Py_None;
14501 return resultobj;
14502 fail:
14503 return NULL;
14504 }
14505
14506
14507 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj;
14509 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14510 wxImageList *result;
14511 PyObject * obj0 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
14522
14523 wxPyEndAllowThreads(__tstate);
14524 if (PyErr_Occurred()) SWIG_fail;
14525 }
14526 {
14527 resultobj = wxPyMake_wxObject(result, 0);
14528 }
14529 return resultobj;
14530 fail:
14531 return NULL;
14532 }
14533
14534
14535 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
14536 PyObject *resultobj;
14537 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14538 size_t arg2 ;
14539 int result;
14540 PyObject * obj0 = 0 ;
14541 PyObject * obj1 = 0 ;
14542 char *kwnames[] = {
14543 (char *) "self",(char *) "n", NULL
14544 };
14545
14546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14549 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
14554
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 resultobj = SWIG_From_int((int)result);
14559 return resultobj;
14560 fail:
14561 return NULL;
14562 }
14563
14564
14565 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
14566 PyObject *resultobj;
14567 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14568 size_t arg2 ;
14569 int arg3 ;
14570 bool result;
14571 PyObject * obj0 = 0 ;
14572 PyObject * obj1 = 0 ;
14573 PyObject * obj2 = 0 ;
14574 char *kwnames[] = {
14575 (char *) "self",(char *) "n",(char *) "imageId", NULL
14576 };
14577
14578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14581 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 arg3 = (int)SWIG_As_int(obj2);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 {
14593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14594 }
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14604 wxSize *arg2 = 0 ;
14605 wxSize temp2 ;
14606 PyObject * obj0 = 0 ;
14607 PyObject * obj1 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "self",(char *) "size", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14615 {
14616 arg2 = &temp2;
14617 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14618 }
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 (arg1)->SetPageSize((wxSize const &)*arg2);
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 Py_INCREF(Py_None); resultobj = Py_None;
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14636 wxSize *arg2 = 0 ;
14637 wxSize result;
14638 wxSize temp2 ;
14639 PyObject * obj0 = 0 ;
14640 PyObject * obj1 = 0 ;
14641 char *kwnames[] = {
14642 (char *) "self",(char *) "sizePage", NULL
14643 };
14644
14645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14648 {
14649 arg2 = &temp2;
14650 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14651 }
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14655
14656 wxPyEndAllowThreads(__tstate);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 {
14660 wxSize * resultptr;
14661 resultptr = new wxSize((wxSize &) result);
14662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14663 }
14664 return resultobj;
14665 fail:
14666 return NULL;
14667 }
14668
14669
14670 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
14671 PyObject *resultobj;
14672 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14673 size_t arg2 ;
14674 bool result;
14675 PyObject * obj0 = 0 ;
14676 PyObject * obj1 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self",(char *) "n", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14684 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 {
14687 PyThreadState* __tstate = wxPyBeginAllowThreads();
14688 result = (bool)(arg1)->DeletePage(arg2);
14689
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 {
14694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14695 }
14696 return resultobj;
14697 fail:
14698 return NULL;
14699 }
14700
14701
14702 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj;
14704 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14705 size_t arg2 ;
14706 bool result;
14707 PyObject * obj0 = 0 ;
14708 PyObject * obj1 = 0 ;
14709 char *kwnames[] = {
14710 (char *) "self",(char *) "n", NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14716 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14717 if (PyErr_Occurred()) SWIG_fail;
14718 {
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 result = (bool)(arg1)->RemovePage(arg2);
14721
14722 wxPyEndAllowThreads(__tstate);
14723 if (PyErr_Occurred()) SWIG_fail;
14724 }
14725 {
14726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14727 }
14728 return resultobj;
14729 fail:
14730 return NULL;
14731 }
14732
14733
14734 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
14735 PyObject *resultobj;
14736 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14737 bool result;
14738 PyObject * obj0 = 0 ;
14739 char *kwnames[] = {
14740 (char *) "self", NULL
14741 };
14742
14743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
14744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14746 {
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 result = (bool)(arg1)->DeleteAllPages();
14749
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 {
14754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14755 }
14756 return resultobj;
14757 fail:
14758 return NULL;
14759 }
14760
14761
14762 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
14763 PyObject *resultobj;
14764 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14765 wxWindow *arg2 = (wxWindow *) 0 ;
14766 wxString *arg3 = 0 ;
14767 bool arg4 = (bool) false ;
14768 int arg5 = (int) -1 ;
14769 bool result;
14770 bool temp3 = false ;
14771 PyObject * obj0 = 0 ;
14772 PyObject * obj1 = 0 ;
14773 PyObject * obj2 = 0 ;
14774 PyObject * obj3 = 0 ;
14775 PyObject * obj4 = 0 ;
14776 char *kwnames[] = {
14777 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14778 };
14779
14780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14785 {
14786 arg3 = wxString_in_helper(obj2);
14787 if (arg3 == NULL) SWIG_fail;
14788 temp3 = true;
14789 }
14790 if (obj3) {
14791 arg4 = (bool)SWIG_As_bool(obj3);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 if (obj4) {
14795 arg5 = (int)SWIG_As_int(obj4);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14801
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 {
14806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14807 }
14808 {
14809 if (temp3)
14810 delete arg3;
14811 }
14812 return resultobj;
14813 fail:
14814 {
14815 if (temp3)
14816 delete arg3;
14817 }
14818 return NULL;
14819 }
14820
14821
14822 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
14823 PyObject *resultobj;
14824 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14825 size_t arg2 ;
14826 wxWindow *arg3 = (wxWindow *) 0 ;
14827 wxString *arg4 = 0 ;
14828 bool arg5 = (bool) false ;
14829 int arg6 = (int) -1 ;
14830 bool result;
14831 bool temp4 = false ;
14832 PyObject * obj0 = 0 ;
14833 PyObject * obj1 = 0 ;
14834 PyObject * obj2 = 0 ;
14835 PyObject * obj3 = 0 ;
14836 PyObject * obj4 = 0 ;
14837 PyObject * obj5 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14845 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14846 if (PyErr_Occurred()) SWIG_fail;
14847 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14849 {
14850 arg4 = wxString_in_helper(obj3);
14851 if (arg4 == NULL) SWIG_fail;
14852 temp4 = true;
14853 }
14854 if (obj4) {
14855 arg5 = (bool)SWIG_As_bool(obj4);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
14858 if (obj5) {
14859 arg6 = (int)SWIG_As_int(obj5);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 {
14870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14871 }
14872 {
14873 if (temp4)
14874 delete arg4;
14875 }
14876 return resultobj;
14877 fail:
14878 {
14879 if (temp4)
14880 delete arg4;
14881 }
14882 return NULL;
14883 }
14884
14885
14886 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14889 size_t arg2 ;
14890 int result;
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self",(char *) "n", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14900 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (int)(arg1)->SetSelection(arg2);
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 resultobj = SWIG_From_int((int)result);
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj;
14918 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
14919 bool arg2 = (bool) true ;
14920 PyObject * obj0 = 0 ;
14921 PyObject * obj1 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self",(char *) "forward", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
14928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14929 if (obj1) {
14930 arg2 = (bool)SWIG_As_bool(obj1);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 (arg1)->AdvanceSelection(arg2);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 Py_INCREF(Py_None); resultobj = Py_None;
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14950 wxVisualAttributes result;
14951 PyObject * obj0 = 0 ;
14952 char *kwnames[] = {
14953 (char *) "variant", NULL
14954 };
14955
14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14957 if (obj0) {
14958 arg1 = (int)SWIG_As_int(obj0);
14959 if (PyErr_Occurred()) SWIG_fail;
14960 }
14961 {
14962 if (!wxPyCheckForApp()) SWIG_fail;
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 {
14970 wxVisualAttributes * resultptr;
14971 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14973 }
14974 return resultobj;
14975 fail:
14976 return NULL;
14977 }
14978
14979
14980 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
14981 PyObject *obj;
14982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14983 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
14984 Py_INCREF(obj);
14985 return Py_BuildValue((char *)"");
14986 }
14987 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14990 int arg2 = (int) 0 ;
14991 int arg3 = (int) -1 ;
14992 int arg4 = (int) -1 ;
14993 wxBookCtrlBaseEvent *result;
14994 PyObject * obj0 = 0 ;
14995 PyObject * obj1 = 0 ;
14996 PyObject * obj2 = 0 ;
14997 PyObject * obj3 = 0 ;
14998 char *kwnames[] = {
14999 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15000 };
15001
15002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15003 if (obj0) {
15004 arg1 = (wxEventType)SWIG_As_int(obj0);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 if (obj1) {
15008 arg2 = (int)SWIG_As_int(obj1);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 if (obj2) {
15012 arg3 = (int)SWIG_As_int(obj2);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 if (obj3) {
15016 arg4 = (int)SWIG_As_int(obj3);
15017 if (PyErr_Occurred()) SWIG_fail;
15018 }
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
15022
15023 wxPyEndAllowThreads(__tstate);
15024 if (PyErr_Occurred()) SWIG_fail;
15025 }
15026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
15027 return resultobj;
15028 fail:
15029 return NULL;
15030 }
15031
15032
15033 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15034 PyObject *resultobj;
15035 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
15036 int result;
15037 PyObject * obj0 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
15043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBaseEvent,
15044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
15048
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 resultobj = SWIG_From_int((int)result);
15053 return resultobj;
15054 fail:
15055 return NULL;
15056 }
15057
15058
15059 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15060 PyObject *resultobj;
15061 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
15062 int arg2 ;
15063 PyObject * obj0 = 0 ;
15064 PyObject * obj1 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self",(char *) "nSel", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBaseEvent,
15071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15072 arg2 = (int)SWIG_As_int(obj1);
15073 if (PyErr_Occurred()) SWIG_fail;
15074 {
15075 PyThreadState* __tstate = wxPyBeginAllowThreads();
15076 (arg1)->SetSelection(arg2);
15077
15078 wxPyEndAllowThreads(__tstate);
15079 if (PyErr_Occurred()) SWIG_fail;
15080 }
15081 Py_INCREF(Py_None); resultobj = Py_None;
15082 return resultobj;
15083 fail:
15084 return NULL;
15085 }
15086
15087
15088 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15089 PyObject *resultobj;
15090 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
15091 int result;
15092 PyObject * obj0 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "self", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBaseEvent,
15099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
15103
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 resultobj = SWIG_From_int((int)result);
15108 return resultobj;
15109 fail:
15110 return NULL;
15111 }
15112
15113
15114 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
15117 int arg2 ;
15118 PyObject * obj0 = 0 ;
15119 PyObject * obj1 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "self",(char *) "nOldSel", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBaseEvent,
15126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15127 arg2 = (int)SWIG_As_int(obj1);
15128 if (PyErr_Occurred()) SWIG_fail;
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 (arg1)->SetOldSelection(arg2);
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 Py_INCREF(Py_None); resultobj = Py_None;
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
15144 PyObject *obj;
15145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
15147 Py_INCREF(obj);
15148 return Py_BuildValue((char *)"");
15149 }
15150 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
15151 PyObject *resultobj;
15152 wxWindow *arg1 = (wxWindow *) 0 ;
15153 int arg2 = (int) -1 ;
15154 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15155 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15156 wxSize const &arg4_defvalue = wxDefaultSize ;
15157 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15158 long arg5 = (long) 0 ;
15159 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15160 wxString *arg6 = (wxString *) &arg6_defvalue ;
15161 wxNotebook *result;
15162 wxPoint temp3 ;
15163 wxSize temp4 ;
15164 bool temp6 = false ;
15165 PyObject * obj0 = 0 ;
15166 PyObject * obj1 = 0 ;
15167 PyObject * obj2 = 0 ;
15168 PyObject * obj3 = 0 ;
15169 PyObject * obj4 = 0 ;
15170 PyObject * obj5 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15178 if (obj1) {
15179 arg2 = (int)SWIG_As_int(obj1);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 }
15182 if (obj2) {
15183 {
15184 arg3 = &temp3;
15185 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15186 }
15187 }
15188 if (obj3) {
15189 {
15190 arg4 = &temp4;
15191 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15192 }
15193 }
15194 if (obj4) {
15195 arg5 = (long)SWIG_As_long(obj4);
15196 if (PyErr_Occurred()) SWIG_fail;
15197 }
15198 if (obj5) {
15199 {
15200 arg6 = wxString_in_helper(obj5);
15201 if (arg6 == NULL) SWIG_fail;
15202 temp6 = true;
15203 }
15204 }
15205 {
15206 if (!wxPyCheckForApp()) SWIG_fail;
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15214 {
15215 if (temp6)
15216 delete arg6;
15217 }
15218 return resultobj;
15219 fail:
15220 {
15221 if (temp6)
15222 delete arg6;
15223 }
15224 return NULL;
15225 }
15226
15227
15228 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj;
15230 wxNotebook *result;
15231 char *kwnames[] = {
15232 NULL
15233 };
15234
15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15236 {
15237 if (!wxPyCheckForApp()) SWIG_fail;
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 result = (wxNotebook *)new wxNotebook();
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15245 return resultobj;
15246 fail:
15247 return NULL;
15248 }
15249
15250
15251 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxNotebook *arg1 = (wxNotebook *) 0 ;
15254 wxWindow *arg2 = (wxWindow *) 0 ;
15255 int arg3 = (int) -1 ;
15256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15258 wxSize const &arg5_defvalue = wxDefaultSize ;
15259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15260 long arg6 = (long) 0 ;
15261 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15262 wxString *arg7 = (wxString *) &arg7_defvalue ;
15263 bool result;
15264 wxPoint temp4 ;
15265 wxSize temp5 ;
15266 bool temp7 = false ;
15267 PyObject * obj0 = 0 ;
15268 PyObject * obj1 = 0 ;
15269 PyObject * obj2 = 0 ;
15270 PyObject * obj3 = 0 ;
15271 PyObject * obj4 = 0 ;
15272 PyObject * obj5 = 0 ;
15273 PyObject * obj6 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15283 if (obj2) {
15284 arg3 = (int)SWIG_As_int(obj2);
15285 if (PyErr_Occurred()) SWIG_fail;
15286 }
15287 if (obj3) {
15288 {
15289 arg4 = &temp4;
15290 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15291 }
15292 }
15293 if (obj4) {
15294 {
15295 arg5 = &temp5;
15296 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15297 }
15298 }
15299 if (obj5) {
15300 arg6 = (long)SWIG_As_long(obj5);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 if (obj6) {
15304 {
15305 arg7 = wxString_in_helper(obj6);
15306 if (arg7 == NULL) SWIG_fail;
15307 temp7 = true;
15308 }
15309 }
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
15317 {
15318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15319 }
15320 {
15321 if (temp7)
15322 delete arg7;
15323 }
15324 return resultobj;
15325 fail:
15326 {
15327 if (temp7)
15328 delete arg7;
15329 }
15330 return NULL;
15331 }
15332
15333
15334 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 wxNotebook *arg1 = (wxNotebook *) 0 ;
15337 int result;
15338 PyObject * obj0 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15346 {
15347 PyThreadState* __tstate = wxPyBeginAllowThreads();
15348 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15349
15350 wxPyEndAllowThreads(__tstate);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 }
15353 resultobj = SWIG_From_int((int)result);
15354 return resultobj;
15355 fail:
15356 return NULL;
15357 }
15358
15359
15360 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxNotebook *arg1 = (wxNotebook *) 0 ;
15363 wxSize *arg2 = 0 ;
15364 wxSize temp2 ;
15365 PyObject * obj0 = 0 ;
15366 PyObject * obj1 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self",(char *) "padding", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15374 {
15375 arg2 = &temp2;
15376 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15377 }
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 (arg1)->SetPadding((wxSize const &)*arg2);
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 Py_INCREF(Py_None); resultobj = Py_None;
15386 return resultobj;
15387 fail:
15388 return NULL;
15389 }
15390
15391
15392 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
15393 PyObject *resultobj;
15394 wxNotebook *arg1 = (wxNotebook *) 0 ;
15395 wxSize *arg2 = 0 ;
15396 wxSize temp2 ;
15397 PyObject * obj0 = 0 ;
15398 PyObject * obj1 = 0 ;
15399 char *kwnames[] = {
15400 (char *) "self",(char *) "sz", NULL
15401 };
15402
15403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15406 {
15407 arg2 = &temp2;
15408 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15409 }
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 (arg1)->SetTabSize((wxSize const &)*arg2);
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 Py_INCREF(Py_None); resultobj = Py_None;
15418 return resultobj;
15419 fail:
15420 return NULL;
15421 }
15422
15423
15424 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj;
15426 wxNotebook *arg1 = (wxNotebook *) 0 ;
15427 wxPoint *arg2 = 0 ;
15428 long *arg3 = (long *) 0 ;
15429 int result;
15430 wxPoint temp2 ;
15431 long temp3 ;
15432 int res3 = 0 ;
15433 PyObject * obj0 = 0 ;
15434 PyObject * obj1 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self",(char *) "pt", NULL
15437 };
15438
15439 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15443 {
15444 arg2 = &temp2;
15445 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15446 }
15447 {
15448 PyThreadState* __tstate = wxPyBeginAllowThreads();
15449 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15450
15451 wxPyEndAllowThreads(__tstate);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 }
15454 resultobj = SWIG_From_int((int)result);
15455 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15456 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
15457 return resultobj;
15458 fail:
15459 return NULL;
15460 }
15461
15462
15463 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
15464 PyObject *resultobj;
15465 wxNotebook *arg1 = (wxNotebook *) 0 ;
15466 wxSize *arg2 = 0 ;
15467 wxSize result;
15468 wxSize temp2 ;
15469 PyObject * obj0 = 0 ;
15470 PyObject * obj1 = 0 ;
15471 char *kwnames[] = {
15472 (char *) "self",(char *) "sizePage", NULL
15473 };
15474
15475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15478 {
15479 arg2 = &temp2;
15480 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15481 }
15482 {
15483 PyThreadState* __tstate = wxPyBeginAllowThreads();
15484 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15485
15486 wxPyEndAllowThreads(__tstate);
15487 if (PyErr_Occurred()) SWIG_fail;
15488 }
15489 {
15490 wxSize * resultptr;
15491 resultptr = new wxSize((wxSize &) result);
15492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15493 }
15494 return resultobj;
15495 fail:
15496 return NULL;
15497 }
15498
15499
15500 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15501 PyObject *resultobj;
15502 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15503 wxVisualAttributes result;
15504 PyObject * obj0 = 0 ;
15505 char *kwnames[] = {
15506 (char *) "variant", NULL
15507 };
15508
15509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15510 if (obj0) {
15511 arg1 = (int)SWIG_As_int(obj0);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 {
15515 if (!wxPyCheckForApp()) SWIG_fail;
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 {
15523 wxVisualAttributes * resultptr;
15524 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15526 }
15527 return resultobj;
15528 fail:
15529 return NULL;
15530 }
15531
15532
15533 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
15534 PyObject *obj;
15535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15536 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15537 Py_INCREF(obj);
15538 return Py_BuildValue((char *)"");
15539 }
15540 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15541 PyObject *resultobj;
15542 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15543 int arg2 = (int) 0 ;
15544 int arg3 = (int) -1 ;
15545 int arg4 = (int) -1 ;
15546 wxNotebookEvent *result;
15547 PyObject * obj0 = 0 ;
15548 PyObject * obj1 = 0 ;
15549 PyObject * obj2 = 0 ;
15550 PyObject * obj3 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15556 if (obj0) {
15557 arg1 = (wxEventType)SWIG_As_int(obj0);
15558 if (PyErr_Occurred()) SWIG_fail;
15559 }
15560 if (obj1) {
15561 arg2 = (int)SWIG_As_int(obj1);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 if (obj2) {
15565 arg3 = (int)SWIG_As_int(obj2);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 if (obj3) {
15569 arg4 = (int)SWIG_As_int(obj3);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
15572 {
15573 PyThreadState* __tstate = wxPyBeginAllowThreads();
15574 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15575
15576 wxPyEndAllowThreads(__tstate);
15577 if (PyErr_Occurred()) SWIG_fail;
15578 }
15579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15580 return resultobj;
15581 fail:
15582 return NULL;
15583 }
15584
15585
15586 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
15587 PyObject *obj;
15588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15589 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15590 Py_INCREF(obj);
15591 return Py_BuildValue((char *)"");
15592 }
15593 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
15594 PyObject *resultobj;
15595 wxWindow *arg1 = (wxWindow *) 0 ;
15596 int arg2 = (int) -1 ;
15597 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15598 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15599 wxSize const &arg4_defvalue = wxDefaultSize ;
15600 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15601 long arg5 = (long) 0 ;
15602 wxString const &arg6_defvalue = wxPyEmptyString ;
15603 wxString *arg6 = (wxString *) &arg6_defvalue ;
15604 wxListbook *result;
15605 wxPoint temp3 ;
15606 wxSize temp4 ;
15607 bool temp6 = false ;
15608 PyObject * obj0 = 0 ;
15609 PyObject * obj1 = 0 ;
15610 PyObject * obj2 = 0 ;
15611 PyObject * obj3 = 0 ;
15612 PyObject * obj4 = 0 ;
15613 PyObject * obj5 = 0 ;
15614 char *kwnames[] = {
15615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15616 };
15617
15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15621 if (obj1) {
15622 arg2 = (int)SWIG_As_int(obj1);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 if (obj2) {
15626 {
15627 arg3 = &temp3;
15628 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15629 }
15630 }
15631 if (obj3) {
15632 {
15633 arg4 = &temp4;
15634 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15635 }
15636 }
15637 if (obj4) {
15638 arg5 = (long)SWIG_As_long(obj4);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 if (obj5) {
15642 {
15643 arg6 = wxString_in_helper(obj5);
15644 if (arg6 == NULL) SWIG_fail;
15645 temp6 = true;
15646 }
15647 }
15648 {
15649 if (!wxPyCheckForApp()) SWIG_fail;
15650 PyThreadState* __tstate = wxPyBeginAllowThreads();
15651 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15652
15653 wxPyEndAllowThreads(__tstate);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 }
15656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15657 {
15658 if (temp6)
15659 delete arg6;
15660 }
15661 return resultobj;
15662 fail:
15663 {
15664 if (temp6)
15665 delete arg6;
15666 }
15667 return NULL;
15668 }
15669
15670
15671 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
15672 PyObject *resultobj;
15673 wxListbook *result;
15674 char *kwnames[] = {
15675 NULL
15676 };
15677
15678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15679 {
15680 if (!wxPyCheckForApp()) SWIG_fail;
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 result = (wxListbook *)new wxListbook();
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15688 return resultobj;
15689 fail:
15690 return NULL;
15691 }
15692
15693
15694 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15695 PyObject *resultobj;
15696 wxListbook *arg1 = (wxListbook *) 0 ;
15697 wxWindow *arg2 = (wxWindow *) 0 ;
15698 int arg3 = (int) -1 ;
15699 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15700 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15701 wxSize const &arg5_defvalue = wxDefaultSize ;
15702 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15703 long arg6 = (long) 0 ;
15704 wxString const &arg7_defvalue = wxPyEmptyString ;
15705 wxString *arg7 = (wxString *) &arg7_defvalue ;
15706 bool result;
15707 wxPoint temp4 ;
15708 wxSize temp5 ;
15709 bool temp7 = false ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 PyObject * obj2 = 0 ;
15713 PyObject * obj3 = 0 ;
15714 PyObject * obj4 = 0 ;
15715 PyObject * obj5 = 0 ;
15716 PyObject * obj6 = 0 ;
15717 char *kwnames[] = {
15718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15719 };
15720
15721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15726 if (obj2) {
15727 arg3 = (int)SWIG_As_int(obj2);
15728 if (PyErr_Occurred()) SWIG_fail;
15729 }
15730 if (obj3) {
15731 {
15732 arg4 = &temp4;
15733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15734 }
15735 }
15736 if (obj4) {
15737 {
15738 arg5 = &temp5;
15739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15740 }
15741 }
15742 if (obj5) {
15743 arg6 = (long)SWIG_As_long(obj5);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 if (obj6) {
15747 {
15748 arg7 = wxString_in_helper(obj6);
15749 if (arg7 == NULL) SWIG_fail;
15750 temp7 = true;
15751 }
15752 }
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 {
15761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15762 }
15763 {
15764 if (temp7)
15765 delete arg7;
15766 }
15767 return resultobj;
15768 fail:
15769 {
15770 if (temp7)
15771 delete arg7;
15772 }
15773 return NULL;
15774 }
15775
15776
15777 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj;
15779 wxListbook *arg1 = (wxListbook *) 0 ;
15780 bool result;
15781 PyObject * obj0 = 0 ;
15782 char *kwnames[] = {
15783 (char *) "self", NULL
15784 };
15785
15786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 result = (bool)((wxListbook const *)arg1)->IsVertical();
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 {
15797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15798 }
15799 return resultobj;
15800 fail:
15801 return NULL;
15802 }
15803
15804
15805 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj;
15807 wxListbook *arg1 = (wxListbook *) 0 ;
15808 wxListView *result;
15809 PyObject * obj0 = 0 ;
15810 char *kwnames[] = {
15811 (char *) "self", NULL
15812 };
15813
15814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
15815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15817 {
15818 PyThreadState* __tstate = wxPyBeginAllowThreads();
15819 result = (wxListView *)(arg1)->GetListView();
15820
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
15832 PyObject *obj;
15833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15834 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15835 Py_INCREF(obj);
15836 return Py_BuildValue((char *)"");
15837 }
15838 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15841 int arg2 = (int) 0 ;
15842 int arg3 = (int) -1 ;
15843 int arg4 = (int) -1 ;
15844 wxListbookEvent *result;
15845 PyObject * obj0 = 0 ;
15846 PyObject * obj1 = 0 ;
15847 PyObject * obj2 = 0 ;
15848 PyObject * obj3 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15854 if (obj0) {
15855 arg1 = (wxEventType)SWIG_As_int(obj0);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 if (obj1) {
15859 arg2 = (int)SWIG_As_int(obj1);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 if (obj2) {
15863 arg3 = (int)SWIG_As_int(obj2);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
15866 if (obj3) {
15867 arg4 = (int)SWIG_As_int(obj3);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15873
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15878 return resultobj;
15879 fail:
15880 return NULL;
15881 }
15882
15883
15884 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
15885 PyObject *obj;
15886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15887 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15888 Py_INCREF(obj);
15889 return Py_BuildValue((char *)"");
15890 }
15891 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxWindow *arg1 = (wxWindow *) 0 ;
15894 int arg2 ;
15895 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15896 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15897 wxSize const &arg4_defvalue = wxDefaultSize ;
15898 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15899 long arg5 = (long) 0 ;
15900 wxString const &arg6_defvalue = wxPyEmptyString ;
15901 wxString *arg6 = (wxString *) &arg6_defvalue ;
15902 wxChoicebook *result;
15903 wxPoint temp3 ;
15904 wxSize temp4 ;
15905 bool temp6 = false ;
15906 PyObject * obj0 = 0 ;
15907 PyObject * obj1 = 0 ;
15908 PyObject * obj2 = 0 ;
15909 PyObject * obj3 = 0 ;
15910 PyObject * obj4 = 0 ;
15911 PyObject * obj5 = 0 ;
15912 char *kwnames[] = {
15913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15914 };
15915
15916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15919 arg2 = (int)SWIG_As_int(obj1);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 if (obj2) {
15922 {
15923 arg3 = &temp3;
15924 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15925 }
15926 }
15927 if (obj3) {
15928 {
15929 arg4 = &temp4;
15930 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15931 }
15932 }
15933 if (obj4) {
15934 arg5 = (long)SWIG_As_long(obj4);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 if (obj5) {
15938 {
15939 arg6 = wxString_in_helper(obj5);
15940 if (arg6 == NULL) SWIG_fail;
15941 temp6 = true;
15942 }
15943 }
15944 {
15945 if (!wxPyCheckForApp()) SWIG_fail;
15946 PyThreadState* __tstate = wxPyBeginAllowThreads();
15947 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15948
15949 wxPyEndAllowThreads(__tstate);
15950 if (PyErr_Occurred()) SWIG_fail;
15951 }
15952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
15953 {
15954 if (temp6)
15955 delete arg6;
15956 }
15957 return resultobj;
15958 fail:
15959 {
15960 if (temp6)
15961 delete arg6;
15962 }
15963 return NULL;
15964 }
15965
15966
15967 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj;
15969 wxChoicebook *result;
15970 char *kwnames[] = {
15971 NULL
15972 };
15973
15974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
15975 {
15976 if (!wxPyCheckForApp()) SWIG_fail;
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 result = (wxChoicebook *)new wxChoicebook();
15979
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
15984 return resultobj;
15985 fail:
15986 return NULL;
15987 }
15988
15989
15990 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
15993 wxWindow *arg2 = (wxWindow *) 0 ;
15994 int arg3 ;
15995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15997 wxSize const &arg5_defvalue = wxDefaultSize ;
15998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15999 long arg6 = (long) 0 ;
16000 wxString const &arg7_defvalue = wxPyEmptyString ;
16001 wxString *arg7 = (wxString *) &arg7_defvalue ;
16002 bool result;
16003 wxPoint temp4 ;
16004 wxSize temp5 ;
16005 bool temp7 = false ;
16006 PyObject * obj0 = 0 ;
16007 PyObject * obj1 = 0 ;
16008 PyObject * obj2 = 0 ;
16009 PyObject * obj3 = 0 ;
16010 PyObject * obj4 = 0 ;
16011 PyObject * obj5 = 0 ;
16012 PyObject * obj6 = 0 ;
16013 char *kwnames[] = {
16014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16015 };
16016
16017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16022 arg3 = (int)SWIG_As_int(obj2);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 if (obj3) {
16025 {
16026 arg4 = &temp4;
16027 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16028 }
16029 }
16030 if (obj4) {
16031 {
16032 arg5 = &temp5;
16033 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16034 }
16035 }
16036 if (obj5) {
16037 arg6 = (long)SWIG_As_long(obj5);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 if (obj6) {
16041 {
16042 arg7 = wxString_in_helper(obj6);
16043 if (arg7 == NULL) SWIG_fail;
16044 temp7 = true;
16045 }
16046 }
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 {
16055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16056 }
16057 {
16058 if (temp7)
16059 delete arg7;
16060 }
16061 return resultobj;
16062 fail:
16063 {
16064 if (temp7)
16065 delete arg7;
16066 }
16067 return NULL;
16068 }
16069
16070
16071 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16074 bool result;
16075 PyObject * obj0 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
16081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 {
16091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16092 }
16093 return resultobj;
16094 fail:
16095 return NULL;
16096 }
16097
16098
16099 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16100 PyObject *resultobj;
16101 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16102 bool result;
16103 PyObject * obj0 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
16109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = (bool)(arg1)->DeleteAllPages();
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 {
16119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16120 }
16121 return resultobj;
16122 fail:
16123 return NULL;
16124 }
16125
16126
16127 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
16128 PyObject *obj;
16129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16130 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
16131 Py_INCREF(obj);
16132 return Py_BuildValue((char *)"");
16133 }
16134 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16135 PyObject *resultobj;
16136 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16137 int arg2 = (int) 0 ;
16138 int arg3 = (int) -1 ;
16139 int arg4 = (int) -1 ;
16140 wxChoicebookEvent *result;
16141 PyObject * obj0 = 0 ;
16142 PyObject * obj1 = 0 ;
16143 PyObject * obj2 = 0 ;
16144 PyObject * obj3 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16150 if (obj0) {
16151 arg1 = (wxEventType)SWIG_As_int(obj0);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 if (obj1) {
16155 arg2 = (int)SWIG_As_int(obj1);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 if (obj2) {
16159 arg3 = (int)SWIG_As_int(obj2);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 if (obj3) {
16163 arg4 = (int)SWIG_As_int(obj3);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
16169
16170 wxPyEndAllowThreads(__tstate);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
16174 return resultobj;
16175 fail:
16176 return NULL;
16177 }
16178
16179
16180 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
16181 PyObject *obj;
16182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16183 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
16184 Py_INCREF(obj);
16185 return Py_BuildValue((char *)"");
16186 }
16187 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16190 wxBookCtrlSizer *result;
16191 PyObject * obj0 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "nb", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlBase,
16198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
16207 return resultobj;
16208 fail:
16209 return NULL;
16210 }
16211
16212
16213 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
16214 PyObject *resultobj;
16215 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16216 PyObject * obj0 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 (arg1)->RecalcSizes();
16227
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
16231 Py_INCREF(Py_None); resultobj = Py_None;
16232 return resultobj;
16233 fail:
16234 return NULL;
16235 }
16236
16237
16238 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16241 wxSize result;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
16248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = (arg1)->CalcMin();
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 wxSize * resultptr;
16259 resultptr = new wxSize((wxSize &) result);
16260 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16261 }
16262 return resultobj;
16263 fail:
16264 return NULL;
16265 }
16266
16267
16268 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16271 wxBookCtrlBase *result;
16272 PyObject * obj0 = 0 ;
16273 char *kwnames[] = {
16274 (char *) "self", NULL
16275 };
16276
16277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
16278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16280 {
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 result = (wxBookCtrlBase *)(arg1)->GetControl();
16283
16284 wxPyEndAllowThreads(__tstate);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 }
16287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
16288 return resultobj;
16289 fail:
16290 return NULL;
16291 }
16292
16293
16294 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
16295 PyObject *obj;
16296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16297 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
16298 Py_INCREF(obj);
16299 return Py_BuildValue((char *)"");
16300 }
16301 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj;
16303 wxNotebook *arg1 = (wxNotebook *) 0 ;
16304 wxNotebookSizer *result;
16305 PyObject * obj0 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "nb", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
16311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
16312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
16321 return resultobj;
16322 fail:
16323 return NULL;
16324 }
16325
16326
16327 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16330 PyObject * obj0 = 0 ;
16331 char *kwnames[] = {
16332 (char *) "self", NULL
16333 };
16334
16335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 (arg1)->RecalcSizes();
16341
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 Py_INCREF(Py_None); resultobj = Py_None;
16346 return resultobj;
16347 fail:
16348 return NULL;
16349 }
16350
16351
16352 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
16353 PyObject *resultobj;
16354 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16355 wxSize result;
16356 PyObject * obj0 = 0 ;
16357 char *kwnames[] = {
16358 (char *) "self", NULL
16359 };
16360
16361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
16362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
16366 result = (arg1)->CalcMin();
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 {
16372 wxSize * resultptr;
16373 resultptr = new wxSize((wxSize &) result);
16374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16375 }
16376 return resultobj;
16377 fail:
16378 return NULL;
16379 }
16380
16381
16382 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
16383 PyObject *resultobj;
16384 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16385 wxNotebook *result;
16386 PyObject * obj0 = 0 ;
16387 char *kwnames[] = {
16388 (char *) "self", NULL
16389 };
16390
16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
16392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 result = (wxNotebook *)(arg1)->GetNotebook();
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 {
16402 resultobj = wxPyMake_wxObject(result, 0);
16403 }
16404 return resultobj;
16405 fail:
16406 return NULL;
16407 }
16408
16409
16410 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
16411 PyObject *obj;
16412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16413 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
16414 Py_INCREF(obj);
16415 return Py_BuildValue((char *)"");
16416 }
16417 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
16418 PyObject *resultobj;
16419 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16420 int result;
16421 PyObject * obj0 = 0 ;
16422 char *kwnames[] = {
16423 (char *) "self", NULL
16424 };
16425
16426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
16427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 result = (int)(arg1)->GetId();
16432
16433 wxPyEndAllowThreads(__tstate);
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
16436 resultobj = SWIG_From_int((int)result);
16437 return resultobj;
16438 fail:
16439 return NULL;
16440 }
16441
16442
16443 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj;
16445 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16446 wxControl *result;
16447 PyObject * obj0 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self", NULL
16450 };
16451
16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
16453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16455 {
16456 PyThreadState* __tstate = wxPyBeginAllowThreads();
16457 result = (wxControl *)(arg1)->GetControl();
16458
16459 wxPyEndAllowThreads(__tstate);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 }
16462 {
16463 resultobj = wxPyMake_wxObject(result, 0);
16464 }
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16474 wxToolBarBase *result;
16475 PyObject * obj0 = 0 ;
16476 char *kwnames[] = {
16477 (char *) "self", NULL
16478 };
16479
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
16481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = (wxToolBarBase *)(arg1)->GetToolBar();
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 {
16491 resultobj = wxPyMake_wxObject(result, 0);
16492 }
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16502 int result;
16503 PyObject * obj0 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
16509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 result = (int)(arg1)->IsButton();
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 resultobj = SWIG_From_int((int)result);
16519 return resultobj;
16520 fail:
16521 return NULL;
16522 }
16523
16524
16525 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16528 int result;
16529 PyObject * obj0 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (int)(arg1)->IsControl();
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 resultobj = SWIG_From_int((int)result);
16545 return resultobj;
16546 fail:
16547 return NULL;
16548 }
16549
16550
16551 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16552 PyObject *resultobj;
16553 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16554 int result;
16555 PyObject * obj0 = 0 ;
16556 char *kwnames[] = {
16557 (char *) "self", NULL
16558 };
16559
16560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16563 {
16564 PyThreadState* __tstate = wxPyBeginAllowThreads();
16565 result = (int)(arg1)->IsSeparator();
16566
16567 wxPyEndAllowThreads(__tstate);
16568 if (PyErr_Occurred()) SWIG_fail;
16569 }
16570 resultobj = SWIG_From_int((int)result);
16571 return resultobj;
16572 fail:
16573 return NULL;
16574 }
16575
16576
16577 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16578 PyObject *resultobj;
16579 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16580 int result;
16581 PyObject * obj0 = 0 ;
16582 char *kwnames[] = {
16583 (char *) "self", NULL
16584 };
16585
16586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 result = (int)(arg1)->GetStyle();
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 resultobj = SWIG_From_int((int)result);
16597 return resultobj;
16598 fail:
16599 return NULL;
16600 }
16601
16602
16603 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16606 int result;
16607 PyObject * obj0 = 0 ;
16608 char *kwnames[] = {
16609 (char *) "self", NULL
16610 };
16611
16612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 result = (int)(arg1)->GetKind();
16618
16619 wxPyEndAllowThreads(__tstate);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 }
16622 resultobj = SWIG_From_int((int)result);
16623 return resultobj;
16624 fail:
16625 return NULL;
16626 }
16627
16628
16629 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
16630 PyObject *resultobj;
16631 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16632 bool result;
16633 PyObject * obj0 = 0 ;
16634 char *kwnames[] = {
16635 (char *) "self", NULL
16636 };
16637
16638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 result = (bool)(arg1)->IsEnabled();
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 {
16649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16650 }
16651 return resultobj;
16652 fail:
16653 return NULL;
16654 }
16655
16656
16657 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16660 bool result;
16661 PyObject * obj0 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 result = (bool)(arg1)->IsToggled();
16672
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 {
16677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16678 }
16679 return resultobj;
16680 fail:
16681 return NULL;
16682 }
16683
16684
16685 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj;
16687 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16688 bool result;
16689 PyObject * obj0 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16697 {
16698 PyThreadState* __tstate = wxPyBeginAllowThreads();
16699 result = (bool)(arg1)->CanBeToggled();
16700
16701 wxPyEndAllowThreads(__tstate);
16702 if (PyErr_Occurred()) SWIG_fail;
16703 }
16704 {
16705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16706 }
16707 return resultobj;
16708 fail:
16709 return NULL;
16710 }
16711
16712
16713 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16716 wxBitmap *result;
16717 PyObject * obj0 = 0 ;
16718 char *kwnames[] = {
16719 (char *) "self", NULL
16720 };
16721
16722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16725 {
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 {
16728 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16729 result = (wxBitmap *) &_result_ref;
16730 }
16731
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
16735 {
16736 wxBitmap* resultptr = new wxBitmap(*result);
16737 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16738 }
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16748 wxBitmap *result;
16749 PyObject * obj0 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "self", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 {
16760 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16761 result = (wxBitmap *) &_result_ref;
16762 }
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 {
16768 wxBitmap* resultptr = new wxBitmap(*result);
16769 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16770 }
16771 return resultobj;
16772 fail:
16773 return NULL;
16774 }
16775
16776
16777 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj;
16779 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16780 wxBitmap result;
16781 PyObject * obj0 = 0 ;
16782 char *kwnames[] = {
16783 (char *) "self", NULL
16784 };
16785
16786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (arg1)->GetBitmap();
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 {
16797 wxBitmap * resultptr;
16798 resultptr = new wxBitmap((wxBitmap &) result);
16799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16800 }
16801 return resultobj;
16802 fail:
16803 return NULL;
16804 }
16805
16806
16807 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj;
16809 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16810 wxString result;
16811 PyObject * obj0 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (arg1)->GetLabel();
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 {
16827 #if wxUSE_UNICODE
16828 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16829 #else
16830 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16831 #endif
16832 }
16833 return resultobj;
16834 fail:
16835 return NULL;
16836 }
16837
16838
16839 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16840 PyObject *resultobj;
16841 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16842 wxString result;
16843 PyObject * obj0 = 0 ;
16844 char *kwnames[] = {
16845 (char *) "self", NULL
16846 };
16847
16848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 result = (arg1)->GetShortHelp();
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 {
16859 #if wxUSE_UNICODE
16860 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16861 #else
16862 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16863 #endif
16864 }
16865 return resultobj;
16866 fail:
16867 return NULL;
16868 }
16869
16870
16871 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16872 PyObject *resultobj;
16873 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16874 wxString result;
16875 PyObject * obj0 = 0 ;
16876 char *kwnames[] = {
16877 (char *) "self", NULL
16878 };
16879
16880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 result = (arg1)->GetLongHelp();
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 {
16891 #if wxUSE_UNICODE
16892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16893 #else
16894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16895 #endif
16896 }
16897 return resultobj;
16898 fail:
16899 return NULL;
16900 }
16901
16902
16903 static PyObject *_wrap_ToolBarToolBase_Enable(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 *) "enable", NULL
16912 };
16913
16914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",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)->Enable(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_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16938 PyObject * obj0 = 0 ;
16939 char *kwnames[] = {
16940 (char *) "self", NULL
16941 };
16942
16943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16946 {
16947 PyThreadState* __tstate = wxPyBeginAllowThreads();
16948 (arg1)->Toggle();
16949
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 Py_INCREF(Py_None); resultobj = Py_None;
16954 return resultobj;
16955 fail:
16956 return NULL;
16957 }
16958
16959
16960 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj;
16962 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16963 bool arg2 ;
16964 bool result;
16965 PyObject * obj0 = 0 ;
16966 PyObject * obj1 = 0 ;
16967 char *kwnames[] = {
16968 (char *) "self",(char *) "toggle", NULL
16969 };
16970
16971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16974 arg2 = (bool)SWIG_As_bool(obj1);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 {
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 result = (bool)(arg1)->SetToggle(arg2);
16979
16980 wxPyEndAllowThreads(__tstate);
16981 if (PyErr_Occurred()) SWIG_fail;
16982 }
16983 {
16984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16985 }
16986 return resultobj;
16987 fail:
16988 return NULL;
16989 }
16990
16991
16992 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16995 wxString *arg2 = 0 ;
16996 bool result;
16997 bool temp2 = false ;
16998 PyObject * obj0 = 0 ;
16999 PyObject * obj1 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self",(char *) "help", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
17005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17007 {
17008 arg2 = wxString_in_helper(obj1);
17009 if (arg2 == NULL) SWIG_fail;
17010 temp2 = true;
17011 }
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
17015
17016 wxPyEndAllowThreads(__tstate);
17017 if (PyErr_Occurred()) SWIG_fail;
17018 }
17019 {
17020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17021 }
17022 {
17023 if (temp2)
17024 delete arg2;
17025 }
17026 return resultobj;
17027 fail:
17028 {
17029 if (temp2)
17030 delete arg2;
17031 }
17032 return NULL;
17033 }
17034
17035
17036 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
17037 PyObject *resultobj;
17038 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17039 wxString *arg2 = 0 ;
17040 bool result;
17041 bool temp2 = false ;
17042 PyObject * obj0 = 0 ;
17043 PyObject * obj1 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self",(char *) "help", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
17049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17051 {
17052 arg2 = wxString_in_helper(obj1);
17053 if (arg2 == NULL) SWIG_fail;
17054 temp2 = true;
17055 }
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
17059
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 {
17064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17065 }
17066 {
17067 if (temp2)
17068 delete arg2;
17069 }
17070 return resultobj;
17071 fail:
17072 {
17073 if (temp2)
17074 delete arg2;
17075 }
17076 return NULL;
17077 }
17078
17079
17080 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
17081 PyObject *resultobj;
17082 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17083 wxBitmap *arg2 = 0 ;
17084 PyObject * obj0 = 0 ;
17085 PyObject * obj1 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self",(char *) "bmp", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
17091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17094 SWIG_POINTER_EXCEPTION | 0)) == -1)
17095 SWIG_fail;
17096 if (arg2 == NULL) {
17097 PyErr_SetString(PyExc_TypeError,"null reference");
17098 SWIG_fail;
17099 }
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
17103
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 Py_INCREF(Py_None); resultobj = Py_None;
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17117 wxBitmap *arg2 = 0 ;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 char *kwnames[] = {
17121 (char *) "self",(char *) "bmp", NULL
17122 };
17123
17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
17125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17128 SWIG_POINTER_EXCEPTION | 0)) == -1)
17129 SWIG_fail;
17130 if (arg2 == NULL) {
17131 PyErr_SetString(PyExc_TypeError,"null reference");
17132 SWIG_fail;
17133 }
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 Py_INCREF(Py_None); resultobj = Py_None;
17142 return resultobj;
17143 fail:
17144 return NULL;
17145 }
17146
17147
17148 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
17149 PyObject *resultobj;
17150 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17151 wxString *arg2 = 0 ;
17152 bool temp2 = false ;
17153 PyObject * obj0 = 0 ;
17154 PyObject * obj1 = 0 ;
17155 char *kwnames[] = {
17156 (char *) "self",(char *) "label", NULL
17157 };
17158
17159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
17160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17162 {
17163 arg2 = wxString_in_helper(obj1);
17164 if (arg2 == NULL) SWIG_fail;
17165 temp2 = true;
17166 }
17167 {
17168 PyThreadState* __tstate = wxPyBeginAllowThreads();
17169 (arg1)->SetLabel((wxString const &)*arg2);
17170
17171 wxPyEndAllowThreads(__tstate);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 Py_INCREF(Py_None); resultobj = Py_None;
17175 {
17176 if (temp2)
17177 delete arg2;
17178 }
17179 return resultobj;
17180 fail:
17181 {
17182 if (temp2)
17183 delete arg2;
17184 }
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17192 PyObject * obj0 = 0 ;
17193 char *kwnames[] = {
17194 (char *) "self", NULL
17195 };
17196
17197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
17198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 (arg1)->Detach();
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 Py_INCREF(Py_None); resultobj = Py_None;
17208 return resultobj;
17209 fail:
17210 return NULL;
17211 }
17212
17213
17214 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
17215 PyObject *resultobj;
17216 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17217 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self",(char *) "tbar", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
17225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
17228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 (arg1)->Attach(arg2);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 Py_INCREF(Py_None); resultobj = Py_None;
17237 return resultobj;
17238 fail:
17239 return NULL;
17240 }
17241
17242
17243 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17246 PyObject *result;
17247 PyObject * obj0 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "self", NULL
17250 };
17251
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
17253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17255 {
17256 PyThreadState* __tstate = wxPyBeginAllowThreads();
17257 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
17258
17259 wxPyEndAllowThreads(__tstate);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 resultobj = result;
17263 return resultobj;
17264 fail:
17265 return NULL;
17266 }
17267
17268
17269 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17270 PyObject *resultobj;
17271 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17272 PyObject *arg2 = (PyObject *) 0 ;
17273 PyObject * obj0 = 0 ;
17274 PyObject * obj1 = 0 ;
17275 char *kwnames[] = {
17276 (char *) "self",(char *) "clientData", NULL
17277 };
17278
17279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
17280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17282 arg2 = obj1;
17283 {
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
17285 wxToolBarToolBase_SetClientData(arg1,arg2);
17286
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 Py_INCREF(Py_None); resultobj = Py_None;
17291 return resultobj;
17292 fail:
17293 return NULL;
17294 }
17295
17296
17297 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
17298 PyObject *obj;
17299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17300 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
17301 Py_INCREF(obj);
17302 return Py_BuildValue((char *)"");
17303 }
17304 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17307 int arg2 ;
17308 wxString *arg3 = 0 ;
17309 wxBitmap *arg4 = 0 ;
17310 wxBitmap const &arg5_defvalue = wxNullBitmap ;
17311 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
17312 int arg6 = (int) wxITEM_NORMAL ;
17313 wxString const &arg7_defvalue = wxPyEmptyString ;
17314 wxString *arg7 = (wxString *) &arg7_defvalue ;
17315 wxString const &arg8_defvalue = wxPyEmptyString ;
17316 wxString *arg8 = (wxString *) &arg8_defvalue ;
17317 PyObject *arg9 = (PyObject *) NULL ;
17318 wxToolBarToolBase *result;
17319 bool temp3 = false ;
17320 bool temp7 = false ;
17321 bool temp8 = false ;
17322 PyObject * obj0 = 0 ;
17323 PyObject * obj1 = 0 ;
17324 PyObject * obj2 = 0 ;
17325 PyObject * obj3 = 0 ;
17326 PyObject * obj4 = 0 ;
17327 PyObject * obj5 = 0 ;
17328 PyObject * obj6 = 0 ;
17329 PyObject * obj7 = 0 ;
17330 PyObject * obj8 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
17336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17338 arg2 = (int)SWIG_As_int(obj1);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 {
17341 arg3 = wxString_in_helper(obj2);
17342 if (arg3 == NULL) SWIG_fail;
17343 temp3 = true;
17344 }
17345 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
17346 SWIG_POINTER_EXCEPTION | 0)) == -1)
17347 SWIG_fail;
17348 if (arg4 == NULL) {
17349 PyErr_SetString(PyExc_TypeError,"null reference");
17350 SWIG_fail;
17351 }
17352 if (obj4) {
17353 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17354 SWIG_POINTER_EXCEPTION | 0)) == -1)
17355 SWIG_fail;
17356 if (arg5 == NULL) {
17357 PyErr_SetString(PyExc_TypeError,"null reference");
17358 SWIG_fail;
17359 }
17360 }
17361 if (obj5) {
17362 arg6 = (int)SWIG_As_int(obj5);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 }
17365 if (obj6) {
17366 {
17367 arg7 = wxString_in_helper(obj6);
17368 if (arg7 == NULL) SWIG_fail;
17369 temp7 = true;
17370 }
17371 }
17372 if (obj7) {
17373 {
17374 arg8 = wxString_in_helper(obj7);
17375 if (arg8 == NULL) SWIG_fail;
17376 temp8 = true;
17377 }
17378 }
17379 if (obj8) {
17380 arg9 = obj8;
17381 }
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
17385
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 {
17390 resultobj = wxPyMake_wxObject(result, 0);
17391 }
17392 {
17393 if (temp3)
17394 delete arg3;
17395 }
17396 {
17397 if (temp7)
17398 delete arg7;
17399 }
17400 {
17401 if (temp8)
17402 delete arg8;
17403 }
17404 return resultobj;
17405 fail:
17406 {
17407 if (temp3)
17408 delete arg3;
17409 }
17410 {
17411 if (temp7)
17412 delete arg7;
17413 }
17414 {
17415 if (temp8)
17416 delete arg8;
17417 }
17418 return NULL;
17419 }
17420
17421
17422 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj;
17424 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17425 size_t arg2 ;
17426 int arg3 ;
17427 wxString *arg4 = 0 ;
17428 wxBitmap *arg5 = 0 ;
17429 wxBitmap const &arg6_defvalue = wxNullBitmap ;
17430 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
17431 int arg7 = (int) wxITEM_NORMAL ;
17432 wxString const &arg8_defvalue = wxPyEmptyString ;
17433 wxString *arg8 = (wxString *) &arg8_defvalue ;
17434 wxString const &arg9_defvalue = wxPyEmptyString ;
17435 wxString *arg9 = (wxString *) &arg9_defvalue ;
17436 PyObject *arg10 = (PyObject *) NULL ;
17437 wxToolBarToolBase *result;
17438 bool temp4 = false ;
17439 bool temp8 = false ;
17440 bool temp9 = false ;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 PyObject * obj2 = 0 ;
17444 PyObject * obj3 = 0 ;
17445 PyObject * obj4 = 0 ;
17446 PyObject * obj5 = 0 ;
17447 PyObject * obj6 = 0 ;
17448 PyObject * obj7 = 0 ;
17449 PyObject * obj8 = 0 ;
17450 PyObject * obj9 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
17456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17458 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 arg3 = (int)SWIG_As_int(obj2);
17461 if (PyErr_Occurred()) SWIG_fail;
17462 {
17463 arg4 = wxString_in_helper(obj3);
17464 if (arg4 == NULL) SWIG_fail;
17465 temp4 = true;
17466 }
17467 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17468 SWIG_POINTER_EXCEPTION | 0)) == -1)
17469 SWIG_fail;
17470 if (arg5 == NULL) {
17471 PyErr_SetString(PyExc_TypeError,"null reference");
17472 SWIG_fail;
17473 }
17474 if (obj5) {
17475 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17476 SWIG_POINTER_EXCEPTION | 0)) == -1)
17477 SWIG_fail;
17478 if (arg6 == NULL) {
17479 PyErr_SetString(PyExc_TypeError,"null reference");
17480 SWIG_fail;
17481 }
17482 }
17483 if (obj6) {
17484 arg7 = (int)SWIG_As_int(obj6);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 if (obj7) {
17488 {
17489 arg8 = wxString_in_helper(obj7);
17490 if (arg8 == NULL) SWIG_fail;
17491 temp8 = true;
17492 }
17493 }
17494 if (obj8) {
17495 {
17496 arg9 = wxString_in_helper(obj8);
17497 if (arg9 == NULL) SWIG_fail;
17498 temp9 = true;
17499 }
17500 }
17501 if (obj9) {
17502 arg10 = obj9;
17503 }
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 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);
17507
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 {
17512 resultobj = wxPyMake_wxObject(result, 0);
17513 }
17514 {
17515 if (temp4)
17516 delete arg4;
17517 }
17518 {
17519 if (temp8)
17520 delete arg8;
17521 }
17522 {
17523 if (temp9)
17524 delete arg9;
17525 }
17526 return resultobj;
17527 fail:
17528 {
17529 if (temp4)
17530 delete arg4;
17531 }
17532 {
17533 if (temp8)
17534 delete arg8;
17535 }
17536 {
17537 if (temp9)
17538 delete arg9;
17539 }
17540 return NULL;
17541 }
17542
17543
17544 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
17545 PyObject *resultobj;
17546 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17547 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17548 wxToolBarToolBase *result;
17549 PyObject * obj0 = 0 ;
17550 PyObject * obj1 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "self",(char *) "tool", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 {
17568 resultobj = wxPyMake_wxObject(result, 0);
17569 }
17570 return resultobj;
17571 fail:
17572 return NULL;
17573 }
17574
17575
17576 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj;
17578 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17579 size_t arg2 ;
17580 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17581 wxToolBarToolBase *result;
17582 PyObject * obj0 = 0 ;
17583 PyObject * obj1 = 0 ;
17584 PyObject * obj2 = 0 ;
17585 char *kwnames[] = {
17586 (char *) "self",(char *) "pos",(char *) "tool", NULL
17587 };
17588
17589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17592 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 {
17604 resultobj = wxPyMake_wxObject(result, 0);
17605 }
17606 return resultobj;
17607 fail:
17608 return NULL;
17609 }
17610
17611
17612 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17615 wxControl *arg2 = (wxControl *) 0 ;
17616 wxToolBarToolBase *result;
17617 PyObject * obj0 = 0 ;
17618 PyObject * obj1 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "self",(char *) "control", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17631
17632 wxPyEndAllowThreads(__tstate);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 {
17636 resultobj = wxPyMake_wxObject(result, 0);
17637 }
17638 return resultobj;
17639 fail:
17640 return NULL;
17641 }
17642
17643
17644 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17647 size_t arg2 ;
17648 wxControl *arg3 = (wxControl *) 0 ;
17649 wxToolBarToolBase *result;
17650 PyObject * obj0 = 0 ;
17651 PyObject * obj1 = 0 ;
17652 PyObject * obj2 = 0 ;
17653 char *kwnames[] = {
17654 (char *) "self",(char *) "pos",(char *) "control", NULL
17655 };
17656
17657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17660 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 {
17672 resultobj = wxPyMake_wxObject(result, 0);
17673 }
17674 return resultobj;
17675 fail:
17676 return NULL;
17677 }
17678
17679
17680 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj;
17682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17683 int arg2 ;
17684 wxControl *result;
17685 PyObject * obj0 = 0 ;
17686 PyObject * obj1 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self",(char *) "id", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17694 arg2 = (int)SWIG_As_int(obj1);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 result = (wxControl *)(arg1)->FindControl(arg2);
17699
17700 wxPyEndAllowThreads(__tstate);
17701 if (PyErr_Occurred()) SWIG_fail;
17702 }
17703 {
17704 resultobj = wxPyMake_wxObject(result, 0);
17705 }
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17715 wxToolBarToolBase *result;
17716 PyObject * obj0 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 resultobj = wxPyMake_wxObject(result, 0);
17733 }
17734 return resultobj;
17735 fail:
17736 return NULL;
17737 }
17738
17739
17740 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
17741 PyObject *resultobj;
17742 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17743 size_t arg2 ;
17744 wxToolBarToolBase *result;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "pos", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17754 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 {
17757 PyThreadState* __tstate = wxPyBeginAllowThreads();
17758 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17759
17760 wxPyEndAllowThreads(__tstate);
17761 if (PyErr_Occurred()) SWIG_fail;
17762 }
17763 {
17764 resultobj = wxPyMake_wxObject(result, 0);
17765 }
17766 return resultobj;
17767 fail:
17768 return NULL;
17769 }
17770
17771
17772 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj;
17774 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17775 int arg2 ;
17776 wxToolBarToolBase *result;
17777 PyObject * obj0 = 0 ;
17778 PyObject * obj1 = 0 ;
17779 char *kwnames[] = {
17780 (char *) "self",(char *) "id", NULL
17781 };
17782
17783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17786 arg2 = (int)SWIG_As_int(obj1);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 {
17796 resultobj = wxPyMake_wxObject(result, 0);
17797 }
17798 return resultobj;
17799 fail:
17800 return NULL;
17801 }
17802
17803
17804 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
17805 PyObject *resultobj;
17806 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17807 size_t arg2 ;
17808 bool result;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "self",(char *) "pos", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17818 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 result = (bool)(arg1)->DeleteToolByPos(arg2);
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 {
17828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17829 }
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17839 int arg2 ;
17840 bool result;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self",(char *) "id", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17850 arg2 = (int)SWIG_As_int(obj1);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 {
17853 PyThreadState* __tstate = wxPyBeginAllowThreads();
17854 result = (bool)(arg1)->DeleteTool(arg2);
17855
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 {
17860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17861 }
17862 return resultobj;
17863 fail:
17864 return NULL;
17865 }
17866
17867
17868 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj;
17870 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17871 PyObject * obj0 = 0 ;
17872 char *kwnames[] = {
17873 (char *) "self", NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17879 {
17880 PyThreadState* __tstate = wxPyBeginAllowThreads();
17881 (arg1)->ClearTools();
17882
17883 wxPyEndAllowThreads(__tstate);
17884 if (PyErr_Occurred()) SWIG_fail;
17885 }
17886 Py_INCREF(Py_None); resultobj = Py_None;
17887 return resultobj;
17888 fail:
17889 return NULL;
17890 }
17891
17892
17893 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
17894 PyObject *resultobj;
17895 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17896 bool result;
17897 PyObject * obj0 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "self", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17905 {
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 result = (bool)(arg1)->Realize();
17908
17909 wxPyEndAllowThreads(__tstate);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 }
17912 {
17913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17914 }
17915 return resultobj;
17916 fail:
17917 return NULL;
17918 }
17919
17920
17921 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17924 int arg2 ;
17925 bool arg3 ;
17926 PyObject * obj0 = 0 ;
17927 PyObject * obj1 = 0 ;
17928 PyObject * obj2 = 0 ;
17929 char *kwnames[] = {
17930 (char *) "self",(char *) "id",(char *) "enable", NULL
17931 };
17932
17933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17936 arg2 = (int)SWIG_As_int(obj1);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 arg3 = (bool)SWIG_As_bool(obj2);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 {
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 (arg1)->EnableTool(arg2,arg3);
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 Py_INCREF(Py_None); resultobj = Py_None;
17948 return resultobj;
17949 fail:
17950 return NULL;
17951 }
17952
17953
17954 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
17955 PyObject *resultobj;
17956 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17957 int arg2 ;
17958 bool arg3 ;
17959 PyObject * obj0 = 0 ;
17960 PyObject * obj1 = 0 ;
17961 PyObject * obj2 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "self",(char *) "id",(char *) "toggle", NULL
17964 };
17965
17966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17969 arg2 = (int)SWIG_As_int(obj1);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 arg3 = (bool)SWIG_As_bool(obj2);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 (arg1)->ToggleTool(arg2,arg3);
17976
17977 wxPyEndAllowThreads(__tstate);
17978 if (PyErr_Occurred()) SWIG_fail;
17979 }
17980 Py_INCREF(Py_None); resultobj = Py_None;
17981 return resultobj;
17982 fail:
17983 return NULL;
17984 }
17985
17986
17987 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
17988 PyObject *resultobj;
17989 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17990 int arg2 ;
17991 bool arg3 ;
17992 PyObject * obj0 = 0 ;
17993 PyObject * obj1 = 0 ;
17994 PyObject * obj2 = 0 ;
17995 char *kwnames[] = {
17996 (char *) "self",(char *) "id",(char *) "toggle", NULL
17997 };
17998
17999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
18000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18002 arg2 = (int)SWIG_As_int(obj1);
18003 if (PyErr_Occurred()) SWIG_fail;
18004 arg3 = (bool)SWIG_As_bool(obj2);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 (arg1)->SetToggle(arg2,arg3);
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 Py_INCREF(Py_None); resultobj = Py_None;
18014 return resultobj;
18015 fail:
18016 return NULL;
18017 }
18018
18019
18020 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
18021 PyObject *resultobj;
18022 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18023 int arg2 ;
18024 PyObject *result;
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj1 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self",(char *) "id", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18034 arg2 = (int)SWIG_As_int(obj1);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 resultobj = result;
18044 return resultobj;
18045 fail:
18046 return NULL;
18047 }
18048
18049
18050 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
18051 PyObject *resultobj;
18052 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18053 int arg2 ;
18054 PyObject *arg3 = (PyObject *) 0 ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 PyObject * obj2 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "self",(char *) "id",(char *) "clientData", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
18063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18065 arg2 = (int)SWIG_As_int(obj1);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 arg3 = obj2;
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
18071
18072 wxPyEndAllowThreads(__tstate);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
18075 Py_INCREF(Py_None); resultobj = Py_None;
18076 return resultobj;
18077 fail:
18078 return NULL;
18079 }
18080
18081
18082 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
18083 PyObject *resultobj;
18084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18085 int arg2 ;
18086 int result;
18087 PyObject * obj0 = 0 ;
18088 PyObject * obj1 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "self",(char *) "id", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
18094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18096 arg2 = (int)SWIG_As_int(obj1);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 resultobj = SWIG_From_int((int)result);
18106 return resultobj;
18107 fail:
18108 return NULL;
18109 }
18110
18111
18112 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18115 int arg2 ;
18116 bool result;
18117 PyObject * obj0 = 0 ;
18118 PyObject * obj1 = 0 ;
18119 char *kwnames[] = {
18120 (char *) "self",(char *) "id", NULL
18121 };
18122
18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
18124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18126 arg2 = (int)SWIG_As_int(obj1);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
18130 result = (bool)(arg1)->GetToolState(arg2);
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 {
18136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18137 }
18138 return resultobj;
18139 fail:
18140 return NULL;
18141 }
18142
18143
18144 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18145 PyObject *resultobj;
18146 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18147 int arg2 ;
18148 bool result;
18149 PyObject * obj0 = 0 ;
18150 PyObject * obj1 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self",(char *) "id", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
18156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18158 arg2 = (int)SWIG_As_int(obj1);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 result = (bool)(arg1)->GetToolEnabled(arg2);
18163
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
18167 {
18168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18169 }
18170 return resultobj;
18171 fail:
18172 return NULL;
18173 }
18174
18175
18176 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18177 PyObject *resultobj;
18178 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18179 int arg2 ;
18180 wxString *arg3 = 0 ;
18181 bool temp3 = false ;
18182 PyObject * obj0 = 0 ;
18183 PyObject * obj1 = 0 ;
18184 PyObject * obj2 = 0 ;
18185 char *kwnames[] = {
18186 (char *) "self",(char *) "id",(char *) "helpString", NULL
18187 };
18188
18189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18192 arg2 = (int)SWIG_As_int(obj1);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 {
18195 arg3 = wxString_in_helper(obj2);
18196 if (arg3 == NULL) SWIG_fail;
18197 temp3 = true;
18198 }
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 Py_INCREF(Py_None); resultobj = Py_None;
18207 {
18208 if (temp3)
18209 delete arg3;
18210 }
18211 return resultobj;
18212 fail:
18213 {
18214 if (temp3)
18215 delete arg3;
18216 }
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18224 int arg2 ;
18225 wxString result;
18226 PyObject * obj0 = 0 ;
18227 PyObject * obj1 = 0 ;
18228 char *kwnames[] = {
18229 (char *) "self",(char *) "id", NULL
18230 };
18231
18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
18233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18235 arg2 = (int)SWIG_As_int(obj1);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 {
18238 PyThreadState* __tstate = wxPyBeginAllowThreads();
18239 result = (arg1)->GetToolShortHelp(arg2);
18240
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 {
18245 #if wxUSE_UNICODE
18246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18247 #else
18248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18249 #endif
18250 }
18251 return resultobj;
18252 fail:
18253 return NULL;
18254 }
18255
18256
18257 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18258 PyObject *resultobj;
18259 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18260 int arg2 ;
18261 wxString *arg3 = 0 ;
18262 bool temp3 = false ;
18263 PyObject * obj0 = 0 ;
18264 PyObject * obj1 = 0 ;
18265 PyObject * obj2 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self",(char *) "id",(char *) "helpString", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18273 arg2 = (int)SWIG_As_int(obj1);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 {
18276 arg3 = wxString_in_helper(obj2);
18277 if (arg3 == NULL) SWIG_fail;
18278 temp3 = true;
18279 }
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 Py_INCREF(Py_None); resultobj = Py_None;
18288 {
18289 if (temp3)
18290 delete arg3;
18291 }
18292 return resultobj;
18293 fail:
18294 {
18295 if (temp3)
18296 delete arg3;
18297 }
18298 return NULL;
18299 }
18300
18301
18302 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18303 PyObject *resultobj;
18304 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18305 int arg2 ;
18306 wxString result;
18307 PyObject * obj0 = 0 ;
18308 PyObject * obj1 = 0 ;
18309 char *kwnames[] = {
18310 (char *) "self",(char *) "id", NULL
18311 };
18312
18313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
18314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18316 arg2 = (int)SWIG_As_int(obj1);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 result = (arg1)->GetToolLongHelp(arg2);
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 {
18326 #if wxUSE_UNICODE
18327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18328 #else
18329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18330 #endif
18331 }
18332 return resultobj;
18333 fail:
18334 return NULL;
18335 }
18336
18337
18338 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj;
18340 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18341 int arg2 ;
18342 int arg3 ;
18343 PyObject * obj0 = 0 ;
18344 PyObject * obj1 = 0 ;
18345 PyObject * obj2 = 0 ;
18346 char *kwnames[] = {
18347 (char *) "self",(char *) "x",(char *) "y", NULL
18348 };
18349
18350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
18351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18353 arg2 = (int)SWIG_As_int(obj1);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 arg3 = (int)SWIG_As_int(obj2);
18356 if (PyErr_Occurred()) SWIG_fail;
18357 {
18358 PyThreadState* __tstate = wxPyBeginAllowThreads();
18359 (arg1)->SetMargins(arg2,arg3);
18360
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 Py_INCREF(Py_None); resultobj = Py_None;
18365 return resultobj;
18366 fail:
18367 return NULL;
18368 }
18369
18370
18371 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18372 PyObject *resultobj;
18373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18374 wxSize *arg2 = 0 ;
18375 wxSize temp2 ;
18376 PyObject * obj0 = 0 ;
18377 PyObject * obj1 = 0 ;
18378 char *kwnames[] = {
18379 (char *) "self",(char *) "size", NULL
18380 };
18381
18382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
18383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18385 {
18386 arg2 = &temp2;
18387 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18388 }
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 (arg1)->SetMargins((wxSize const &)*arg2);
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 Py_INCREF(Py_None); resultobj = Py_None;
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18406 int arg2 ;
18407 PyObject * obj0 = 0 ;
18408 PyObject * obj1 = 0 ;
18409 char *kwnames[] = {
18410 (char *) "self",(char *) "packing", NULL
18411 };
18412
18413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
18414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18416 arg2 = (int)SWIG_As_int(obj1);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 {
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 (arg1)->SetToolPacking(arg2);
18421
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 Py_INCREF(Py_None); resultobj = Py_None;
18426 return resultobj;
18427 fail:
18428 return NULL;
18429 }
18430
18431
18432 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
18433 PyObject *resultobj;
18434 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18435 int arg2 ;
18436 PyObject * obj0 = 0 ;
18437 PyObject * obj1 = 0 ;
18438 char *kwnames[] = {
18439 (char *) "self",(char *) "separation", NULL
18440 };
18441
18442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
18443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18445 arg2 = (int)SWIG_As_int(obj1);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 {
18448 PyThreadState* __tstate = wxPyBeginAllowThreads();
18449 (arg1)->SetToolSeparation(arg2);
18450
18451 wxPyEndAllowThreads(__tstate);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 Py_INCREF(Py_None); resultobj = Py_None;
18455 return resultobj;
18456 fail:
18457 return NULL;
18458 }
18459
18460
18461 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18462 PyObject *resultobj;
18463 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18464 wxSize result;
18465 PyObject * obj0 = 0 ;
18466 char *kwnames[] = {
18467 (char *) "self", NULL
18468 };
18469
18470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
18471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18473 {
18474 PyThreadState* __tstate = wxPyBeginAllowThreads();
18475 result = (arg1)->GetToolMargins();
18476
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 {
18481 wxSize * resultptr;
18482 resultptr = new wxSize((wxSize &) result);
18483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18484 }
18485 return resultobj;
18486 fail:
18487 return NULL;
18488 }
18489
18490
18491 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18492 PyObject *resultobj;
18493 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18494 wxSize result;
18495 PyObject * obj0 = 0 ;
18496 char *kwnames[] = {
18497 (char *) "self", NULL
18498 };
18499
18500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
18501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 result = (arg1)->GetMargins();
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 {
18511 wxSize * resultptr;
18512 resultptr = new wxSize((wxSize &) result);
18513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18514 }
18515 return resultobj;
18516 fail:
18517 return NULL;
18518 }
18519
18520
18521 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
18522 PyObject *resultobj;
18523 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18524 int result;
18525 PyObject * obj0 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "self", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (int)(arg1)->GetToolPacking();
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 resultobj = SWIG_From_int((int)result);
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18550 int result;
18551 PyObject * obj0 = 0 ;
18552 char *kwnames[] = {
18553 (char *) "self", NULL
18554 };
18555
18556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18559 {
18560 PyThreadState* __tstate = wxPyBeginAllowThreads();
18561 result = (int)(arg1)->GetToolSeparation();
18562
18563 wxPyEndAllowThreads(__tstate);
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
18566 resultobj = SWIG_From_int((int)result);
18567 return resultobj;
18568 fail:
18569 return NULL;
18570 }
18571
18572
18573 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18576 int arg2 ;
18577 PyObject * obj0 = 0 ;
18578 PyObject * obj1 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self",(char *) "nRows", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18586 arg2 = (int)SWIG_As_int(obj1);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 (arg1)->SetRows(arg2);
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 Py_INCREF(Py_None); resultobj = Py_None;
18596 return resultobj;
18597 fail:
18598 return NULL;
18599 }
18600
18601
18602 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18605 int arg2 ;
18606 int arg3 ;
18607 PyObject * obj0 = 0 ;
18608 PyObject * obj1 = 0 ;
18609 PyObject * obj2 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self",(char *) "rows",(char *) "cols", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18617 arg2 = (int)SWIG_As_int(obj1);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 arg3 = (int)SWIG_As_int(obj2);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 {
18622 PyThreadState* __tstate = wxPyBeginAllowThreads();
18623 (arg1)->SetMaxRowsCols(arg2,arg3);
18624
18625 wxPyEndAllowThreads(__tstate);
18626 if (PyErr_Occurred()) SWIG_fail;
18627 }
18628 Py_INCREF(Py_None); resultobj = Py_None;
18629 return resultobj;
18630 fail:
18631 return NULL;
18632 }
18633
18634
18635 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
18636 PyObject *resultobj;
18637 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18638 int result;
18639 PyObject * obj0 = 0 ;
18640 char *kwnames[] = {
18641 (char *) "self", NULL
18642 };
18643
18644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18647 {
18648 PyThreadState* __tstate = wxPyBeginAllowThreads();
18649 result = (int)(arg1)->GetMaxRows();
18650
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 resultobj = SWIG_From_int((int)result);
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18664 int result;
18665 PyObject * obj0 = 0 ;
18666 char *kwnames[] = {
18667 (char *) "self", NULL
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 result = (int)(arg1)->GetMaxCols();
18676
18677 wxPyEndAllowThreads(__tstate);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 }
18680 resultobj = SWIG_From_int((int)result);
18681 return resultobj;
18682 fail:
18683 return NULL;
18684 }
18685
18686
18687 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
18688 PyObject *resultobj;
18689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18690 wxSize *arg2 = 0 ;
18691 wxSize temp2 ;
18692 PyObject * obj0 = 0 ;
18693 PyObject * obj1 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self",(char *) "size", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18701 {
18702 arg2 = &temp2;
18703 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18704 }
18705 {
18706 PyThreadState* __tstate = wxPyBeginAllowThreads();
18707 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18708
18709 wxPyEndAllowThreads(__tstate);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 Py_INCREF(Py_None); resultobj = Py_None;
18713 return resultobj;
18714 fail:
18715 return NULL;
18716 }
18717
18718
18719 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
18720 PyObject *resultobj;
18721 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18722 wxSize result;
18723 PyObject * obj0 = 0 ;
18724 char *kwnames[] = {
18725 (char *) "self", NULL
18726 };
18727
18728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 result = (arg1)->GetToolBitmapSize();
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 {
18739 wxSize * resultptr;
18740 resultptr = new wxSize((wxSize &) result);
18741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18742 }
18743 return resultobj;
18744 fail:
18745 return NULL;
18746 }
18747
18748
18749 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
18750 PyObject *resultobj;
18751 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18752 wxSize result;
18753 PyObject * obj0 = 0 ;
18754 char *kwnames[] = {
18755 (char *) "self", NULL
18756 };
18757
18758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18761 {
18762 PyThreadState* __tstate = wxPyBeginAllowThreads();
18763 result = (arg1)->GetToolSize();
18764
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 {
18769 wxSize * resultptr;
18770 resultptr = new wxSize((wxSize &) result);
18771 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18772 }
18773 return resultobj;
18774 fail:
18775 return NULL;
18776 }
18777
18778
18779 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj;
18781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18782 int arg2 ;
18783 int arg3 ;
18784 wxToolBarToolBase *result;
18785 PyObject * obj0 = 0 ;
18786 PyObject * obj1 = 0 ;
18787 PyObject * obj2 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self",(char *) "x",(char *) "y", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18795 arg2 = (int)SWIG_As_int(obj1);
18796 if (PyErr_Occurred()) SWIG_fail;
18797 arg3 = (int)SWIG_As_int(obj2);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18802
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 {
18807 resultobj = wxPyMake_wxObject(result, 0);
18808 }
18809 return resultobj;
18810 fail:
18811 return NULL;
18812 }
18813
18814
18815 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
18816 PyObject *resultobj;
18817 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18818 int arg2 ;
18819 wxToolBarToolBase *result;
18820 PyObject * obj0 = 0 ;
18821 PyObject * obj1 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self",(char *) "toolid", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18829 arg2 = (int)SWIG_As_int(obj1);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 {
18839 resultobj = wxPyMake_wxObject(result, 0);
18840 }
18841 return resultobj;
18842 fail:
18843 return NULL;
18844 }
18845
18846
18847 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18850 bool result;
18851 PyObject * obj0 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = (bool)(arg1)->IsVertical();
18862
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 {
18867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18868 }
18869 return resultobj;
18870 fail:
18871 return NULL;
18872 }
18873
18874
18875 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
18876 PyObject *obj;
18877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18878 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18879 Py_INCREF(obj);
18880 return Py_BuildValue((char *)"");
18881 }
18882 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxWindow *arg1 = (wxWindow *) 0 ;
18885 int arg2 = (int) -1 ;
18886 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18887 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18888 wxSize const &arg4_defvalue = wxDefaultSize ;
18889 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18890 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18891 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18892 wxString *arg6 = (wxString *) &arg6_defvalue ;
18893 wxToolBar *result;
18894 wxPoint temp3 ;
18895 wxSize temp4 ;
18896 bool temp6 = false ;
18897 PyObject * obj0 = 0 ;
18898 PyObject * obj1 = 0 ;
18899 PyObject * obj2 = 0 ;
18900 PyObject * obj3 = 0 ;
18901 PyObject * obj4 = 0 ;
18902 PyObject * obj5 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18910 if (obj1) {
18911 arg2 = (int)SWIG_As_int(obj1);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 }
18914 if (obj2) {
18915 {
18916 arg3 = &temp3;
18917 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18918 }
18919 }
18920 if (obj3) {
18921 {
18922 arg4 = &temp4;
18923 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18924 }
18925 }
18926 if (obj4) {
18927 arg5 = (long)SWIG_As_long(obj4);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 if (obj5) {
18931 {
18932 arg6 = wxString_in_helper(obj5);
18933 if (arg6 == NULL) SWIG_fail;
18934 temp6 = true;
18935 }
18936 }
18937 {
18938 if (!wxPyCheckForApp()) SWIG_fail;
18939 PyThreadState* __tstate = wxPyBeginAllowThreads();
18940 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18941
18942 wxPyEndAllowThreads(__tstate);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
18946 {
18947 if (temp6)
18948 delete arg6;
18949 }
18950 return resultobj;
18951 fail:
18952 {
18953 if (temp6)
18954 delete arg6;
18955 }
18956 return NULL;
18957 }
18958
18959
18960 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18961 PyObject *resultobj;
18962 wxToolBar *result;
18963 char *kwnames[] = {
18964 NULL
18965 };
18966
18967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18968 {
18969 if (!wxPyCheckForApp()) SWIG_fail;
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 result = (wxToolBar *)new wxToolBar();
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
18977 return resultobj;
18978 fail:
18979 return NULL;
18980 }
18981
18982
18983 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj;
18985 wxToolBar *arg1 = (wxToolBar *) 0 ;
18986 wxWindow *arg2 = (wxWindow *) 0 ;
18987 int arg3 = (int) -1 ;
18988 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18989 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18990 wxSize const &arg5_defvalue = wxDefaultSize ;
18991 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18992 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18993 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18994 wxString *arg7 = (wxString *) &arg7_defvalue ;
18995 bool result;
18996 wxPoint temp4 ;
18997 wxSize temp5 ;
18998 bool temp7 = false ;
18999 PyObject * obj0 = 0 ;
19000 PyObject * obj1 = 0 ;
19001 PyObject * obj2 = 0 ;
19002 PyObject * obj3 = 0 ;
19003 PyObject * obj4 = 0 ;
19004 PyObject * obj5 = 0 ;
19005 PyObject * obj6 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19008 };
19009
19010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
19012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19015 if (obj2) {
19016 arg3 = (int)SWIG_As_int(obj2);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 if (obj3) {
19020 {
19021 arg4 = &temp4;
19022 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19023 }
19024 }
19025 if (obj4) {
19026 {
19027 arg5 = &temp5;
19028 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19029 }
19030 }
19031 if (obj5) {
19032 arg6 = (long)SWIG_As_long(obj5);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 if (obj6) {
19036 {
19037 arg7 = wxString_in_helper(obj6);
19038 if (arg7 == NULL) SWIG_fail;
19039 temp7 = true;
19040 }
19041 }
19042 {
19043 PyThreadState* __tstate = wxPyBeginAllowThreads();
19044 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19045
19046 wxPyEndAllowThreads(__tstate);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 {
19050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19051 }
19052 {
19053 if (temp7)
19054 delete arg7;
19055 }
19056 return resultobj;
19057 fail:
19058 {
19059 if (temp7)
19060 delete arg7;
19061 }
19062 return NULL;
19063 }
19064
19065
19066 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxToolBar *arg1 = (wxToolBar *) 0 ;
19069 int arg2 ;
19070 int arg3 ;
19071 wxToolBarToolBase *result;
19072 PyObject * obj0 = 0 ;
19073 PyObject * obj1 = 0 ;
19074 PyObject * obj2 = 0 ;
19075 char *kwnames[] = {
19076 (char *) "self",(char *) "x",(char *) "y", NULL
19077 };
19078
19079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
19080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
19081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19082 arg2 = (int)SWIG_As_int(obj1);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 arg3 = (int)SWIG_As_int(obj2);
19085 if (PyErr_Occurred()) SWIG_fail;
19086 {
19087 PyThreadState* __tstate = wxPyBeginAllowThreads();
19088 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
19089
19090 wxPyEndAllowThreads(__tstate);
19091 if (PyErr_Occurred()) SWIG_fail;
19092 }
19093 {
19094 resultobj = wxPyMake_wxObject(result, 0);
19095 }
19096 return resultobj;
19097 fail:
19098 return NULL;
19099 }
19100
19101
19102 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19103 PyObject *resultobj;
19104 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
19105 wxVisualAttributes result;
19106 PyObject * obj0 = 0 ;
19107 char *kwnames[] = {
19108 (char *) "variant", NULL
19109 };
19110
19111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
19112 if (obj0) {
19113 arg1 = (int)SWIG_As_int(obj0);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 {
19117 if (!wxPyCheckForApp()) SWIG_fail;
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 {
19125 wxVisualAttributes * resultptr;
19126 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
19127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19128 }
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
19136 PyObject *obj;
19137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19138 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
19139 Py_INCREF(obj);
19140 return Py_BuildValue((char *)"");
19141 }
19142 static int _wrap_ListCtrlNameStr_set(PyObject *) {
19143 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
19144 return 1;
19145 }
19146
19147
19148 static PyObject *_wrap_ListCtrlNameStr_get() {
19149 PyObject *pyobj;
19150
19151 {
19152 #if wxUSE_UNICODE
19153 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19154 #else
19155 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19156 #endif
19157 }
19158 return pyobj;
19159 }
19160
19161
19162 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
19163 PyObject *resultobj;
19164 wxColour const &arg1_defvalue = wxNullColour ;
19165 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
19166 wxColour const &arg2_defvalue = wxNullColour ;
19167 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19168 wxFont const &arg3_defvalue = wxNullFont ;
19169 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
19170 wxListItemAttr *result;
19171 wxColour temp1 ;
19172 wxColour temp2 ;
19173 PyObject * obj0 = 0 ;
19174 PyObject * obj1 = 0 ;
19175 PyObject * obj2 = 0 ;
19176 char *kwnames[] = {
19177 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19178 };
19179
19180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
19181 if (obj0) {
19182 {
19183 arg1 = &temp1;
19184 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
19185 }
19186 }
19187 if (obj1) {
19188 {
19189 arg2 = &temp2;
19190 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19191 }
19192 }
19193 if (obj2) {
19194 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
19195 SWIG_POINTER_EXCEPTION | 0)) == -1)
19196 SWIG_fail;
19197 if (arg3 == NULL) {
19198 PyErr_SetString(PyExc_TypeError,"null reference");
19199 SWIG_fail;
19200 }
19201 }
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
19210 return resultobj;
19211 fail:
19212 return NULL;
19213 }
19214
19215
19216 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19219 wxColour *arg2 = 0 ;
19220 wxColour temp2 ;
19221 PyObject * obj0 = 0 ;
19222 PyObject * obj1 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self",(char *) "colText", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19230 {
19231 arg2 = &temp2;
19232 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19233 }
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 (arg1)->SetTextColour((wxColour const &)*arg2);
19237
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 Py_INCREF(Py_None); resultobj = Py_None;
19242 return resultobj;
19243 fail:
19244 return NULL;
19245 }
19246
19247
19248 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19251 wxColour *arg2 = 0 ;
19252 wxColour temp2 ;
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj1 = 0 ;
19255 char *kwnames[] = {
19256 (char *) "self",(char *) "colBack", NULL
19257 };
19258
19259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19262 {
19263 arg2 = &temp2;
19264 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19265 }
19266 {
19267 PyThreadState* __tstate = wxPyBeginAllowThreads();
19268 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19269
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 Py_INCREF(Py_None); resultobj = Py_None;
19274 return resultobj;
19275 fail:
19276 return NULL;
19277 }
19278
19279
19280 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19281 PyObject *resultobj;
19282 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19283 wxFont *arg2 = 0 ;
19284 PyObject * obj0 = 0 ;
19285 PyObject * obj1 = 0 ;
19286 char *kwnames[] = {
19287 (char *) "self",(char *) "font", NULL
19288 };
19289
19290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
19291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19293 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19294 SWIG_POINTER_EXCEPTION | 0)) == -1)
19295 SWIG_fail;
19296 if (arg2 == NULL) {
19297 PyErr_SetString(PyExc_TypeError,"null reference");
19298 SWIG_fail;
19299 }
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 (arg1)->SetFont((wxFont const &)*arg2);
19303
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 Py_INCREF(Py_None); resultobj = Py_None;
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj;
19316 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19317 bool result;
19318 PyObject * obj0 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
19324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 result = (bool)(arg1)->HasTextColour();
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 {
19334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19335 }
19336 return resultobj;
19337 fail:
19338 return NULL;
19339 }
19340
19341
19342 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj;
19344 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19345 bool result;
19346 PyObject * obj0 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
19352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 result = (bool)(arg1)->HasBackgroundColour();
19357
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 {
19362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19363 }
19364 return resultobj;
19365 fail:
19366 return NULL;
19367 }
19368
19369
19370 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
19371 PyObject *resultobj;
19372 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19373 bool result;
19374 PyObject * obj0 = 0 ;
19375 char *kwnames[] = {
19376 (char *) "self", NULL
19377 };
19378
19379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
19380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 result = (bool)(arg1)->HasFont();
19385
19386 wxPyEndAllowThreads(__tstate);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
19389 {
19390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19391 }
19392 return resultobj;
19393 fail:
19394 return NULL;
19395 }
19396
19397
19398 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19399 PyObject *resultobj;
19400 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19401 wxColour result;
19402 PyObject * obj0 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
19408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (arg1)->GetTextColour();
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 {
19418 wxColour * resultptr;
19419 resultptr = new wxColour((wxColour &) result);
19420 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19421 }
19422 return resultobj;
19423 fail:
19424 return NULL;
19425 }
19426
19427
19428 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19429 PyObject *resultobj;
19430 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19431 wxColour result;
19432 PyObject * obj0 = 0 ;
19433 char *kwnames[] = {
19434 (char *) "self", NULL
19435 };
19436
19437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
19438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19440 {
19441 PyThreadState* __tstate = wxPyBeginAllowThreads();
19442 result = (arg1)->GetBackgroundColour();
19443
19444 wxPyEndAllowThreads(__tstate);
19445 if (PyErr_Occurred()) SWIG_fail;
19446 }
19447 {
19448 wxColour * resultptr;
19449 resultptr = new wxColour((wxColour &) result);
19450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19451 }
19452 return resultobj;
19453 fail:
19454 return NULL;
19455 }
19456
19457
19458 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19459 PyObject *resultobj;
19460 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19461 wxFont result;
19462 PyObject * obj0 = 0 ;
19463 char *kwnames[] = {
19464 (char *) "self", NULL
19465 };
19466
19467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
19468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 result = (arg1)->GetFont();
19473
19474 wxPyEndAllowThreads(__tstate);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 {
19478 wxFont * resultptr;
19479 resultptr = new wxFont((wxFont &) result);
19480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19481 }
19482 return resultobj;
19483 fail:
19484 return NULL;
19485 }
19486
19487
19488 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
19489 PyObject *resultobj;
19490 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19491 PyObject * obj0 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "self", NULL
19494 };
19495
19496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
19497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 wxListItemAttr_Destroy(arg1);
19502
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 Py_INCREF(Py_None); resultobj = Py_None;
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
19514 PyObject *obj;
19515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19516 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19517 Py_INCREF(obj);
19518 return Py_BuildValue((char *)"");
19519 }
19520 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj;
19522 wxListItem *result;
19523 char *kwnames[] = {
19524 NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 result = (wxListItem *)new wxListItem();
19531
19532 wxPyEndAllowThreads(__tstate);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 {
19536 resultobj = wxPyMake_wxObject(result, 1);
19537 }
19538 return resultobj;
19539 fail:
19540 return NULL;
19541 }
19542
19543
19544 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
19545 PyObject *resultobj;
19546 wxListItem *arg1 = (wxListItem *) 0 ;
19547 PyObject * obj0 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 delete arg1;
19558
19559 wxPyEndAllowThreads(__tstate);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
19562 Py_INCREF(Py_None); resultobj = Py_None;
19563 return resultobj;
19564 fail:
19565 return NULL;
19566 }
19567
19568
19569 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
19570 PyObject *resultobj;
19571 wxListItem *arg1 = (wxListItem *) 0 ;
19572 PyObject * obj0 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 (arg1)->Clear();
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 Py_INCREF(Py_None); resultobj = Py_None;
19588 return resultobj;
19589 fail:
19590 return NULL;
19591 }
19592
19593
19594 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxListItem *arg1 = (wxListItem *) 0 ;
19597 PyObject * obj0 = 0 ;
19598 char *kwnames[] = {
19599 (char *) "self", NULL
19600 };
19601
19602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 (arg1)->ClearAttributes();
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 Py_INCREF(Py_None); resultobj = Py_None;
19613 return resultobj;
19614 fail:
19615 return NULL;
19616 }
19617
19618
19619 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19620 PyObject *resultobj;
19621 wxListItem *arg1 = (wxListItem *) 0 ;
19622 long arg2 ;
19623 PyObject * obj0 = 0 ;
19624 PyObject * obj1 = 0 ;
19625 char *kwnames[] = {
19626 (char *) "self",(char *) "mask", NULL
19627 };
19628
19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19632 arg2 = (long)SWIG_As_long(obj1);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
19636 (arg1)->SetMask(arg2);
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 Py_INCREF(Py_None); resultobj = Py_None;
19642 return resultobj;
19643 fail:
19644 return NULL;
19645 }
19646
19647
19648 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj;
19650 wxListItem *arg1 = (wxListItem *) 0 ;
19651 long arg2 ;
19652 PyObject * obj0 = 0 ;
19653 PyObject * obj1 = 0 ;
19654 char *kwnames[] = {
19655 (char *) "self",(char *) "id", NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19661 arg2 = (long)SWIG_As_long(obj1);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 (arg1)->SetId(arg2);
19666
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 Py_INCREF(Py_None); resultobj = Py_None;
19671 return resultobj;
19672 fail:
19673 return NULL;
19674 }
19675
19676
19677 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 wxListItem *arg1 = (wxListItem *) 0 ;
19680 int arg2 ;
19681 PyObject * obj0 = 0 ;
19682 PyObject * obj1 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self",(char *) "col", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19690 arg2 = (int)SWIG_As_int(obj1);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 (arg1)->SetColumn(arg2);
19695
19696 wxPyEndAllowThreads(__tstate);
19697 if (PyErr_Occurred()) SWIG_fail;
19698 }
19699 Py_INCREF(Py_None); resultobj = Py_None;
19700 return resultobj;
19701 fail:
19702 return NULL;
19703 }
19704
19705
19706 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
19707 PyObject *resultobj;
19708 wxListItem *arg1 = (wxListItem *) 0 ;
19709 long arg2 ;
19710 PyObject * obj0 = 0 ;
19711 PyObject * obj1 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self",(char *) "state", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19719 arg2 = (long)SWIG_As_long(obj1);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 (arg1)->SetState(arg2);
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 Py_INCREF(Py_None); resultobj = Py_None;
19729 return resultobj;
19730 fail:
19731 return NULL;
19732 }
19733
19734
19735 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj;
19737 wxListItem *arg1 = (wxListItem *) 0 ;
19738 long arg2 ;
19739 PyObject * obj0 = 0 ;
19740 PyObject * obj1 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self",(char *) "stateMask", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19748 arg2 = (long)SWIG_As_long(obj1);
19749 if (PyErr_Occurred()) SWIG_fail;
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 (arg1)->SetStateMask(arg2);
19753
19754 wxPyEndAllowThreads(__tstate);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 }
19757 Py_INCREF(Py_None); resultobj = Py_None;
19758 return resultobj;
19759 fail:
19760 return NULL;
19761 }
19762
19763
19764 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj;
19766 wxListItem *arg1 = (wxListItem *) 0 ;
19767 wxString *arg2 = 0 ;
19768 bool temp2 = false ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self",(char *) "text", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19778 {
19779 arg2 = wxString_in_helper(obj1);
19780 if (arg2 == NULL) SWIG_fail;
19781 temp2 = true;
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 (arg1)->SetText((wxString const &)*arg2);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 Py_INCREF(Py_None); resultobj = Py_None;
19791 {
19792 if (temp2)
19793 delete arg2;
19794 }
19795 return resultobj;
19796 fail:
19797 {
19798 if (temp2)
19799 delete arg2;
19800 }
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxListItem *arg1 = (wxListItem *) 0 ;
19808 int arg2 ;
19809 PyObject * obj0 = 0 ;
19810 PyObject * obj1 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self",(char *) "image", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19818 arg2 = (int)SWIG_As_int(obj1);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 (arg1)->SetImage(arg2);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 Py_INCREF(Py_None); resultobj = Py_None;
19828 return resultobj;
19829 fail:
19830 return NULL;
19831 }
19832
19833
19834 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
19835 PyObject *resultobj;
19836 wxListItem *arg1 = (wxListItem *) 0 ;
19837 long arg2 ;
19838 PyObject * obj0 = 0 ;
19839 PyObject * obj1 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self",(char *) "data", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19847 arg2 = (long)SWIG_As_long(obj1);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 (arg1)->SetData(arg2);
19852
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 Py_INCREF(Py_None); resultobj = Py_None;
19857 return resultobj;
19858 fail:
19859 return NULL;
19860 }
19861
19862
19863 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
19864 PyObject *resultobj;
19865 wxListItem *arg1 = (wxListItem *) 0 ;
19866 int arg2 ;
19867 PyObject * obj0 = 0 ;
19868 PyObject * obj1 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self",(char *) "width", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19876 arg2 = (int)SWIG_As_int(obj1);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 (arg1)->SetWidth(arg2);
19881
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 Py_INCREF(Py_None); resultobj = Py_None;
19886 return resultobj;
19887 fail:
19888 return NULL;
19889 }
19890
19891
19892 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
19893 PyObject *resultobj;
19894 wxListItem *arg1 = (wxListItem *) 0 ;
19895 int arg2 ;
19896 PyObject * obj0 = 0 ;
19897 PyObject * obj1 = 0 ;
19898 char *kwnames[] = {
19899 (char *) "self",(char *) "align", NULL
19900 };
19901
19902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19905 arg2 = (int)SWIG_As_int(obj1);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 {
19908 PyThreadState* __tstate = wxPyBeginAllowThreads();
19909 (arg1)->SetAlign((wxListColumnFormat )arg2);
19910
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 Py_INCREF(Py_None); resultobj = Py_None;
19915 return resultobj;
19916 fail:
19917 return NULL;
19918 }
19919
19920
19921 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19922 PyObject *resultobj;
19923 wxListItem *arg1 = (wxListItem *) 0 ;
19924 wxColour *arg2 = 0 ;
19925 wxColour temp2 ;
19926 PyObject * obj0 = 0 ;
19927 PyObject * obj1 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self",(char *) "colText", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19935 {
19936 arg2 = &temp2;
19937 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19938 }
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 (arg1)->SetTextColour((wxColour const &)*arg2);
19942
19943 wxPyEndAllowThreads(__tstate);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 }
19946 Py_INCREF(Py_None); resultobj = Py_None;
19947 return resultobj;
19948 fail:
19949 return NULL;
19950 }
19951
19952
19953 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19954 PyObject *resultobj;
19955 wxListItem *arg1 = (wxListItem *) 0 ;
19956 wxColour *arg2 = 0 ;
19957 wxColour temp2 ;
19958 PyObject * obj0 = 0 ;
19959 PyObject * obj1 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self",(char *) "colBack", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19967 {
19968 arg2 = &temp2;
19969 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19970 }
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19974
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 Py_INCREF(Py_None); resultobj = Py_None;
19979 return resultobj;
19980 fail:
19981 return NULL;
19982 }
19983
19984
19985 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj;
19987 wxListItem *arg1 = (wxListItem *) 0 ;
19988 wxFont *arg2 = 0 ;
19989 PyObject * obj0 = 0 ;
19990 PyObject * obj1 = 0 ;
19991 char *kwnames[] = {
19992 (char *) "self",(char *) "font", NULL
19993 };
19994
19995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19999 SWIG_POINTER_EXCEPTION | 0)) == -1)
20000 SWIG_fail;
20001 if (arg2 == NULL) {
20002 PyErr_SetString(PyExc_TypeError,"null reference");
20003 SWIG_fail;
20004 }
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 (arg1)->SetFont((wxFont const &)*arg2);
20008
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 Py_INCREF(Py_None); resultobj = Py_None;
20013 return resultobj;
20014 fail:
20015 return NULL;
20016 }
20017
20018
20019 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
20020 PyObject *resultobj;
20021 wxListItem *arg1 = (wxListItem *) 0 ;
20022 long result;
20023 PyObject * obj0 = 0 ;
20024 char *kwnames[] = {
20025 (char *) "self", NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
20029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 result = (long)(arg1)->GetMask();
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 resultobj = SWIG_From_long((long)result);
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxListItem *arg1 = (wxListItem *) 0 ;
20048 long result;
20049 PyObject * obj0 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
20055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 result = (long)(arg1)->GetId();
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 resultobj = SWIG_From_long((long)result);
20065 return resultobj;
20066 fail:
20067 return NULL;
20068 }
20069
20070
20071 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20072 PyObject *resultobj;
20073 wxListItem *arg1 = (wxListItem *) 0 ;
20074 int result;
20075 PyObject * obj0 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "self", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
20081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 result = (int)(arg1)->GetColumn();
20086
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 resultobj = SWIG_From_int((int)result);
20091 return resultobj;
20092 fail:
20093 return NULL;
20094 }
20095
20096
20097 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
20098 PyObject *resultobj;
20099 wxListItem *arg1 = (wxListItem *) 0 ;
20100 long result;
20101 PyObject * obj0 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 result = (long)(arg1)->GetState();
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 resultobj = SWIG_From_long((long)result);
20117 return resultobj;
20118 fail:
20119 return NULL;
20120 }
20121
20122
20123 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
20124 PyObject *resultobj;
20125 wxListItem *arg1 = (wxListItem *) 0 ;
20126 wxString *result;
20127 PyObject * obj0 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
20133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 {
20138 wxString const &_result_ref = (arg1)->GetText();
20139 result = (wxString *) &_result_ref;
20140 }
20141
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
20145 {
20146 #if wxUSE_UNICODE
20147 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20148 #else
20149 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20150 #endif
20151 }
20152 return resultobj;
20153 fail:
20154 return NULL;
20155 }
20156
20157
20158 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
20159 PyObject *resultobj;
20160 wxListItem *arg1 = (wxListItem *) 0 ;
20161 int result;
20162 PyObject * obj0 = 0 ;
20163 char *kwnames[] = {
20164 (char *) "self", NULL
20165 };
20166
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
20168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 result = (int)(arg1)->GetImage();
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 resultobj = SWIG_From_int((int)result);
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
20185 PyObject *resultobj;
20186 wxListItem *arg1 = (wxListItem *) 0 ;
20187 long result;
20188 PyObject * obj0 = 0 ;
20189 char *kwnames[] = {
20190 (char *) "self", NULL
20191 };
20192
20193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
20194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20196 {
20197 PyThreadState* __tstate = wxPyBeginAllowThreads();
20198 result = (long)(arg1)->GetData();
20199
20200 wxPyEndAllowThreads(__tstate);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 resultobj = SWIG_From_long((long)result);
20204 return resultobj;
20205 fail:
20206 return NULL;
20207 }
20208
20209
20210 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20211 PyObject *resultobj;
20212 wxListItem *arg1 = (wxListItem *) 0 ;
20213 int result;
20214 PyObject * obj0 = 0 ;
20215 char *kwnames[] = {
20216 (char *) "self", NULL
20217 };
20218
20219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
20220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 result = (int)(arg1)->GetWidth();
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 resultobj = SWIG_From_int((int)result);
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxListItem *arg1 = (wxListItem *) 0 ;
20239 int result;
20240 PyObject * obj0 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
20246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (int)(arg1)->GetAlign();
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 resultobj = SWIG_From_int((int)result);
20256 return resultobj;
20257 fail:
20258 return NULL;
20259 }
20260
20261
20262 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxListItem *arg1 = (wxListItem *) 0 ;
20265 wxListItemAttr *result;
20266 PyObject * obj0 = 0 ;
20267 char *kwnames[] = {
20268 (char *) "self", NULL
20269 };
20270
20271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
20272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (wxListItemAttr *)(arg1)->GetAttributes();
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
20282 return resultobj;
20283 fail:
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxListItem *arg1 = (wxListItem *) 0 ;
20291 bool result;
20292 PyObject * obj0 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
20298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 result = (bool)(arg1)->HasAttributes();
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 {
20308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20309 }
20310 return resultobj;
20311 fail:
20312 return NULL;
20313 }
20314
20315
20316 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
20317 PyObject *resultobj;
20318 wxListItem *arg1 = (wxListItem *) 0 ;
20319 wxColour result;
20320 PyObject * obj0 = 0 ;
20321 char *kwnames[] = {
20322 (char *) "self", NULL
20323 };
20324
20325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
20326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = ((wxListItem const *)arg1)->GetTextColour();
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 {
20336 wxColour * resultptr;
20337 resultptr = new wxColour((wxColour &) result);
20338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20339 }
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 wxListItem *arg1 = (wxListItem *) 0 ;
20349 wxColour result;
20350 PyObject * obj0 = 0 ;
20351 char *kwnames[] = {
20352 (char *) "self", NULL
20353 };
20354
20355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
20356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = ((wxListItem const *)arg1)->GetBackgroundColour();
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 {
20366 wxColour * resultptr;
20367 resultptr = new wxColour((wxColour &) result);
20368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20369 }
20370 return resultobj;
20371 fail:
20372 return NULL;
20373 }
20374
20375
20376 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
20377 PyObject *resultobj;
20378 wxListItem *arg1 = (wxListItem *) 0 ;
20379 wxFont result;
20380 PyObject * obj0 = 0 ;
20381 char *kwnames[] = {
20382 (char *) "self", NULL
20383 };
20384
20385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
20386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20388 {
20389 PyThreadState* __tstate = wxPyBeginAllowThreads();
20390 result = ((wxListItem const *)arg1)->GetFont();
20391
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 {
20396 wxFont * resultptr;
20397 resultptr = new wxFont((wxFont &) result);
20398 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
20399 }
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxListItem *arg1 = (wxListItem *) 0 ;
20409 long arg2 ;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self",(char *) "m_mask", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20419 arg2 = (long)SWIG_As_long(obj1);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 if (arg1) (arg1)->m_mask = arg2;
20422
20423 Py_INCREF(Py_None); resultobj = Py_None;
20424 return resultobj;
20425 fail:
20426 return NULL;
20427 }
20428
20429
20430 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
20431 PyObject *resultobj;
20432 wxListItem *arg1 = (wxListItem *) 0 ;
20433 long result;
20434 PyObject * obj0 = 0 ;
20435 char *kwnames[] = {
20436 (char *) "self", NULL
20437 };
20438
20439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
20440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20442 result = (long) ((arg1)->m_mask);
20443
20444 resultobj = SWIG_From_long((long)result);
20445 return resultobj;
20446 fail:
20447 return NULL;
20448 }
20449
20450
20451 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
20452 PyObject *resultobj;
20453 wxListItem *arg1 = (wxListItem *) 0 ;
20454 long arg2 ;
20455 PyObject * obj0 = 0 ;
20456 PyObject * obj1 = 0 ;
20457 char *kwnames[] = {
20458 (char *) "self",(char *) "m_itemId", NULL
20459 };
20460
20461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
20462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20464 arg2 = (long)SWIG_As_long(obj1);
20465 if (PyErr_Occurred()) SWIG_fail;
20466 if (arg1) (arg1)->m_itemId = arg2;
20467
20468 Py_INCREF(Py_None); resultobj = Py_None;
20469 return resultobj;
20470 fail:
20471 return NULL;
20472 }
20473
20474
20475 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
20476 PyObject *resultobj;
20477 wxListItem *arg1 = (wxListItem *) 0 ;
20478 long result;
20479 PyObject * obj0 = 0 ;
20480 char *kwnames[] = {
20481 (char *) "self", NULL
20482 };
20483
20484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
20485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20487 result = (long) ((arg1)->m_itemId);
20488
20489 resultobj = SWIG_From_long((long)result);
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj;
20498 wxListItem *arg1 = (wxListItem *) 0 ;
20499 int arg2 ;
20500 PyObject * obj0 = 0 ;
20501 PyObject * obj1 = 0 ;
20502 char *kwnames[] = {
20503 (char *) "self",(char *) "m_col", NULL
20504 };
20505
20506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20509 arg2 = (int)SWIG_As_int(obj1);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 if (arg1) (arg1)->m_col = arg2;
20512
20513 Py_INCREF(Py_None); resultobj = Py_None;
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxListItem *arg1 = (wxListItem *) 0 ;
20523 int result;
20524 PyObject * obj0 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20532 result = (int) ((arg1)->m_col);
20533
20534 resultobj = SWIG_From_int((int)result);
20535 return resultobj;
20536 fail:
20537 return NULL;
20538 }
20539
20540
20541 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
20542 PyObject *resultobj;
20543 wxListItem *arg1 = (wxListItem *) 0 ;
20544 long arg2 ;
20545 PyObject * obj0 = 0 ;
20546 PyObject * obj1 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self",(char *) "m_state", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20554 arg2 = (long)SWIG_As_long(obj1);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 if (arg1) (arg1)->m_state = arg2;
20557
20558 Py_INCREF(Py_None); resultobj = Py_None;
20559 return resultobj;
20560 fail:
20561 return NULL;
20562 }
20563
20564
20565 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
20566 PyObject *resultobj;
20567 wxListItem *arg1 = (wxListItem *) 0 ;
20568 long result;
20569 PyObject * obj0 = 0 ;
20570 char *kwnames[] = {
20571 (char *) "self", NULL
20572 };
20573
20574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20577 result = (long) ((arg1)->m_state);
20578
20579 resultobj = SWIG_From_long((long)result);
20580 return resultobj;
20581 fail:
20582 return NULL;
20583 }
20584
20585
20586 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
20587 PyObject *resultobj;
20588 wxListItem *arg1 = (wxListItem *) 0 ;
20589 long arg2 ;
20590 PyObject * obj0 = 0 ;
20591 PyObject * obj1 = 0 ;
20592 char *kwnames[] = {
20593 (char *) "self",(char *) "m_stateMask", NULL
20594 };
20595
20596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20599 arg2 = (long)SWIG_As_long(obj1);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 if (arg1) (arg1)->m_stateMask = arg2;
20602
20603 Py_INCREF(Py_None); resultobj = Py_None;
20604 return resultobj;
20605 fail:
20606 return NULL;
20607 }
20608
20609
20610 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
20611 PyObject *resultobj;
20612 wxListItem *arg1 = (wxListItem *) 0 ;
20613 long result;
20614 PyObject * obj0 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_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 = (long) ((arg1)->m_stateMask);
20623
20624 resultobj = SWIG_From_long((long)result);
20625 return resultobj;
20626 fail:
20627 return NULL;
20628 }
20629
20630
20631 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
20632 PyObject *resultobj;
20633 wxListItem *arg1 = (wxListItem *) 0 ;
20634 wxString *arg2 = (wxString *) 0 ;
20635 bool temp2 = false ;
20636 PyObject * obj0 = 0 ;
20637 PyObject * obj1 = 0 ;
20638 char *kwnames[] = {
20639 (char *) "self",(char *) "m_text", NULL
20640 };
20641
20642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20645 {
20646 arg2 = wxString_in_helper(obj1);
20647 if (arg2 == NULL) SWIG_fail;
20648 temp2 = true;
20649 }
20650 if (arg1) (arg1)->m_text = *arg2;
20651
20652 Py_INCREF(Py_None); resultobj = Py_None;
20653 {
20654 if (temp2)
20655 delete arg2;
20656 }
20657 return resultobj;
20658 fail:
20659 {
20660 if (temp2)
20661 delete arg2;
20662 }
20663 return NULL;
20664 }
20665
20666
20667 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj;
20669 wxListItem *arg1 = (wxListItem *) 0 ;
20670 wxString *result;
20671 PyObject * obj0 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20679 result = (wxString *)& ((arg1)->m_text);
20680
20681 {
20682 #if wxUSE_UNICODE
20683 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20684 #else
20685 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20686 #endif
20687 }
20688 return resultobj;
20689 fail:
20690 return NULL;
20691 }
20692
20693
20694 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
20695 PyObject *resultobj;
20696 wxListItem *arg1 = (wxListItem *) 0 ;
20697 int arg2 ;
20698 PyObject * obj0 = 0 ;
20699 PyObject * obj1 = 0 ;
20700 char *kwnames[] = {
20701 (char *) "self",(char *) "m_image", NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20707 arg2 = (int)SWIG_As_int(obj1);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 if (arg1) (arg1)->m_image = arg2;
20710
20711 Py_INCREF(Py_None); resultobj = Py_None;
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj;
20720 wxListItem *arg1 = (wxListItem *) 0 ;
20721 int result;
20722 PyObject * obj0 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20730 result = (int) ((arg1)->m_image);
20731
20732 resultobj = SWIG_From_int((int)result);
20733 return resultobj;
20734 fail:
20735 return NULL;
20736 }
20737
20738
20739 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
20740 PyObject *resultobj;
20741 wxListItem *arg1 = (wxListItem *) 0 ;
20742 long arg2 ;
20743 PyObject * obj0 = 0 ;
20744 PyObject * obj1 = 0 ;
20745 char *kwnames[] = {
20746 (char *) "self",(char *) "m_data", NULL
20747 };
20748
20749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20752 arg2 = (long)SWIG_As_long(obj1);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 if (arg1) (arg1)->m_data = arg2;
20755
20756 Py_INCREF(Py_None); resultobj = Py_None;
20757 return resultobj;
20758 fail:
20759 return NULL;
20760 }
20761
20762
20763 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
20764 PyObject *resultobj;
20765 wxListItem *arg1 = (wxListItem *) 0 ;
20766 long result;
20767 PyObject * obj0 = 0 ;
20768 char *kwnames[] = {
20769 (char *) "self", NULL
20770 };
20771
20772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20775 result = (long) ((arg1)->m_data);
20776
20777 resultobj = SWIG_From_long((long)result);
20778 return resultobj;
20779 fail:
20780 return NULL;
20781 }
20782
20783
20784 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
20785 PyObject *resultobj;
20786 wxListItem *arg1 = (wxListItem *) 0 ;
20787 int arg2 ;
20788 PyObject * obj0 = 0 ;
20789 PyObject * obj1 = 0 ;
20790 char *kwnames[] = {
20791 (char *) "self",(char *) "m_format", NULL
20792 };
20793
20794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20797 arg2 = (int)SWIG_As_int(obj1);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 if (arg1) (arg1)->m_format = arg2;
20800
20801 Py_INCREF(Py_None); resultobj = Py_None;
20802 return resultobj;
20803 fail:
20804 return NULL;
20805 }
20806
20807
20808 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
20809 PyObject *resultobj;
20810 wxListItem *arg1 = (wxListItem *) 0 ;
20811 int result;
20812 PyObject * obj0 = 0 ;
20813 char *kwnames[] = {
20814 (char *) "self", NULL
20815 };
20816
20817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20820 result = (int) ((arg1)->m_format);
20821
20822 resultobj = SWIG_From_int((int)result);
20823 return resultobj;
20824 fail:
20825 return NULL;
20826 }
20827
20828
20829 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
20830 PyObject *resultobj;
20831 wxListItem *arg1 = (wxListItem *) 0 ;
20832 int arg2 ;
20833 PyObject * obj0 = 0 ;
20834 PyObject * obj1 = 0 ;
20835 char *kwnames[] = {
20836 (char *) "self",(char *) "m_width", NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20842 arg2 = (int)SWIG_As_int(obj1);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 if (arg1) (arg1)->m_width = arg2;
20845
20846 Py_INCREF(Py_None); resultobj = Py_None;
20847 return resultobj;
20848 fail:
20849 return NULL;
20850 }
20851
20852
20853 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj;
20855 wxListItem *arg1 = (wxListItem *) 0 ;
20856 int result;
20857 PyObject * obj0 = 0 ;
20858 char *kwnames[] = {
20859 (char *) "self", NULL
20860 };
20861
20862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20865 result = (int) ((arg1)->m_width);
20866
20867 resultobj = SWIG_From_int((int)result);
20868 return resultobj;
20869 fail:
20870 return NULL;
20871 }
20872
20873
20874 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
20875 PyObject *obj;
20876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20877 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20878 Py_INCREF(obj);
20879 return Py_BuildValue((char *)"");
20880 }
20881 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20882 PyObject *resultobj;
20883 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20884 int arg2 = (int) 0 ;
20885 wxListEvent *result;
20886 PyObject * obj0 = 0 ;
20887 PyObject * obj1 = 0 ;
20888 char *kwnames[] = {
20889 (char *) "commandType",(char *) "id", NULL
20890 };
20891
20892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20893 if (obj0) {
20894 arg1 = (wxEventType)SWIG_As_int(obj0);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
20897 if (obj1) {
20898 arg2 = (int)SWIG_As_int(obj1);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 {
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20904
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20909 return resultobj;
20910 fail:
20911 return NULL;
20912 }
20913
20914
20915 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
20916 PyObject *resultobj;
20917 wxListEvent *arg1 = (wxListEvent *) 0 ;
20918 int arg2 ;
20919 PyObject * obj0 = 0 ;
20920 PyObject * obj1 = 0 ;
20921 char *kwnames[] = {
20922 (char *) "self",(char *) "m_code", NULL
20923 };
20924
20925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20928 arg2 = (int)SWIG_As_int(obj1);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 if (arg1) (arg1)->m_code = arg2;
20931
20932 Py_INCREF(Py_None); resultobj = Py_None;
20933 return resultobj;
20934 fail:
20935 return NULL;
20936 }
20937
20938
20939 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
20940 PyObject *resultobj;
20941 wxListEvent *arg1 = (wxListEvent *) 0 ;
20942 int result;
20943 PyObject * obj0 = 0 ;
20944 char *kwnames[] = {
20945 (char *) "self", NULL
20946 };
20947
20948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20951 result = (int) ((arg1)->m_code);
20952
20953 resultobj = SWIG_From_int((int)result);
20954 return resultobj;
20955 fail:
20956 return NULL;
20957 }
20958
20959
20960 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxListEvent *arg1 = (wxListEvent *) 0 ;
20963 long arg2 ;
20964 PyObject * obj0 = 0 ;
20965 PyObject * obj1 = 0 ;
20966 char *kwnames[] = {
20967 (char *) "self",(char *) "m_oldItemIndex", NULL
20968 };
20969
20970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20973 arg2 = (long)SWIG_As_long(obj1);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 if (arg1) (arg1)->m_oldItemIndex = arg2;
20976
20977 Py_INCREF(Py_None); resultobj = Py_None;
20978 return resultobj;
20979 fail:
20980 return NULL;
20981 }
20982
20983
20984 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
20985 PyObject *resultobj;
20986 wxListEvent *arg1 = (wxListEvent *) 0 ;
20987 long result;
20988 PyObject * obj0 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20996 result = (long) ((arg1)->m_oldItemIndex);
20997
20998 resultobj = SWIG_From_long((long)result);
20999 return resultobj;
21000 fail:
21001 return NULL;
21002 }
21003
21004
21005 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
21006 PyObject *resultobj;
21007 wxListEvent *arg1 = (wxListEvent *) 0 ;
21008 long arg2 ;
21009 PyObject * obj0 = 0 ;
21010 PyObject * obj1 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self",(char *) "m_itemIndex", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
21016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21018 arg2 = (long)SWIG_As_long(obj1);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 if (arg1) (arg1)->m_itemIndex = arg2;
21021
21022 Py_INCREF(Py_None); resultobj = Py_None;
21023 return resultobj;
21024 fail:
21025 return NULL;
21026 }
21027
21028
21029 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
21030 PyObject *resultobj;
21031 wxListEvent *arg1 = (wxListEvent *) 0 ;
21032 long result;
21033 PyObject * obj0 = 0 ;
21034 char *kwnames[] = {
21035 (char *) "self", NULL
21036 };
21037
21038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
21039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21041 result = (long) ((arg1)->m_itemIndex);
21042
21043 resultobj = SWIG_From_long((long)result);
21044 return resultobj;
21045 fail:
21046 return NULL;
21047 }
21048
21049
21050 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
21051 PyObject *resultobj;
21052 wxListEvent *arg1 = (wxListEvent *) 0 ;
21053 int arg2 ;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self",(char *) "m_col", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21063 arg2 = (int)SWIG_As_int(obj1);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 if (arg1) (arg1)->m_col = arg2;
21066
21067 Py_INCREF(Py_None); resultobj = Py_None;
21068 return resultobj;
21069 fail:
21070 return NULL;
21071 }
21072
21073
21074 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
21075 PyObject *resultobj;
21076 wxListEvent *arg1 = (wxListEvent *) 0 ;
21077 int result;
21078 PyObject * obj0 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
21084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21086 result = (int) ((arg1)->m_col);
21087
21088 resultobj = SWIG_From_int((int)result);
21089 return resultobj;
21090 fail:
21091 return NULL;
21092 }
21093
21094
21095 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
21096 PyObject *resultobj;
21097 wxListEvent *arg1 = (wxListEvent *) 0 ;
21098 wxPoint *arg2 = (wxPoint *) 0 ;
21099 PyObject * obj0 = 0 ;
21100 PyObject * obj1 = 0 ;
21101 char *kwnames[] = {
21102 (char *) "self",(char *) "m_pointDrag", NULL
21103 };
21104
21105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
21106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
21109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21110 if (arg1) (arg1)->m_pointDrag = *arg2;
21111
21112 Py_INCREF(Py_None); resultobj = Py_None;
21113 return resultobj;
21114 fail:
21115 return NULL;
21116 }
21117
21118
21119 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj;
21121 wxListEvent *arg1 = (wxListEvent *) 0 ;
21122 wxPoint *result;
21123 PyObject * obj0 = 0 ;
21124 char *kwnames[] = {
21125 (char *) "self", NULL
21126 };
21127
21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
21129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21131 result = (wxPoint *)& ((arg1)->m_pointDrag);
21132
21133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
21134 return resultobj;
21135 fail:
21136 return NULL;
21137 }
21138
21139
21140 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
21141 PyObject *resultobj;
21142 wxListEvent *arg1 = (wxListEvent *) 0 ;
21143 wxListItem *result;
21144 PyObject * obj0 = 0 ;
21145 char *kwnames[] = {
21146 (char *) "self", NULL
21147 };
21148
21149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
21150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21152 result = (wxListItem *)& ((arg1)->m_item);
21153
21154 {
21155 resultobj = wxPyMake_wxObject(result, 0);
21156 }
21157 return resultobj;
21158 fail:
21159 return NULL;
21160 }
21161
21162
21163 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
21164 PyObject *resultobj;
21165 wxListEvent *arg1 = (wxListEvent *) 0 ;
21166 int result;
21167 PyObject * obj0 = 0 ;
21168 char *kwnames[] = {
21169 (char *) "self", NULL
21170 };
21171
21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
21173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21175 {
21176 PyThreadState* __tstate = wxPyBeginAllowThreads();
21177 result = (int)(arg1)->GetKeyCode();
21178
21179 wxPyEndAllowThreads(__tstate);
21180 if (PyErr_Occurred()) SWIG_fail;
21181 }
21182 resultobj = SWIG_From_int((int)result);
21183 return resultobj;
21184 fail:
21185 return NULL;
21186 }
21187
21188
21189 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
21190 PyObject *resultobj;
21191 wxListEvent *arg1 = (wxListEvent *) 0 ;
21192 long result;
21193 PyObject * obj0 = 0 ;
21194 char *kwnames[] = {
21195 (char *) "self", NULL
21196 };
21197
21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
21199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 result = (long)(arg1)->GetIndex();
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 resultobj = SWIG_From_long((long)result);
21209 return resultobj;
21210 fail:
21211 return NULL;
21212 }
21213
21214
21215 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21216 PyObject *resultobj;
21217 wxListEvent *arg1 = (wxListEvent *) 0 ;
21218 int result;
21219 PyObject * obj0 = 0 ;
21220 char *kwnames[] = {
21221 (char *) "self", NULL
21222 };
21223
21224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
21225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21227 {
21228 PyThreadState* __tstate = wxPyBeginAllowThreads();
21229 result = (int)(arg1)->GetColumn();
21230
21231 wxPyEndAllowThreads(__tstate);
21232 if (PyErr_Occurred()) SWIG_fail;
21233 }
21234 resultobj = SWIG_From_int((int)result);
21235 return resultobj;
21236 fail:
21237 return NULL;
21238 }
21239
21240
21241 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
21242 PyObject *resultobj;
21243 wxListEvent *arg1 = (wxListEvent *) 0 ;
21244 wxPoint result;
21245 PyObject * obj0 = 0 ;
21246 char *kwnames[] = {
21247 (char *) "self", NULL
21248 };
21249
21250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
21251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 result = (arg1)->GetPoint();
21256
21257 wxPyEndAllowThreads(__tstate);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 }
21260 {
21261 wxPoint * resultptr;
21262 resultptr = new wxPoint((wxPoint &) result);
21263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21264 }
21265 return resultobj;
21266 fail:
21267 return NULL;
21268 }
21269
21270
21271 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21272 PyObject *resultobj;
21273 wxListEvent *arg1 = (wxListEvent *) 0 ;
21274 wxString *result;
21275 PyObject * obj0 = 0 ;
21276 char *kwnames[] = {
21277 (char *) "self", NULL
21278 };
21279
21280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
21281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21283 {
21284 PyThreadState* __tstate = wxPyBeginAllowThreads();
21285 {
21286 wxString const &_result_ref = (arg1)->GetLabel();
21287 result = (wxString *) &_result_ref;
21288 }
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 {
21294 #if wxUSE_UNICODE
21295 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21296 #else
21297 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21298 #endif
21299 }
21300 return resultobj;
21301 fail:
21302 return NULL;
21303 }
21304
21305
21306 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
21307 PyObject *resultobj;
21308 wxListEvent *arg1 = (wxListEvent *) 0 ;
21309 wxString *result;
21310 PyObject * obj0 = 0 ;
21311 char *kwnames[] = {
21312 (char *) "self", NULL
21313 };
21314
21315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
21316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 {
21321 wxString const &_result_ref = (arg1)->GetText();
21322 result = (wxString *) &_result_ref;
21323 }
21324
21325 wxPyEndAllowThreads(__tstate);
21326 if (PyErr_Occurred()) SWIG_fail;
21327 }
21328 {
21329 #if wxUSE_UNICODE
21330 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21331 #else
21332 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21333 #endif
21334 }
21335 return resultobj;
21336 fail:
21337 return NULL;
21338 }
21339
21340
21341 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21342 PyObject *resultobj;
21343 wxListEvent *arg1 = (wxListEvent *) 0 ;
21344 int result;
21345 PyObject * obj0 = 0 ;
21346 char *kwnames[] = {
21347 (char *) "self", NULL
21348 };
21349
21350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
21351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21353 {
21354 PyThreadState* __tstate = wxPyBeginAllowThreads();
21355 result = (int)(arg1)->GetImage();
21356
21357 wxPyEndAllowThreads(__tstate);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 resultobj = SWIG_From_int((int)result);
21361 return resultobj;
21362 fail:
21363 return NULL;
21364 }
21365
21366
21367 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj;
21369 wxListEvent *arg1 = (wxListEvent *) 0 ;
21370 long result;
21371 PyObject * obj0 = 0 ;
21372 char *kwnames[] = {
21373 (char *) "self", NULL
21374 };
21375
21376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
21377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21379 {
21380 PyThreadState* __tstate = wxPyBeginAllowThreads();
21381 result = (long)(arg1)->GetData();
21382
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 resultobj = SWIG_From_long((long)result);
21387 return resultobj;
21388 fail:
21389 return NULL;
21390 }
21391
21392
21393 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21394 PyObject *resultobj;
21395 wxListEvent *arg1 = (wxListEvent *) 0 ;
21396 long result;
21397 PyObject * obj0 = 0 ;
21398 char *kwnames[] = {
21399 (char *) "self", NULL
21400 };
21401
21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
21403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21405 {
21406 PyThreadState* __tstate = wxPyBeginAllowThreads();
21407 result = (long)(arg1)->GetMask();
21408
21409 wxPyEndAllowThreads(__tstate);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 resultobj = SWIG_From_long((long)result);
21413 return resultobj;
21414 fail:
21415 return NULL;
21416 }
21417
21418
21419 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
21420 PyObject *resultobj;
21421 wxListEvent *arg1 = (wxListEvent *) 0 ;
21422 wxListItem *result;
21423 PyObject * obj0 = 0 ;
21424 char *kwnames[] = {
21425 (char *) "self", NULL
21426 };
21427
21428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
21429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21431 {
21432 PyThreadState* __tstate = wxPyBeginAllowThreads();
21433 {
21434 wxListItem const &_result_ref = (arg1)->GetItem();
21435 result = (wxListItem *) &_result_ref;
21436 }
21437
21438 wxPyEndAllowThreads(__tstate);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 }
21441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
21442 return resultobj;
21443 fail:
21444 return NULL;
21445 }
21446
21447
21448 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
21449 PyObject *resultobj;
21450 wxListEvent *arg1 = (wxListEvent *) 0 ;
21451 long result;
21452 PyObject * obj0 = 0 ;
21453 char *kwnames[] = {
21454 (char *) "self", NULL
21455 };
21456
21457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
21458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21460 {
21461 PyThreadState* __tstate = wxPyBeginAllowThreads();
21462 result = (long)(arg1)->GetCacheFrom();
21463
21464 wxPyEndAllowThreads(__tstate);
21465 if (PyErr_Occurred()) SWIG_fail;
21466 }
21467 resultobj = SWIG_From_long((long)result);
21468 return resultobj;
21469 fail:
21470 return NULL;
21471 }
21472
21473
21474 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj;
21476 wxListEvent *arg1 = (wxListEvent *) 0 ;
21477 long result;
21478 PyObject * obj0 = 0 ;
21479 char *kwnames[] = {
21480 (char *) "self", NULL
21481 };
21482
21483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
21484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 result = (long)(arg1)->GetCacheTo();
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 resultobj = SWIG_From_long((long)result);
21494 return resultobj;
21495 fail:
21496 return NULL;
21497 }
21498
21499
21500 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
21501 PyObject *resultobj;
21502 wxListEvent *arg1 = (wxListEvent *) 0 ;
21503 bool result;
21504 PyObject * obj0 = 0 ;
21505 char *kwnames[] = {
21506 (char *) "self", NULL
21507 };
21508
21509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 {
21520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21521 }
21522 return resultobj;
21523 fail:
21524 return NULL;
21525 }
21526
21527
21528 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
21529 PyObject *resultobj;
21530 wxListEvent *arg1 = (wxListEvent *) 0 ;
21531 bool arg2 ;
21532 PyObject * obj0 = 0 ;
21533 PyObject * obj1 = 0 ;
21534 char *kwnames[] = {
21535 (char *) "self",(char *) "editCancelled", NULL
21536 };
21537
21538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21541 arg2 = (bool)SWIG_As_bool(obj1);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 (arg1)->SetEditCanceled(arg2);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 Py_INCREF(Py_None); resultobj = Py_None;
21551 return resultobj;
21552 fail:
21553 return NULL;
21554 }
21555
21556
21557 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
21558 PyObject *obj;
21559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21560 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21561 Py_INCREF(obj);
21562 return Py_BuildValue((char *)"");
21563 }
21564 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
21565 PyObject *resultobj;
21566 wxWindow *arg1 = (wxWindow *) 0 ;
21567 int arg2 = (int) -1 ;
21568 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21569 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21570 wxSize const &arg4_defvalue = wxDefaultSize ;
21571 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21572 long arg5 = (long) wxLC_ICON ;
21573 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21574 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21575 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21576 wxString *arg7 = (wxString *) &arg7_defvalue ;
21577 wxPyListCtrl *result;
21578 wxPoint temp3 ;
21579 wxSize temp4 ;
21580 bool temp7 = false ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 PyObject * obj2 = 0 ;
21584 PyObject * obj3 = 0 ;
21585 PyObject * obj4 = 0 ;
21586 PyObject * obj5 = 0 ;
21587 PyObject * obj6 = 0 ;
21588 char *kwnames[] = {
21589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21590 };
21591
21592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21595 if (obj1) {
21596 arg2 = (int)SWIG_As_int(obj1);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 if (obj2) {
21600 {
21601 arg3 = &temp3;
21602 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21603 }
21604 }
21605 if (obj3) {
21606 {
21607 arg4 = &temp4;
21608 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21609 }
21610 }
21611 if (obj4) {
21612 arg5 = (long)SWIG_As_long(obj4);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 if (obj5) {
21616 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21617 SWIG_POINTER_EXCEPTION | 0)) == -1)
21618 SWIG_fail;
21619 if (arg6 == NULL) {
21620 PyErr_SetString(PyExc_TypeError,"null reference");
21621 SWIG_fail;
21622 }
21623 }
21624 if (obj6) {
21625 {
21626 arg7 = wxString_in_helper(obj6);
21627 if (arg7 == NULL) SWIG_fail;
21628 temp7 = true;
21629 }
21630 }
21631 {
21632 if (!wxPyCheckForApp()) SWIG_fail;
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21640 {
21641 if (temp7)
21642 delete arg7;
21643 }
21644 return resultobj;
21645 fail:
21646 {
21647 if (temp7)
21648 delete arg7;
21649 }
21650 return NULL;
21651 }
21652
21653
21654 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
21655 PyObject *resultobj;
21656 wxPyListCtrl *result;
21657 char *kwnames[] = {
21658 NULL
21659 };
21660
21661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21662 {
21663 if (!wxPyCheckForApp()) SWIG_fail;
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 result = (wxPyListCtrl *)new wxPyListCtrl();
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21671 return resultobj;
21672 fail:
21673 return NULL;
21674 }
21675
21676
21677 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21678 PyObject *resultobj;
21679 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21680 wxWindow *arg2 = (wxWindow *) 0 ;
21681 int arg3 = (int) -1 ;
21682 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21683 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21684 wxSize const &arg5_defvalue = wxDefaultSize ;
21685 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21686 long arg6 = (long) wxLC_ICON ;
21687 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21688 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21689 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21690 wxString *arg8 = (wxString *) &arg8_defvalue ;
21691 bool result;
21692 wxPoint temp4 ;
21693 wxSize temp5 ;
21694 bool temp8 = false ;
21695 PyObject * obj0 = 0 ;
21696 PyObject * obj1 = 0 ;
21697 PyObject * obj2 = 0 ;
21698 PyObject * obj3 = 0 ;
21699 PyObject * obj4 = 0 ;
21700 PyObject * obj5 = 0 ;
21701 PyObject * obj6 = 0 ;
21702 PyObject * obj7 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21712 if (obj2) {
21713 arg3 = (int)SWIG_As_int(obj2);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 if (obj3) {
21717 {
21718 arg4 = &temp4;
21719 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21720 }
21721 }
21722 if (obj4) {
21723 {
21724 arg5 = &temp5;
21725 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21726 }
21727 }
21728 if (obj5) {
21729 arg6 = (long)SWIG_As_long(obj5);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 if (obj6) {
21733 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21734 SWIG_POINTER_EXCEPTION | 0)) == -1)
21735 SWIG_fail;
21736 if (arg7 == NULL) {
21737 PyErr_SetString(PyExc_TypeError,"null reference");
21738 SWIG_fail;
21739 }
21740 }
21741 if (obj7) {
21742 {
21743 arg8 = wxString_in_helper(obj7);
21744 if (arg8 == NULL) SWIG_fail;
21745 temp8 = true;
21746 }
21747 }
21748 {
21749 PyThreadState* __tstate = wxPyBeginAllowThreads();
21750 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21751
21752 wxPyEndAllowThreads(__tstate);
21753 if (PyErr_Occurred()) SWIG_fail;
21754 }
21755 {
21756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21757 }
21758 {
21759 if (temp8)
21760 delete arg8;
21761 }
21762 return resultobj;
21763 fail:
21764 {
21765 if (temp8)
21766 delete arg8;
21767 }
21768 return NULL;
21769 }
21770
21771
21772 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21775 PyObject *arg2 = (PyObject *) 0 ;
21776 PyObject *arg3 = (PyObject *) 0 ;
21777 PyObject * obj0 = 0 ;
21778 PyObject * obj1 = 0 ;
21779 PyObject * obj2 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "self",(char *) "self",(char *) "_class", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21787 arg2 = obj1;
21788 arg3 = obj2;
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->_setCallbackInfo(arg2,arg3);
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21806 wxColour *arg2 = 0 ;
21807 bool result;
21808 wxColour temp2 ;
21809 PyObject * obj0 = 0 ;
21810 PyObject * obj1 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self",(char *) "col", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21818 {
21819 arg2 = &temp2;
21820 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21821 }
21822 {
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21825
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 {
21830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21831 }
21832 return resultobj;
21833 fail:
21834 return NULL;
21835 }
21836
21837
21838 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21839 PyObject *resultobj;
21840 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21841 wxColour *arg2 = 0 ;
21842 bool result;
21843 wxColour temp2 ;
21844 PyObject * obj0 = 0 ;
21845 PyObject * obj1 = 0 ;
21846 char *kwnames[] = {
21847 (char *) "self",(char *) "col", NULL
21848 };
21849
21850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21853 {
21854 arg2 = &temp2;
21855 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21856 }
21857 {
21858 PyThreadState* __tstate = wxPyBeginAllowThreads();
21859 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21860
21861 wxPyEndAllowThreads(__tstate);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 }
21864 {
21865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21866 }
21867 return resultobj;
21868 fail:
21869 return NULL;
21870 }
21871
21872
21873 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21874 PyObject *resultobj;
21875 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21876 int arg2 ;
21877 wxListItem *result;
21878 PyObject * obj0 = 0 ;
21879 PyObject * obj1 = 0 ;
21880 char *kwnames[] = {
21881 (char *) "self",(char *) "col", NULL
21882 };
21883
21884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21887 arg2 = (int)SWIG_As_int(obj1);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 {
21897 resultobj = wxPyMake_wxObject(result, 0);
21898 }
21899 return resultobj;
21900 fail:
21901 return NULL;
21902 }
21903
21904
21905 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj;
21907 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21908 int arg2 ;
21909 wxListItem *arg3 = 0 ;
21910 bool result;
21911 PyObject * obj0 = 0 ;
21912 PyObject * obj1 = 0 ;
21913 PyObject * obj2 = 0 ;
21914 char *kwnames[] = {
21915 (char *) "self",(char *) "col",(char *) "item", NULL
21916 };
21917
21918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21921 arg2 = (int)SWIG_As_int(obj1);
21922 if (PyErr_Occurred()) SWIG_fail;
21923 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21924 SWIG_POINTER_EXCEPTION | 0)) == -1)
21925 SWIG_fail;
21926 if (arg3 == NULL) {
21927 PyErr_SetString(PyExc_TypeError,"null reference");
21928 SWIG_fail;
21929 }
21930 {
21931 PyThreadState* __tstate = wxPyBeginAllowThreads();
21932 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21933
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
21937 {
21938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21939 }
21940 return resultobj;
21941 fail:
21942 return NULL;
21943 }
21944
21945
21946 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21947 PyObject *resultobj;
21948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21949 int arg2 ;
21950 int result;
21951 PyObject * obj0 = 0 ;
21952 PyObject * obj1 = 0 ;
21953 char *kwnames[] = {
21954 (char *) "self",(char *) "col", NULL
21955 };
21956
21957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21960 arg2 = (int)SWIG_As_int(obj1);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 {
21963 PyThreadState* __tstate = wxPyBeginAllowThreads();
21964 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21965
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 resultobj = SWIG_From_int((int)result);
21970 return resultobj;
21971 fail:
21972 return NULL;
21973 }
21974
21975
21976 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj;
21978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21979 int arg2 ;
21980 int arg3 ;
21981 bool result;
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 PyObject * obj2 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self",(char *) "col",(char *) "width", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21992 arg2 = (int)SWIG_As_int(obj1);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 arg3 = (int)SWIG_As_int(obj2);
21995 if (PyErr_Occurred()) SWIG_fail;
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21999
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 {
22004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22005 }
22006 return resultobj;
22007 fail:
22008 return NULL;
22009 }
22010
22011
22012 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
22013 PyObject *resultobj;
22014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22015 int result;
22016 PyObject * obj0 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22024 {
22025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22026 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
22027
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 resultobj = SWIG_From_int((int)result);
22032 return resultobj;
22033 fail:
22034 return NULL;
22035 }
22036
22037
22038 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
22039 PyObject *resultobj;
22040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22041 wxRect result;
22042 PyObject * obj0 = 0 ;
22043 char *kwnames[] = {
22044 (char *) "self", NULL
22045 };
22046
22047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
22048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22050 {
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
22053
22054 wxPyEndAllowThreads(__tstate);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 }
22057 {
22058 wxRect * resultptr;
22059 resultptr = new wxRect((wxRect &) result);
22060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22061 }
22062 return resultobj;
22063 fail:
22064 return NULL;
22065 }
22066
22067
22068 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
22069 PyObject *resultobj;
22070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22071 long arg2 ;
22072 int arg3 = (int) 0 ;
22073 wxListItem *result;
22074 PyObject * obj0 = 0 ;
22075 PyObject * obj1 = 0 ;
22076 PyObject * obj2 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self",(char *) "itemId",(char *) "col", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22084 arg2 = (long)SWIG_As_long(obj1);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 if (obj2) {
22087 arg3 = (int)SWIG_As_int(obj2);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 {
22098 resultobj = wxPyMake_wxObject(result, 0);
22099 }
22100 return resultobj;
22101 fail:
22102 return NULL;
22103 }
22104
22105
22106 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
22107 PyObject *resultobj;
22108 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22109 wxListItem *arg2 = 0 ;
22110 bool result;
22111 PyObject * obj0 = 0 ;
22112 PyObject * obj1 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self",(char *) "info", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
22118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22121 SWIG_POINTER_EXCEPTION | 0)) == -1)
22122 SWIG_fail;
22123 if (arg2 == NULL) {
22124 PyErr_SetString(PyExc_TypeError,"null reference");
22125 SWIG_fail;
22126 }
22127 {
22128 PyThreadState* __tstate = wxPyBeginAllowThreads();
22129 result = (bool)(arg1)->SetItem(*arg2);
22130
22131 wxPyEndAllowThreads(__tstate);
22132 if (PyErr_Occurred()) SWIG_fail;
22133 }
22134 {
22135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22136 }
22137 return resultobj;
22138 fail:
22139 return NULL;
22140 }
22141
22142
22143 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj;
22145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22146 long arg2 ;
22147 int arg3 ;
22148 wxString *arg4 = 0 ;
22149 int arg5 = (int) -1 ;
22150 long result;
22151 bool temp4 = false ;
22152 PyObject * obj0 = 0 ;
22153 PyObject * obj1 = 0 ;
22154 PyObject * obj2 = 0 ;
22155 PyObject * obj3 = 0 ;
22156 PyObject * obj4 = 0 ;
22157 char *kwnames[] = {
22158 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22159 };
22160
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22164 arg2 = (long)SWIG_As_long(obj1);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 arg3 = (int)SWIG_As_int(obj2);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 {
22169 arg4 = wxString_in_helper(obj3);
22170 if (arg4 == NULL) SWIG_fail;
22171 temp4 = true;
22172 }
22173 if (obj4) {
22174 arg5 = (int)SWIG_As_int(obj4);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
22180
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 resultobj = SWIG_From_long((long)result);
22185 {
22186 if (temp4)
22187 delete arg4;
22188 }
22189 return resultobj;
22190 fail:
22191 {
22192 if (temp4)
22193 delete arg4;
22194 }
22195 return NULL;
22196 }
22197
22198
22199 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
22200 PyObject *resultobj;
22201 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22202 long arg2 ;
22203 long arg3 ;
22204 int result;
22205 PyObject * obj0 = 0 ;
22206 PyObject * obj1 = 0 ;
22207 PyObject * obj2 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
22213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22215 arg2 = (long)SWIG_As_long(obj1);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 arg3 = (long)SWIG_As_long(obj2);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 resultobj = SWIG_From_int((int)result);
22227 return resultobj;
22228 fail:
22229 return NULL;
22230 }
22231
22232
22233 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22236 long arg2 ;
22237 long arg3 ;
22238 long arg4 ;
22239 bool result;
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 PyObject * obj2 = 0 ;
22243 PyObject * obj3 = 0 ;
22244 char *kwnames[] = {
22245 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22246 };
22247
22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22251 arg2 = (long)SWIG_As_long(obj1);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 arg3 = (long)SWIG_As_long(obj2);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 arg4 = (long)SWIG_As_long(obj3);
22256 if (PyErr_Occurred()) SWIG_fail;
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
22260
22261 wxPyEndAllowThreads(__tstate);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
22264 {
22265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22266 }
22267 return resultobj;
22268 fail:
22269 return NULL;
22270 }
22271
22272
22273 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
22274 PyObject *resultobj;
22275 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22276 long arg2 ;
22277 int arg3 ;
22278 int arg4 = (int) -1 ;
22279 bool result;
22280 PyObject * obj0 = 0 ;
22281 PyObject * obj1 = 0 ;
22282 PyObject * obj2 = 0 ;
22283 PyObject * obj3 = 0 ;
22284 char *kwnames[] = {
22285 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22286 };
22287
22288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22291 arg2 = (long)SWIG_As_long(obj1);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 arg3 = (int)SWIG_As_int(obj2);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 if (obj3) {
22296 arg4 = (int)SWIG_As_int(obj3);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 }
22299 {
22300 PyThreadState* __tstate = wxPyBeginAllowThreads();
22301 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
22302
22303 wxPyEndAllowThreads(__tstate);
22304 if (PyErr_Occurred()) SWIG_fail;
22305 }
22306 {
22307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22308 }
22309 return resultobj;
22310 fail:
22311 return NULL;
22312 }
22313
22314
22315 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
22316 PyObject *resultobj;
22317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22318 long arg2 ;
22319 wxString result;
22320 PyObject * obj0 = 0 ;
22321 PyObject * obj1 = 0 ;
22322 char *kwnames[] = {
22323 (char *) "self",(char *) "item", NULL
22324 };
22325
22326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
22327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22329 arg2 = (long)SWIG_As_long(obj1);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 {
22339 #if wxUSE_UNICODE
22340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22341 #else
22342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22343 #endif
22344 }
22345 return resultobj;
22346 fail:
22347 return NULL;
22348 }
22349
22350
22351 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
22352 PyObject *resultobj;
22353 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22354 long arg2 ;
22355 wxString *arg3 = 0 ;
22356 bool temp3 = false ;
22357 PyObject * obj0 = 0 ;
22358 PyObject * obj1 = 0 ;
22359 PyObject * obj2 = 0 ;
22360 char *kwnames[] = {
22361 (char *) "self",(char *) "item",(char *) "str", NULL
22362 };
22363
22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
22365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22367 arg2 = (long)SWIG_As_long(obj1);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 {
22370 arg3 = wxString_in_helper(obj2);
22371 if (arg3 == NULL) SWIG_fail;
22372 temp3 = true;
22373 }
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 Py_INCREF(Py_None); resultobj = Py_None;
22382 {
22383 if (temp3)
22384 delete arg3;
22385 }
22386 return resultobj;
22387 fail:
22388 {
22389 if (temp3)
22390 delete arg3;
22391 }
22392 return NULL;
22393 }
22394
22395
22396 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22397 PyObject *resultobj;
22398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22399 long arg2 ;
22400 long result;
22401 PyObject * obj0 = 0 ;
22402 PyObject * obj1 = 0 ;
22403 char *kwnames[] = {
22404 (char *) "self",(char *) "item", NULL
22405 };
22406
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22410 arg2 = (long)SWIG_As_long(obj1);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
22415
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 resultobj = SWIG_From_long((long)result);
22420 return resultobj;
22421 fail:
22422 return NULL;
22423 }
22424
22425
22426 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22427 PyObject *resultobj;
22428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22429 long arg2 ;
22430 long arg3 ;
22431 bool result;
22432 PyObject * obj0 = 0 ;
22433 PyObject * obj1 = 0 ;
22434 PyObject * obj2 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self",(char *) "item",(char *) "data", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22442 arg2 = (long)SWIG_As_long(obj1);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 arg3 = (long)SWIG_As_long(obj2);
22445 if (PyErr_Occurred()) SWIG_fail;
22446 {
22447 PyThreadState* __tstate = wxPyBeginAllowThreads();
22448 result = (bool)(arg1)->SetItemData(arg2,arg3);
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 {
22454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22455 }
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj;
22464 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22465 long arg2 ;
22466 wxPoint result;
22467 PyObject * obj0 = 0 ;
22468 PyObject * obj1 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self",(char *) "item", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
22474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22476 arg2 = (long)SWIG_As_long(obj1);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 {
22479 PyThreadState* __tstate = wxPyBeginAllowThreads();
22480 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22481
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 {
22486 wxPoint * resultptr;
22487 resultptr = new wxPoint((wxPoint &) result);
22488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22489 }
22490 return resultobj;
22491 fail:
22492 return NULL;
22493 }
22494
22495
22496 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22499 long arg2 ;
22500 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22501 wxRect result;
22502 PyObject * obj0 = 0 ;
22503 PyObject * obj1 = 0 ;
22504 PyObject * obj2 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "self",(char *) "item",(char *) "code", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22512 arg2 = (long)SWIG_As_long(obj1);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 if (obj2) {
22515 arg3 = (int)SWIG_As_int(obj2);
22516 if (PyErr_Occurred()) SWIG_fail;
22517 }
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 {
22526 wxRect * resultptr;
22527 resultptr = new wxRect((wxRect &) result);
22528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22529 }
22530 return resultobj;
22531 fail:
22532 return NULL;
22533 }
22534
22535
22536 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22537 PyObject *resultobj;
22538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22539 long arg2 ;
22540 wxPoint *arg3 = 0 ;
22541 bool result;
22542 wxPoint temp3 ;
22543 PyObject * obj0 = 0 ;
22544 PyObject * obj1 = 0 ;
22545 PyObject * obj2 = 0 ;
22546 char *kwnames[] = {
22547 (char *) "self",(char *) "item",(char *) "pos", NULL
22548 };
22549
22550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22553 arg2 = (long)SWIG_As_long(obj1);
22554 if (PyErr_Occurred()) SWIG_fail;
22555 {
22556 arg3 = &temp3;
22557 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22558 }
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22562
22563 wxPyEndAllowThreads(__tstate);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 }
22566 {
22567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22568 }
22569 return resultobj;
22570 fail:
22571 return NULL;
22572 }
22573
22574
22575 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22576 PyObject *resultobj;
22577 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22578 int result;
22579 PyObject * obj0 = 0 ;
22580 char *kwnames[] = {
22581 (char *) "self", NULL
22582 };
22583
22584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22587 {
22588 PyThreadState* __tstate = wxPyBeginAllowThreads();
22589 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22590
22591 wxPyEndAllowThreads(__tstate);
22592 if (PyErr_Occurred()) SWIG_fail;
22593 }
22594 resultobj = SWIG_From_int((int)result);
22595 return resultobj;
22596 fail:
22597 return NULL;
22598 }
22599
22600
22601 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
22602 PyObject *resultobj;
22603 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22604 int result;
22605 PyObject * obj0 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "self", NULL
22608 };
22609
22610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22616
22617 wxPyEndAllowThreads(__tstate);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 }
22620 resultobj = SWIG_From_int((int)result);
22621 return resultobj;
22622 fail:
22623 return NULL;
22624 }
22625
22626
22627 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
22628 PyObject *resultobj;
22629 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22630 wxSize result;
22631 PyObject * obj0 = 0 ;
22632 char *kwnames[] = {
22633 (char *) "self", NULL
22634 };
22635
22636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 {
22647 wxSize * resultptr;
22648 resultptr = new wxSize((wxSize &) result);
22649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22650 }
22651 return resultobj;
22652 fail:
22653 return NULL;
22654 }
22655
22656
22657 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
22658 PyObject *resultobj;
22659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22660 int arg2 ;
22661 bool arg3 = (bool) false ;
22662 PyObject * obj0 = 0 ;
22663 PyObject * obj1 = 0 ;
22664 PyObject * obj2 = 0 ;
22665 char *kwnames[] = {
22666 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22667 };
22668
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
22670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22672 arg2 = (int)SWIG_As_int(obj1);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 if (obj2) {
22675 arg3 = (bool)SWIG_As_bool(obj2);
22676 if (PyErr_Occurred()) SWIG_fail;
22677 }
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 (arg1)->SetItemSpacing(arg2,arg3);
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 Py_INCREF(Py_None); resultobj = Py_None;
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22695 int result;
22696 PyObject * obj0 = 0 ;
22697 char *kwnames[] = {
22698 (char *) "self", NULL
22699 };
22700
22701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22704 {
22705 PyThreadState* __tstate = wxPyBeginAllowThreads();
22706 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22707
22708 wxPyEndAllowThreads(__tstate);
22709 if (PyErr_Occurred()) SWIG_fail;
22710 }
22711 resultobj = SWIG_From_int((int)result);
22712 return resultobj;
22713 fail:
22714 return NULL;
22715 }
22716
22717
22718 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22719 PyObject *resultobj;
22720 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22721 wxColour result;
22722 PyObject * obj0 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 {
22738 wxColour * resultptr;
22739 resultptr = new wxColour((wxColour &) result);
22740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22741 }
22742 return resultobj;
22743 fail:
22744 return NULL;
22745 }
22746
22747
22748 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22749 PyObject *resultobj;
22750 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22751 wxColour *arg2 = 0 ;
22752 wxColour temp2 ;
22753 PyObject * obj0 = 0 ;
22754 PyObject * obj1 = 0 ;
22755 char *kwnames[] = {
22756 (char *) "self",(char *) "col", NULL
22757 };
22758
22759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22762 {
22763 arg2 = &temp2;
22764 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22765 }
22766 {
22767 PyThreadState* __tstate = wxPyBeginAllowThreads();
22768 (arg1)->SetTextColour((wxColour const &)*arg2);
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
22773 Py_INCREF(Py_None); resultobj = Py_None;
22774 return resultobj;
22775 fail:
22776 return NULL;
22777 }
22778
22779
22780 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
22781 PyObject *resultobj;
22782 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22783 long result;
22784 PyObject * obj0 = 0 ;
22785 char *kwnames[] = {
22786 (char *) "self", NULL
22787 };
22788
22789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 resultobj = SWIG_From_long((long)result);
22800 return resultobj;
22801 fail:
22802 return NULL;
22803 }
22804
22805
22806 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
22807 PyObject *resultobj;
22808 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22809 long arg2 ;
22810 bool arg3 = (bool) true ;
22811 PyObject * obj0 = 0 ;
22812 PyObject * obj1 = 0 ;
22813 PyObject * obj2 = 0 ;
22814 char *kwnames[] = {
22815 (char *) "self",(char *) "style",(char *) "add", NULL
22816 };
22817
22818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22821 arg2 = (long)SWIG_As_long(obj1);
22822 if (PyErr_Occurred()) SWIG_fail;
22823 if (obj2) {
22824 arg3 = (bool)SWIG_As_bool(obj2);
22825 if (PyErr_Occurred()) SWIG_fail;
22826 }
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 (arg1)->SetSingleStyle(arg2,arg3);
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 Py_INCREF(Py_None); resultobj = Py_None;
22835 return resultobj;
22836 fail:
22837 return NULL;
22838 }
22839
22840
22841 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj;
22843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22844 long arg2 ;
22845 PyObject * obj0 = 0 ;
22846 PyObject * obj1 = 0 ;
22847 char *kwnames[] = {
22848 (char *) "self",(char *) "style", NULL
22849 };
22850
22851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22854 arg2 = (long)SWIG_As_long(obj1);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 (arg1)->SetWindowStyleFlag(arg2);
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 Py_INCREF(Py_None); resultobj = Py_None;
22864 return resultobj;
22865 fail:
22866 return NULL;
22867 }
22868
22869
22870 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
22871 PyObject *resultobj;
22872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22873 long arg2 ;
22874 int arg3 = (int) wxLIST_NEXT_ALL ;
22875 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22876 long result;
22877 PyObject * obj0 = 0 ;
22878 PyObject * obj1 = 0 ;
22879 PyObject * obj2 = 0 ;
22880 PyObject * obj3 = 0 ;
22881 char *kwnames[] = {
22882 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22883 };
22884
22885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22888 arg2 = (long)SWIG_As_long(obj1);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 if (obj2) {
22891 arg3 = (int)SWIG_As_int(obj2);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 if (obj3) {
22895 arg4 = (int)SWIG_As_int(obj3);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22901
22902 wxPyEndAllowThreads(__tstate);
22903 if (PyErr_Occurred()) SWIG_fail;
22904 }
22905 resultobj = SWIG_From_long((long)result);
22906 return resultobj;
22907 fail:
22908 return NULL;
22909 }
22910
22911
22912 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
22913 PyObject *resultobj;
22914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22915 int arg2 ;
22916 wxImageList *result;
22917 PyObject * obj0 = 0 ;
22918 PyObject * obj1 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "self",(char *) "which", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22926 arg2 = (int)SWIG_As_int(obj1);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 {
22929 PyThreadState* __tstate = wxPyBeginAllowThreads();
22930 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22931
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 {
22936 resultobj = wxPyMake_wxObject(result, 0);
22937 }
22938 return resultobj;
22939 fail:
22940 return NULL;
22941 }
22942
22943
22944 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22947 wxImageList *arg2 = (wxImageList *) 0 ;
22948 int arg3 ;
22949 PyObject * obj0 = 0 ;
22950 PyObject * obj1 = 0 ;
22951 PyObject * obj2 = 0 ;
22952 char *kwnames[] = {
22953 (char *) "self",(char *) "imageList",(char *) "which", NULL
22954 };
22955
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22961 arg3 = (int)SWIG_As_int(obj2);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 (arg1)->SetImageList(arg2,arg3);
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 Py_INCREF(Py_None); resultobj = Py_None;
22971 return resultobj;
22972 fail:
22973 return NULL;
22974 }
22975
22976
22977 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj;
22979 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22980 wxImageList *arg2 = (wxImageList *) 0 ;
22981 int arg3 ;
22982 PyObject * obj0 = 0 ;
22983 PyObject * obj1 = 0 ;
22984 PyObject * obj2 = 0 ;
22985 char *kwnames[] = {
22986 (char *) "self",(char *) "imageList",(char *) "which", NULL
22987 };
22988
22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22993 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22994 arg3 = (int)SWIG_As_int(obj2);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 (arg1)->AssignImageList(arg2,arg3);
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 Py_INCREF(Py_None); resultobj = Py_None;
23004 return resultobj;
23005 fail:
23006 return NULL;
23007 }
23008
23009
23010 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
23011 PyObject *resultobj;
23012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23013 bool result;
23014 PyObject * obj0 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
23020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23022 {
23023 PyThreadState* __tstate = wxPyBeginAllowThreads();
23024 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
23025
23026 wxPyEndAllowThreads(__tstate);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
23029 {
23030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23031 }
23032 return resultobj;
23033 fail:
23034 return NULL;
23035 }
23036
23037
23038 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
23039 PyObject *resultobj;
23040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23041 bool result;
23042 PyObject * obj0 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
23048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23050 {
23051 PyThreadState* __tstate = wxPyBeginAllowThreads();
23052 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
23053
23054 wxPyEndAllowThreads(__tstate);
23055 if (PyErr_Occurred()) SWIG_fail;
23056 }
23057 {
23058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23059 }
23060 return resultobj;
23061 fail:
23062 return NULL;
23063 }
23064
23065
23066 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
23067 PyObject *resultobj;
23068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23069 long arg2 ;
23070 PyObject * obj0 = 0 ;
23071 PyObject * obj1 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "self",(char *) "item", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
23077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23079 arg2 = (long)SWIG_As_long(obj1);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 {
23082 PyThreadState* __tstate = wxPyBeginAllowThreads();
23083 (arg1)->RefreshItem(arg2);
23084
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
23088 Py_INCREF(Py_None); resultobj = Py_None;
23089 return resultobj;
23090 fail:
23091 return NULL;
23092 }
23093
23094
23095 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23098 long arg2 ;
23099 long arg3 ;
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
23102 PyObject * obj2 = 0 ;
23103 char *kwnames[] = {
23104 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23105 };
23106
23107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
23108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23110 arg2 = (long)SWIG_As_long(obj1);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 arg3 = (long)SWIG_As_long(obj2);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 (arg1)->RefreshItems(arg2,arg3);
23117
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 Py_INCREF(Py_None); resultobj = Py_None;
23122 return resultobj;
23123 fail:
23124 return NULL;
23125 }
23126
23127
23128 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj;
23130 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23131 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
23132 bool result;
23133 PyObject * obj0 = 0 ;
23134 PyObject * obj1 = 0 ;
23135 char *kwnames[] = {
23136 (char *) "self",(char *) "flag", NULL
23137 };
23138
23139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
23140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23142 if (obj1) {
23143 arg2 = (int)SWIG_As_int(obj1);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
23146 {
23147 PyThreadState* __tstate = wxPyBeginAllowThreads();
23148 result = (bool)(arg1)->Arrange(arg2);
23149
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 {
23154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23155 }
23156 return resultobj;
23157 fail:
23158 return NULL;
23159 }
23160
23161
23162 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
23163 PyObject *resultobj;
23164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23165 long arg2 ;
23166 bool result;
23167 PyObject * obj0 = 0 ;
23168 PyObject * obj1 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self",(char *) "item", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
23174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23176 arg2 = (long)SWIG_As_long(obj1);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (bool)(arg1)->DeleteItem(arg2);
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 {
23186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23187 }
23188 return resultobj;
23189 fail:
23190 return NULL;
23191 }
23192
23193
23194 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
23195 PyObject *resultobj;
23196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23197 bool result;
23198 PyObject * obj0 = 0 ;
23199 char *kwnames[] = {
23200 (char *) "self", NULL
23201 };
23202
23203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 result = (bool)(arg1)->DeleteAllItems();
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 {
23214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23215 }
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23223 PyObject *resultobj;
23224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23225 int arg2 ;
23226 bool result;
23227 PyObject * obj0 = 0 ;
23228 PyObject * obj1 = 0 ;
23229 char *kwnames[] = {
23230 (char *) "self",(char *) "col", NULL
23231 };
23232
23233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
23234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23236 arg2 = (int)SWIG_As_int(obj1);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (bool)(arg1)->DeleteColumn(arg2);
23241
23242 wxPyEndAllowThreads(__tstate);
23243 if (PyErr_Occurred()) SWIG_fail;
23244 }
23245 {
23246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23247 }
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23257 bool result;
23258 PyObject * obj0 = 0 ;
23259 char *kwnames[] = {
23260 (char *) "self", NULL
23261 };
23262
23263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
23264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (bool)(arg1)->DeleteAllColumns();
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 {
23274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23275 }
23276 return resultobj;
23277 fail:
23278 return NULL;
23279 }
23280
23281
23282 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
23283 PyObject *resultobj;
23284 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23285 PyObject * obj0 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "self", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
23291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23293 {
23294 PyThreadState* __tstate = wxPyBeginAllowThreads();
23295 (arg1)->ClearAll();
23296
23297 wxPyEndAllowThreads(__tstate);
23298 if (PyErr_Occurred()) SWIG_fail;
23299 }
23300 Py_INCREF(Py_None); resultobj = Py_None;
23301 return resultobj;
23302 fail:
23303 return NULL;
23304 }
23305
23306
23307 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23308 PyObject *resultobj;
23309 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23310 long arg2 ;
23311 PyObject * obj0 = 0 ;
23312 PyObject * obj1 = 0 ;
23313 char *kwnames[] = {
23314 (char *) "self",(char *) "item", NULL
23315 };
23316
23317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23320 arg2 = (long)SWIG_As_long(obj1);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 {
23323 PyThreadState* __tstate = wxPyBeginAllowThreads();
23324 (arg1)->EditLabel(arg2);
23325
23326 wxPyEndAllowThreads(__tstate);
23327 if (PyErr_Occurred()) SWIG_fail;
23328 }
23329 Py_INCREF(Py_None); resultobj = Py_None;
23330 return resultobj;
23331 fail:
23332 return NULL;
23333 }
23334
23335
23336 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
23337 PyObject *resultobj;
23338 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23339 long arg2 ;
23340 bool result;
23341 PyObject * obj0 = 0 ;
23342 PyObject * obj1 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self",(char *) "item", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23350 arg2 = (long)SWIG_As_long(obj1);
23351 if (PyErr_Occurred()) SWIG_fail;
23352 {
23353 PyThreadState* __tstate = wxPyBeginAllowThreads();
23354 result = (bool)(arg1)->EnsureVisible(arg2);
23355
23356 wxPyEndAllowThreads(__tstate);
23357 if (PyErr_Occurred()) SWIG_fail;
23358 }
23359 {
23360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23361 }
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
23369 PyObject *resultobj;
23370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23371 long arg2 ;
23372 wxString *arg3 = 0 ;
23373 bool arg4 = (bool) false ;
23374 long result;
23375 bool temp3 = false ;
23376 PyObject * obj0 = 0 ;
23377 PyObject * obj1 = 0 ;
23378 PyObject * obj2 = 0 ;
23379 PyObject * obj3 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23387 arg2 = (long)SWIG_As_long(obj1);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 {
23390 arg3 = wxString_in_helper(obj2);
23391 if (arg3 == NULL) SWIG_fail;
23392 temp3 = true;
23393 }
23394 if (obj3) {
23395 arg4 = (bool)SWIG_As_bool(obj3);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
23401
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 resultobj = SWIG_From_long((long)result);
23406 {
23407 if (temp3)
23408 delete arg3;
23409 }
23410 return resultobj;
23411 fail:
23412 {
23413 if (temp3)
23414 delete arg3;
23415 }
23416 return NULL;
23417 }
23418
23419
23420 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
23421 PyObject *resultobj;
23422 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23423 long arg2 ;
23424 long arg3 ;
23425 long result;
23426 PyObject * obj0 = 0 ;
23427 PyObject * obj1 = 0 ;
23428 PyObject * obj2 = 0 ;
23429 char *kwnames[] = {
23430 (char *) "self",(char *) "start",(char *) "data", NULL
23431 };
23432
23433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
23434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23436 arg2 = (long)SWIG_As_long(obj1);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 arg3 = (long)SWIG_As_long(obj2);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 {
23441 PyThreadState* __tstate = wxPyBeginAllowThreads();
23442 result = (long)(arg1)->FindItem(arg2,arg3);
23443
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
23447 resultobj = SWIG_From_long((long)result);
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj;
23456 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23457 long arg2 ;
23458 wxPoint *arg3 = 0 ;
23459 int arg4 ;
23460 long result;
23461 wxPoint temp3 ;
23462 PyObject * obj0 = 0 ;
23463 PyObject * obj1 = 0 ;
23464 PyObject * obj2 = 0 ;
23465 PyObject * obj3 = 0 ;
23466 char *kwnames[] = {
23467 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23468 };
23469
23470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23473 arg2 = (long)SWIG_As_long(obj1);
23474 if (PyErr_Occurred()) SWIG_fail;
23475 {
23476 arg3 = &temp3;
23477 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23478 }
23479 arg4 = (int)SWIG_As_int(obj3);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23484
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 resultobj = SWIG_From_long((long)result);
23489 return resultobj;
23490 fail:
23491 return NULL;
23492 }
23493
23494
23495 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
23496 PyObject *resultobj;
23497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23498 wxPoint *arg2 = 0 ;
23499 int *arg3 = 0 ;
23500 long result;
23501 wxPoint temp2 ;
23502 int temp3 ;
23503 int res3 = 0 ;
23504 PyObject * obj0 = 0 ;
23505 PyObject * obj1 = 0 ;
23506 char *kwnames[] = {
23507 (char *) "self",(char *) "point", NULL
23508 };
23509
23510 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23514 {
23515 arg2 = &temp2;
23516 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23517 }
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23521
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 resultobj = SWIG_From_long((long)result);
23526 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23527 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23528 return resultobj;
23529 fail:
23530 return NULL;
23531 }
23532
23533
23534 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj;
23536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23537 wxListItem *arg2 = 0 ;
23538 long result;
23539 PyObject * obj0 = 0 ;
23540 PyObject * obj1 = 0 ;
23541 char *kwnames[] = {
23542 (char *) "self",(char *) "info", NULL
23543 };
23544
23545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23549 SWIG_POINTER_EXCEPTION | 0)) == -1)
23550 SWIG_fail;
23551 if (arg2 == NULL) {
23552 PyErr_SetString(PyExc_TypeError,"null reference");
23553 SWIG_fail;
23554 }
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 result = (long)(arg1)->InsertItem(*arg2);
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 resultobj = SWIG_From_long((long)result);
23563 return resultobj;
23564 fail:
23565 return NULL;
23566 }
23567
23568
23569 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
23570 PyObject *resultobj;
23571 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23572 long arg2 ;
23573 wxString *arg3 = 0 ;
23574 long result;
23575 bool temp3 = false ;
23576 PyObject * obj0 = 0 ;
23577 PyObject * obj1 = 0 ;
23578 PyObject * obj2 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self",(char *) "index",(char *) "label", NULL
23581 };
23582
23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23586 arg2 = (long)SWIG_As_long(obj1);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 {
23589 arg3 = wxString_in_helper(obj2);
23590 if (arg3 == NULL) SWIG_fail;
23591 temp3 = true;
23592 }
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23596
23597 wxPyEndAllowThreads(__tstate);
23598 if (PyErr_Occurred()) SWIG_fail;
23599 }
23600 resultobj = SWIG_From_long((long)result);
23601 {
23602 if (temp3)
23603 delete arg3;
23604 }
23605 return resultobj;
23606 fail:
23607 {
23608 if (temp3)
23609 delete arg3;
23610 }
23611 return NULL;
23612 }
23613
23614
23615 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
23616 PyObject *resultobj;
23617 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23618 long arg2 ;
23619 int arg3 ;
23620 long result;
23621 PyObject * obj0 = 0 ;
23622 PyObject * obj1 = 0 ;
23623 PyObject * obj2 = 0 ;
23624 char *kwnames[] = {
23625 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23626 };
23627
23628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23631 arg2 = (long)SWIG_As_long(obj1);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 arg3 = (int)SWIG_As_int(obj2);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 {
23636 PyThreadState* __tstate = wxPyBeginAllowThreads();
23637 result = (long)(arg1)->InsertItem(arg2,arg3);
23638
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 resultobj = SWIG_From_long((long)result);
23643 return resultobj;
23644 fail:
23645 return NULL;
23646 }
23647
23648
23649 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
23650 PyObject *resultobj;
23651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23652 long arg2 ;
23653 wxString *arg3 = 0 ;
23654 int arg4 ;
23655 long result;
23656 bool temp3 = false ;
23657 PyObject * obj0 = 0 ;
23658 PyObject * obj1 = 0 ;
23659 PyObject * obj2 = 0 ;
23660 PyObject * obj3 = 0 ;
23661 char *kwnames[] = {
23662 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23663 };
23664
23665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23668 arg2 = (long)SWIG_As_long(obj1);
23669 if (PyErr_Occurred()) SWIG_fail;
23670 {
23671 arg3 = wxString_in_helper(obj2);
23672 if (arg3 == NULL) SWIG_fail;
23673 temp3 = true;
23674 }
23675 arg4 = (int)SWIG_As_int(obj3);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 {
23678 PyThreadState* __tstate = wxPyBeginAllowThreads();
23679 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23680
23681 wxPyEndAllowThreads(__tstate);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 }
23684 resultobj = SWIG_From_long((long)result);
23685 {
23686 if (temp3)
23687 delete arg3;
23688 }
23689 return resultobj;
23690 fail:
23691 {
23692 if (temp3)
23693 delete arg3;
23694 }
23695 return NULL;
23696 }
23697
23698
23699 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23700 PyObject *resultobj;
23701 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23702 long arg2 ;
23703 wxListItem *arg3 = 0 ;
23704 long result;
23705 PyObject * obj0 = 0 ;
23706 PyObject * obj1 = 0 ;
23707 PyObject * obj2 = 0 ;
23708 char *kwnames[] = {
23709 (char *) "self",(char *) "col",(char *) "info", NULL
23710 };
23711
23712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23715 arg2 = (long)SWIG_As_long(obj1);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23718 SWIG_POINTER_EXCEPTION | 0)) == -1)
23719 SWIG_fail;
23720 if (arg3 == NULL) {
23721 PyErr_SetString(PyExc_TypeError,"null reference");
23722 SWIG_fail;
23723 }
23724 {
23725 PyThreadState* __tstate = wxPyBeginAllowThreads();
23726 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23727
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
23731 resultobj = SWIG_From_long((long)result);
23732 return resultobj;
23733 fail:
23734 return NULL;
23735 }
23736
23737
23738 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23739 PyObject *resultobj;
23740 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23741 long arg2 ;
23742 wxString *arg3 = 0 ;
23743 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23744 int arg5 = (int) -1 ;
23745 long result;
23746 bool temp3 = false ;
23747 PyObject * obj0 = 0 ;
23748 PyObject * obj1 = 0 ;
23749 PyObject * obj2 = 0 ;
23750 PyObject * obj3 = 0 ;
23751 PyObject * obj4 = 0 ;
23752 char *kwnames[] = {
23753 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23754 };
23755
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23759 arg2 = (long)SWIG_As_long(obj1);
23760 if (PyErr_Occurred()) SWIG_fail;
23761 {
23762 arg3 = wxString_in_helper(obj2);
23763 if (arg3 == NULL) SWIG_fail;
23764 temp3 = true;
23765 }
23766 if (obj3) {
23767 arg4 = (int)SWIG_As_int(obj3);
23768 if (PyErr_Occurred()) SWIG_fail;
23769 }
23770 if (obj4) {
23771 arg5 = (int)SWIG_As_int(obj4);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 {
23775 PyThreadState* __tstate = wxPyBeginAllowThreads();
23776 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23777
23778 wxPyEndAllowThreads(__tstate);
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
23781 resultobj = SWIG_From_long((long)result);
23782 {
23783 if (temp3)
23784 delete arg3;
23785 }
23786 return resultobj;
23787 fail:
23788 {
23789 if (temp3)
23790 delete arg3;
23791 }
23792 return NULL;
23793 }
23794
23795
23796 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
23797 PyObject *resultobj;
23798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23799 long arg2 ;
23800 PyObject * obj0 = 0 ;
23801 PyObject * obj1 = 0 ;
23802 char *kwnames[] = {
23803 (char *) "self",(char *) "count", NULL
23804 };
23805
23806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23809 arg2 = (long)SWIG_As_long(obj1);
23810 if (PyErr_Occurred()) SWIG_fail;
23811 {
23812 PyThreadState* __tstate = wxPyBeginAllowThreads();
23813 (arg1)->SetItemCount(arg2);
23814
23815 wxPyEndAllowThreads(__tstate);
23816 if (PyErr_Occurred()) SWIG_fail;
23817 }
23818 Py_INCREF(Py_None); resultobj = Py_None;
23819 return resultobj;
23820 fail:
23821 return NULL;
23822 }
23823
23824
23825 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
23826 PyObject *resultobj;
23827 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23828 int arg2 ;
23829 int arg3 ;
23830 bool result;
23831 PyObject * obj0 = 0 ;
23832 PyObject * obj1 = 0 ;
23833 PyObject * obj2 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self",(char *) "dx",(char *) "dy", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23841 arg2 = (int)SWIG_As_int(obj1);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 arg3 = (int)SWIG_As_int(obj2);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 result = (bool)(arg1)->ScrollList(arg2,arg3);
23848
23849 wxPyEndAllowThreads(__tstate);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
23852 {
23853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23854 }
23855 return resultobj;
23856 fail:
23857 return NULL;
23858 }
23859
23860
23861 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23862 PyObject *resultobj;
23863 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23864 long arg2 ;
23865 wxColour *arg3 = 0 ;
23866 wxColour temp3 ;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj1 = 0 ;
23869 PyObject * obj2 = 0 ;
23870 char *kwnames[] = {
23871 (char *) "self",(char *) "item",(char *) "col", NULL
23872 };
23873
23874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23877 arg2 = (long)SWIG_As_long(obj1);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 {
23880 arg3 = &temp3;
23881 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23882 }
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 Py_INCREF(Py_None); resultobj = Py_None;
23891 return resultobj;
23892 fail:
23893 return NULL;
23894 }
23895
23896
23897 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23898 PyObject *resultobj;
23899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23900 long arg2 ;
23901 wxColour result;
23902 PyObject * obj0 = 0 ;
23903 PyObject * obj1 = 0 ;
23904 char *kwnames[] = {
23905 (char *) "self",(char *) "item", NULL
23906 };
23907
23908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23911 arg2 = (long)SWIG_As_long(obj1);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 {
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23916
23917 wxPyEndAllowThreads(__tstate);
23918 if (PyErr_Occurred()) SWIG_fail;
23919 }
23920 {
23921 wxColour * resultptr;
23922 resultptr = new wxColour((wxColour &) result);
23923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23924 }
23925 return resultobj;
23926 fail:
23927 return NULL;
23928 }
23929
23930
23931 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23934 long arg2 ;
23935 wxColour *arg3 = 0 ;
23936 wxColour temp3 ;
23937 PyObject * obj0 = 0 ;
23938 PyObject * obj1 = 0 ;
23939 PyObject * obj2 = 0 ;
23940 char *kwnames[] = {
23941 (char *) "self",(char *) "item",(char *) "col", NULL
23942 };
23943
23944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23947 arg2 = (long)SWIG_As_long(obj1);
23948 if (PyErr_Occurred()) SWIG_fail;
23949 {
23950 arg3 = &temp3;
23951 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23952 }
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23956
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 Py_INCREF(Py_None); resultobj = Py_None;
23961 return resultobj;
23962 fail:
23963 return NULL;
23964 }
23965
23966
23967 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23970 long arg2 ;
23971 wxColour result;
23972 PyObject * obj0 = 0 ;
23973 PyObject * obj1 = 0 ;
23974 char *kwnames[] = {
23975 (char *) "self",(char *) "item", NULL
23976 };
23977
23978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23981 arg2 = (long)SWIG_As_long(obj1);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23986
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 {
23991 wxColour * resultptr;
23992 resultptr = new wxColour((wxColour &) result);
23993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23994 }
23995 return resultobj;
23996 fail:
23997 return NULL;
23998 }
23999
24000
24001 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
24002 PyObject *resultobj;
24003 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24004 PyObject *arg2 = (PyObject *) 0 ;
24005 bool result;
24006 PyObject * obj0 = 0 ;
24007 PyObject * obj1 = 0 ;
24008 char *kwnames[] = {
24009 (char *) "self",(char *) "func", NULL
24010 };
24011
24012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
24013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24015 arg2 = obj1;
24016 {
24017 PyThreadState* __tstate = wxPyBeginAllowThreads();
24018 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
24019
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 {
24024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24025 }
24026 return resultobj;
24027 fail:
24028 return NULL;
24029 }
24030
24031
24032 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24033 PyObject *resultobj;
24034 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24035 wxWindow *result;
24036 PyObject * obj0 = 0 ;
24037 char *kwnames[] = {
24038 (char *) "self", NULL
24039 };
24040
24041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
24042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24044 {
24045 PyThreadState* __tstate = wxPyBeginAllowThreads();
24046 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
24047
24048 wxPyEndAllowThreads(__tstate);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 }
24051 {
24052 resultobj = wxPyMake_wxObject(result, 0);
24053 }
24054 return resultobj;
24055 fail:
24056 return NULL;
24057 }
24058
24059
24060 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
24061 PyObject *resultobj;
24062 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
24063 wxVisualAttributes result;
24064 PyObject * obj0 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "variant", NULL
24067 };
24068
24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
24070 if (obj0) {
24071 arg1 = (int)SWIG_As_int(obj0);
24072 if (PyErr_Occurred()) SWIG_fail;
24073 }
24074 {
24075 if (!wxPyCheckForApp()) SWIG_fail;
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
24078
24079 wxPyEndAllowThreads(__tstate);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
24082 {
24083 wxVisualAttributes * resultptr;
24084 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
24085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
24086 }
24087 return resultobj;
24088 fail:
24089 return NULL;
24090 }
24091
24092
24093 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
24094 PyObject *obj;
24095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24096 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
24097 Py_INCREF(obj);
24098 return Py_BuildValue((char *)"");
24099 }
24100 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
24101 PyObject *resultobj;
24102 wxWindow *arg1 = (wxWindow *) 0 ;
24103 int arg2 = (int) -1 ;
24104 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24105 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24106 wxSize const &arg4_defvalue = wxDefaultSize ;
24107 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24108 long arg5 = (long) wxLC_REPORT ;
24109 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24110 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24111 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
24112 wxString *arg7 = (wxString *) &arg7_defvalue ;
24113 wxListView *result;
24114 wxPoint temp3 ;
24115 wxSize temp4 ;
24116 bool temp7 = false ;
24117 PyObject * obj0 = 0 ;
24118 PyObject * obj1 = 0 ;
24119 PyObject * obj2 = 0 ;
24120 PyObject * obj3 = 0 ;
24121 PyObject * obj4 = 0 ;
24122 PyObject * obj5 = 0 ;
24123 PyObject * obj6 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24131 if (obj1) {
24132 arg2 = (int)SWIG_As_int(obj1);
24133 if (PyErr_Occurred()) SWIG_fail;
24134 }
24135 if (obj2) {
24136 {
24137 arg3 = &temp3;
24138 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24139 }
24140 }
24141 if (obj3) {
24142 {
24143 arg4 = &temp4;
24144 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24145 }
24146 }
24147 if (obj4) {
24148 arg5 = (long)SWIG_As_long(obj4);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 if (obj5) {
24152 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24153 SWIG_POINTER_EXCEPTION | 0)) == -1)
24154 SWIG_fail;
24155 if (arg6 == NULL) {
24156 PyErr_SetString(PyExc_TypeError,"null reference");
24157 SWIG_fail;
24158 }
24159 }
24160 if (obj6) {
24161 {
24162 arg7 = wxString_in_helper(obj6);
24163 if (arg7 == NULL) SWIG_fail;
24164 temp7 = true;
24165 }
24166 }
24167 {
24168 if (!wxPyCheckForApp()) SWIG_fail;
24169 PyThreadState* __tstate = wxPyBeginAllowThreads();
24170 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24171
24172 wxPyEndAllowThreads(__tstate);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
24175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24176 {
24177 if (temp7)
24178 delete arg7;
24179 }
24180 return resultobj;
24181 fail:
24182 {
24183 if (temp7)
24184 delete arg7;
24185 }
24186 return NULL;
24187 }
24188
24189
24190 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxListView *result;
24193 char *kwnames[] = {
24194 NULL
24195 };
24196
24197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
24198 {
24199 if (!wxPyCheckForApp()) SWIG_fail;
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 result = (wxListView *)new wxListView();
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24207 return resultobj;
24208 fail:
24209 return NULL;
24210 }
24211
24212
24213 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
24214 PyObject *resultobj;
24215 wxListView *arg1 = (wxListView *) 0 ;
24216 wxWindow *arg2 = (wxWindow *) 0 ;
24217 int arg3 = (int) -1 ;
24218 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24219 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24220 wxSize const &arg5_defvalue = wxDefaultSize ;
24221 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24222 long arg6 = (long) wxLC_REPORT ;
24223 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24224 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24225 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
24226 wxString *arg8 = (wxString *) &arg8_defvalue ;
24227 bool result;
24228 wxPoint temp4 ;
24229 wxSize temp5 ;
24230 bool temp8 = false ;
24231 PyObject * obj0 = 0 ;
24232 PyObject * obj1 = 0 ;
24233 PyObject * obj2 = 0 ;
24234 PyObject * obj3 = 0 ;
24235 PyObject * obj4 = 0 ;
24236 PyObject * obj5 = 0 ;
24237 PyObject * obj6 = 0 ;
24238 PyObject * obj7 = 0 ;
24239 char *kwnames[] = {
24240 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24241 };
24242
24243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24248 if (obj2) {
24249 arg3 = (int)SWIG_As_int(obj2);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 if (obj3) {
24253 {
24254 arg4 = &temp4;
24255 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24256 }
24257 }
24258 if (obj4) {
24259 {
24260 arg5 = &temp5;
24261 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24262 }
24263 }
24264 if (obj5) {
24265 arg6 = (long)SWIG_As_long(obj5);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 if (obj6) {
24269 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24270 SWIG_POINTER_EXCEPTION | 0)) == -1)
24271 SWIG_fail;
24272 if (arg7 == NULL) {
24273 PyErr_SetString(PyExc_TypeError,"null reference");
24274 SWIG_fail;
24275 }
24276 }
24277 if (obj7) {
24278 {
24279 arg8 = wxString_in_helper(obj7);
24280 if (arg8 == NULL) SWIG_fail;
24281 temp8 = true;
24282 }
24283 }
24284 {
24285 PyThreadState* __tstate = wxPyBeginAllowThreads();
24286 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24287
24288 wxPyEndAllowThreads(__tstate);
24289 if (PyErr_Occurred()) SWIG_fail;
24290 }
24291 {
24292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24293 }
24294 {
24295 if (temp8)
24296 delete arg8;
24297 }
24298 return resultobj;
24299 fail:
24300 {
24301 if (temp8)
24302 delete arg8;
24303 }
24304 return NULL;
24305 }
24306
24307
24308 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
24309 PyObject *resultobj;
24310 wxListView *arg1 = (wxListView *) 0 ;
24311 long arg2 ;
24312 bool arg3 = (bool) true ;
24313 PyObject * obj0 = 0 ;
24314 PyObject * obj1 = 0 ;
24315 PyObject * obj2 = 0 ;
24316 char *kwnames[] = {
24317 (char *) "self",(char *) "n",(char *) "on", NULL
24318 };
24319
24320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
24321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24323 arg2 = (long)SWIG_As_long(obj1);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 if (obj2) {
24326 arg3 = (bool)SWIG_As_bool(obj2);
24327 if (PyErr_Occurred()) SWIG_fail;
24328 }
24329 {
24330 PyThreadState* __tstate = wxPyBeginAllowThreads();
24331 (arg1)->Select(arg2,arg3);
24332
24333 wxPyEndAllowThreads(__tstate);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 }
24336 Py_INCREF(Py_None); resultobj = Py_None;
24337 return resultobj;
24338 fail:
24339 return NULL;
24340 }
24341
24342
24343 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxListView *arg1 = (wxListView *) 0 ;
24346 long arg2 ;
24347 PyObject * obj0 = 0 ;
24348 PyObject * obj1 = 0 ;
24349 char *kwnames[] = {
24350 (char *) "self",(char *) "index", NULL
24351 };
24352
24353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
24354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24356 arg2 = (long)SWIG_As_long(obj1);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 {
24359 PyThreadState* __tstate = wxPyBeginAllowThreads();
24360 (arg1)->Focus(arg2);
24361
24362 wxPyEndAllowThreads(__tstate);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 }
24365 Py_INCREF(Py_None); resultobj = Py_None;
24366 return resultobj;
24367 fail:
24368 return NULL;
24369 }
24370
24371
24372 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
24373 PyObject *resultobj;
24374 wxListView *arg1 = (wxListView *) 0 ;
24375 long result;
24376 PyObject * obj0 = 0 ;
24377 char *kwnames[] = {
24378 (char *) "self", NULL
24379 };
24380
24381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
24382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24384 {
24385 PyThreadState* __tstate = wxPyBeginAllowThreads();
24386 result = (long)((wxListView const *)arg1)->GetFocusedItem();
24387
24388 wxPyEndAllowThreads(__tstate);
24389 if (PyErr_Occurred()) SWIG_fail;
24390 }
24391 resultobj = SWIG_From_long((long)result);
24392 return resultobj;
24393 fail:
24394 return NULL;
24395 }
24396
24397
24398 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24399 PyObject *resultobj;
24400 wxListView *arg1 = (wxListView *) 0 ;
24401 long arg2 ;
24402 long result;
24403 PyObject * obj0 = 0 ;
24404 PyObject * obj1 = 0 ;
24405 char *kwnames[] = {
24406 (char *) "self",(char *) "item", NULL
24407 };
24408
24409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
24410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24412 arg2 = (long)SWIG_As_long(obj1);
24413 if (PyErr_Occurred()) SWIG_fail;
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 resultobj = SWIG_From_long((long)result);
24422 return resultobj;
24423 fail:
24424 return NULL;
24425 }
24426
24427
24428 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24429 PyObject *resultobj;
24430 wxListView *arg1 = (wxListView *) 0 ;
24431 long result;
24432 PyObject * obj0 = 0 ;
24433 char *kwnames[] = {
24434 (char *) "self", NULL
24435 };
24436
24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
24438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24443
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 resultobj = SWIG_From_long((long)result);
24448 return resultobj;
24449 fail:
24450 return NULL;
24451 }
24452
24453
24454 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj;
24456 wxListView *arg1 = (wxListView *) 0 ;
24457 long arg2 ;
24458 bool result;
24459 PyObject * obj0 = 0 ;
24460 PyObject * obj1 = 0 ;
24461 char *kwnames[] = {
24462 (char *) "self",(char *) "index", NULL
24463 };
24464
24465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24468 arg2 = (long)SWIG_As_long(obj1);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 {
24471 PyThreadState* __tstate = wxPyBeginAllowThreads();
24472 result = (bool)(arg1)->IsSelected(arg2);
24473
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 {
24478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24479 }
24480 return resultobj;
24481 fail:
24482 return NULL;
24483 }
24484
24485
24486 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
24487 PyObject *resultobj;
24488 wxListView *arg1 = (wxListView *) 0 ;
24489 int arg2 ;
24490 int arg3 ;
24491 PyObject * obj0 = 0 ;
24492 PyObject * obj1 = 0 ;
24493 PyObject * obj2 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "self",(char *) "col",(char *) "image", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24501 arg2 = (int)SWIG_As_int(obj1);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 arg3 = (int)SWIG_As_int(obj2);
24504 if (PyErr_Occurred()) SWIG_fail;
24505 {
24506 PyThreadState* __tstate = wxPyBeginAllowThreads();
24507 (arg1)->SetColumnImage(arg2,arg3);
24508
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 Py_INCREF(Py_None); resultobj = Py_None;
24513 return resultobj;
24514 fail:
24515 return NULL;
24516 }
24517
24518
24519 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
24520 PyObject *resultobj;
24521 wxListView *arg1 = (wxListView *) 0 ;
24522 int arg2 ;
24523 PyObject * obj0 = 0 ;
24524 PyObject * obj1 = 0 ;
24525 char *kwnames[] = {
24526 (char *) "self",(char *) "col", NULL
24527 };
24528
24529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24532 arg2 = (int)SWIG_As_int(obj1);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 (arg1)->ClearColumnImage(arg2);
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 Py_INCREF(Py_None); resultobj = Py_None;
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
24549 PyObject *obj;
24550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24551 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24552 Py_INCREF(obj);
24553 return Py_BuildValue((char *)"");
24554 }
24555 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
24556 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24557 return 1;
24558 }
24559
24560
24561 static PyObject *_wrap_TreeCtrlNameStr_get() {
24562 PyObject *pyobj;
24563
24564 {
24565 #if wxUSE_UNICODE
24566 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24567 #else
24568 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24569 #endif
24570 }
24571 return pyobj;
24572 }
24573
24574
24575 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
24576 PyObject *resultobj;
24577 wxTreeItemId *result;
24578 char *kwnames[] = {
24579 NULL
24580 };
24581
24582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (wxTreeItemId *)new wxTreeItemId();
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24591 return resultobj;
24592 fail:
24593 return NULL;
24594 }
24595
24596
24597 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
24598 PyObject *resultobj;
24599 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24600 PyObject * obj0 = 0 ;
24601 char *kwnames[] = {
24602 (char *) "self", NULL
24603 };
24604
24605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 delete arg1;
24611
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 Py_INCREF(Py_None); resultobj = Py_None;
24616 return resultobj;
24617 fail:
24618 return NULL;
24619 }
24620
24621
24622 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
24623 PyObject *resultobj;
24624 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24625 bool result;
24626 PyObject * obj0 = 0 ;
24627 char *kwnames[] = {
24628 (char *) "self", NULL
24629 };
24630
24631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24637
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 {
24642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24643 }
24644 return resultobj;
24645 fail:
24646 return NULL;
24647 }
24648
24649
24650 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
24651 PyObject *resultobj;
24652 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24653 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24654 bool result;
24655 PyObject * obj0 = 0 ;
24656 PyObject * obj1 = 0 ;
24657 char *kwnames[] = {
24658 (char *) "self",(char *) "other", NULL
24659 };
24660
24661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 {
24674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24675 }
24676 return resultobj;
24677 fail:
24678 return NULL;
24679 }
24680
24681
24682 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
24683 PyObject *resultobj;
24684 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24685 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24686 bool result;
24687 PyObject * obj0 = 0 ;
24688 PyObject * obj1 = 0 ;
24689 char *kwnames[] = {
24690 (char *) "self",(char *) "other", NULL
24691 };
24692
24693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24698 {
24699 PyThreadState* __tstate = wxPyBeginAllowThreads();
24700 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24701
24702 wxPyEndAllowThreads(__tstate);
24703 if (PyErr_Occurred()) SWIG_fail;
24704 }
24705 {
24706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24707 }
24708 return resultobj;
24709 fail:
24710 return NULL;
24711 }
24712
24713
24714 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
24715 PyObject *resultobj;
24716 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24717 void *arg2 = (void *) 0 ;
24718 PyObject * obj0 = 0 ;
24719 PyObject * obj1 = 0 ;
24720 char *kwnames[] = {
24721 (char *) "self",(char *) "m_pItem", NULL
24722 };
24723
24724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24727 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24728 if (arg1) (arg1)->m_pItem = arg2;
24729
24730 Py_INCREF(Py_None); resultobj = Py_None;
24731 return resultobj;
24732 fail:
24733 return NULL;
24734 }
24735
24736
24737 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
24738 PyObject *resultobj;
24739 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24740 void *result;
24741 PyObject * obj0 = 0 ;
24742 char *kwnames[] = {
24743 (char *) "self", NULL
24744 };
24745
24746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24749 result = (void *) ((arg1)->m_pItem);
24750
24751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24752 return resultobj;
24753 fail:
24754 return NULL;
24755 }
24756
24757
24758 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
24759 PyObject *obj;
24760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24761 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24762 Py_INCREF(obj);
24763 return Py_BuildValue((char *)"");
24764 }
24765 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24766 PyObject *resultobj;
24767 PyObject *arg1 = (PyObject *) NULL ;
24768 wxPyTreeItemData *result;
24769 PyObject * obj0 = 0 ;
24770 char *kwnames[] = {
24771 (char *) "obj", NULL
24772 };
24773
24774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24775 if (obj0) {
24776 arg1 = obj0;
24777 }
24778 {
24779 PyThreadState* __tstate = wxPyBeginAllowThreads();
24780 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24781
24782 wxPyEndAllowThreads(__tstate);
24783 if (PyErr_Occurred()) SWIG_fail;
24784 }
24785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24786 return resultobj;
24787 fail:
24788 return NULL;
24789 }
24790
24791
24792 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
24793 PyObject *resultobj;
24794 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24795 PyObject *result;
24796 PyObject * obj0 = 0 ;
24797 char *kwnames[] = {
24798 (char *) "self", NULL
24799 };
24800
24801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24804 {
24805 PyThreadState* __tstate = wxPyBeginAllowThreads();
24806 result = (PyObject *)(arg1)->GetData();
24807
24808 wxPyEndAllowThreads(__tstate);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
24811 resultobj = result;
24812 return resultobj;
24813 fail:
24814 return NULL;
24815 }
24816
24817
24818 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
24819 PyObject *resultobj;
24820 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24821 PyObject *arg2 = (PyObject *) 0 ;
24822 PyObject * obj0 = 0 ;
24823 PyObject * obj1 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "self",(char *) "obj", NULL
24826 };
24827
24828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24831 arg2 = obj1;
24832 {
24833 PyThreadState* __tstate = wxPyBeginAllowThreads();
24834 (arg1)->SetData(arg2);
24835
24836 wxPyEndAllowThreads(__tstate);
24837 if (PyErr_Occurred()) SWIG_fail;
24838 }
24839 Py_INCREF(Py_None); resultobj = Py_None;
24840 return resultobj;
24841 fail:
24842 return NULL;
24843 }
24844
24845
24846 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
24847 PyObject *resultobj;
24848 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24849 wxTreeItemId *result;
24850 PyObject * obj0 = 0 ;
24851 char *kwnames[] = {
24852 (char *) "self", NULL
24853 };
24854
24855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24858 {
24859 PyThreadState* __tstate = wxPyBeginAllowThreads();
24860 {
24861 wxTreeItemId const &_result_ref = (arg1)->GetId();
24862 result = (wxTreeItemId *) &_result_ref;
24863 }
24864
24865 wxPyEndAllowThreads(__tstate);
24866 if (PyErr_Occurred()) SWIG_fail;
24867 }
24868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24869 return resultobj;
24870 fail:
24871 return NULL;
24872 }
24873
24874
24875 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
24876 PyObject *resultobj;
24877 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24878 wxTreeItemId *arg2 = 0 ;
24879 PyObject * obj0 = 0 ;
24880 PyObject * obj1 = 0 ;
24881 char *kwnames[] = {
24882 (char *) "self",(char *) "id", NULL
24883 };
24884
24885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24889 SWIG_POINTER_EXCEPTION | 0)) == -1)
24890 SWIG_fail;
24891 if (arg2 == NULL) {
24892 PyErr_SetString(PyExc_TypeError,"null reference");
24893 SWIG_fail;
24894 }
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 (arg1)->SetId((wxTreeItemId const &)*arg2);
24898
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 Py_INCREF(Py_None); resultobj = Py_None;
24903 return resultobj;
24904 fail:
24905 return NULL;
24906 }
24907
24908
24909 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
24910 PyObject *resultobj;
24911 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24912 PyObject * obj0 = 0 ;
24913 char *kwnames[] = {
24914 (char *) "self", NULL
24915 };
24916
24917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 wxPyTreeItemData_Destroy(arg1);
24923
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 Py_INCREF(Py_None); resultobj = Py_None;
24928 return resultobj;
24929 fail:
24930 return NULL;
24931 }
24932
24933
24934 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
24935 PyObject *obj;
24936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24937 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24938 Py_INCREF(obj);
24939 return Py_BuildValue((char *)"");
24940 }
24941 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
24942 PyObject *resultobj;
24943 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24944 int arg2 = (int) 0 ;
24945 wxTreeEvent *result;
24946 PyObject * obj0 = 0 ;
24947 PyObject * obj1 = 0 ;
24948 char *kwnames[] = {
24949 (char *) "commandType",(char *) "id", NULL
24950 };
24951
24952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24953 if (obj0) {
24954 arg1 = (wxEventType)SWIG_As_int(obj0);
24955 if (PyErr_Occurred()) SWIG_fail;
24956 }
24957 if (obj1) {
24958 arg2 = (int)SWIG_As_int(obj1);
24959 if (PyErr_Occurred()) SWIG_fail;
24960 }
24961 {
24962 PyThreadState* __tstate = wxPyBeginAllowThreads();
24963 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24964
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24969 return resultobj;
24970 fail:
24971 return NULL;
24972 }
24973
24974
24975 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24976 PyObject *resultobj;
24977 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24978 wxTreeItemId result;
24979 PyObject * obj0 = 0 ;
24980 char *kwnames[] = {
24981 (char *) "self", NULL
24982 };
24983
24984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24987 {
24988 PyThreadState* __tstate = wxPyBeginAllowThreads();
24989 result = ((wxTreeEvent const *)arg1)->GetItem();
24990
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 {
24995 wxTreeItemId * resultptr;
24996 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24998 }
24999 return resultobj;
25000 fail:
25001 return NULL;
25002 }
25003
25004
25005 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj;
25007 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25008 wxTreeItemId *arg2 = 0 ;
25009 PyObject * obj0 = 0 ;
25010 PyObject * obj1 = 0 ;
25011 char *kwnames[] = {
25012 (char *) "self",(char *) "item", NULL
25013 };
25014
25015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
25016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25019 SWIG_POINTER_EXCEPTION | 0)) == -1)
25020 SWIG_fail;
25021 if (arg2 == NULL) {
25022 PyErr_SetString(PyExc_TypeError,"null reference");
25023 SWIG_fail;
25024 }
25025 {
25026 PyThreadState* __tstate = wxPyBeginAllowThreads();
25027 (arg1)->SetItem((wxTreeItemId const &)*arg2);
25028
25029 wxPyEndAllowThreads(__tstate);
25030 if (PyErr_Occurred()) SWIG_fail;
25031 }
25032 Py_INCREF(Py_None); resultobj = Py_None;
25033 return resultobj;
25034 fail:
25035 return NULL;
25036 }
25037
25038
25039 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
25040 PyObject *resultobj;
25041 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25042 wxTreeItemId result;
25043 PyObject * obj0 = 0 ;
25044 char *kwnames[] = {
25045 (char *) "self", NULL
25046 };
25047
25048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
25049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 result = ((wxTreeEvent const *)arg1)->GetOldItem();
25054
25055 wxPyEndAllowThreads(__tstate);
25056 if (PyErr_Occurred()) SWIG_fail;
25057 }
25058 {
25059 wxTreeItemId * resultptr;
25060 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25062 }
25063 return resultobj;
25064 fail:
25065 return NULL;
25066 }
25067
25068
25069 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
25070 PyObject *resultobj;
25071 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25072 wxTreeItemId *arg2 = 0 ;
25073 PyObject * obj0 = 0 ;
25074 PyObject * obj1 = 0 ;
25075 char *kwnames[] = {
25076 (char *) "self",(char *) "item", NULL
25077 };
25078
25079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
25080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25083 SWIG_POINTER_EXCEPTION | 0)) == -1)
25084 SWIG_fail;
25085 if (arg2 == NULL) {
25086 PyErr_SetString(PyExc_TypeError,"null reference");
25087 SWIG_fail;
25088 }
25089 {
25090 PyThreadState* __tstate = wxPyBeginAllowThreads();
25091 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
25092
25093 wxPyEndAllowThreads(__tstate);
25094 if (PyErr_Occurred()) SWIG_fail;
25095 }
25096 Py_INCREF(Py_None); resultobj = Py_None;
25097 return resultobj;
25098 fail:
25099 return NULL;
25100 }
25101
25102
25103 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
25104 PyObject *resultobj;
25105 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25106 wxPoint result;
25107 PyObject * obj0 = 0 ;
25108 char *kwnames[] = {
25109 (char *) "self", NULL
25110 };
25111
25112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
25113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25115 {
25116 PyThreadState* __tstate = wxPyBeginAllowThreads();
25117 result = ((wxTreeEvent const *)arg1)->GetPoint();
25118
25119 wxPyEndAllowThreads(__tstate);
25120 if (PyErr_Occurred()) SWIG_fail;
25121 }
25122 {
25123 wxPoint * resultptr;
25124 resultptr = new wxPoint((wxPoint &) result);
25125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25126 }
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj;
25135 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25136 wxPoint *arg2 = 0 ;
25137 wxPoint temp2 ;
25138 PyObject * obj0 = 0 ;
25139 PyObject * obj1 = 0 ;
25140 char *kwnames[] = {
25141 (char *) "self",(char *) "pt", NULL
25142 };
25143
25144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
25145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25147 {
25148 arg2 = &temp2;
25149 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25150 }
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 (arg1)->SetPoint((wxPoint const &)*arg2);
25154
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 Py_INCREF(Py_None); resultobj = Py_None;
25159 return resultobj;
25160 fail:
25161 return NULL;
25162 }
25163
25164
25165 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25166 PyObject *resultobj;
25167 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25168 wxKeyEvent *result;
25169 PyObject * obj0 = 0 ;
25170 char *kwnames[] = {
25171 (char *) "self", NULL
25172 };
25173
25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
25175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 {
25180 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
25181 result = (wxKeyEvent *) &_result_ref;
25182 }
25183
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
25188 return resultobj;
25189 fail:
25190 return NULL;
25191 }
25192
25193
25194 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
25195 PyObject *resultobj;
25196 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25197 int result;
25198 PyObject * obj0 = 0 ;
25199 char *kwnames[] = {
25200 (char *) "self", NULL
25201 };
25202
25203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
25204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
25209
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 resultobj = SWIG_From_int((int)result);
25214 return resultobj;
25215 fail:
25216 return NULL;
25217 }
25218
25219
25220 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25221 PyObject *resultobj;
25222 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25223 wxKeyEvent *arg2 = 0 ;
25224 PyObject * obj0 = 0 ;
25225 PyObject * obj1 = 0 ;
25226 char *kwnames[] = {
25227 (char *) "self",(char *) "evt", NULL
25228 };
25229
25230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
25231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
25234 SWIG_POINTER_EXCEPTION | 0)) == -1)
25235 SWIG_fail;
25236 if (arg2 == NULL) {
25237 PyErr_SetString(PyExc_TypeError,"null reference");
25238 SWIG_fail;
25239 }
25240 {
25241 PyThreadState* __tstate = wxPyBeginAllowThreads();
25242 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
25243
25244 wxPyEndAllowThreads(__tstate);
25245 if (PyErr_Occurred()) SWIG_fail;
25246 }
25247 Py_INCREF(Py_None); resultobj = Py_None;
25248 return resultobj;
25249 fail:
25250 return NULL;
25251 }
25252
25253
25254 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25255 PyObject *resultobj;
25256 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25257 wxString *result;
25258 PyObject * obj0 = 0 ;
25259 char *kwnames[] = {
25260 (char *) "self", NULL
25261 };
25262
25263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
25264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25266 {
25267 PyThreadState* __tstate = wxPyBeginAllowThreads();
25268 {
25269 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
25270 result = (wxString *) &_result_ref;
25271 }
25272
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 {
25277 #if wxUSE_UNICODE
25278 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25279 #else
25280 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25281 #endif
25282 }
25283 return resultobj;
25284 fail:
25285 return NULL;
25286 }
25287
25288
25289 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25290 PyObject *resultobj;
25291 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25292 wxString *arg2 = 0 ;
25293 bool temp2 = false ;
25294 PyObject * obj0 = 0 ;
25295 PyObject * obj1 = 0 ;
25296 char *kwnames[] = {
25297 (char *) "self",(char *) "label", NULL
25298 };
25299
25300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
25301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25303 {
25304 arg2 = wxString_in_helper(obj1);
25305 if (arg2 == NULL) SWIG_fail;
25306 temp2 = true;
25307 }
25308 {
25309 PyThreadState* __tstate = wxPyBeginAllowThreads();
25310 (arg1)->SetLabel((wxString const &)*arg2);
25311
25312 wxPyEndAllowThreads(__tstate);
25313 if (PyErr_Occurred()) SWIG_fail;
25314 }
25315 Py_INCREF(Py_None); resultobj = Py_None;
25316 {
25317 if (temp2)
25318 delete arg2;
25319 }
25320 return resultobj;
25321 fail:
25322 {
25323 if (temp2)
25324 delete arg2;
25325 }
25326 return NULL;
25327 }
25328
25329
25330 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
25331 PyObject *resultobj;
25332 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25333 bool result;
25334 PyObject * obj0 = 0 ;
25335 char *kwnames[] = {
25336 (char *) "self", NULL
25337 };
25338
25339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
25340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25342 {
25343 PyThreadState* __tstate = wxPyBeginAllowThreads();
25344 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
25345
25346 wxPyEndAllowThreads(__tstate);
25347 if (PyErr_Occurred()) SWIG_fail;
25348 }
25349 {
25350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25351 }
25352 return resultobj;
25353 fail:
25354 return NULL;
25355 }
25356
25357
25358 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
25359 PyObject *resultobj;
25360 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25361 bool arg2 ;
25362 PyObject * obj0 = 0 ;
25363 PyObject * obj1 = 0 ;
25364 char *kwnames[] = {
25365 (char *) "self",(char *) "editCancelled", NULL
25366 };
25367
25368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
25369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25371 arg2 = (bool)SWIG_As_bool(obj1);
25372 if (PyErr_Occurred()) SWIG_fail;
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 (arg1)->SetEditCanceled(arg2);
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 Py_INCREF(Py_None); resultobj = Py_None;
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj;
25389 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25390 wxString *arg2 = 0 ;
25391 bool temp2 = false ;
25392 PyObject * obj0 = 0 ;
25393 PyObject * obj1 = 0 ;
25394 char *kwnames[] = {
25395 (char *) "self",(char *) "toolTip", NULL
25396 };
25397
25398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
25399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25401 {
25402 arg2 = wxString_in_helper(obj1);
25403 if (arg2 == NULL) SWIG_fail;
25404 temp2 = true;
25405 }
25406 {
25407 PyThreadState* __tstate = wxPyBeginAllowThreads();
25408 (arg1)->SetToolTip((wxString const &)*arg2);
25409
25410 wxPyEndAllowThreads(__tstate);
25411 if (PyErr_Occurred()) SWIG_fail;
25412 }
25413 Py_INCREF(Py_None); resultobj = Py_None;
25414 {
25415 if (temp2)
25416 delete arg2;
25417 }
25418 return resultobj;
25419 fail:
25420 {
25421 if (temp2)
25422 delete arg2;
25423 }
25424 return NULL;
25425 }
25426
25427
25428 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
25429 PyObject *obj;
25430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25431 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25432 Py_INCREF(obj);
25433 return Py_BuildValue((char *)"");
25434 }
25435 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25436 PyObject *resultobj;
25437 wxWindow *arg1 = (wxWindow *) 0 ;
25438 int arg2 = (int) -1 ;
25439 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25440 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25441 wxSize const &arg4_defvalue = wxDefaultSize ;
25442 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25443 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25444 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25445 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25446 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
25447 wxString *arg7 = (wxString *) &arg7_defvalue ;
25448 wxPyTreeCtrl *result;
25449 wxPoint temp3 ;
25450 wxSize temp4 ;
25451 bool temp7 = false ;
25452 PyObject * obj0 = 0 ;
25453 PyObject * obj1 = 0 ;
25454 PyObject * obj2 = 0 ;
25455 PyObject * obj3 = 0 ;
25456 PyObject * obj4 = 0 ;
25457 PyObject * obj5 = 0 ;
25458 PyObject * obj6 = 0 ;
25459 char *kwnames[] = {
25460 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25461 };
25462
25463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25466 if (obj1) {
25467 arg2 = (int)SWIG_As_int(obj1);
25468 if (PyErr_Occurred()) SWIG_fail;
25469 }
25470 if (obj2) {
25471 {
25472 arg3 = &temp3;
25473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25474 }
25475 }
25476 if (obj3) {
25477 {
25478 arg4 = &temp4;
25479 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25480 }
25481 }
25482 if (obj4) {
25483 arg5 = (long)SWIG_As_long(obj4);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 if (obj5) {
25487 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25488 SWIG_POINTER_EXCEPTION | 0)) == -1)
25489 SWIG_fail;
25490 if (arg6 == NULL) {
25491 PyErr_SetString(PyExc_TypeError,"null reference");
25492 SWIG_fail;
25493 }
25494 }
25495 if (obj6) {
25496 {
25497 arg7 = wxString_in_helper(obj6);
25498 if (arg7 == NULL) SWIG_fail;
25499 temp7 = true;
25500 }
25501 }
25502 {
25503 if (!wxPyCheckForApp()) SWIG_fail;
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25506
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
25510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25511 {
25512 if (temp7)
25513 delete arg7;
25514 }
25515 return resultobj;
25516 fail:
25517 {
25518 if (temp7)
25519 delete arg7;
25520 }
25521 return NULL;
25522 }
25523
25524
25525 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25526 PyObject *resultobj;
25527 wxPyTreeCtrl *result;
25528 char *kwnames[] = {
25529 NULL
25530 };
25531
25532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25533 {
25534 if (!wxPyCheckForApp()) SWIG_fail;
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25537
25538 wxPyEndAllowThreads(__tstate);
25539 if (PyErr_Occurred()) SWIG_fail;
25540 }
25541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25542 return resultobj;
25543 fail:
25544 return NULL;
25545 }
25546
25547
25548 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
25549 PyObject *resultobj;
25550 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25551 wxWindow *arg2 = (wxWindow *) 0 ;
25552 int arg3 = (int) -1 ;
25553 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25554 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25555 wxSize const &arg5_defvalue = wxDefaultSize ;
25556 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25557 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25558 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25559 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25560 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25561 wxString *arg8 = (wxString *) &arg8_defvalue ;
25562 bool result;
25563 wxPoint temp4 ;
25564 wxSize temp5 ;
25565 bool temp8 = false ;
25566 PyObject * obj0 = 0 ;
25567 PyObject * obj1 = 0 ;
25568 PyObject * obj2 = 0 ;
25569 PyObject * obj3 = 0 ;
25570 PyObject * obj4 = 0 ;
25571 PyObject * obj5 = 0 ;
25572 PyObject * obj6 = 0 ;
25573 PyObject * obj7 = 0 ;
25574 char *kwnames[] = {
25575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25576 };
25577
25578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25583 if (obj2) {
25584 arg3 = (int)SWIG_As_int(obj2);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 if (obj3) {
25588 {
25589 arg4 = &temp4;
25590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25591 }
25592 }
25593 if (obj4) {
25594 {
25595 arg5 = &temp5;
25596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25597 }
25598 }
25599 if (obj5) {
25600 arg6 = (long)SWIG_As_long(obj5);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 if (obj6) {
25604 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25605 SWIG_POINTER_EXCEPTION | 0)) == -1)
25606 SWIG_fail;
25607 if (arg7 == NULL) {
25608 PyErr_SetString(PyExc_TypeError,"null reference");
25609 SWIG_fail;
25610 }
25611 }
25612 if (obj7) {
25613 {
25614 arg8 = wxString_in_helper(obj7);
25615 if (arg8 == NULL) SWIG_fail;
25616 temp8 = true;
25617 }
25618 }
25619 {
25620 PyThreadState* __tstate = wxPyBeginAllowThreads();
25621 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25622
25623 wxPyEndAllowThreads(__tstate);
25624 if (PyErr_Occurred()) SWIG_fail;
25625 }
25626 {
25627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25628 }
25629 {
25630 if (temp8)
25631 delete arg8;
25632 }
25633 return resultobj;
25634 fail:
25635 {
25636 if (temp8)
25637 delete arg8;
25638 }
25639 return NULL;
25640 }
25641
25642
25643 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25646 PyObject *arg2 = (PyObject *) 0 ;
25647 PyObject *arg3 = (PyObject *) 0 ;
25648 PyObject * obj0 = 0 ;
25649 PyObject * obj1 = 0 ;
25650 PyObject * obj2 = 0 ;
25651 char *kwnames[] = {
25652 (char *) "self",(char *) "self",(char *) "_class", NULL
25653 };
25654
25655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25658 arg2 = obj1;
25659 arg3 = obj2;
25660 {
25661 PyThreadState* __tstate = wxPyBeginAllowThreads();
25662 (arg1)->_setCallbackInfo(arg2,arg3);
25663
25664 wxPyEndAllowThreads(__tstate);
25665 if (PyErr_Occurred()) SWIG_fail;
25666 }
25667 Py_INCREF(Py_None); resultobj = Py_None;
25668 return resultobj;
25669 fail:
25670 return NULL;
25671 }
25672
25673
25674 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
25675 PyObject *resultobj;
25676 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25677 size_t result;
25678 PyObject * obj0 = 0 ;
25679 char *kwnames[] = {
25680 (char *) "self", NULL
25681 };
25682
25683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25686 {
25687 PyThreadState* __tstate = wxPyBeginAllowThreads();
25688 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25689
25690 wxPyEndAllowThreads(__tstate);
25691 if (PyErr_Occurred()) SWIG_fail;
25692 }
25693 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25694 return resultobj;
25695 fail:
25696 return NULL;
25697 }
25698
25699
25700 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
25701 PyObject *resultobj;
25702 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25703 unsigned int result;
25704 PyObject * obj0 = 0 ;
25705 char *kwnames[] = {
25706 (char *) "self", NULL
25707 };
25708
25709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25712 {
25713 PyThreadState* __tstate = wxPyBeginAllowThreads();
25714 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25715
25716 wxPyEndAllowThreads(__tstate);
25717 if (PyErr_Occurred()) SWIG_fail;
25718 }
25719 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
25720 return resultobj;
25721 fail:
25722 return NULL;
25723 }
25724
25725
25726 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
25727 PyObject *resultobj;
25728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25729 unsigned int arg2 ;
25730 PyObject * obj0 = 0 ;
25731 PyObject * obj1 = 0 ;
25732 char *kwnames[] = {
25733 (char *) "self",(char *) "indent", NULL
25734 };
25735
25736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25739 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
25740 if (PyErr_Occurred()) SWIG_fail;
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 (arg1)->SetIndent(arg2);
25744
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 Py_INCREF(Py_None); resultobj = Py_None;
25749 return resultobj;
25750 fail:
25751 return NULL;
25752 }
25753
25754
25755 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25756 PyObject *resultobj;
25757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25758 unsigned int result;
25759 PyObject * obj0 = 0 ;
25760 char *kwnames[] = {
25761 (char *) "self", NULL
25762 };
25763
25764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25767 {
25768 PyThreadState* __tstate = wxPyBeginAllowThreads();
25769 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25770
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
25775 return resultobj;
25776 fail:
25777 return NULL;
25778 }
25779
25780
25781 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25782 PyObject *resultobj;
25783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25784 unsigned int arg2 ;
25785 PyObject * obj0 = 0 ;
25786 PyObject * obj1 = 0 ;
25787 char *kwnames[] = {
25788 (char *) "self",(char *) "spacing", NULL
25789 };
25790
25791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25794 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 {
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 (arg1)->SetSpacing(arg2);
25799
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 Py_INCREF(Py_None); resultobj = Py_None;
25804 return resultobj;
25805 fail:
25806 return NULL;
25807 }
25808
25809
25810 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25811 PyObject *resultobj;
25812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25813 wxImageList *result;
25814 PyObject * obj0 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25822 {
25823 PyThreadState* __tstate = wxPyBeginAllowThreads();
25824 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25825
25826 wxPyEndAllowThreads(__tstate);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 }
25829 {
25830 resultobj = wxPyMake_wxObject(result, 0);
25831 }
25832 return resultobj;
25833 fail:
25834 return NULL;
25835 }
25836
25837
25838 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25839 PyObject *resultobj;
25840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25841 wxImageList *result;
25842 PyObject * obj0 = 0 ;
25843 char *kwnames[] = {
25844 (char *) "self", NULL
25845 };
25846
25847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25850 {
25851 PyThreadState* __tstate = wxPyBeginAllowThreads();
25852 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25853
25854 wxPyEndAllowThreads(__tstate);
25855 if (PyErr_Occurred()) SWIG_fail;
25856 }
25857 {
25858 resultobj = wxPyMake_wxObject(result, 0);
25859 }
25860 return resultobj;
25861 fail:
25862 return NULL;
25863 }
25864
25865
25866 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25867 PyObject *resultobj;
25868 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25869 wxImageList *arg2 = (wxImageList *) 0 ;
25870 PyObject * obj0 = 0 ;
25871 PyObject * obj1 = 0 ;
25872 char *kwnames[] = {
25873 (char *) "self",(char *) "imageList", NULL
25874 };
25875
25876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 (arg1)->SetImageList(arg2);
25884
25885 wxPyEndAllowThreads(__tstate);
25886 if (PyErr_Occurred()) SWIG_fail;
25887 }
25888 Py_INCREF(Py_None); resultobj = Py_None;
25889 return resultobj;
25890 fail:
25891 return NULL;
25892 }
25893
25894
25895 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25896 PyObject *resultobj;
25897 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25898 wxImageList *arg2 = (wxImageList *) 0 ;
25899 PyObject * obj0 = 0 ;
25900 PyObject * obj1 = 0 ;
25901 char *kwnames[] = {
25902 (char *) "self",(char *) "imageList", NULL
25903 };
25904
25905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25910 {
25911 PyThreadState* __tstate = wxPyBeginAllowThreads();
25912 (arg1)->SetStateImageList(arg2);
25913
25914 wxPyEndAllowThreads(__tstate);
25915 if (PyErr_Occurred()) SWIG_fail;
25916 }
25917 Py_INCREF(Py_None); resultobj = Py_None;
25918 return resultobj;
25919 fail:
25920 return NULL;
25921 }
25922
25923
25924 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25925 PyObject *resultobj;
25926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25927 wxImageList *arg2 = (wxImageList *) 0 ;
25928 PyObject * obj0 = 0 ;
25929 PyObject * obj1 = 0 ;
25930 char *kwnames[] = {
25931 (char *) "self",(char *) "imageList", NULL
25932 };
25933
25934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25938 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 (arg1)->AssignImageList(arg2);
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 Py_INCREF(Py_None); resultobj = Py_None;
25947 return resultobj;
25948 fail:
25949 return NULL;
25950 }
25951
25952
25953 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25954 PyObject *resultobj;
25955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25956 wxImageList *arg2 = (wxImageList *) 0 ;
25957 PyObject * obj0 = 0 ;
25958 PyObject * obj1 = 0 ;
25959 char *kwnames[] = {
25960 (char *) "self",(char *) "imageList", NULL
25961 };
25962
25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25967 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25968 {
25969 PyThreadState* __tstate = wxPyBeginAllowThreads();
25970 (arg1)->AssignStateImageList(arg2);
25971
25972 wxPyEndAllowThreads(__tstate);
25973 if (PyErr_Occurred()) SWIG_fail;
25974 }
25975 Py_INCREF(Py_None); resultobj = Py_None;
25976 return resultobj;
25977 fail:
25978 return NULL;
25979 }
25980
25981
25982 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
25983 PyObject *resultobj;
25984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25985 wxTreeItemId *arg2 = 0 ;
25986 wxString result;
25987 PyObject * obj0 = 0 ;
25988 PyObject * obj1 = 0 ;
25989 char *kwnames[] = {
25990 (char *) "self",(char *) "item", NULL
25991 };
25992
25993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25997 SWIG_POINTER_EXCEPTION | 0)) == -1)
25998 SWIG_fail;
25999 if (arg2 == NULL) {
26000 PyErr_SetString(PyExc_TypeError,"null reference");
26001 SWIG_fail;
26002 }
26003 {
26004 PyThreadState* __tstate = wxPyBeginAllowThreads();
26005 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
26006
26007 wxPyEndAllowThreads(__tstate);
26008 if (PyErr_Occurred()) SWIG_fail;
26009 }
26010 {
26011 #if wxUSE_UNICODE
26012 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26013 #else
26014 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26015 #endif
26016 }
26017 return resultobj;
26018 fail:
26019 return NULL;
26020 }
26021
26022
26023 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
26024 PyObject *resultobj;
26025 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26026 wxTreeItemId *arg2 = 0 ;
26027 int arg3 = (int) wxTreeItemIcon_Normal ;
26028 int result;
26029 PyObject * obj0 = 0 ;
26030 PyObject * obj1 = 0 ;
26031 PyObject * obj2 = 0 ;
26032 char *kwnames[] = {
26033 (char *) "self",(char *) "item",(char *) "which", NULL
26034 };
26035
26036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26040 SWIG_POINTER_EXCEPTION | 0)) == -1)
26041 SWIG_fail;
26042 if (arg2 == NULL) {
26043 PyErr_SetString(PyExc_TypeError,"null reference");
26044 SWIG_fail;
26045 }
26046 if (obj2) {
26047 arg3 = (int)SWIG_As_int(obj2);
26048 if (PyErr_Occurred()) SWIG_fail;
26049 }
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
26053
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 resultobj = SWIG_From_int((int)result);
26058 return resultobj;
26059 fail:
26060 return NULL;
26061 }
26062
26063
26064 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26065 PyObject *resultobj;
26066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26067 wxTreeItemId *arg2 = 0 ;
26068 wxPyTreeItemData *result;
26069 PyObject * obj0 = 0 ;
26070 PyObject * obj1 = 0 ;
26071 char *kwnames[] = {
26072 (char *) "self",(char *) "item", NULL
26073 };
26074
26075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
26076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26079 SWIG_POINTER_EXCEPTION | 0)) == -1)
26080 SWIG_fail;
26081 if (arg2 == NULL) {
26082 PyErr_SetString(PyExc_TypeError,"null reference");
26083 SWIG_fail;
26084 }
26085 {
26086 PyThreadState* __tstate = wxPyBeginAllowThreads();
26087 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
26088
26089 wxPyEndAllowThreads(__tstate);
26090 if (PyErr_Occurred()) SWIG_fail;
26091 }
26092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
26093 return resultobj;
26094 fail:
26095 return NULL;
26096 }
26097
26098
26099 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
26100 PyObject *resultobj;
26101 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26102 wxTreeItemId *arg2 = 0 ;
26103 PyObject *result;
26104 PyObject * obj0 = 0 ;
26105 PyObject * obj1 = 0 ;
26106 char *kwnames[] = {
26107 (char *) "self",(char *) "item", NULL
26108 };
26109
26110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
26111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26114 SWIG_POINTER_EXCEPTION | 0)) == -1)
26115 SWIG_fail;
26116 if (arg2 == NULL) {
26117 PyErr_SetString(PyExc_TypeError,"null reference");
26118 SWIG_fail;
26119 }
26120 {
26121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26122 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
26123
26124 wxPyEndAllowThreads(__tstate);
26125 if (PyErr_Occurred()) SWIG_fail;
26126 }
26127 resultobj = result;
26128 return resultobj;
26129 fail:
26130 return NULL;
26131 }
26132
26133
26134 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26135 PyObject *resultobj;
26136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26137 wxTreeItemId *arg2 = 0 ;
26138 wxColour result;
26139 PyObject * obj0 = 0 ;
26140 PyObject * obj1 = 0 ;
26141 char *kwnames[] = {
26142 (char *) "self",(char *) "item", NULL
26143 };
26144
26145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26148 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26149 SWIG_POINTER_EXCEPTION | 0)) == -1)
26150 SWIG_fail;
26151 if (arg2 == NULL) {
26152 PyErr_SetString(PyExc_TypeError,"null reference");
26153 SWIG_fail;
26154 }
26155 {
26156 PyThreadState* __tstate = wxPyBeginAllowThreads();
26157 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
26158
26159 wxPyEndAllowThreads(__tstate);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 }
26162 {
26163 wxColour * resultptr;
26164 resultptr = new wxColour((wxColour &) result);
26165 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26166 }
26167 return resultobj;
26168 fail:
26169 return NULL;
26170 }
26171
26172
26173 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26174 PyObject *resultobj;
26175 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26176 wxTreeItemId *arg2 = 0 ;
26177 wxColour result;
26178 PyObject * obj0 = 0 ;
26179 PyObject * obj1 = 0 ;
26180 char *kwnames[] = {
26181 (char *) "self",(char *) "item", NULL
26182 };
26183
26184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26188 SWIG_POINTER_EXCEPTION | 0)) == -1)
26189 SWIG_fail;
26190 if (arg2 == NULL) {
26191 PyErr_SetString(PyExc_TypeError,"null reference");
26192 SWIG_fail;
26193 }
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
26197
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
26201 {
26202 wxColour * resultptr;
26203 resultptr = new wxColour((wxColour &) result);
26204 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26205 }
26206 return resultobj;
26207 fail:
26208 return NULL;
26209 }
26210
26211
26212 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26213 PyObject *resultobj;
26214 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26215 wxTreeItemId *arg2 = 0 ;
26216 wxFont result;
26217 PyObject * obj0 = 0 ;
26218 PyObject * obj1 = 0 ;
26219 char *kwnames[] = {
26220 (char *) "self",(char *) "item", NULL
26221 };
26222
26223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
26224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26227 SWIG_POINTER_EXCEPTION | 0)) == -1)
26228 SWIG_fail;
26229 if (arg2 == NULL) {
26230 PyErr_SetString(PyExc_TypeError,"null reference");
26231 SWIG_fail;
26232 }
26233 {
26234 PyThreadState* __tstate = wxPyBeginAllowThreads();
26235 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
26236
26237 wxPyEndAllowThreads(__tstate);
26238 if (PyErr_Occurred()) SWIG_fail;
26239 }
26240 {
26241 wxFont * resultptr;
26242 resultptr = new wxFont((wxFont &) result);
26243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
26244 }
26245 return resultobj;
26246 fail:
26247 return NULL;
26248 }
26249
26250
26251 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
26252 PyObject *resultobj;
26253 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26254 wxTreeItemId *arg2 = 0 ;
26255 wxString *arg3 = 0 ;
26256 bool temp3 = false ;
26257 PyObject * obj0 = 0 ;
26258 PyObject * obj1 = 0 ;
26259 PyObject * obj2 = 0 ;
26260 char *kwnames[] = {
26261 (char *) "self",(char *) "item",(char *) "text", NULL
26262 };
26263
26264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
26265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26268 SWIG_POINTER_EXCEPTION | 0)) == -1)
26269 SWIG_fail;
26270 if (arg2 == NULL) {
26271 PyErr_SetString(PyExc_TypeError,"null reference");
26272 SWIG_fail;
26273 }
26274 {
26275 arg3 = wxString_in_helper(obj2);
26276 if (arg3 == NULL) SWIG_fail;
26277 temp3 = true;
26278 }
26279 {
26280 PyThreadState* __tstate = wxPyBeginAllowThreads();
26281 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
26282
26283 wxPyEndAllowThreads(__tstate);
26284 if (PyErr_Occurred()) SWIG_fail;
26285 }
26286 Py_INCREF(Py_None); resultobj = Py_None;
26287 {
26288 if (temp3)
26289 delete arg3;
26290 }
26291 return resultobj;
26292 fail:
26293 {
26294 if (temp3)
26295 delete arg3;
26296 }
26297 return NULL;
26298 }
26299
26300
26301 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
26302 PyObject *resultobj;
26303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26304 wxTreeItemId *arg2 = 0 ;
26305 int arg3 ;
26306 int arg4 = (int) wxTreeItemIcon_Normal ;
26307 PyObject * obj0 = 0 ;
26308 PyObject * obj1 = 0 ;
26309 PyObject * obj2 = 0 ;
26310 PyObject * obj3 = 0 ;
26311 char *kwnames[] = {
26312 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26313 };
26314
26315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26319 SWIG_POINTER_EXCEPTION | 0)) == -1)
26320 SWIG_fail;
26321 if (arg2 == NULL) {
26322 PyErr_SetString(PyExc_TypeError,"null reference");
26323 SWIG_fail;
26324 }
26325 arg3 = (int)SWIG_As_int(obj2);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 if (obj3) {
26328 arg4 = (int)SWIG_As_int(obj3);
26329 if (PyErr_Occurred()) SWIG_fail;
26330 }
26331 {
26332 PyThreadState* __tstate = wxPyBeginAllowThreads();
26333 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
26334
26335 wxPyEndAllowThreads(__tstate);
26336 if (PyErr_Occurred()) SWIG_fail;
26337 }
26338 Py_INCREF(Py_None); resultobj = Py_None;
26339 return resultobj;
26340 fail:
26341 return NULL;
26342 }
26343
26344
26345 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26346 PyObject *resultobj;
26347 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26348 wxTreeItemId *arg2 = 0 ;
26349 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
26350 PyObject * obj0 = 0 ;
26351 PyObject * obj1 = 0 ;
26352 PyObject * obj2 = 0 ;
26353 char *kwnames[] = {
26354 (char *) "self",(char *) "item",(char *) "data", NULL
26355 };
26356
26357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26361 SWIG_POINTER_EXCEPTION | 0)) == -1)
26362 SWIG_fail;
26363 if (arg2 == NULL) {
26364 PyErr_SetString(PyExc_TypeError,"null reference");
26365 SWIG_fail;
26366 }
26367 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
26368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26369 {
26370 PyThreadState* __tstate = wxPyBeginAllowThreads();
26371 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
26372
26373 wxPyEndAllowThreads(__tstate);
26374 if (PyErr_Occurred()) SWIG_fail;
26375 }
26376 Py_INCREF(Py_None); resultobj = Py_None;
26377 return resultobj;
26378 fail:
26379 return NULL;
26380 }
26381
26382
26383 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
26384 PyObject *resultobj;
26385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26386 wxTreeItemId *arg2 = 0 ;
26387 PyObject *arg3 = (PyObject *) 0 ;
26388 PyObject * obj0 = 0 ;
26389 PyObject * obj1 = 0 ;
26390 PyObject * obj2 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self",(char *) "item",(char *) "obj", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26399 SWIG_POINTER_EXCEPTION | 0)) == -1)
26400 SWIG_fail;
26401 if (arg2 == NULL) {
26402 PyErr_SetString(PyExc_TypeError,"null reference");
26403 SWIG_fail;
26404 }
26405 arg3 = obj2;
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
26413 Py_INCREF(Py_None); resultobj = Py_None;
26414 return resultobj;
26415 fail:
26416 return NULL;
26417 }
26418
26419
26420 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26421 PyObject *resultobj;
26422 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26423 wxTreeItemId *arg2 = 0 ;
26424 bool arg3 = (bool) true ;
26425 PyObject * obj0 = 0 ;
26426 PyObject * obj1 = 0 ;
26427 PyObject * obj2 = 0 ;
26428 char *kwnames[] = {
26429 (char *) "self",(char *) "item",(char *) "has", NULL
26430 };
26431
26432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
26433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26436 SWIG_POINTER_EXCEPTION | 0)) == -1)
26437 SWIG_fail;
26438 if (arg2 == NULL) {
26439 PyErr_SetString(PyExc_TypeError,"null reference");
26440 SWIG_fail;
26441 }
26442 if (obj2) {
26443 arg3 = (bool)SWIG_As_bool(obj2);
26444 if (PyErr_Occurred()) SWIG_fail;
26445 }
26446 {
26447 PyThreadState* __tstate = wxPyBeginAllowThreads();
26448 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26449
26450 wxPyEndAllowThreads(__tstate);
26451 if (PyErr_Occurred()) SWIG_fail;
26452 }
26453 Py_INCREF(Py_None); resultobj = Py_None;
26454 return resultobj;
26455 fail:
26456 return NULL;
26457 }
26458
26459
26460 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
26461 PyObject *resultobj;
26462 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26463 wxTreeItemId *arg2 = 0 ;
26464 bool arg3 = (bool) true ;
26465 PyObject * obj0 = 0 ;
26466 PyObject * obj1 = 0 ;
26467 PyObject * obj2 = 0 ;
26468 char *kwnames[] = {
26469 (char *) "self",(char *) "item",(char *) "bold", NULL
26470 };
26471
26472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
26473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26476 SWIG_POINTER_EXCEPTION | 0)) == -1)
26477 SWIG_fail;
26478 if (arg2 == NULL) {
26479 PyErr_SetString(PyExc_TypeError,"null reference");
26480 SWIG_fail;
26481 }
26482 if (obj2) {
26483 arg3 = (bool)SWIG_As_bool(obj2);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 }
26486 {
26487 PyThreadState* __tstate = wxPyBeginAllowThreads();
26488 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26489
26490 wxPyEndAllowThreads(__tstate);
26491 if (PyErr_Occurred()) SWIG_fail;
26492 }
26493 Py_INCREF(Py_None); resultobj = Py_None;
26494 return resultobj;
26495 fail:
26496 return NULL;
26497 }
26498
26499
26500 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26501 PyObject *resultobj;
26502 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26503 wxTreeItemId *arg2 = 0 ;
26504 wxColour *arg3 = 0 ;
26505 wxColour temp3 ;
26506 PyObject * obj0 = 0 ;
26507 PyObject * obj1 = 0 ;
26508 PyObject * obj2 = 0 ;
26509 char *kwnames[] = {
26510 (char *) "self",(char *) "item",(char *) "col", NULL
26511 };
26512
26513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26517 SWIG_POINTER_EXCEPTION | 0)) == -1)
26518 SWIG_fail;
26519 if (arg2 == NULL) {
26520 PyErr_SetString(PyExc_TypeError,"null reference");
26521 SWIG_fail;
26522 }
26523 {
26524 arg3 = &temp3;
26525 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26526 }
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26530
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 Py_INCREF(Py_None); resultobj = Py_None;
26535 return resultobj;
26536 fail:
26537 return NULL;
26538 }
26539
26540
26541 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26542 PyObject *resultobj;
26543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26544 wxTreeItemId *arg2 = 0 ;
26545 wxColour *arg3 = 0 ;
26546 wxColour temp3 ;
26547 PyObject * obj0 = 0 ;
26548 PyObject * obj1 = 0 ;
26549 PyObject * obj2 = 0 ;
26550 char *kwnames[] = {
26551 (char *) "self",(char *) "item",(char *) "col", NULL
26552 };
26553
26554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26558 SWIG_POINTER_EXCEPTION | 0)) == -1)
26559 SWIG_fail;
26560 if (arg2 == NULL) {
26561 PyErr_SetString(PyExc_TypeError,"null reference");
26562 SWIG_fail;
26563 }
26564 {
26565 arg3 = &temp3;
26566 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26567 }
26568 {
26569 PyThreadState* __tstate = wxPyBeginAllowThreads();
26570 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26571
26572 wxPyEndAllowThreads(__tstate);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 Py_INCREF(Py_None); resultobj = Py_None;
26576 return resultobj;
26577 fail:
26578 return NULL;
26579 }
26580
26581
26582 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26583 PyObject *resultobj;
26584 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26585 wxTreeItemId *arg2 = 0 ;
26586 wxFont *arg3 = 0 ;
26587 PyObject * obj0 = 0 ;
26588 PyObject * obj1 = 0 ;
26589 PyObject * obj2 = 0 ;
26590 char *kwnames[] = {
26591 (char *) "self",(char *) "item",(char *) "font", NULL
26592 };
26593
26594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26598 SWIG_POINTER_EXCEPTION | 0)) == -1)
26599 SWIG_fail;
26600 if (arg2 == NULL) {
26601 PyErr_SetString(PyExc_TypeError,"null reference");
26602 SWIG_fail;
26603 }
26604 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26605 SWIG_POINTER_EXCEPTION | 0)) == -1)
26606 SWIG_fail;
26607 if (arg3 == NULL) {
26608 PyErr_SetString(PyExc_TypeError,"null reference");
26609 SWIG_fail;
26610 }
26611 {
26612 PyThreadState* __tstate = wxPyBeginAllowThreads();
26613 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26614
26615 wxPyEndAllowThreads(__tstate);
26616 if (PyErr_Occurred()) SWIG_fail;
26617 }
26618 Py_INCREF(Py_None); resultobj = Py_None;
26619 return resultobj;
26620 fail:
26621 return NULL;
26622 }
26623
26624
26625 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26626 PyObject *resultobj;
26627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26628 wxTreeItemId *arg2 = 0 ;
26629 bool result;
26630 PyObject * obj0 = 0 ;
26631 PyObject * obj1 = 0 ;
26632 char *kwnames[] = {
26633 (char *) "self",(char *) "item", NULL
26634 };
26635
26636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26640 SWIG_POINTER_EXCEPTION | 0)) == -1)
26641 SWIG_fail;
26642 if (arg2 == NULL) {
26643 PyErr_SetString(PyExc_TypeError,"null reference");
26644 SWIG_fail;
26645 }
26646 {
26647 PyThreadState* __tstate = wxPyBeginAllowThreads();
26648 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26649
26650 wxPyEndAllowThreads(__tstate);
26651 if (PyErr_Occurred()) SWIG_fail;
26652 }
26653 {
26654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26655 }
26656 return resultobj;
26657 fail:
26658 return NULL;
26659 }
26660
26661
26662 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26663 PyObject *resultobj;
26664 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26665 wxTreeItemId *arg2 = 0 ;
26666 bool result;
26667 PyObject * obj0 = 0 ;
26668 PyObject * obj1 = 0 ;
26669 char *kwnames[] = {
26670 (char *) "self",(char *) "item", NULL
26671 };
26672
26673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26677 SWIG_POINTER_EXCEPTION | 0)) == -1)
26678 SWIG_fail;
26679 if (arg2 == NULL) {
26680 PyErr_SetString(PyExc_TypeError,"null reference");
26681 SWIG_fail;
26682 }
26683 {
26684 PyThreadState* __tstate = wxPyBeginAllowThreads();
26685 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26686
26687 wxPyEndAllowThreads(__tstate);
26688 if (PyErr_Occurred()) SWIG_fail;
26689 }
26690 {
26691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26692 }
26693 return resultobj;
26694 fail:
26695 return NULL;
26696 }
26697
26698
26699 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
26700 PyObject *resultobj;
26701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26702 wxTreeItemId *arg2 = 0 ;
26703 bool result;
26704 PyObject * obj0 = 0 ;
26705 PyObject * obj1 = 0 ;
26706 char *kwnames[] = {
26707 (char *) "self",(char *) "item", NULL
26708 };
26709
26710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26714 SWIG_POINTER_EXCEPTION | 0)) == -1)
26715 SWIG_fail;
26716 if (arg2 == NULL) {
26717 PyErr_SetString(PyExc_TypeError,"null reference");
26718 SWIG_fail;
26719 }
26720 {
26721 PyThreadState* __tstate = wxPyBeginAllowThreads();
26722 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26723
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 {
26728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26729 }
26730 return resultobj;
26731 fail:
26732 return NULL;
26733 }
26734
26735
26736 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26737 PyObject *resultobj;
26738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26739 wxTreeItemId *arg2 = 0 ;
26740 bool result;
26741 PyObject * obj0 = 0 ;
26742 PyObject * obj1 = 0 ;
26743 char *kwnames[] = {
26744 (char *) "self",(char *) "item", NULL
26745 };
26746
26747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26751 SWIG_POINTER_EXCEPTION | 0)) == -1)
26752 SWIG_fail;
26753 if (arg2 == NULL) {
26754 PyErr_SetString(PyExc_TypeError,"null reference");
26755 SWIG_fail;
26756 }
26757 {
26758 PyThreadState* __tstate = wxPyBeginAllowThreads();
26759 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26760
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
26764 {
26765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26766 }
26767 return resultobj;
26768 fail:
26769 return NULL;
26770 }
26771
26772
26773 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
26774 PyObject *resultobj;
26775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26776 wxTreeItemId *arg2 = 0 ;
26777 bool result;
26778 PyObject * obj0 = 0 ;
26779 PyObject * obj1 = 0 ;
26780 char *kwnames[] = {
26781 (char *) "self",(char *) "item", NULL
26782 };
26783
26784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26788 SWIG_POINTER_EXCEPTION | 0)) == -1)
26789 SWIG_fail;
26790 if (arg2 == NULL) {
26791 PyErr_SetString(PyExc_TypeError,"null reference");
26792 SWIG_fail;
26793 }
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 {
26802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26803 }
26804 return resultobj;
26805 fail:
26806 return NULL;
26807 }
26808
26809
26810 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
26811 PyObject *resultobj;
26812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26813 wxTreeItemId *arg2 = 0 ;
26814 bool arg3 = (bool) true ;
26815 size_t result;
26816 PyObject * obj0 = 0 ;
26817 PyObject * obj1 = 0 ;
26818 PyObject * obj2 = 0 ;
26819 char *kwnames[] = {
26820 (char *) "self",(char *) "item",(char *) "recursively", NULL
26821 };
26822
26823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26827 SWIG_POINTER_EXCEPTION | 0)) == -1)
26828 SWIG_fail;
26829 if (arg2 == NULL) {
26830 PyErr_SetString(PyExc_TypeError,"null reference");
26831 SWIG_fail;
26832 }
26833 if (obj2) {
26834 arg3 = (bool)SWIG_As_bool(obj2);
26835 if (PyErr_Occurred()) SWIG_fail;
26836 }
26837 {
26838 PyThreadState* __tstate = wxPyBeginAllowThreads();
26839 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26840
26841 wxPyEndAllowThreads(__tstate);
26842 if (PyErr_Occurred()) SWIG_fail;
26843 }
26844 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
26845 return resultobj;
26846 fail:
26847 return NULL;
26848 }
26849
26850
26851 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
26852 PyObject *resultobj;
26853 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26854 wxTreeItemId result;
26855 PyObject * obj0 = 0 ;
26856 char *kwnames[] = {
26857 (char *) "self", NULL
26858 };
26859
26860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26863 {
26864 PyThreadState* __tstate = wxPyBeginAllowThreads();
26865 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26866
26867 wxPyEndAllowThreads(__tstate);
26868 if (PyErr_Occurred()) SWIG_fail;
26869 }
26870 {
26871 wxTreeItemId * resultptr;
26872 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26873 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26874 }
26875 return resultobj;
26876 fail:
26877 return NULL;
26878 }
26879
26880
26881 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
26882 PyObject *resultobj;
26883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26884 wxTreeItemId result;
26885 PyObject * obj0 = 0 ;
26886 char *kwnames[] = {
26887 (char *) "self", NULL
26888 };
26889
26890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26893 {
26894 PyThreadState* __tstate = wxPyBeginAllowThreads();
26895 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26896
26897 wxPyEndAllowThreads(__tstate);
26898 if (PyErr_Occurred()) SWIG_fail;
26899 }
26900 {
26901 wxTreeItemId * resultptr;
26902 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26904 }
26905 return resultobj;
26906 fail:
26907 return NULL;
26908 }
26909
26910
26911 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
26912 PyObject *resultobj;
26913 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26914 PyObject *result;
26915 PyObject * obj0 = 0 ;
26916 char *kwnames[] = {
26917 (char *) "self", NULL
26918 };
26919
26920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26923 {
26924 PyThreadState* __tstate = wxPyBeginAllowThreads();
26925 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26926
26927 wxPyEndAllowThreads(__tstate);
26928 if (PyErr_Occurred()) SWIG_fail;
26929 }
26930 resultobj = result;
26931 return resultobj;
26932 fail:
26933 return NULL;
26934 }
26935
26936
26937 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
26938 PyObject *resultobj;
26939 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26940 wxTreeItemId *arg2 = 0 ;
26941 wxTreeItemId result;
26942 PyObject * obj0 = 0 ;
26943 PyObject * obj1 = 0 ;
26944 char *kwnames[] = {
26945 (char *) "self",(char *) "item", NULL
26946 };
26947
26948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26952 SWIG_POINTER_EXCEPTION | 0)) == -1)
26953 SWIG_fail;
26954 if (arg2 == NULL) {
26955 PyErr_SetString(PyExc_TypeError,"null reference");
26956 SWIG_fail;
26957 }
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26961
26962 wxPyEndAllowThreads(__tstate);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 }
26965 {
26966 wxTreeItemId * resultptr;
26967 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26969 }
26970 return resultobj;
26971 fail:
26972 return NULL;
26973 }
26974
26975
26976 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
26977 PyObject *resultobj;
26978 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26979 wxTreeItemId *arg2 = 0 ;
26980 PyObject *result;
26981 PyObject * obj0 = 0 ;
26982 PyObject * obj1 = 0 ;
26983 char *kwnames[] = {
26984 (char *) "self",(char *) "item", NULL
26985 };
26986
26987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26991 SWIG_POINTER_EXCEPTION | 0)) == -1)
26992 SWIG_fail;
26993 if (arg2 == NULL) {
26994 PyErr_SetString(PyExc_TypeError,"null reference");
26995 SWIG_fail;
26996 }
26997 {
26998 PyThreadState* __tstate = wxPyBeginAllowThreads();
26999 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
27000
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
27004 resultobj = result;
27005 return resultobj;
27006 fail:
27007 return NULL;
27008 }
27009
27010
27011 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
27012 PyObject *resultobj;
27013 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27014 wxTreeItemId *arg2 = 0 ;
27015 void *arg3 = (void *) 0 ;
27016 PyObject *result;
27017 PyObject * obj0 = 0 ;
27018 PyObject * obj1 = 0 ;
27019 PyObject * obj2 = 0 ;
27020 char *kwnames[] = {
27021 (char *) "self",(char *) "item",(char *) "cookie", NULL
27022 };
27023
27024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27028 SWIG_POINTER_EXCEPTION | 0)) == -1)
27029 SWIG_fail;
27030 if (arg2 == NULL) {
27031 PyErr_SetString(PyExc_TypeError,"null reference");
27032 SWIG_fail;
27033 }
27034 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27035 {
27036 PyThreadState* __tstate = wxPyBeginAllowThreads();
27037 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
27038
27039 wxPyEndAllowThreads(__tstate);
27040 if (PyErr_Occurred()) SWIG_fail;
27041 }
27042 resultobj = result;
27043 return resultobj;
27044 fail:
27045 return NULL;
27046 }
27047
27048
27049 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
27050 PyObject *resultobj;
27051 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27052 wxTreeItemId *arg2 = 0 ;
27053 wxTreeItemId result;
27054 PyObject * obj0 = 0 ;
27055 PyObject * obj1 = 0 ;
27056 char *kwnames[] = {
27057 (char *) "self",(char *) "item", NULL
27058 };
27059
27060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
27061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27064 SWIG_POINTER_EXCEPTION | 0)) == -1)
27065 SWIG_fail;
27066 if (arg2 == NULL) {
27067 PyErr_SetString(PyExc_TypeError,"null reference");
27068 SWIG_fail;
27069 }
27070 {
27071 PyThreadState* __tstate = wxPyBeginAllowThreads();
27072 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
27073
27074 wxPyEndAllowThreads(__tstate);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
27077 {
27078 wxTreeItemId * resultptr;
27079 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27081 }
27082 return resultobj;
27083 fail:
27084 return NULL;
27085 }
27086
27087
27088 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
27089 PyObject *resultobj;
27090 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27091 wxTreeItemId *arg2 = 0 ;
27092 wxTreeItemId result;
27093 PyObject * obj0 = 0 ;
27094 PyObject * obj1 = 0 ;
27095 char *kwnames[] = {
27096 (char *) "self",(char *) "item", NULL
27097 };
27098
27099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
27100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27103 SWIG_POINTER_EXCEPTION | 0)) == -1)
27104 SWIG_fail;
27105 if (arg2 == NULL) {
27106 PyErr_SetString(PyExc_TypeError,"null reference");
27107 SWIG_fail;
27108 }
27109 {
27110 PyThreadState* __tstate = wxPyBeginAllowThreads();
27111 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
27112
27113 wxPyEndAllowThreads(__tstate);
27114 if (PyErr_Occurred()) SWIG_fail;
27115 }
27116 {
27117 wxTreeItemId * resultptr;
27118 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27120 }
27121 return resultobj;
27122 fail:
27123 return NULL;
27124 }
27125
27126
27127 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
27128 PyObject *resultobj;
27129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27130 wxTreeItemId *arg2 = 0 ;
27131 wxTreeItemId result;
27132 PyObject * obj0 = 0 ;
27133 PyObject * obj1 = 0 ;
27134 char *kwnames[] = {
27135 (char *) "self",(char *) "item", NULL
27136 };
27137
27138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
27139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27142 SWIG_POINTER_EXCEPTION | 0)) == -1)
27143 SWIG_fail;
27144 if (arg2 == NULL) {
27145 PyErr_SetString(PyExc_TypeError,"null reference");
27146 SWIG_fail;
27147 }
27148 {
27149 PyThreadState* __tstate = wxPyBeginAllowThreads();
27150 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
27151
27152 wxPyEndAllowThreads(__tstate);
27153 if (PyErr_Occurred()) SWIG_fail;
27154 }
27155 {
27156 wxTreeItemId * resultptr;
27157 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27159 }
27160 return resultobj;
27161 fail:
27162 return NULL;
27163 }
27164
27165
27166 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
27167 PyObject *resultobj;
27168 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27169 wxTreeItemId result;
27170 PyObject * obj0 = 0 ;
27171 char *kwnames[] = {
27172 (char *) "self", NULL
27173 };
27174
27175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
27176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27178 {
27179 PyThreadState* __tstate = wxPyBeginAllowThreads();
27180 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
27181
27182 wxPyEndAllowThreads(__tstate);
27183 if (PyErr_Occurred()) SWIG_fail;
27184 }
27185 {
27186 wxTreeItemId * resultptr;
27187 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27189 }
27190 return resultobj;
27191 fail:
27192 return NULL;
27193 }
27194
27195
27196 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
27197 PyObject *resultobj;
27198 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27199 wxTreeItemId *arg2 = 0 ;
27200 wxTreeItemId result;
27201 PyObject * obj0 = 0 ;
27202 PyObject * obj1 = 0 ;
27203 char *kwnames[] = {
27204 (char *) "self",(char *) "item", NULL
27205 };
27206
27207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
27208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27211 SWIG_POINTER_EXCEPTION | 0)) == -1)
27212 SWIG_fail;
27213 if (arg2 == NULL) {
27214 PyErr_SetString(PyExc_TypeError,"null reference");
27215 SWIG_fail;
27216 }
27217 {
27218 PyThreadState* __tstate = wxPyBeginAllowThreads();
27219 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
27220
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 {
27225 wxTreeItemId * resultptr;
27226 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27228 }
27229 return resultobj;
27230 fail:
27231 return NULL;
27232 }
27233
27234
27235 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
27236 PyObject *resultobj;
27237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27238 wxTreeItemId *arg2 = 0 ;
27239 wxTreeItemId result;
27240 PyObject * obj0 = 0 ;
27241 PyObject * obj1 = 0 ;
27242 char *kwnames[] = {
27243 (char *) "self",(char *) "item", NULL
27244 };
27245
27246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
27247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27250 SWIG_POINTER_EXCEPTION | 0)) == -1)
27251 SWIG_fail;
27252 if (arg2 == NULL) {
27253 PyErr_SetString(PyExc_TypeError,"null reference");
27254 SWIG_fail;
27255 }
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
27259
27260 wxPyEndAllowThreads(__tstate);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 }
27263 {
27264 wxTreeItemId * resultptr;
27265 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27267 }
27268 return resultobj;
27269 fail:
27270 return NULL;
27271 }
27272
27273
27274 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
27275 PyObject *resultobj;
27276 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27277 wxString *arg2 = 0 ;
27278 int arg3 = (int) -1 ;
27279 int arg4 = (int) -1 ;
27280 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
27281 wxTreeItemId result;
27282 bool temp2 = false ;
27283 PyObject * obj0 = 0 ;
27284 PyObject * obj1 = 0 ;
27285 PyObject * obj2 = 0 ;
27286 PyObject * obj3 = 0 ;
27287 PyObject * obj4 = 0 ;
27288 char *kwnames[] = {
27289 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27290 };
27291
27292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27295 {
27296 arg2 = wxString_in_helper(obj1);
27297 if (arg2 == NULL) SWIG_fail;
27298 temp2 = true;
27299 }
27300 if (obj2) {
27301 arg3 = (int)SWIG_As_int(obj2);
27302 if (PyErr_Occurred()) SWIG_fail;
27303 }
27304 if (obj3) {
27305 arg4 = (int)SWIG_As_int(obj3);
27306 if (PyErr_Occurred()) SWIG_fail;
27307 }
27308 if (obj4) {
27309 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
27310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27311 }
27312 {
27313 PyThreadState* __tstate = wxPyBeginAllowThreads();
27314 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
27315
27316 wxPyEndAllowThreads(__tstate);
27317 if (PyErr_Occurred()) SWIG_fail;
27318 }
27319 {
27320 wxTreeItemId * resultptr;
27321 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27323 }
27324 {
27325 if (temp2)
27326 delete arg2;
27327 }
27328 return resultobj;
27329 fail:
27330 {
27331 if (temp2)
27332 delete arg2;
27333 }
27334 return NULL;
27335 }
27336
27337
27338 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
27339 PyObject *resultobj;
27340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27341 wxTreeItemId *arg2 = 0 ;
27342 wxString *arg3 = 0 ;
27343 int arg4 = (int) -1 ;
27344 int arg5 = (int) -1 ;
27345 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27346 wxTreeItemId result;
27347 bool temp3 = false ;
27348 PyObject * obj0 = 0 ;
27349 PyObject * obj1 = 0 ;
27350 PyObject * obj2 = 0 ;
27351 PyObject * obj3 = 0 ;
27352 PyObject * obj4 = 0 ;
27353 PyObject * obj5 = 0 ;
27354 char *kwnames[] = {
27355 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27356 };
27357
27358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27362 SWIG_POINTER_EXCEPTION | 0)) == -1)
27363 SWIG_fail;
27364 if (arg2 == NULL) {
27365 PyErr_SetString(PyExc_TypeError,"null reference");
27366 SWIG_fail;
27367 }
27368 {
27369 arg3 = wxString_in_helper(obj2);
27370 if (arg3 == NULL) SWIG_fail;
27371 temp3 = true;
27372 }
27373 if (obj3) {
27374 arg4 = (int)SWIG_As_int(obj3);
27375 if (PyErr_Occurred()) SWIG_fail;
27376 }
27377 if (obj4) {
27378 arg5 = (int)SWIG_As_int(obj4);
27379 if (PyErr_Occurred()) SWIG_fail;
27380 }
27381 if (obj5) {
27382 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27384 }
27385 {
27386 PyThreadState* __tstate = wxPyBeginAllowThreads();
27387 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27388
27389 wxPyEndAllowThreads(__tstate);
27390 if (PyErr_Occurred()) SWIG_fail;
27391 }
27392 {
27393 wxTreeItemId * resultptr;
27394 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27396 }
27397 {
27398 if (temp3)
27399 delete arg3;
27400 }
27401 return resultobj;
27402 fail:
27403 {
27404 if (temp3)
27405 delete arg3;
27406 }
27407 return NULL;
27408 }
27409
27410
27411 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
27412 PyObject *resultobj;
27413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27414 wxTreeItemId *arg2 = 0 ;
27415 wxTreeItemId *arg3 = 0 ;
27416 wxString *arg4 = 0 ;
27417 int arg5 = (int) -1 ;
27418 int arg6 = (int) -1 ;
27419 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27420 wxTreeItemId result;
27421 bool temp4 = false ;
27422 PyObject * obj0 = 0 ;
27423 PyObject * obj1 = 0 ;
27424 PyObject * obj2 = 0 ;
27425 PyObject * obj3 = 0 ;
27426 PyObject * obj4 = 0 ;
27427 PyObject * obj5 = 0 ;
27428 PyObject * obj6 = 0 ;
27429 char *kwnames[] = {
27430 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27431 };
27432
27433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27437 SWIG_POINTER_EXCEPTION | 0)) == -1)
27438 SWIG_fail;
27439 if (arg2 == NULL) {
27440 PyErr_SetString(PyExc_TypeError,"null reference");
27441 SWIG_fail;
27442 }
27443 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27444 SWIG_POINTER_EXCEPTION | 0)) == -1)
27445 SWIG_fail;
27446 if (arg3 == NULL) {
27447 PyErr_SetString(PyExc_TypeError,"null reference");
27448 SWIG_fail;
27449 }
27450 {
27451 arg4 = wxString_in_helper(obj3);
27452 if (arg4 == NULL) SWIG_fail;
27453 temp4 = true;
27454 }
27455 if (obj4) {
27456 arg5 = (int)SWIG_As_int(obj4);
27457 if (PyErr_Occurred()) SWIG_fail;
27458 }
27459 if (obj5) {
27460 arg6 = (int)SWIG_As_int(obj5);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 }
27463 if (obj6) {
27464 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27466 }
27467 {
27468 PyThreadState* __tstate = wxPyBeginAllowThreads();
27469 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27470
27471 wxPyEndAllowThreads(__tstate);
27472 if (PyErr_Occurred()) SWIG_fail;
27473 }
27474 {
27475 wxTreeItemId * resultptr;
27476 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27477 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27478 }
27479 {
27480 if (temp4)
27481 delete arg4;
27482 }
27483 return resultobj;
27484 fail:
27485 {
27486 if (temp4)
27487 delete arg4;
27488 }
27489 return NULL;
27490 }
27491
27492
27493 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
27494 PyObject *resultobj;
27495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27496 wxTreeItemId *arg2 = 0 ;
27497 size_t arg3 ;
27498 wxString *arg4 = 0 ;
27499 int arg5 = (int) -1 ;
27500 int arg6 = (int) -1 ;
27501 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27502 wxTreeItemId result;
27503 bool temp4 = false ;
27504 PyObject * obj0 = 0 ;
27505 PyObject * obj1 = 0 ;
27506 PyObject * obj2 = 0 ;
27507 PyObject * obj3 = 0 ;
27508 PyObject * obj4 = 0 ;
27509 PyObject * obj5 = 0 ;
27510 PyObject * obj6 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27519 SWIG_POINTER_EXCEPTION | 0)) == -1)
27520 SWIG_fail;
27521 if (arg2 == NULL) {
27522 PyErr_SetString(PyExc_TypeError,"null reference");
27523 SWIG_fail;
27524 }
27525 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
27526 if (PyErr_Occurred()) SWIG_fail;
27527 {
27528 arg4 = wxString_in_helper(obj3);
27529 if (arg4 == NULL) SWIG_fail;
27530 temp4 = true;
27531 }
27532 if (obj4) {
27533 arg5 = (int)SWIG_As_int(obj4);
27534 if (PyErr_Occurred()) SWIG_fail;
27535 }
27536 if (obj5) {
27537 arg6 = (int)SWIG_As_int(obj5);
27538 if (PyErr_Occurred()) SWIG_fail;
27539 }
27540 if (obj6) {
27541 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27543 }
27544 {
27545 PyThreadState* __tstate = wxPyBeginAllowThreads();
27546 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27547
27548 wxPyEndAllowThreads(__tstate);
27549 if (PyErr_Occurred()) SWIG_fail;
27550 }
27551 {
27552 wxTreeItemId * resultptr;
27553 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27554 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27555 }
27556 {
27557 if (temp4)
27558 delete arg4;
27559 }
27560 return resultobj;
27561 fail:
27562 {
27563 if (temp4)
27564 delete arg4;
27565 }
27566 return NULL;
27567 }
27568
27569
27570 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
27571 PyObject *resultobj;
27572 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27573 wxTreeItemId *arg2 = 0 ;
27574 wxString *arg3 = 0 ;
27575 int arg4 = (int) -1 ;
27576 int arg5 = (int) -1 ;
27577 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27578 wxTreeItemId result;
27579 bool temp3 = false ;
27580 PyObject * obj0 = 0 ;
27581 PyObject * obj1 = 0 ;
27582 PyObject * obj2 = 0 ;
27583 PyObject * obj3 = 0 ;
27584 PyObject * obj4 = 0 ;
27585 PyObject * obj5 = 0 ;
27586 char *kwnames[] = {
27587 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27588 };
27589
27590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27594 SWIG_POINTER_EXCEPTION | 0)) == -1)
27595 SWIG_fail;
27596 if (arg2 == NULL) {
27597 PyErr_SetString(PyExc_TypeError,"null reference");
27598 SWIG_fail;
27599 }
27600 {
27601 arg3 = wxString_in_helper(obj2);
27602 if (arg3 == NULL) SWIG_fail;
27603 temp3 = true;
27604 }
27605 if (obj3) {
27606 arg4 = (int)SWIG_As_int(obj3);
27607 if (PyErr_Occurred()) SWIG_fail;
27608 }
27609 if (obj4) {
27610 arg5 = (int)SWIG_As_int(obj4);
27611 if (PyErr_Occurred()) SWIG_fail;
27612 }
27613 if (obj5) {
27614 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27616 }
27617 {
27618 PyThreadState* __tstate = wxPyBeginAllowThreads();
27619 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27620
27621 wxPyEndAllowThreads(__tstate);
27622 if (PyErr_Occurred()) SWIG_fail;
27623 }
27624 {
27625 wxTreeItemId * resultptr;
27626 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27628 }
27629 {
27630 if (temp3)
27631 delete arg3;
27632 }
27633 return resultobj;
27634 fail:
27635 {
27636 if (temp3)
27637 delete arg3;
27638 }
27639 return NULL;
27640 }
27641
27642
27643 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
27644 PyObject *resultobj;
27645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27646 wxTreeItemId *arg2 = 0 ;
27647 PyObject * obj0 = 0 ;
27648 PyObject * obj1 = 0 ;
27649 char *kwnames[] = {
27650 (char *) "self",(char *) "item", NULL
27651 };
27652
27653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27657 SWIG_POINTER_EXCEPTION | 0)) == -1)
27658 SWIG_fail;
27659 if (arg2 == NULL) {
27660 PyErr_SetString(PyExc_TypeError,"null reference");
27661 SWIG_fail;
27662 }
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 (arg1)->Delete((wxTreeItemId const &)*arg2);
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 Py_INCREF(Py_None); resultobj = Py_None;
27671 return resultobj;
27672 fail:
27673 return NULL;
27674 }
27675
27676
27677 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
27678 PyObject *resultobj;
27679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27680 wxTreeItemId *arg2 = 0 ;
27681 PyObject * obj0 = 0 ;
27682 PyObject * obj1 = 0 ;
27683 char *kwnames[] = {
27684 (char *) "self",(char *) "item", NULL
27685 };
27686
27687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27691 SWIG_POINTER_EXCEPTION | 0)) == -1)
27692 SWIG_fail;
27693 if (arg2 == NULL) {
27694 PyErr_SetString(PyExc_TypeError,"null reference");
27695 SWIG_fail;
27696 }
27697 {
27698 PyThreadState* __tstate = wxPyBeginAllowThreads();
27699 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27700
27701 wxPyEndAllowThreads(__tstate);
27702 if (PyErr_Occurred()) SWIG_fail;
27703 }
27704 Py_INCREF(Py_None); resultobj = Py_None;
27705 return resultobj;
27706 fail:
27707 return NULL;
27708 }
27709
27710
27711 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
27712 PyObject *resultobj;
27713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27714 PyObject * obj0 = 0 ;
27715 char *kwnames[] = {
27716 (char *) "self", NULL
27717 };
27718
27719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27722 {
27723 PyThreadState* __tstate = wxPyBeginAllowThreads();
27724 (arg1)->DeleteAllItems();
27725
27726 wxPyEndAllowThreads(__tstate);
27727 if (PyErr_Occurred()) SWIG_fail;
27728 }
27729 Py_INCREF(Py_None); resultobj = Py_None;
27730 return resultobj;
27731 fail:
27732 return NULL;
27733 }
27734
27735
27736 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
27737 PyObject *resultobj;
27738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27739 wxTreeItemId *arg2 = 0 ;
27740 PyObject * obj0 = 0 ;
27741 PyObject * obj1 = 0 ;
27742 char *kwnames[] = {
27743 (char *) "self",(char *) "item", NULL
27744 };
27745
27746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27750 SWIG_POINTER_EXCEPTION | 0)) == -1)
27751 SWIG_fail;
27752 if (arg2 == NULL) {
27753 PyErr_SetString(PyExc_TypeError,"null reference");
27754 SWIG_fail;
27755 }
27756 {
27757 PyThreadState* __tstate = wxPyBeginAllowThreads();
27758 (arg1)->Expand((wxTreeItemId const &)*arg2);
27759
27760 wxPyEndAllowThreads(__tstate);
27761 if (PyErr_Occurred()) SWIG_fail;
27762 }
27763 Py_INCREF(Py_None); resultobj = Py_None;
27764 return resultobj;
27765 fail:
27766 return NULL;
27767 }
27768
27769
27770 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
27771 PyObject *resultobj;
27772 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27773 wxTreeItemId *arg2 = 0 ;
27774 PyObject * obj0 = 0 ;
27775 PyObject * obj1 = 0 ;
27776 char *kwnames[] = {
27777 (char *) "self",(char *) "item", NULL
27778 };
27779
27780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27784 SWIG_POINTER_EXCEPTION | 0)) == -1)
27785 SWIG_fail;
27786 if (arg2 == NULL) {
27787 PyErr_SetString(PyExc_TypeError,"null reference");
27788 SWIG_fail;
27789 }
27790 {
27791 PyThreadState* __tstate = wxPyBeginAllowThreads();
27792 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27793
27794 wxPyEndAllowThreads(__tstate);
27795 if (PyErr_Occurred()) SWIG_fail;
27796 }
27797 Py_INCREF(Py_None); resultobj = Py_None;
27798 return resultobj;
27799 fail:
27800 return NULL;
27801 }
27802
27803
27804 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
27805 PyObject *resultobj;
27806 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27807 wxTreeItemId *arg2 = 0 ;
27808 PyObject * obj0 = 0 ;
27809 PyObject * obj1 = 0 ;
27810 char *kwnames[] = {
27811 (char *) "self",(char *) "item", NULL
27812 };
27813
27814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27818 SWIG_POINTER_EXCEPTION | 0)) == -1)
27819 SWIG_fail;
27820 if (arg2 == NULL) {
27821 PyErr_SetString(PyExc_TypeError,"null reference");
27822 SWIG_fail;
27823 }
27824 {
27825 PyThreadState* __tstate = wxPyBeginAllowThreads();
27826 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27827
27828 wxPyEndAllowThreads(__tstate);
27829 if (PyErr_Occurred()) SWIG_fail;
27830 }
27831 Py_INCREF(Py_None); resultobj = Py_None;
27832 return resultobj;
27833 fail:
27834 return NULL;
27835 }
27836
27837
27838 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
27839 PyObject *resultobj;
27840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27841 wxTreeItemId *arg2 = 0 ;
27842 PyObject * obj0 = 0 ;
27843 PyObject * obj1 = 0 ;
27844 char *kwnames[] = {
27845 (char *) "self",(char *) "item", NULL
27846 };
27847
27848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27852 SWIG_POINTER_EXCEPTION | 0)) == -1)
27853 SWIG_fail;
27854 if (arg2 == NULL) {
27855 PyErr_SetString(PyExc_TypeError,"null reference");
27856 SWIG_fail;
27857 }
27858 {
27859 PyThreadState* __tstate = wxPyBeginAllowThreads();
27860 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27861
27862 wxPyEndAllowThreads(__tstate);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
27865 Py_INCREF(Py_None); resultobj = Py_None;
27866 return resultobj;
27867 fail:
27868 return NULL;
27869 }
27870
27871
27872 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
27873 PyObject *resultobj;
27874 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27875 PyObject * obj0 = 0 ;
27876 char *kwnames[] = {
27877 (char *) "self", NULL
27878 };
27879
27880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27883 {
27884 PyThreadState* __tstate = wxPyBeginAllowThreads();
27885 (arg1)->Unselect();
27886
27887 wxPyEndAllowThreads(__tstate);
27888 if (PyErr_Occurred()) SWIG_fail;
27889 }
27890 Py_INCREF(Py_None); resultobj = Py_None;
27891 return resultobj;
27892 fail:
27893 return NULL;
27894 }
27895
27896
27897 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
27898 PyObject *resultobj;
27899 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27900 wxTreeItemId *arg2 = 0 ;
27901 PyObject * obj0 = 0 ;
27902 PyObject * obj1 = 0 ;
27903 char *kwnames[] = {
27904 (char *) "self",(char *) "item", NULL
27905 };
27906
27907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
27908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27911 SWIG_POINTER_EXCEPTION | 0)) == -1)
27912 SWIG_fail;
27913 if (arg2 == NULL) {
27914 PyErr_SetString(PyExc_TypeError,"null reference");
27915 SWIG_fail;
27916 }
27917 {
27918 PyThreadState* __tstate = wxPyBeginAllowThreads();
27919 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27920
27921 wxPyEndAllowThreads(__tstate);
27922 if (PyErr_Occurred()) SWIG_fail;
27923 }
27924 Py_INCREF(Py_None); resultobj = Py_None;
27925 return resultobj;
27926 fail:
27927 return NULL;
27928 }
27929
27930
27931 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
27932 PyObject *resultobj;
27933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27934 PyObject * obj0 = 0 ;
27935 char *kwnames[] = {
27936 (char *) "self", NULL
27937 };
27938
27939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27942 {
27943 PyThreadState* __tstate = wxPyBeginAllowThreads();
27944 (arg1)->UnselectAll();
27945
27946 wxPyEndAllowThreads(__tstate);
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
27949 Py_INCREF(Py_None); resultobj = Py_None;
27950 return resultobj;
27951 fail:
27952 return NULL;
27953 }
27954
27955
27956 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
27957 PyObject *resultobj;
27958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27959 wxTreeItemId *arg2 = 0 ;
27960 bool arg3 = (bool) true ;
27961 PyObject * obj0 = 0 ;
27962 PyObject * obj1 = 0 ;
27963 PyObject * obj2 = 0 ;
27964 char *kwnames[] = {
27965 (char *) "self",(char *) "item",(char *) "select", NULL
27966 };
27967
27968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27971 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27972 SWIG_POINTER_EXCEPTION | 0)) == -1)
27973 SWIG_fail;
27974 if (arg2 == NULL) {
27975 PyErr_SetString(PyExc_TypeError,"null reference");
27976 SWIG_fail;
27977 }
27978 if (obj2) {
27979 arg3 = (bool)SWIG_As_bool(obj2);
27980 if (PyErr_Occurred()) SWIG_fail;
27981 }
27982 {
27983 PyThreadState* __tstate = wxPyBeginAllowThreads();
27984 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27985
27986 wxPyEndAllowThreads(__tstate);
27987 if (PyErr_Occurred()) SWIG_fail;
27988 }
27989 Py_INCREF(Py_None); resultobj = Py_None;
27990 return resultobj;
27991 fail:
27992 return NULL;
27993 }
27994
27995
27996 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
27997 PyObject *resultobj;
27998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27999 wxTreeItemId *arg2 = 0 ;
28000 PyObject * obj0 = 0 ;
28001 PyObject * obj1 = 0 ;
28002 char *kwnames[] = {
28003 (char *) "self",(char *) "item", NULL
28004 };
28005
28006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
28007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28010 SWIG_POINTER_EXCEPTION | 0)) == -1)
28011 SWIG_fail;
28012 if (arg2 == NULL) {
28013 PyErr_SetString(PyExc_TypeError,"null reference");
28014 SWIG_fail;
28015 }
28016 {
28017 PyThreadState* __tstate = wxPyBeginAllowThreads();
28018 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
28019
28020 wxPyEndAllowThreads(__tstate);
28021 if (PyErr_Occurred()) SWIG_fail;
28022 }
28023 Py_INCREF(Py_None); resultobj = Py_None;
28024 return resultobj;
28025 fail:
28026 return NULL;
28027 }
28028
28029
28030 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
28031 PyObject *resultobj;
28032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28033 wxTreeItemId *arg2 = 0 ;
28034 PyObject * obj0 = 0 ;
28035 PyObject * obj1 = 0 ;
28036 char *kwnames[] = {
28037 (char *) "self",(char *) "item", NULL
28038 };
28039
28040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
28041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28044 SWIG_POINTER_EXCEPTION | 0)) == -1)
28045 SWIG_fail;
28046 if (arg2 == NULL) {
28047 PyErr_SetString(PyExc_TypeError,"null reference");
28048 SWIG_fail;
28049 }
28050 {
28051 PyThreadState* __tstate = wxPyBeginAllowThreads();
28052 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
28053
28054 wxPyEndAllowThreads(__tstate);
28055 if (PyErr_Occurred()) SWIG_fail;
28056 }
28057 Py_INCREF(Py_None); resultobj = Py_None;
28058 return resultobj;
28059 fail:
28060 return NULL;
28061 }
28062
28063
28064 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
28065 PyObject *resultobj;
28066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28067 wxTreeItemId *arg2 = 0 ;
28068 PyObject * obj0 = 0 ;
28069 PyObject * obj1 = 0 ;
28070 char *kwnames[] = {
28071 (char *) "self",(char *) "item", NULL
28072 };
28073
28074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
28075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28077 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28078 SWIG_POINTER_EXCEPTION | 0)) == -1)
28079 SWIG_fail;
28080 if (arg2 == NULL) {
28081 PyErr_SetString(PyExc_TypeError,"null reference");
28082 SWIG_fail;
28083 }
28084 {
28085 PyThreadState* __tstate = wxPyBeginAllowThreads();
28086 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
28087
28088 wxPyEndAllowThreads(__tstate);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 }
28091 Py_INCREF(Py_None); resultobj = Py_None;
28092 return resultobj;
28093 fail:
28094 return NULL;
28095 }
28096
28097
28098 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
28099 PyObject *resultobj;
28100 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28101 wxTreeItemId *arg2 = 0 ;
28102 PyObject * obj0 = 0 ;
28103 PyObject * obj1 = 0 ;
28104 char *kwnames[] = {
28105 (char *) "self",(char *) "item", NULL
28106 };
28107
28108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
28109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28112 SWIG_POINTER_EXCEPTION | 0)) == -1)
28113 SWIG_fail;
28114 if (arg2 == NULL) {
28115 PyErr_SetString(PyExc_TypeError,"null reference");
28116 SWIG_fail;
28117 }
28118 {
28119 PyThreadState* __tstate = wxPyBeginAllowThreads();
28120 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
28121
28122 wxPyEndAllowThreads(__tstate);
28123 if (PyErr_Occurred()) SWIG_fail;
28124 }
28125 Py_INCREF(Py_None); resultobj = Py_None;
28126 return resultobj;
28127 fail:
28128 return NULL;
28129 }
28130
28131
28132 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
28133 PyObject *resultobj;
28134 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28135 wxTextCtrl *result;
28136 PyObject * obj0 = 0 ;
28137 char *kwnames[] = {
28138 (char *) "self", NULL
28139 };
28140
28141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
28142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28144 {
28145 PyThreadState* __tstate = wxPyBeginAllowThreads();
28146 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
28147
28148 wxPyEndAllowThreads(__tstate);
28149 if (PyErr_Occurred()) SWIG_fail;
28150 }
28151 {
28152 resultobj = wxPyMake_wxObject(result, 0);
28153 }
28154 return resultobj;
28155 fail:
28156 return NULL;
28157 }
28158
28159
28160 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28161 PyObject *resultobj;
28162 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28163 wxTreeItemId *arg2 = 0 ;
28164 PyObject * obj0 = 0 ;
28165 PyObject * obj1 = 0 ;
28166 char *kwnames[] = {
28167 (char *) "self",(char *) "item", NULL
28168 };
28169
28170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
28171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28174 SWIG_POINTER_EXCEPTION | 0)) == -1)
28175 SWIG_fail;
28176 if (arg2 == NULL) {
28177 PyErr_SetString(PyExc_TypeError,"null reference");
28178 SWIG_fail;
28179 }
28180 {
28181 PyThreadState* __tstate = wxPyBeginAllowThreads();
28182 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
28183
28184 wxPyEndAllowThreads(__tstate);
28185 if (PyErr_Occurred()) SWIG_fail;
28186 }
28187 Py_INCREF(Py_None); resultobj = Py_None;
28188 return resultobj;
28189 fail:
28190 return NULL;
28191 }
28192
28193
28194 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
28195 PyObject *resultobj;
28196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28197 wxPoint *arg2 = 0 ;
28198 int *arg3 = 0 ;
28199 wxTreeItemId result;
28200 wxPoint temp2 ;
28201 int temp3 ;
28202 int res3 = 0 ;
28203 PyObject * obj0 = 0 ;
28204 PyObject * obj1 = 0 ;
28205 char *kwnames[] = {
28206 (char *) "self",(char *) "point", NULL
28207 };
28208
28209 arg3 = &temp3; res3 = SWIG_NEWOBJ;
28210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
28211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28213 {
28214 arg2 = &temp2;
28215 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28216 }
28217 {
28218 PyThreadState* __tstate = wxPyBeginAllowThreads();
28219 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
28220
28221 wxPyEndAllowThreads(__tstate);
28222 if (PyErr_Occurred()) SWIG_fail;
28223 }
28224 {
28225 wxTreeItemId * resultptr;
28226 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28228 }
28229 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
28230 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
28231 return resultobj;
28232 fail:
28233 return NULL;
28234 }
28235
28236
28237 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
28238 PyObject *resultobj;
28239 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28240 wxTreeItemId *arg2 = 0 ;
28241 bool arg3 = (bool) false ;
28242 PyObject *result;
28243 PyObject * obj0 = 0 ;
28244 PyObject * obj1 = 0 ;
28245 PyObject * obj2 = 0 ;
28246 char *kwnames[] = {
28247 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28248 };
28249
28250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
28251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28254 SWIG_POINTER_EXCEPTION | 0)) == -1)
28255 SWIG_fail;
28256 if (arg2 == NULL) {
28257 PyErr_SetString(PyExc_TypeError,"null reference");
28258 SWIG_fail;
28259 }
28260 if (obj2) {
28261 arg3 = (bool)SWIG_As_bool(obj2);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 }
28264 {
28265 PyThreadState* __tstate = wxPyBeginAllowThreads();
28266 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
28267
28268 wxPyEndAllowThreads(__tstate);
28269 if (PyErr_Occurred()) SWIG_fail;
28270 }
28271 resultobj = result;
28272 return resultobj;
28273 fail:
28274 return NULL;
28275 }
28276
28277
28278 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
28279 PyObject *resultobj;
28280 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
28281 wxVisualAttributes result;
28282 PyObject * obj0 = 0 ;
28283 char *kwnames[] = {
28284 (char *) "variant", NULL
28285 };
28286
28287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
28288 if (obj0) {
28289 arg1 = (int)SWIG_As_int(obj0);
28290 if (PyErr_Occurred()) SWIG_fail;
28291 }
28292 {
28293 if (!wxPyCheckForApp()) SWIG_fail;
28294 PyThreadState* __tstate = wxPyBeginAllowThreads();
28295 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
28296
28297 wxPyEndAllowThreads(__tstate);
28298 if (PyErr_Occurred()) SWIG_fail;
28299 }
28300 {
28301 wxVisualAttributes * resultptr;
28302 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
28303 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
28304 }
28305 return resultobj;
28306 fail:
28307 return NULL;
28308 }
28309
28310
28311 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
28312 PyObject *obj;
28313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28314 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
28315 Py_INCREF(obj);
28316 return Py_BuildValue((char *)"");
28317 }
28318 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
28319 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
28320 return 1;
28321 }
28322
28323
28324 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
28325 PyObject *pyobj;
28326
28327 {
28328 #if wxUSE_UNICODE
28329 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28330 #else
28331 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28332 #endif
28333 }
28334 return pyobj;
28335 }
28336
28337
28338 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28339 PyObject *resultobj;
28340 wxWindow *arg1 = (wxWindow *) 0 ;
28341 int arg2 = (int) (int)-1 ;
28342 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
28343 wxString *arg3 = (wxString *) &arg3_defvalue ;
28344 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28345 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28346 wxSize const &arg5_defvalue = wxDefaultSize ;
28347 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28348 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28349 wxString const &arg7_defvalue = wxPyEmptyString ;
28350 wxString *arg7 = (wxString *) &arg7_defvalue ;
28351 int arg8 = (int) 0 ;
28352 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
28353 wxString *arg9 = (wxString *) &arg9_defvalue ;
28354 wxGenericDirCtrl *result;
28355 bool temp3 = false ;
28356 wxPoint temp4 ;
28357 wxSize temp5 ;
28358 bool temp7 = false ;
28359 bool temp9 = false ;
28360 PyObject * obj0 = 0 ;
28361 PyObject * obj1 = 0 ;
28362 PyObject * obj2 = 0 ;
28363 PyObject * obj3 = 0 ;
28364 PyObject * obj4 = 0 ;
28365 PyObject * obj5 = 0 ;
28366 PyObject * obj6 = 0 ;
28367 PyObject * obj7 = 0 ;
28368 PyObject * obj8 = 0 ;
28369 char *kwnames[] = {
28370 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28371 };
28372
28373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
28374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28376 if (obj1) {
28377 arg2 = (int)SWIG_As_int(obj1);
28378 if (PyErr_Occurred()) SWIG_fail;
28379 }
28380 if (obj2) {
28381 {
28382 arg3 = wxString_in_helper(obj2);
28383 if (arg3 == NULL) SWIG_fail;
28384 temp3 = true;
28385 }
28386 }
28387 if (obj3) {
28388 {
28389 arg4 = &temp4;
28390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28391 }
28392 }
28393 if (obj4) {
28394 {
28395 arg5 = &temp5;
28396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28397 }
28398 }
28399 if (obj5) {
28400 arg6 = (long)SWIG_As_long(obj5);
28401 if (PyErr_Occurred()) SWIG_fail;
28402 }
28403 if (obj6) {
28404 {
28405 arg7 = wxString_in_helper(obj6);
28406 if (arg7 == NULL) SWIG_fail;
28407 temp7 = true;
28408 }
28409 }
28410 if (obj7) {
28411 arg8 = (int)SWIG_As_int(obj7);
28412 if (PyErr_Occurred()) SWIG_fail;
28413 }
28414 if (obj8) {
28415 {
28416 arg9 = wxString_in_helper(obj8);
28417 if (arg9 == NULL) SWIG_fail;
28418 temp9 = true;
28419 }
28420 }
28421 {
28422 if (!wxPyCheckForApp()) SWIG_fail;
28423 PyThreadState* __tstate = wxPyBeginAllowThreads();
28424 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
28425
28426 wxPyEndAllowThreads(__tstate);
28427 if (PyErr_Occurred()) SWIG_fail;
28428 }
28429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28430 {
28431 if (temp3)
28432 delete arg3;
28433 }
28434 {
28435 if (temp7)
28436 delete arg7;
28437 }
28438 {
28439 if (temp9)
28440 delete arg9;
28441 }
28442 return resultobj;
28443 fail:
28444 {
28445 if (temp3)
28446 delete arg3;
28447 }
28448 {
28449 if (temp7)
28450 delete arg7;
28451 }
28452 {
28453 if (temp9)
28454 delete arg9;
28455 }
28456 return NULL;
28457 }
28458
28459
28460 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28461 PyObject *resultobj;
28462 wxGenericDirCtrl *result;
28463 char *kwnames[] = {
28464 NULL
28465 };
28466
28467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28468 {
28469 if (!wxPyCheckForApp()) SWIG_fail;
28470 PyThreadState* __tstate = wxPyBeginAllowThreads();
28471 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28472
28473 wxPyEndAllowThreads(__tstate);
28474 if (PyErr_Occurred()) SWIG_fail;
28475 }
28476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28477 return resultobj;
28478 fail:
28479 return NULL;
28480 }
28481
28482
28483 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28484 PyObject *resultobj;
28485 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28486 wxWindow *arg2 = (wxWindow *) 0 ;
28487 int arg3 = (int) (int)-1 ;
28488 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28489 wxString *arg4 = (wxString *) &arg4_defvalue ;
28490 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28491 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28492 wxSize const &arg6_defvalue = wxDefaultSize ;
28493 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28494 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28495 wxString const &arg8_defvalue = wxPyEmptyString ;
28496 wxString *arg8 = (wxString *) &arg8_defvalue ;
28497 int arg9 = (int) 0 ;
28498 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28499 wxString *arg10 = (wxString *) &arg10_defvalue ;
28500 bool result;
28501 bool temp4 = false ;
28502 wxPoint temp5 ;
28503 wxSize temp6 ;
28504 bool temp8 = false ;
28505 bool temp10 = false ;
28506 PyObject * obj0 = 0 ;
28507 PyObject * obj1 = 0 ;
28508 PyObject * obj2 = 0 ;
28509 PyObject * obj3 = 0 ;
28510 PyObject * obj4 = 0 ;
28511 PyObject * obj5 = 0 ;
28512 PyObject * obj6 = 0 ;
28513 PyObject * obj7 = 0 ;
28514 PyObject * obj8 = 0 ;
28515 PyObject * obj9 = 0 ;
28516 char *kwnames[] = {
28517 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28518 };
28519
28520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28525 if (obj2) {
28526 arg3 = (int)SWIG_As_int(obj2);
28527 if (PyErr_Occurred()) SWIG_fail;
28528 }
28529 if (obj3) {
28530 {
28531 arg4 = wxString_in_helper(obj3);
28532 if (arg4 == NULL) SWIG_fail;
28533 temp4 = true;
28534 }
28535 }
28536 if (obj4) {
28537 {
28538 arg5 = &temp5;
28539 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28540 }
28541 }
28542 if (obj5) {
28543 {
28544 arg6 = &temp6;
28545 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28546 }
28547 }
28548 if (obj6) {
28549 arg7 = (long)SWIG_As_long(obj6);
28550 if (PyErr_Occurred()) SWIG_fail;
28551 }
28552 if (obj7) {
28553 {
28554 arg8 = wxString_in_helper(obj7);
28555 if (arg8 == NULL) SWIG_fail;
28556 temp8 = true;
28557 }
28558 }
28559 if (obj8) {
28560 arg9 = (int)SWIG_As_int(obj8);
28561 if (PyErr_Occurred()) SWIG_fail;
28562 }
28563 if (obj9) {
28564 {
28565 arg10 = wxString_in_helper(obj9);
28566 if (arg10 == NULL) SWIG_fail;
28567 temp10 = true;
28568 }
28569 }
28570 {
28571 PyThreadState* __tstate = wxPyBeginAllowThreads();
28572 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28573
28574 wxPyEndAllowThreads(__tstate);
28575 if (PyErr_Occurred()) SWIG_fail;
28576 }
28577 {
28578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28579 }
28580 {
28581 if (temp4)
28582 delete arg4;
28583 }
28584 {
28585 if (temp8)
28586 delete arg8;
28587 }
28588 {
28589 if (temp10)
28590 delete arg10;
28591 }
28592 return resultobj;
28593 fail:
28594 {
28595 if (temp4)
28596 delete arg4;
28597 }
28598 {
28599 if (temp8)
28600 delete arg8;
28601 }
28602 {
28603 if (temp10)
28604 delete arg10;
28605 }
28606 return NULL;
28607 }
28608
28609
28610 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
28611 PyObject *resultobj;
28612 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28613 wxString *arg2 = 0 ;
28614 bool result;
28615 bool temp2 = false ;
28616 PyObject * obj0 = 0 ;
28617 PyObject * obj1 = 0 ;
28618 char *kwnames[] = {
28619 (char *) "self",(char *) "path", NULL
28620 };
28621
28622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28625 {
28626 arg2 = wxString_in_helper(obj1);
28627 if (arg2 == NULL) SWIG_fail;
28628 temp2 = true;
28629 }
28630 {
28631 PyThreadState* __tstate = wxPyBeginAllowThreads();
28632 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28633
28634 wxPyEndAllowThreads(__tstate);
28635 if (PyErr_Occurred()) SWIG_fail;
28636 }
28637 {
28638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28639 }
28640 {
28641 if (temp2)
28642 delete arg2;
28643 }
28644 return resultobj;
28645 fail:
28646 {
28647 if (temp2)
28648 delete arg2;
28649 }
28650 return NULL;
28651 }
28652
28653
28654 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
28655 PyObject *resultobj;
28656 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28657 wxString result;
28658 PyObject * obj0 = 0 ;
28659 char *kwnames[] = {
28660 (char *) "self", NULL
28661 };
28662
28663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28666 {
28667 PyThreadState* __tstate = wxPyBeginAllowThreads();
28668 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28669
28670 wxPyEndAllowThreads(__tstate);
28671 if (PyErr_Occurred()) SWIG_fail;
28672 }
28673 {
28674 #if wxUSE_UNICODE
28675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28676 #else
28677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28678 #endif
28679 }
28680 return resultobj;
28681 fail:
28682 return NULL;
28683 }
28684
28685
28686 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
28687 PyObject *resultobj;
28688 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28689 wxString *arg2 = 0 ;
28690 bool temp2 = false ;
28691 PyObject * obj0 = 0 ;
28692 PyObject * obj1 = 0 ;
28693 char *kwnames[] = {
28694 (char *) "self",(char *) "path", NULL
28695 };
28696
28697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28700 {
28701 arg2 = wxString_in_helper(obj1);
28702 if (arg2 == NULL) SWIG_fail;
28703 temp2 = true;
28704 }
28705 {
28706 PyThreadState* __tstate = wxPyBeginAllowThreads();
28707 (arg1)->SetDefaultPath((wxString const &)*arg2);
28708
28709 wxPyEndAllowThreads(__tstate);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 Py_INCREF(Py_None); resultobj = Py_None;
28713 {
28714 if (temp2)
28715 delete arg2;
28716 }
28717 return resultobj;
28718 fail:
28719 {
28720 if (temp2)
28721 delete arg2;
28722 }
28723 return NULL;
28724 }
28725
28726
28727 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
28728 PyObject *resultobj;
28729 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28730 wxString result;
28731 PyObject * obj0 = 0 ;
28732 char *kwnames[] = {
28733 (char *) "self", NULL
28734 };
28735
28736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28739 {
28740 PyThreadState* __tstate = wxPyBeginAllowThreads();
28741 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28742
28743 wxPyEndAllowThreads(__tstate);
28744 if (PyErr_Occurred()) SWIG_fail;
28745 }
28746 {
28747 #if wxUSE_UNICODE
28748 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28749 #else
28750 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28751 #endif
28752 }
28753 return resultobj;
28754 fail:
28755 return NULL;
28756 }
28757
28758
28759 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
28760 PyObject *resultobj;
28761 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28762 wxString result;
28763 PyObject * obj0 = 0 ;
28764 char *kwnames[] = {
28765 (char *) "self", NULL
28766 };
28767
28768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28771 {
28772 PyThreadState* __tstate = wxPyBeginAllowThreads();
28773 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28774
28775 wxPyEndAllowThreads(__tstate);
28776 if (PyErr_Occurred()) SWIG_fail;
28777 }
28778 {
28779 #if wxUSE_UNICODE
28780 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28781 #else
28782 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28783 #endif
28784 }
28785 return resultobj;
28786 fail:
28787 return NULL;
28788 }
28789
28790
28791 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
28792 PyObject *resultobj;
28793 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28794 wxString *arg2 = 0 ;
28795 bool temp2 = false ;
28796 PyObject * obj0 = 0 ;
28797 PyObject * obj1 = 0 ;
28798 char *kwnames[] = {
28799 (char *) "self",(char *) "path", NULL
28800 };
28801
28802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28805 {
28806 arg2 = wxString_in_helper(obj1);
28807 if (arg2 == NULL) SWIG_fail;
28808 temp2 = true;
28809 }
28810 {
28811 PyThreadState* __tstate = wxPyBeginAllowThreads();
28812 (arg1)->SetPath((wxString const &)*arg2);
28813
28814 wxPyEndAllowThreads(__tstate);
28815 if (PyErr_Occurred()) SWIG_fail;
28816 }
28817 Py_INCREF(Py_None); resultobj = Py_None;
28818 {
28819 if (temp2)
28820 delete arg2;
28821 }
28822 return resultobj;
28823 fail:
28824 {
28825 if (temp2)
28826 delete arg2;
28827 }
28828 return NULL;
28829 }
28830
28831
28832 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
28833 PyObject *resultobj;
28834 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28835 bool arg2 ;
28836 PyObject * obj0 = 0 ;
28837 PyObject * obj1 = 0 ;
28838 char *kwnames[] = {
28839 (char *) "self",(char *) "show", NULL
28840 };
28841
28842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28845 arg2 = (bool)SWIG_As_bool(obj1);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 {
28848 PyThreadState* __tstate = wxPyBeginAllowThreads();
28849 (arg1)->ShowHidden(arg2);
28850
28851 wxPyEndAllowThreads(__tstate);
28852 if (PyErr_Occurred()) SWIG_fail;
28853 }
28854 Py_INCREF(Py_None); resultobj = Py_None;
28855 return resultobj;
28856 fail:
28857 return NULL;
28858 }
28859
28860
28861 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
28862 PyObject *resultobj;
28863 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28864 bool result;
28865 PyObject * obj0 = 0 ;
28866 char *kwnames[] = {
28867 (char *) "self", NULL
28868 };
28869
28870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28873 {
28874 PyThreadState* __tstate = wxPyBeginAllowThreads();
28875 result = (bool)(arg1)->GetShowHidden();
28876
28877 wxPyEndAllowThreads(__tstate);
28878 if (PyErr_Occurred()) SWIG_fail;
28879 }
28880 {
28881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28882 }
28883 return resultobj;
28884 fail:
28885 return NULL;
28886 }
28887
28888
28889 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
28890 PyObject *resultobj;
28891 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28892 wxString result;
28893 PyObject * obj0 = 0 ;
28894 char *kwnames[] = {
28895 (char *) "self", NULL
28896 };
28897
28898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28901 {
28902 PyThreadState* __tstate = wxPyBeginAllowThreads();
28903 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28904
28905 wxPyEndAllowThreads(__tstate);
28906 if (PyErr_Occurred()) SWIG_fail;
28907 }
28908 {
28909 #if wxUSE_UNICODE
28910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28911 #else
28912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28913 #endif
28914 }
28915 return resultobj;
28916 fail:
28917 return NULL;
28918 }
28919
28920
28921 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
28922 PyObject *resultobj;
28923 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28924 wxString *arg2 = 0 ;
28925 bool temp2 = false ;
28926 PyObject * obj0 = 0 ;
28927 PyObject * obj1 = 0 ;
28928 char *kwnames[] = {
28929 (char *) "self",(char *) "filter", NULL
28930 };
28931
28932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28935 {
28936 arg2 = wxString_in_helper(obj1);
28937 if (arg2 == NULL) SWIG_fail;
28938 temp2 = true;
28939 }
28940 {
28941 PyThreadState* __tstate = wxPyBeginAllowThreads();
28942 (arg1)->SetFilter((wxString const &)*arg2);
28943
28944 wxPyEndAllowThreads(__tstate);
28945 if (PyErr_Occurred()) SWIG_fail;
28946 }
28947 Py_INCREF(Py_None); resultobj = Py_None;
28948 {
28949 if (temp2)
28950 delete arg2;
28951 }
28952 return resultobj;
28953 fail:
28954 {
28955 if (temp2)
28956 delete arg2;
28957 }
28958 return NULL;
28959 }
28960
28961
28962 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
28963 PyObject *resultobj;
28964 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28965 int result;
28966 PyObject * obj0 = 0 ;
28967 char *kwnames[] = {
28968 (char *) "self", NULL
28969 };
28970
28971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28974 {
28975 PyThreadState* __tstate = wxPyBeginAllowThreads();
28976 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28977
28978 wxPyEndAllowThreads(__tstate);
28979 if (PyErr_Occurred()) SWIG_fail;
28980 }
28981 resultobj = SWIG_From_int((int)result);
28982 return resultobj;
28983 fail:
28984 return NULL;
28985 }
28986
28987
28988 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
28989 PyObject *resultobj;
28990 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28991 int arg2 ;
28992 PyObject * obj0 = 0 ;
28993 PyObject * obj1 = 0 ;
28994 char *kwnames[] = {
28995 (char *) "self",(char *) "n", NULL
28996 };
28997
28998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29001 arg2 = (int)SWIG_As_int(obj1);
29002 if (PyErr_Occurred()) SWIG_fail;
29003 {
29004 PyThreadState* __tstate = wxPyBeginAllowThreads();
29005 (arg1)->SetFilterIndex(arg2);
29006
29007 wxPyEndAllowThreads(__tstate);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 }
29010 Py_INCREF(Py_None); resultobj = Py_None;
29011 return resultobj;
29012 fail:
29013 return NULL;
29014 }
29015
29016
29017 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
29018 PyObject *resultobj;
29019 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29020 wxTreeItemId result;
29021 PyObject * obj0 = 0 ;
29022 char *kwnames[] = {
29023 (char *) "self", NULL
29024 };
29025
29026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
29027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 result = (arg1)->GetRootId();
29032
29033 wxPyEndAllowThreads(__tstate);
29034 if (PyErr_Occurred()) SWIG_fail;
29035 }
29036 {
29037 wxTreeItemId * resultptr;
29038 resultptr = new wxTreeItemId((wxTreeItemId &) result);
29039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29040 }
29041 return resultobj;
29042 fail:
29043 return NULL;
29044 }
29045
29046
29047 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29048 PyObject *resultobj;
29049 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29050 wxPyTreeCtrl *result;
29051 PyObject * obj0 = 0 ;
29052 char *kwnames[] = {
29053 (char *) "self", NULL
29054 };
29055
29056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
29057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29059 {
29060 PyThreadState* __tstate = wxPyBeginAllowThreads();
29061 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
29062
29063 wxPyEndAllowThreads(__tstate);
29064 if (PyErr_Occurred()) SWIG_fail;
29065 }
29066 {
29067 resultobj = wxPyMake_wxObject(result, 0);
29068 }
29069 return resultobj;
29070 fail:
29071 return NULL;
29072 }
29073
29074
29075 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29076 PyObject *resultobj;
29077 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29078 wxDirFilterListCtrl *result;
29079 PyObject * obj0 = 0 ;
29080 char *kwnames[] = {
29081 (char *) "self", NULL
29082 };
29083
29084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
29085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29087 {
29088 PyThreadState* __tstate = wxPyBeginAllowThreads();
29089 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
29090
29091 wxPyEndAllowThreads(__tstate);
29092 if (PyErr_Occurred()) SWIG_fail;
29093 }
29094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
29095 return resultobj;
29096 fail:
29097 return NULL;
29098 }
29099
29100
29101 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
29102 PyObject *resultobj;
29103 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29104 wxTreeItemId arg2 ;
29105 wxString *arg3 = 0 ;
29106 bool *arg4 = 0 ;
29107 wxTreeItemId result;
29108 wxTreeItemId *argp2 ;
29109 bool temp3 = false ;
29110 bool temp4 ;
29111 int res4 = 0 ;
29112 PyObject * obj0 = 0 ;
29113 PyObject * obj1 = 0 ;
29114 PyObject * obj2 = 0 ;
29115 char *kwnames[] = {
29116 (char *) "self",(char *) "parentId",(char *) "path", NULL
29117 };
29118
29119 arg4 = &temp4; res4 = SWIG_NEWOBJ;
29120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29123 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
29124 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29125 arg2 = *argp2;
29126 {
29127 arg3 = wxString_in_helper(obj2);
29128 if (arg3 == NULL) SWIG_fail;
29129 temp3 = true;
29130 }
29131 {
29132 PyThreadState* __tstate = wxPyBeginAllowThreads();
29133 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
29134
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 {
29139 wxTreeItemId * resultptr;
29140 resultptr = new wxTreeItemId((wxTreeItemId &) result);
29141 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29142 }
29143 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29144 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
29145 {
29146 if (temp3)
29147 delete arg3;
29148 }
29149 return resultobj;
29150 fail:
29151 {
29152 if (temp3)
29153 delete arg3;
29154 }
29155 return NULL;
29156 }
29157
29158
29159 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
29160 PyObject *resultobj;
29161 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29162 PyObject * obj0 = 0 ;
29163 char *kwnames[] = {
29164 (char *) "self", NULL
29165 };
29166
29167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
29168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29170 {
29171 PyThreadState* __tstate = wxPyBeginAllowThreads();
29172 (arg1)->DoResize();
29173
29174 wxPyEndAllowThreads(__tstate);
29175 if (PyErr_Occurred()) SWIG_fail;
29176 }
29177 Py_INCREF(Py_None); resultobj = Py_None;
29178 return resultobj;
29179 fail:
29180 return NULL;
29181 }
29182
29183
29184 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
29185 PyObject *resultobj;
29186 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29187 PyObject * obj0 = 0 ;
29188 char *kwnames[] = {
29189 (char *) "self", NULL
29190 };
29191
29192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
29193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29195 {
29196 PyThreadState* __tstate = wxPyBeginAllowThreads();
29197 (arg1)->ReCreateTree();
29198
29199 wxPyEndAllowThreads(__tstate);
29200 if (PyErr_Occurred()) SWIG_fail;
29201 }
29202 Py_INCREF(Py_None); resultobj = Py_None;
29203 return resultobj;
29204 fail:
29205 return NULL;
29206 }
29207
29208
29209 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
29210 PyObject *obj;
29211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29212 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
29213 Py_INCREF(obj);
29214 return Py_BuildValue((char *)"");
29215 }
29216 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29217 PyObject *resultobj;
29218 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29219 int arg2 = (int) (int)-1 ;
29220 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29221 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29222 wxSize const &arg4_defvalue = wxDefaultSize ;
29223 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29224 long arg5 = (long) 0 ;
29225 wxDirFilterListCtrl *result;
29226 wxPoint temp3 ;
29227 wxSize temp4 ;
29228 PyObject * obj0 = 0 ;
29229 PyObject * obj1 = 0 ;
29230 PyObject * obj2 = 0 ;
29231 PyObject * obj3 = 0 ;
29232 PyObject * obj4 = 0 ;
29233 char *kwnames[] = {
29234 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29235 };
29236
29237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29240 if (obj1) {
29241 arg2 = (int)SWIG_As_int(obj1);
29242 if (PyErr_Occurred()) SWIG_fail;
29243 }
29244 if (obj2) {
29245 {
29246 arg3 = &temp3;
29247 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29248 }
29249 }
29250 if (obj3) {
29251 {
29252 arg4 = &temp4;
29253 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29254 }
29255 }
29256 if (obj4) {
29257 arg5 = (long)SWIG_As_long(obj4);
29258 if (PyErr_Occurred()) SWIG_fail;
29259 }
29260 {
29261 if (!wxPyCheckForApp()) SWIG_fail;
29262 PyThreadState* __tstate = wxPyBeginAllowThreads();
29263 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29264
29265 wxPyEndAllowThreads(__tstate);
29266 if (PyErr_Occurred()) SWIG_fail;
29267 }
29268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29269 return resultobj;
29270 fail:
29271 return NULL;
29272 }
29273
29274
29275 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29276 PyObject *resultobj;
29277 wxDirFilterListCtrl *result;
29278 char *kwnames[] = {
29279 NULL
29280 };
29281
29282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
29283 {
29284 if (!wxPyCheckForApp()) SWIG_fail;
29285 PyThreadState* __tstate = wxPyBeginAllowThreads();
29286 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
29287
29288 wxPyEndAllowThreads(__tstate);
29289 if (PyErr_Occurred()) SWIG_fail;
29290 }
29291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29292 return resultobj;
29293 fail:
29294 return NULL;
29295 }
29296
29297
29298 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
29299 PyObject *resultobj;
29300 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29301 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
29302 int arg3 = (int) (int)-1 ;
29303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29305 wxSize const &arg5_defvalue = wxDefaultSize ;
29306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29307 long arg6 = (long) 0 ;
29308 bool result;
29309 wxPoint temp4 ;
29310 wxSize temp5 ;
29311 PyObject * obj0 = 0 ;
29312 PyObject * obj1 = 0 ;
29313 PyObject * obj2 = 0 ;
29314 PyObject * obj3 = 0 ;
29315 PyObject * obj4 = 0 ;
29316 PyObject * obj5 = 0 ;
29317 char *kwnames[] = {
29318 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29319 };
29320
29321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
29325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29326 if (obj2) {
29327 arg3 = (int)SWIG_As_int(obj2);
29328 if (PyErr_Occurred()) SWIG_fail;
29329 }
29330 if (obj3) {
29331 {
29332 arg4 = &temp4;
29333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29334 }
29335 }
29336 if (obj4) {
29337 {
29338 arg5 = &temp5;
29339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29340 }
29341 }
29342 if (obj5) {
29343 arg6 = (long)SWIG_As_long(obj5);
29344 if (PyErr_Occurred()) SWIG_fail;
29345 }
29346 {
29347 PyThreadState* __tstate = wxPyBeginAllowThreads();
29348 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
29349
29350 wxPyEndAllowThreads(__tstate);
29351 if (PyErr_Occurred()) SWIG_fail;
29352 }
29353 {
29354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29355 }
29356 return resultobj;
29357 fail:
29358 return NULL;
29359 }
29360
29361
29362 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
29363 PyObject *resultobj;
29364 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29365 wxString *arg2 = 0 ;
29366 int arg3 ;
29367 bool temp2 = false ;
29368 PyObject * obj0 = 0 ;
29369 PyObject * obj1 = 0 ;
29370 PyObject * obj2 = 0 ;
29371 char *kwnames[] = {
29372 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29373 };
29374
29375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
29376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29378 {
29379 arg2 = wxString_in_helper(obj1);
29380 if (arg2 == NULL) SWIG_fail;
29381 temp2 = true;
29382 }
29383 arg3 = (int)SWIG_As_int(obj2);
29384 if (PyErr_Occurred()) SWIG_fail;
29385 {
29386 PyThreadState* __tstate = wxPyBeginAllowThreads();
29387 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
29388
29389 wxPyEndAllowThreads(__tstate);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
29392 Py_INCREF(Py_None); resultobj = Py_None;
29393 {
29394 if (temp2)
29395 delete arg2;
29396 }
29397 return resultobj;
29398 fail:
29399 {
29400 if (temp2)
29401 delete arg2;
29402 }
29403 return NULL;
29404 }
29405
29406
29407 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
29408 PyObject *obj;
29409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29410 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
29411 Py_INCREF(obj);
29412 return Py_BuildValue((char *)"");
29413 }
29414 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
29415 PyObject *resultobj;
29416 wxWindow *arg1 = (wxWindow *) 0 ;
29417 int arg2 = (int) (int)-1 ;
29418 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29419 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29420 wxSize const &arg4_defvalue = wxDefaultSize ;
29421 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29422 long arg5 = (long) 0 ;
29423 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29424 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29425 wxString const &arg7_defvalue = wxPyControlNameStr ;
29426 wxString *arg7 = (wxString *) &arg7_defvalue ;
29427 wxPyControl *result;
29428 wxPoint temp3 ;
29429 wxSize temp4 ;
29430 bool temp7 = false ;
29431 PyObject * obj0 = 0 ;
29432 PyObject * obj1 = 0 ;
29433 PyObject * obj2 = 0 ;
29434 PyObject * obj3 = 0 ;
29435 PyObject * obj4 = 0 ;
29436 PyObject * obj5 = 0 ;
29437 PyObject * obj6 = 0 ;
29438 char *kwnames[] = {
29439 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29440 };
29441
29442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29445 if (obj1) {
29446 arg2 = (int)SWIG_As_int(obj1);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 }
29449 if (obj2) {
29450 {
29451 arg3 = &temp3;
29452 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29453 }
29454 }
29455 if (obj3) {
29456 {
29457 arg4 = &temp4;
29458 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29459 }
29460 }
29461 if (obj4) {
29462 arg5 = (long)SWIG_As_long(obj4);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 }
29465 if (obj5) {
29466 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29467 SWIG_POINTER_EXCEPTION | 0)) == -1)
29468 SWIG_fail;
29469 if (arg6 == NULL) {
29470 PyErr_SetString(PyExc_TypeError,"null reference");
29471 SWIG_fail;
29472 }
29473 }
29474 if (obj6) {
29475 {
29476 arg7 = wxString_in_helper(obj6);
29477 if (arg7 == NULL) SWIG_fail;
29478 temp7 = true;
29479 }
29480 }
29481 {
29482 if (!wxPyCheckForApp()) SWIG_fail;
29483 PyThreadState* __tstate = wxPyBeginAllowThreads();
29484 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29485
29486 wxPyEndAllowThreads(__tstate);
29487 if (PyErr_Occurred()) SWIG_fail;
29488 }
29489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29490 {
29491 if (temp7)
29492 delete arg7;
29493 }
29494 return resultobj;
29495 fail:
29496 {
29497 if (temp7)
29498 delete arg7;
29499 }
29500 return NULL;
29501 }
29502
29503
29504 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
29505 PyObject *resultobj;
29506 wxPyControl *result;
29507 char *kwnames[] = {
29508 NULL
29509 };
29510
29511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29512 {
29513 if (!wxPyCheckForApp()) SWIG_fail;
29514 PyThreadState* __tstate = wxPyBeginAllowThreads();
29515 result = (wxPyControl *)new wxPyControl();
29516
29517 wxPyEndAllowThreads(__tstate);
29518 if (PyErr_Occurred()) SWIG_fail;
29519 }
29520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29521 return resultobj;
29522 fail:
29523 return NULL;
29524 }
29525
29526
29527 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
29528 PyObject *resultobj;
29529 wxPyControl *arg1 = (wxPyControl *) 0 ;
29530 PyObject *arg2 = (PyObject *) 0 ;
29531 PyObject *arg3 = (PyObject *) 0 ;
29532 PyObject * obj0 = 0 ;
29533 PyObject * obj1 = 0 ;
29534 PyObject * obj2 = 0 ;
29535 char *kwnames[] = {
29536 (char *) "self",(char *) "self",(char *) "_class", NULL
29537 };
29538
29539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29542 arg2 = obj1;
29543 arg3 = obj2;
29544 {
29545 PyThreadState* __tstate = wxPyBeginAllowThreads();
29546 (arg1)->_setCallbackInfo(arg2,arg3);
29547
29548 wxPyEndAllowThreads(__tstate);
29549 if (PyErr_Occurred()) SWIG_fail;
29550 }
29551 Py_INCREF(Py_None); resultobj = Py_None;
29552 return resultobj;
29553 fail:
29554 return NULL;
29555 }
29556
29557
29558 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
29559 PyObject *resultobj;
29560 wxPyControl *arg1 = (wxPyControl *) 0 ;
29561 wxSize *arg2 = 0 ;
29562 wxSize temp2 ;
29563 PyObject * obj0 = 0 ;
29564 PyObject * obj1 = 0 ;
29565 char *kwnames[] = {
29566 (char *) "self",(char *) "size", NULL
29567 };
29568
29569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29572 {
29573 arg2 = &temp2;
29574 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29575 }
29576 {
29577 PyThreadState* __tstate = wxPyBeginAllowThreads();
29578 (arg1)->SetBestSize((wxSize const &)*arg2);
29579
29580 wxPyEndAllowThreads(__tstate);
29581 if (PyErr_Occurred()) SWIG_fail;
29582 }
29583 Py_INCREF(Py_None); resultobj = Py_None;
29584 return resultobj;
29585 fail:
29586 return NULL;
29587 }
29588
29589
29590 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29591 PyObject *resultobj;
29592 wxPyControl *arg1 = (wxPyControl *) 0 ;
29593 int arg2 ;
29594 int arg3 ;
29595 int arg4 ;
29596 int arg5 ;
29597 PyObject * obj0 = 0 ;
29598 PyObject * obj1 = 0 ;
29599 PyObject * obj2 = 0 ;
29600 PyObject * obj3 = 0 ;
29601 PyObject * obj4 = 0 ;
29602 char *kwnames[] = {
29603 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29604 };
29605
29606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29609 arg2 = (int)SWIG_As_int(obj1);
29610 if (PyErr_Occurred()) SWIG_fail;
29611 arg3 = (int)SWIG_As_int(obj2);
29612 if (PyErr_Occurred()) SWIG_fail;
29613 arg4 = (int)SWIG_As_int(obj3);
29614 if (PyErr_Occurred()) SWIG_fail;
29615 arg5 = (int)SWIG_As_int(obj4);
29616 if (PyErr_Occurred()) SWIG_fail;
29617 {
29618 PyThreadState* __tstate = wxPyBeginAllowThreads();
29619 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29620
29621 wxPyEndAllowThreads(__tstate);
29622 if (PyErr_Occurred()) SWIG_fail;
29623 }
29624 Py_INCREF(Py_None); resultobj = Py_None;
29625 return resultobj;
29626 fail:
29627 return NULL;
29628 }
29629
29630
29631 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
29632 PyObject *resultobj;
29633 wxPyControl *arg1 = (wxPyControl *) 0 ;
29634 int arg2 ;
29635 int arg3 ;
29636 int arg4 ;
29637 int arg5 ;
29638 int arg6 = (int) wxSIZE_AUTO ;
29639 PyObject * obj0 = 0 ;
29640 PyObject * obj1 = 0 ;
29641 PyObject * obj2 = 0 ;
29642 PyObject * obj3 = 0 ;
29643 PyObject * obj4 = 0 ;
29644 PyObject * obj5 = 0 ;
29645 char *kwnames[] = {
29646 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29647 };
29648
29649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29652 arg2 = (int)SWIG_As_int(obj1);
29653 if (PyErr_Occurred()) SWIG_fail;
29654 arg3 = (int)SWIG_As_int(obj2);
29655 if (PyErr_Occurred()) SWIG_fail;
29656 arg4 = (int)SWIG_As_int(obj3);
29657 if (PyErr_Occurred()) SWIG_fail;
29658 arg5 = (int)SWIG_As_int(obj4);
29659 if (PyErr_Occurred()) SWIG_fail;
29660 if (obj5) {
29661 arg6 = (int)SWIG_As_int(obj5);
29662 if (PyErr_Occurred()) SWIG_fail;
29663 }
29664 {
29665 PyThreadState* __tstate = wxPyBeginAllowThreads();
29666 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29667
29668 wxPyEndAllowThreads(__tstate);
29669 if (PyErr_Occurred()) SWIG_fail;
29670 }
29671 Py_INCREF(Py_None); resultobj = Py_None;
29672 return resultobj;
29673 fail:
29674 return NULL;
29675 }
29676
29677
29678 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
29679 PyObject *resultobj;
29680 wxPyControl *arg1 = (wxPyControl *) 0 ;
29681 int arg2 ;
29682 int arg3 ;
29683 PyObject * obj0 = 0 ;
29684 PyObject * obj1 = 0 ;
29685 PyObject * obj2 = 0 ;
29686 char *kwnames[] = {
29687 (char *) "self",(char *) "width",(char *) "height", NULL
29688 };
29689
29690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29693 arg2 = (int)SWIG_As_int(obj1);
29694 if (PyErr_Occurred()) SWIG_fail;
29695 arg3 = (int)SWIG_As_int(obj2);
29696 if (PyErr_Occurred()) SWIG_fail;
29697 {
29698 PyThreadState* __tstate = wxPyBeginAllowThreads();
29699 (arg1)->base_DoSetClientSize(arg2,arg3);
29700
29701 wxPyEndAllowThreads(__tstate);
29702 if (PyErr_Occurred()) SWIG_fail;
29703 }
29704 Py_INCREF(Py_None); resultobj = Py_None;
29705 return resultobj;
29706 fail:
29707 return NULL;
29708 }
29709
29710
29711 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
29712 PyObject *resultobj;
29713 wxPyControl *arg1 = (wxPyControl *) 0 ;
29714 int arg2 ;
29715 int arg3 ;
29716 PyObject * obj0 = 0 ;
29717 PyObject * obj1 = 0 ;
29718 PyObject * obj2 = 0 ;
29719 char *kwnames[] = {
29720 (char *) "self",(char *) "x",(char *) "y", NULL
29721 };
29722
29723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29726 arg2 = (int)SWIG_As_int(obj1);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 arg3 = (int)SWIG_As_int(obj2);
29729 if (PyErr_Occurred()) SWIG_fail;
29730 {
29731 PyThreadState* __tstate = wxPyBeginAllowThreads();
29732 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29733
29734 wxPyEndAllowThreads(__tstate);
29735 if (PyErr_Occurred()) SWIG_fail;
29736 }
29737 Py_INCREF(Py_None); resultobj = Py_None;
29738 return resultobj;
29739 fail:
29740 return NULL;
29741 }
29742
29743
29744 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
29745 PyObject *resultobj;
29746 wxPyControl *arg1 = (wxPyControl *) 0 ;
29747 int *arg2 = (int *) 0 ;
29748 int *arg3 = (int *) 0 ;
29749 int temp2 ;
29750 int res2 = 0 ;
29751 int temp3 ;
29752 int res3 = 0 ;
29753 PyObject * obj0 = 0 ;
29754 char *kwnames[] = {
29755 (char *) "self", NULL
29756 };
29757
29758 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29759 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29763 {
29764 PyThreadState* __tstate = wxPyBeginAllowThreads();
29765 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29766
29767 wxPyEndAllowThreads(__tstate);
29768 if (PyErr_Occurred()) SWIG_fail;
29769 }
29770 Py_INCREF(Py_None); resultobj = Py_None;
29771 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29772 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29773 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29774 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
29775 return resultobj;
29776 fail:
29777 return NULL;
29778 }
29779
29780
29781 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
29782 PyObject *resultobj;
29783 wxPyControl *arg1 = (wxPyControl *) 0 ;
29784 int *arg2 = (int *) 0 ;
29785 int *arg3 = (int *) 0 ;
29786 int temp2 ;
29787 int res2 = 0 ;
29788 int temp3 ;
29789 int res3 = 0 ;
29790 PyObject * obj0 = 0 ;
29791 char *kwnames[] = {
29792 (char *) "self", NULL
29793 };
29794
29795 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29796 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29800 {
29801 PyThreadState* __tstate = wxPyBeginAllowThreads();
29802 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29803
29804 wxPyEndAllowThreads(__tstate);
29805 if (PyErr_Occurred()) SWIG_fail;
29806 }
29807 Py_INCREF(Py_None); resultobj = Py_None;
29808 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29809 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29810 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29811 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
29812 return resultobj;
29813 fail:
29814 return NULL;
29815 }
29816
29817
29818 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
29819 PyObject *resultobj;
29820 wxPyControl *arg1 = (wxPyControl *) 0 ;
29821 int *arg2 = (int *) 0 ;
29822 int *arg3 = (int *) 0 ;
29823 int temp2 ;
29824 int res2 = 0 ;
29825 int temp3 ;
29826 int res3 = 0 ;
29827 PyObject * obj0 = 0 ;
29828 char *kwnames[] = {
29829 (char *) "self", NULL
29830 };
29831
29832 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29833 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29837 {
29838 PyThreadState* __tstate = wxPyBeginAllowThreads();
29839 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29840
29841 wxPyEndAllowThreads(__tstate);
29842 if (PyErr_Occurred()) SWIG_fail;
29843 }
29844 Py_INCREF(Py_None); resultobj = Py_None;
29845 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29846 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
29847 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29848 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
29849 return resultobj;
29850 fail:
29851 return NULL;
29852 }
29853
29854
29855 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
29856 PyObject *resultobj;
29857 wxPyControl *arg1 = (wxPyControl *) 0 ;
29858 wxSize result;
29859 PyObject * obj0 = 0 ;
29860 char *kwnames[] = {
29861 (char *) "self", NULL
29862 };
29863
29864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29867 {
29868 PyThreadState* __tstate = wxPyBeginAllowThreads();
29869 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29870
29871 wxPyEndAllowThreads(__tstate);
29872 if (PyErr_Occurred()) SWIG_fail;
29873 }
29874 {
29875 wxSize * resultptr;
29876 resultptr = new wxSize((wxSize &) result);
29877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29878 }
29879 return resultobj;
29880 fail:
29881 return NULL;
29882 }
29883
29884
29885 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
29886 PyObject *resultobj;
29887 wxPyControl *arg1 = (wxPyControl *) 0 ;
29888 wxSize result;
29889 PyObject * obj0 = 0 ;
29890 char *kwnames[] = {
29891 (char *) "self", NULL
29892 };
29893
29894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29897 {
29898 PyThreadState* __tstate = wxPyBeginAllowThreads();
29899 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29900
29901 wxPyEndAllowThreads(__tstate);
29902 if (PyErr_Occurred()) SWIG_fail;
29903 }
29904 {
29905 wxSize * resultptr;
29906 resultptr = new wxSize((wxSize &) result);
29907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29908 }
29909 return resultobj;
29910 fail:
29911 return NULL;
29912 }
29913
29914
29915 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
29916 PyObject *resultobj;
29917 wxPyControl *arg1 = (wxPyControl *) 0 ;
29918 PyObject * obj0 = 0 ;
29919 char *kwnames[] = {
29920 (char *) "self", NULL
29921 };
29922
29923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29926 {
29927 PyThreadState* __tstate = wxPyBeginAllowThreads();
29928 (arg1)->base_InitDialog();
29929
29930 wxPyEndAllowThreads(__tstate);
29931 if (PyErr_Occurred()) SWIG_fail;
29932 }
29933 Py_INCREF(Py_None); resultobj = Py_None;
29934 return resultobj;
29935 fail:
29936 return NULL;
29937 }
29938
29939
29940 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29941 PyObject *resultobj;
29942 wxPyControl *arg1 = (wxPyControl *) 0 ;
29943 bool result;
29944 PyObject * obj0 = 0 ;
29945 char *kwnames[] = {
29946 (char *) "self", NULL
29947 };
29948
29949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29952 {
29953 PyThreadState* __tstate = wxPyBeginAllowThreads();
29954 result = (bool)(arg1)->base_TransferDataToWindow();
29955
29956 wxPyEndAllowThreads(__tstate);
29957 if (PyErr_Occurred()) SWIG_fail;
29958 }
29959 {
29960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29961 }
29962 return resultobj;
29963 fail:
29964 return NULL;
29965 }
29966
29967
29968 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29969 PyObject *resultobj;
29970 wxPyControl *arg1 = (wxPyControl *) 0 ;
29971 bool result;
29972 PyObject * obj0 = 0 ;
29973 char *kwnames[] = {
29974 (char *) "self", NULL
29975 };
29976
29977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29980 {
29981 PyThreadState* __tstate = wxPyBeginAllowThreads();
29982 result = (bool)(arg1)->base_TransferDataFromWindow();
29983
29984 wxPyEndAllowThreads(__tstate);
29985 if (PyErr_Occurred()) SWIG_fail;
29986 }
29987 {
29988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29989 }
29990 return resultobj;
29991 fail:
29992 return NULL;
29993 }
29994
29995
29996 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
29997 PyObject *resultobj;
29998 wxPyControl *arg1 = (wxPyControl *) 0 ;
29999 bool result;
30000 PyObject * obj0 = 0 ;
30001 char *kwnames[] = {
30002 (char *) "self", NULL
30003 };
30004
30005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
30006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30008 {
30009 PyThreadState* __tstate = wxPyBeginAllowThreads();
30010 result = (bool)(arg1)->base_Validate();
30011
30012 wxPyEndAllowThreads(__tstate);
30013 if (PyErr_Occurred()) SWIG_fail;
30014 }
30015 {
30016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30017 }
30018 return resultobj;
30019 fail:
30020 return NULL;
30021 }
30022
30023
30024 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
30025 PyObject *resultobj;
30026 wxPyControl *arg1 = (wxPyControl *) 0 ;
30027 bool result;
30028 PyObject * obj0 = 0 ;
30029 char *kwnames[] = {
30030 (char *) "self", NULL
30031 };
30032
30033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
30034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30036 {
30037 PyThreadState* __tstate = wxPyBeginAllowThreads();
30038 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
30039
30040 wxPyEndAllowThreads(__tstate);
30041 if (PyErr_Occurred()) SWIG_fail;
30042 }
30043 {
30044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30045 }
30046 return resultobj;
30047 fail:
30048 return NULL;
30049 }
30050
30051
30052 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
30053 PyObject *resultobj;
30054 wxPyControl *arg1 = (wxPyControl *) 0 ;
30055 bool result;
30056 PyObject * obj0 = 0 ;
30057 char *kwnames[] = {
30058 (char *) "self", NULL
30059 };
30060
30061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
30062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30064 {
30065 PyThreadState* __tstate = wxPyBeginAllowThreads();
30066 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
30067
30068 wxPyEndAllowThreads(__tstate);
30069 if (PyErr_Occurred()) SWIG_fail;
30070 }
30071 {
30072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30073 }
30074 return resultobj;
30075 fail:
30076 return NULL;
30077 }
30078
30079
30080 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
30081 PyObject *resultobj;
30082 wxPyControl *arg1 = (wxPyControl *) 0 ;
30083 wxSize result;
30084 PyObject * obj0 = 0 ;
30085 char *kwnames[] = {
30086 (char *) "self", NULL
30087 };
30088
30089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
30090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30092 {
30093 PyThreadState* __tstate = wxPyBeginAllowThreads();
30094 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
30095
30096 wxPyEndAllowThreads(__tstate);
30097 if (PyErr_Occurred()) SWIG_fail;
30098 }
30099 {
30100 wxSize * resultptr;
30101 resultptr = new wxSize((wxSize &) result);
30102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
30103 }
30104 return resultobj;
30105 fail:
30106 return NULL;
30107 }
30108
30109
30110 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
30111 PyObject *resultobj;
30112 wxPyControl *arg1 = (wxPyControl *) 0 ;
30113 wxWindow *arg2 = (wxWindow *) 0 ;
30114 PyObject * obj0 = 0 ;
30115 PyObject * obj1 = 0 ;
30116 char *kwnames[] = {
30117 (char *) "self",(char *) "child", NULL
30118 };
30119
30120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
30121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30125 {
30126 PyThreadState* __tstate = wxPyBeginAllowThreads();
30127 (arg1)->base_AddChild(arg2);
30128
30129 wxPyEndAllowThreads(__tstate);
30130 if (PyErr_Occurred()) SWIG_fail;
30131 }
30132 Py_INCREF(Py_None); resultobj = Py_None;
30133 return resultobj;
30134 fail:
30135 return NULL;
30136 }
30137
30138
30139 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
30140 PyObject *resultobj;
30141 wxPyControl *arg1 = (wxPyControl *) 0 ;
30142 wxWindow *arg2 = (wxWindow *) 0 ;
30143 PyObject * obj0 = 0 ;
30144 PyObject * obj1 = 0 ;
30145 char *kwnames[] = {
30146 (char *) "self",(char *) "child", NULL
30147 };
30148
30149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
30150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30154 {
30155 PyThreadState* __tstate = wxPyBeginAllowThreads();
30156 (arg1)->base_RemoveChild(arg2);
30157
30158 wxPyEndAllowThreads(__tstate);
30159 if (PyErr_Occurred()) SWIG_fail;
30160 }
30161 Py_INCREF(Py_None); resultobj = Py_None;
30162 return resultobj;
30163 fail:
30164 return NULL;
30165 }
30166
30167
30168 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
30169 PyObject *resultobj;
30170 wxPyControl *arg1 = (wxPyControl *) 0 ;
30171 bool result;
30172 PyObject * obj0 = 0 ;
30173 char *kwnames[] = {
30174 (char *) "self", NULL
30175 };
30176
30177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
30178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30180 {
30181 PyThreadState* __tstate = wxPyBeginAllowThreads();
30182 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
30183
30184 wxPyEndAllowThreads(__tstate);
30185 if (PyErr_Occurred()) SWIG_fail;
30186 }
30187 {
30188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30189 }
30190 return resultobj;
30191 fail:
30192 return NULL;
30193 }
30194
30195
30196 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
30197 PyObject *resultobj;
30198 wxPyControl *arg1 = (wxPyControl *) 0 ;
30199 wxColour *arg2 = 0 ;
30200 wxColour temp2 ;
30201 PyObject * obj0 = 0 ;
30202 PyObject * obj1 = 0 ;
30203 char *kwnames[] = {
30204 (char *) "self",(char *) "c", NULL
30205 };
30206
30207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
30208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30210 {
30211 arg2 = &temp2;
30212 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30213 }
30214 {
30215 PyThreadState* __tstate = wxPyBeginAllowThreads();
30216 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
30217
30218 wxPyEndAllowThreads(__tstate);
30219 if (PyErr_Occurred()) SWIG_fail;
30220 }
30221 Py_INCREF(Py_None); resultobj = Py_None;
30222 return resultobj;
30223 fail:
30224 return NULL;
30225 }
30226
30227
30228 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30229 PyObject *resultobj;
30230 wxPyControl *arg1 = (wxPyControl *) 0 ;
30231 wxVisualAttributes result;
30232 PyObject * obj0 = 0 ;
30233 char *kwnames[] = {
30234 (char *) "self", NULL
30235 };
30236
30237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
30238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30240 {
30241 PyThreadState* __tstate = wxPyBeginAllowThreads();
30242 result = (arg1)->base_GetDefaultAttributes();
30243
30244 wxPyEndAllowThreads(__tstate);
30245 if (PyErr_Occurred()) SWIG_fail;
30246 }
30247 {
30248 wxVisualAttributes * resultptr;
30249 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
30250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30251 }
30252 return resultobj;
30253 fail:
30254 return NULL;
30255 }
30256
30257
30258 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
30259 PyObject *obj;
30260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30261 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
30262 Py_INCREF(obj);
30263 return Py_BuildValue((char *)"");
30264 }
30265 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
30266 PyObject *resultobj;
30267 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
30268 int arg2 = (int) 0 ;
30269 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30270 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30271 wxHelpEvent *result;
30272 wxPoint temp3 ;
30273 PyObject * obj0 = 0 ;
30274 PyObject * obj1 = 0 ;
30275 PyObject * obj2 = 0 ;
30276 char *kwnames[] = {
30277 (char *) "type",(char *) "winid",(char *) "pt", NULL
30278 };
30279
30280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30281 if (obj0) {
30282 arg1 = (wxEventType)SWIG_As_int(obj0);
30283 if (PyErr_Occurred()) SWIG_fail;
30284 }
30285 if (obj1) {
30286 arg2 = (int)SWIG_As_int(obj1);
30287 if (PyErr_Occurred()) SWIG_fail;
30288 }
30289 if (obj2) {
30290 {
30291 arg3 = &temp3;
30292 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30293 }
30294 }
30295 {
30296 PyThreadState* __tstate = wxPyBeginAllowThreads();
30297 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
30298
30299 wxPyEndAllowThreads(__tstate);
30300 if (PyErr_Occurred()) SWIG_fail;
30301 }
30302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
30303 return resultobj;
30304 fail:
30305 return NULL;
30306 }
30307
30308
30309 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30310 PyObject *resultobj;
30311 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30312 wxPoint result;
30313 PyObject * obj0 = 0 ;
30314 char *kwnames[] = {
30315 (char *) "self", NULL
30316 };
30317
30318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
30319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30321 {
30322 PyThreadState* __tstate = wxPyBeginAllowThreads();
30323 result = ((wxHelpEvent const *)arg1)->GetPosition();
30324
30325 wxPyEndAllowThreads(__tstate);
30326 if (PyErr_Occurred()) SWIG_fail;
30327 }
30328 {
30329 wxPoint * resultptr;
30330 resultptr = new wxPoint((wxPoint &) result);
30331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30332 }
30333 return resultobj;
30334 fail:
30335 return NULL;
30336 }
30337
30338
30339 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30340 PyObject *resultobj;
30341 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30342 wxPoint *arg2 = 0 ;
30343 wxPoint temp2 ;
30344 PyObject * obj0 = 0 ;
30345 PyObject * obj1 = 0 ;
30346 char *kwnames[] = {
30347 (char *) "self",(char *) "pos", NULL
30348 };
30349
30350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
30351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30353 {
30354 arg2 = &temp2;
30355 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30356 }
30357 {
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 (arg1)->SetPosition((wxPoint const &)*arg2);
30360
30361 wxPyEndAllowThreads(__tstate);
30362 if (PyErr_Occurred()) SWIG_fail;
30363 }
30364 Py_INCREF(Py_None); resultobj = Py_None;
30365 return resultobj;
30366 fail:
30367 return NULL;
30368 }
30369
30370
30371 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
30372 PyObject *resultobj;
30373 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30374 wxString *result;
30375 PyObject * obj0 = 0 ;
30376 char *kwnames[] = {
30377 (char *) "self", NULL
30378 };
30379
30380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
30381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30383 {
30384 PyThreadState* __tstate = wxPyBeginAllowThreads();
30385 {
30386 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
30387 result = (wxString *) &_result_ref;
30388 }
30389
30390 wxPyEndAllowThreads(__tstate);
30391 if (PyErr_Occurred()) SWIG_fail;
30392 }
30393 {
30394 #if wxUSE_UNICODE
30395 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30396 #else
30397 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30398 #endif
30399 }
30400 return resultobj;
30401 fail:
30402 return NULL;
30403 }
30404
30405
30406 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
30407 PyObject *resultobj;
30408 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30409 wxString *arg2 = 0 ;
30410 bool temp2 = false ;
30411 PyObject * obj0 = 0 ;
30412 PyObject * obj1 = 0 ;
30413 char *kwnames[] = {
30414 (char *) "self",(char *) "link", NULL
30415 };
30416
30417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
30418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30420 {
30421 arg2 = wxString_in_helper(obj1);
30422 if (arg2 == NULL) SWIG_fail;
30423 temp2 = true;
30424 }
30425 {
30426 PyThreadState* __tstate = wxPyBeginAllowThreads();
30427 (arg1)->SetLink((wxString const &)*arg2);
30428
30429 wxPyEndAllowThreads(__tstate);
30430 if (PyErr_Occurred()) SWIG_fail;
30431 }
30432 Py_INCREF(Py_None); resultobj = Py_None;
30433 {
30434 if (temp2)
30435 delete arg2;
30436 }
30437 return resultobj;
30438 fail:
30439 {
30440 if (temp2)
30441 delete arg2;
30442 }
30443 return NULL;
30444 }
30445
30446
30447 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
30448 PyObject *resultobj;
30449 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30450 wxString *result;
30451 PyObject * obj0 = 0 ;
30452 char *kwnames[] = {
30453 (char *) "self", NULL
30454 };
30455
30456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
30457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30459 {
30460 PyThreadState* __tstate = wxPyBeginAllowThreads();
30461 {
30462 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30463 result = (wxString *) &_result_ref;
30464 }
30465
30466 wxPyEndAllowThreads(__tstate);
30467 if (PyErr_Occurred()) SWIG_fail;
30468 }
30469 {
30470 #if wxUSE_UNICODE
30471 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30472 #else
30473 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30474 #endif
30475 }
30476 return resultobj;
30477 fail:
30478 return NULL;
30479 }
30480
30481
30482 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
30483 PyObject *resultobj;
30484 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30485 wxString *arg2 = 0 ;
30486 bool temp2 = false ;
30487 PyObject * obj0 = 0 ;
30488 PyObject * obj1 = 0 ;
30489 char *kwnames[] = {
30490 (char *) "self",(char *) "target", NULL
30491 };
30492
30493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30496 {
30497 arg2 = wxString_in_helper(obj1);
30498 if (arg2 == NULL) SWIG_fail;
30499 temp2 = true;
30500 }
30501 {
30502 PyThreadState* __tstate = wxPyBeginAllowThreads();
30503 (arg1)->SetTarget((wxString const &)*arg2);
30504
30505 wxPyEndAllowThreads(__tstate);
30506 if (PyErr_Occurred()) SWIG_fail;
30507 }
30508 Py_INCREF(Py_None); resultobj = Py_None;
30509 {
30510 if (temp2)
30511 delete arg2;
30512 }
30513 return resultobj;
30514 fail:
30515 {
30516 if (temp2)
30517 delete arg2;
30518 }
30519 return NULL;
30520 }
30521
30522
30523 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
30524 PyObject *obj;
30525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30526 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30527 Py_INCREF(obj);
30528 return Py_BuildValue((char *)"");
30529 }
30530 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30531 PyObject *resultobj;
30532 wxWindow *arg1 = (wxWindow *) NULL ;
30533 bool arg2 = (bool) true ;
30534 wxContextHelp *result;
30535 PyObject * obj0 = 0 ;
30536 PyObject * obj1 = 0 ;
30537 char *kwnames[] = {
30538 (char *) "window",(char *) "doNow", NULL
30539 };
30540
30541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30542 if (obj0) {
30543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30545 }
30546 if (obj1) {
30547 arg2 = (bool)SWIG_As_bool(obj1);
30548 if (PyErr_Occurred()) SWIG_fail;
30549 }
30550 {
30551 if (!wxPyCheckForApp()) SWIG_fail;
30552 PyThreadState* __tstate = wxPyBeginAllowThreads();
30553 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30554
30555 wxPyEndAllowThreads(__tstate);
30556 if (PyErr_Occurred()) SWIG_fail;
30557 }
30558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30559 return resultobj;
30560 fail:
30561 return NULL;
30562 }
30563
30564
30565 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30566 PyObject *resultobj;
30567 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30568 PyObject * obj0 = 0 ;
30569 char *kwnames[] = {
30570 (char *) "self", NULL
30571 };
30572
30573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30576 {
30577 PyThreadState* __tstate = wxPyBeginAllowThreads();
30578 delete arg1;
30579
30580 wxPyEndAllowThreads(__tstate);
30581 if (PyErr_Occurred()) SWIG_fail;
30582 }
30583 Py_INCREF(Py_None); resultobj = Py_None;
30584 return resultobj;
30585 fail:
30586 return NULL;
30587 }
30588
30589
30590 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30591 PyObject *resultobj;
30592 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30593 wxWindow *arg2 = (wxWindow *) NULL ;
30594 bool result;
30595 PyObject * obj0 = 0 ;
30596 PyObject * obj1 = 0 ;
30597 char *kwnames[] = {
30598 (char *) "self",(char *) "window", NULL
30599 };
30600
30601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30604 if (obj1) {
30605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30607 }
30608 {
30609 PyThreadState* __tstate = wxPyBeginAllowThreads();
30610 result = (bool)(arg1)->BeginContextHelp(arg2);
30611
30612 wxPyEndAllowThreads(__tstate);
30613 if (PyErr_Occurred()) SWIG_fail;
30614 }
30615 {
30616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30617 }
30618 return resultobj;
30619 fail:
30620 return NULL;
30621 }
30622
30623
30624 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30625 PyObject *resultobj;
30626 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30627 bool result;
30628 PyObject * obj0 = 0 ;
30629 char *kwnames[] = {
30630 (char *) "self", NULL
30631 };
30632
30633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30636 {
30637 PyThreadState* __tstate = wxPyBeginAllowThreads();
30638 result = (bool)(arg1)->EndContextHelp();
30639
30640 wxPyEndAllowThreads(__tstate);
30641 if (PyErr_Occurred()) SWIG_fail;
30642 }
30643 {
30644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30645 }
30646 return resultobj;
30647 fail:
30648 return NULL;
30649 }
30650
30651
30652 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
30653 PyObject *obj;
30654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30655 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30656 Py_INCREF(obj);
30657 return Py_BuildValue((char *)"");
30658 }
30659 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
30660 PyObject *resultobj;
30661 wxWindow *arg1 = (wxWindow *) 0 ;
30662 int arg2 = (int) wxID_CONTEXT_HELP ;
30663 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30664 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30665 wxSize const &arg4_defvalue = wxDefaultSize ;
30666 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30667 long arg5 = (long) wxBU_AUTODRAW ;
30668 wxContextHelpButton *result;
30669 wxPoint temp3 ;
30670 wxSize temp4 ;
30671 PyObject * obj0 = 0 ;
30672 PyObject * obj1 = 0 ;
30673 PyObject * obj2 = 0 ;
30674 PyObject * obj3 = 0 ;
30675 PyObject * obj4 = 0 ;
30676 char *kwnames[] = {
30677 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30678 };
30679
30680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30683 if (obj1) {
30684 arg2 = (int)SWIG_As_int(obj1);
30685 if (PyErr_Occurred()) SWIG_fail;
30686 }
30687 if (obj2) {
30688 {
30689 arg3 = &temp3;
30690 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30691 }
30692 }
30693 if (obj3) {
30694 {
30695 arg4 = &temp4;
30696 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30697 }
30698 }
30699 if (obj4) {
30700 arg5 = (long)SWIG_As_long(obj4);
30701 if (PyErr_Occurred()) SWIG_fail;
30702 }
30703 {
30704 if (!wxPyCheckForApp()) SWIG_fail;
30705 PyThreadState* __tstate = wxPyBeginAllowThreads();
30706 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30707
30708 wxPyEndAllowThreads(__tstate);
30709 if (PyErr_Occurred()) SWIG_fail;
30710 }
30711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30712 return resultobj;
30713 fail:
30714 return NULL;
30715 }
30716
30717
30718 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
30719 PyObject *obj;
30720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30721 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30722 Py_INCREF(obj);
30723 return Py_BuildValue((char *)"");
30724 }
30725 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
30726 PyObject *resultobj;
30727 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30728 wxHelpProvider *result;
30729 PyObject * obj0 = 0 ;
30730 char *kwnames[] = {
30731 (char *) "helpProvider", NULL
30732 };
30733
30734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30737 {
30738 PyThreadState* __tstate = wxPyBeginAllowThreads();
30739 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30740
30741 wxPyEndAllowThreads(__tstate);
30742 if (PyErr_Occurred()) SWIG_fail;
30743 }
30744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30745 return resultobj;
30746 fail:
30747 return NULL;
30748 }
30749
30750
30751 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
30752 PyObject *resultobj;
30753 wxHelpProvider *result;
30754 char *kwnames[] = {
30755 NULL
30756 };
30757
30758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30759 {
30760 PyThreadState* __tstate = wxPyBeginAllowThreads();
30761 result = (wxHelpProvider *)wxHelpProvider::Get();
30762
30763 wxPyEndAllowThreads(__tstate);
30764 if (PyErr_Occurred()) SWIG_fail;
30765 }
30766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30767 return resultobj;
30768 fail:
30769 return NULL;
30770 }
30771
30772
30773 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30774 PyObject *resultobj;
30775 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30776 wxWindow *arg2 = (wxWindow *) 0 ;
30777 wxString result;
30778 PyObject * obj0 = 0 ;
30779 PyObject * obj1 = 0 ;
30780 char *kwnames[] = {
30781 (char *) "self",(char *) "window", NULL
30782 };
30783
30784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30789 {
30790 PyThreadState* __tstate = wxPyBeginAllowThreads();
30791 result = (arg1)->GetHelp((wxWindow const *)arg2);
30792
30793 wxPyEndAllowThreads(__tstate);
30794 if (PyErr_Occurred()) SWIG_fail;
30795 }
30796 {
30797 #if wxUSE_UNICODE
30798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30799 #else
30800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30801 #endif
30802 }
30803 return resultobj;
30804 fail:
30805 return NULL;
30806 }
30807
30808
30809 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30810 PyObject *resultobj;
30811 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30812 wxWindow *arg2 = (wxWindow *) 0 ;
30813 bool result;
30814 PyObject * obj0 = 0 ;
30815 PyObject * obj1 = 0 ;
30816 char *kwnames[] = {
30817 (char *) "self",(char *) "window", NULL
30818 };
30819
30820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30825 {
30826 PyThreadState* __tstate = wxPyBeginAllowThreads();
30827 result = (bool)(arg1)->ShowHelp(arg2);
30828
30829 wxPyEndAllowThreads(__tstate);
30830 if (PyErr_Occurred()) SWIG_fail;
30831 }
30832 {
30833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30834 }
30835 return resultobj;
30836 fail:
30837 return NULL;
30838 }
30839
30840
30841 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30842 PyObject *resultobj;
30843 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30844 wxWindow *arg2 = (wxWindow *) 0 ;
30845 wxString *arg3 = 0 ;
30846 bool temp3 = false ;
30847 PyObject * obj0 = 0 ;
30848 PyObject * obj1 = 0 ;
30849 PyObject * obj2 = 0 ;
30850 char *kwnames[] = {
30851 (char *) "self",(char *) "window",(char *) "text", NULL
30852 };
30853
30854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30857 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30859 {
30860 arg3 = wxString_in_helper(obj2);
30861 if (arg3 == NULL) SWIG_fail;
30862 temp3 = true;
30863 }
30864 {
30865 PyThreadState* __tstate = wxPyBeginAllowThreads();
30866 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30867
30868 wxPyEndAllowThreads(__tstate);
30869 if (PyErr_Occurred()) SWIG_fail;
30870 }
30871 Py_INCREF(Py_None); resultobj = Py_None;
30872 {
30873 if (temp3)
30874 delete arg3;
30875 }
30876 return resultobj;
30877 fail:
30878 {
30879 if (temp3)
30880 delete arg3;
30881 }
30882 return NULL;
30883 }
30884
30885
30886 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
30887 PyObject *resultobj;
30888 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30889 int arg2 ;
30890 wxString *arg3 = 0 ;
30891 bool temp3 = false ;
30892 PyObject * obj0 = 0 ;
30893 PyObject * obj1 = 0 ;
30894 PyObject * obj2 = 0 ;
30895 char *kwnames[] = {
30896 (char *) "self",(char *) "id",(char *) "text", NULL
30897 };
30898
30899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30902 arg2 = (int)SWIG_As_int(obj1);
30903 if (PyErr_Occurred()) SWIG_fail;
30904 {
30905 arg3 = wxString_in_helper(obj2);
30906 if (arg3 == NULL) SWIG_fail;
30907 temp3 = true;
30908 }
30909 {
30910 PyThreadState* __tstate = wxPyBeginAllowThreads();
30911 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30912
30913 wxPyEndAllowThreads(__tstate);
30914 if (PyErr_Occurred()) SWIG_fail;
30915 }
30916 Py_INCREF(Py_None); resultobj = Py_None;
30917 {
30918 if (temp3)
30919 delete arg3;
30920 }
30921 return resultobj;
30922 fail:
30923 {
30924 if (temp3)
30925 delete arg3;
30926 }
30927 return NULL;
30928 }
30929
30930
30931 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30932 PyObject *resultobj;
30933 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30934 wxWindow *arg2 = (wxWindow *) 0 ;
30935 PyObject * obj0 = 0 ;
30936 PyObject * obj1 = 0 ;
30937 char *kwnames[] = {
30938 (char *) "self",(char *) "window", NULL
30939 };
30940
30941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30946 {
30947 PyThreadState* __tstate = wxPyBeginAllowThreads();
30948 (arg1)->RemoveHelp(arg2);
30949
30950 wxPyEndAllowThreads(__tstate);
30951 if (PyErr_Occurred()) SWIG_fail;
30952 }
30953 Py_INCREF(Py_None); resultobj = Py_None;
30954 return resultobj;
30955 fail:
30956 return NULL;
30957 }
30958
30959
30960 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
30961 PyObject *resultobj;
30962 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30963 PyObject * obj0 = 0 ;
30964 char *kwnames[] = {
30965 (char *) "self", NULL
30966 };
30967
30968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30971 {
30972 PyThreadState* __tstate = wxPyBeginAllowThreads();
30973 wxHelpProvider_Destroy(arg1);
30974
30975 wxPyEndAllowThreads(__tstate);
30976 if (PyErr_Occurred()) SWIG_fail;
30977 }
30978 Py_INCREF(Py_None); resultobj = Py_None;
30979 return resultobj;
30980 fail:
30981 return NULL;
30982 }
30983
30984
30985 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
30986 PyObject *obj;
30987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30988 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30989 Py_INCREF(obj);
30990 return Py_BuildValue((char *)"");
30991 }
30992 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
30993 PyObject *resultobj;
30994 wxSimpleHelpProvider *result;
30995 char *kwnames[] = {
30996 NULL
30997 };
30998
30999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
31000 {
31001 PyThreadState* __tstate = wxPyBeginAllowThreads();
31002 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
31003
31004 wxPyEndAllowThreads(__tstate);
31005 if (PyErr_Occurred()) SWIG_fail;
31006 }
31007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
31008 return resultobj;
31009 fail:
31010 return NULL;
31011 }
31012
31013
31014 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
31015 PyObject *obj;
31016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31017 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
31018 Py_INCREF(obj);
31019 return Py_BuildValue((char *)"");
31020 }
31021 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
31022 PyObject *resultobj;
31023 wxBitmap *arg1 = 0 ;
31024 wxCursor const &arg2_defvalue = wxNullCursor ;
31025 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31026 wxGenericDragImage *result;
31027 PyObject * obj0 = 0 ;
31028 PyObject * obj1 = 0 ;
31029 char *kwnames[] = {
31030 (char *) "image",(char *) "cursor", NULL
31031 };
31032
31033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
31034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
31035 SWIG_POINTER_EXCEPTION | 0)) == -1)
31036 SWIG_fail;
31037 if (arg1 == NULL) {
31038 PyErr_SetString(PyExc_TypeError,"null reference");
31039 SWIG_fail;
31040 }
31041 if (obj1) {
31042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31043 SWIG_POINTER_EXCEPTION | 0)) == -1)
31044 SWIG_fail;
31045 if (arg2 == NULL) {
31046 PyErr_SetString(PyExc_TypeError,"null reference");
31047 SWIG_fail;
31048 }
31049 }
31050 {
31051 if (!wxPyCheckForApp()) SWIG_fail;
31052 PyThreadState* __tstate = wxPyBeginAllowThreads();
31053 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
31054
31055 wxPyEndAllowThreads(__tstate);
31056 if (PyErr_Occurred()) SWIG_fail;
31057 }
31058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31059 return resultobj;
31060 fail:
31061 return NULL;
31062 }
31063
31064
31065 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
31066 PyObject *resultobj;
31067 wxIcon *arg1 = 0 ;
31068 wxCursor const &arg2_defvalue = wxNullCursor ;
31069 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31070 wxGenericDragImage *result;
31071 PyObject * obj0 = 0 ;
31072 PyObject * obj1 = 0 ;
31073 char *kwnames[] = {
31074 (char *) "image",(char *) "cursor", NULL
31075 };
31076
31077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
31078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
31079 SWIG_POINTER_EXCEPTION | 0)) == -1)
31080 SWIG_fail;
31081 if (arg1 == NULL) {
31082 PyErr_SetString(PyExc_TypeError,"null reference");
31083 SWIG_fail;
31084 }
31085 if (obj1) {
31086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31087 SWIG_POINTER_EXCEPTION | 0)) == -1)
31088 SWIG_fail;
31089 if (arg2 == NULL) {
31090 PyErr_SetString(PyExc_TypeError,"null reference");
31091 SWIG_fail;
31092 }
31093 }
31094 {
31095 if (!wxPyCheckForApp()) SWIG_fail;
31096 PyThreadState* __tstate = wxPyBeginAllowThreads();
31097 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
31098
31099 wxPyEndAllowThreads(__tstate);
31100 if (PyErr_Occurred()) SWIG_fail;
31101 }
31102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31103 return resultobj;
31104 fail:
31105 return NULL;
31106 }
31107
31108
31109 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
31110 PyObject *resultobj;
31111 wxString *arg1 = 0 ;
31112 wxCursor const &arg2_defvalue = wxNullCursor ;
31113 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31114 wxGenericDragImage *result;
31115 bool temp1 = false ;
31116 PyObject * obj0 = 0 ;
31117 PyObject * obj1 = 0 ;
31118 char *kwnames[] = {
31119 (char *) "str",(char *) "cursor", NULL
31120 };
31121
31122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
31123 {
31124 arg1 = wxString_in_helper(obj0);
31125 if (arg1 == NULL) SWIG_fail;
31126 temp1 = true;
31127 }
31128 if (obj1) {
31129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31130 SWIG_POINTER_EXCEPTION | 0)) == -1)
31131 SWIG_fail;
31132 if (arg2 == NULL) {
31133 PyErr_SetString(PyExc_TypeError,"null reference");
31134 SWIG_fail;
31135 }
31136 }
31137 {
31138 if (!wxPyCheckForApp()) SWIG_fail;
31139 PyThreadState* __tstate = wxPyBeginAllowThreads();
31140 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
31141
31142 wxPyEndAllowThreads(__tstate);
31143 if (PyErr_Occurred()) SWIG_fail;
31144 }
31145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31146 {
31147 if (temp1)
31148 delete arg1;
31149 }
31150 return resultobj;
31151 fail:
31152 {
31153 if (temp1)
31154 delete arg1;
31155 }
31156 return NULL;
31157 }
31158
31159
31160 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
31161 PyObject *resultobj;
31162 wxPyTreeCtrl *arg1 = 0 ;
31163 wxTreeItemId *arg2 = 0 ;
31164 wxGenericDragImage *result;
31165 PyObject * obj0 = 0 ;
31166 PyObject * obj1 = 0 ;
31167 char *kwnames[] = {
31168 (char *) "treeCtrl",(char *) "id", NULL
31169 };
31170
31171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
31172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
31173 SWIG_POINTER_EXCEPTION | 0)) == -1)
31174 SWIG_fail;
31175 if (arg1 == NULL) {
31176 PyErr_SetString(PyExc_TypeError,"null reference");
31177 SWIG_fail;
31178 }
31179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
31180 SWIG_POINTER_EXCEPTION | 0)) == -1)
31181 SWIG_fail;
31182 if (arg2 == NULL) {
31183 PyErr_SetString(PyExc_TypeError,"null reference");
31184 SWIG_fail;
31185 }
31186 {
31187 if (!wxPyCheckForApp()) SWIG_fail;
31188 PyThreadState* __tstate = wxPyBeginAllowThreads();
31189 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
31190
31191 wxPyEndAllowThreads(__tstate);
31192 if (PyErr_Occurred()) SWIG_fail;
31193 }
31194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31195 return resultobj;
31196 fail:
31197 return NULL;
31198 }
31199
31200
31201 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
31202 PyObject *resultobj;
31203 wxPyListCtrl *arg1 = 0 ;
31204 long arg2 ;
31205 wxGenericDragImage *result;
31206 PyObject * obj0 = 0 ;
31207 PyObject * obj1 = 0 ;
31208 char *kwnames[] = {
31209 (char *) "listCtrl",(char *) "id", NULL
31210 };
31211
31212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
31213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
31214 SWIG_POINTER_EXCEPTION | 0)) == -1)
31215 SWIG_fail;
31216 if (arg1 == NULL) {
31217 PyErr_SetString(PyExc_TypeError,"null reference");
31218 SWIG_fail;
31219 }
31220 arg2 = (long)SWIG_As_long(obj1);
31221 if (PyErr_Occurred()) SWIG_fail;
31222 {
31223 if (!wxPyCheckForApp()) SWIG_fail;
31224 PyThreadState* __tstate = wxPyBeginAllowThreads();
31225 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
31226
31227 wxPyEndAllowThreads(__tstate);
31228 if (PyErr_Occurred()) SWIG_fail;
31229 }
31230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31231 return resultobj;
31232 fail:
31233 return NULL;
31234 }
31235
31236
31237 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
31238 PyObject *resultobj;
31239 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31240 PyObject * obj0 = 0 ;
31241 char *kwnames[] = {
31242 (char *) "self", NULL
31243 };
31244
31245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
31246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31248 {
31249 PyThreadState* __tstate = wxPyBeginAllowThreads();
31250 delete arg1;
31251
31252 wxPyEndAllowThreads(__tstate);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 }
31255 Py_INCREF(Py_None); resultobj = Py_None;
31256 return resultobj;
31257 fail:
31258 return NULL;
31259 }
31260
31261
31262 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
31263 PyObject *resultobj;
31264 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31265 wxBitmap *arg2 = (wxBitmap *) 0 ;
31266 PyObject * obj0 = 0 ;
31267 PyObject * obj1 = 0 ;
31268 char *kwnames[] = {
31269 (char *) "self",(char *) "bitmap", NULL
31270 };
31271
31272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
31273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31277 {
31278 PyThreadState* __tstate = wxPyBeginAllowThreads();
31279 (arg1)->SetBackingBitmap(arg2);
31280
31281 wxPyEndAllowThreads(__tstate);
31282 if (PyErr_Occurred()) SWIG_fail;
31283 }
31284 Py_INCREF(Py_None); resultobj = Py_None;
31285 return resultobj;
31286 fail:
31287 return NULL;
31288 }
31289
31290
31291 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
31292 PyObject *resultobj;
31293 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31294 wxPoint *arg2 = 0 ;
31295 wxWindow *arg3 = (wxWindow *) 0 ;
31296 bool arg4 = (bool) false ;
31297 wxRect *arg5 = (wxRect *) NULL ;
31298 bool result;
31299 wxPoint temp2 ;
31300 PyObject * obj0 = 0 ;
31301 PyObject * obj1 = 0 ;
31302 PyObject * obj2 = 0 ;
31303 PyObject * obj3 = 0 ;
31304 PyObject * obj4 = 0 ;
31305 char *kwnames[] = {
31306 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31307 };
31308
31309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31312 {
31313 arg2 = &temp2;
31314 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31315 }
31316 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31318 if (obj3) {
31319 arg4 = (bool)SWIG_As_bool(obj3);
31320 if (PyErr_Occurred()) SWIG_fail;
31321 }
31322 if (obj4) {
31323 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
31324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31325 }
31326 {
31327 PyThreadState* __tstate = wxPyBeginAllowThreads();
31328 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
31329
31330 wxPyEndAllowThreads(__tstate);
31331 if (PyErr_Occurred()) SWIG_fail;
31332 }
31333 {
31334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31335 }
31336 return resultobj;
31337 fail:
31338 return NULL;
31339 }
31340
31341
31342 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
31343 PyObject *resultobj;
31344 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31345 wxPoint *arg2 = 0 ;
31346 wxWindow *arg3 = (wxWindow *) 0 ;
31347 wxWindow *arg4 = (wxWindow *) 0 ;
31348 bool result;
31349 wxPoint temp2 ;
31350 PyObject * obj0 = 0 ;
31351 PyObject * obj1 = 0 ;
31352 PyObject * obj2 = 0 ;
31353 PyObject * obj3 = 0 ;
31354 char *kwnames[] = {
31355 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31356 };
31357
31358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31361 {
31362 arg2 = &temp2;
31363 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31364 }
31365 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31367 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
31368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
31372
31373 wxPyEndAllowThreads(__tstate);
31374 if (PyErr_Occurred()) SWIG_fail;
31375 }
31376 {
31377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31378 }
31379 return resultobj;
31380 fail:
31381 return NULL;
31382 }
31383
31384
31385 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
31386 PyObject *resultobj;
31387 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31388 bool result;
31389 PyObject * obj0 = 0 ;
31390 char *kwnames[] = {
31391 (char *) "self", NULL
31392 };
31393
31394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
31395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31397 {
31398 PyThreadState* __tstate = wxPyBeginAllowThreads();
31399 result = (bool)(arg1)->EndDrag();
31400
31401 wxPyEndAllowThreads(__tstate);
31402 if (PyErr_Occurred()) SWIG_fail;
31403 }
31404 {
31405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31406 }
31407 return resultobj;
31408 fail:
31409 return NULL;
31410 }
31411
31412
31413 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
31414 PyObject *resultobj;
31415 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31416 wxPoint *arg2 = 0 ;
31417 bool result;
31418 wxPoint temp2 ;
31419 PyObject * obj0 = 0 ;
31420 PyObject * obj1 = 0 ;
31421 char *kwnames[] = {
31422 (char *) "self",(char *) "pt", NULL
31423 };
31424
31425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
31426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31428 {
31429 arg2 = &temp2;
31430 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31431 }
31432 {
31433 PyThreadState* __tstate = wxPyBeginAllowThreads();
31434 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31435
31436 wxPyEndAllowThreads(__tstate);
31437 if (PyErr_Occurred()) SWIG_fail;
31438 }
31439 {
31440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31441 }
31442 return resultobj;
31443 fail:
31444 return NULL;
31445 }
31446
31447
31448 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
31449 PyObject *resultobj;
31450 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31451 bool result;
31452 PyObject * obj0 = 0 ;
31453 char *kwnames[] = {
31454 (char *) "self", NULL
31455 };
31456
31457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
31458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31460 {
31461 PyThreadState* __tstate = wxPyBeginAllowThreads();
31462 result = (bool)(arg1)->Show();
31463
31464 wxPyEndAllowThreads(__tstate);
31465 if (PyErr_Occurred()) SWIG_fail;
31466 }
31467 {
31468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31469 }
31470 return resultobj;
31471 fail:
31472 return NULL;
31473 }
31474
31475
31476 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
31477 PyObject *resultobj;
31478 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31479 bool result;
31480 PyObject * obj0 = 0 ;
31481 char *kwnames[] = {
31482 (char *) "self", NULL
31483 };
31484
31485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
31486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31488 {
31489 PyThreadState* __tstate = wxPyBeginAllowThreads();
31490 result = (bool)(arg1)->Hide();
31491
31492 wxPyEndAllowThreads(__tstate);
31493 if (PyErr_Occurred()) SWIG_fail;
31494 }
31495 {
31496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31497 }
31498 return resultobj;
31499 fail:
31500 return NULL;
31501 }
31502
31503
31504 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
31505 PyObject *resultobj;
31506 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31507 wxPoint *arg2 = 0 ;
31508 wxRect result;
31509 wxPoint temp2 ;
31510 PyObject * obj0 = 0 ;
31511 PyObject * obj1 = 0 ;
31512 char *kwnames[] = {
31513 (char *) "self",(char *) "pos", NULL
31514 };
31515
31516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31519 {
31520 arg2 = &temp2;
31521 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31522 }
31523 {
31524 PyThreadState* __tstate = wxPyBeginAllowThreads();
31525 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31526
31527 wxPyEndAllowThreads(__tstate);
31528 if (PyErr_Occurred()) SWIG_fail;
31529 }
31530 {
31531 wxRect * resultptr;
31532 resultptr = new wxRect((wxRect &) result);
31533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31534 }
31535 return resultobj;
31536 fail:
31537 return NULL;
31538 }
31539
31540
31541 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
31542 PyObject *resultobj;
31543 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31544 wxDC *arg2 = 0 ;
31545 wxPoint *arg3 = 0 ;
31546 bool result;
31547 wxPoint temp3 ;
31548 PyObject * obj0 = 0 ;
31549 PyObject * obj1 = 0 ;
31550 PyObject * obj2 = 0 ;
31551 char *kwnames[] = {
31552 (char *) "self",(char *) "dc",(char *) "pos", NULL
31553 };
31554
31555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31559 SWIG_POINTER_EXCEPTION | 0)) == -1)
31560 SWIG_fail;
31561 if (arg2 == NULL) {
31562 PyErr_SetString(PyExc_TypeError,"null reference");
31563 SWIG_fail;
31564 }
31565 {
31566 arg3 = &temp3;
31567 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31568 }
31569 {
31570 PyThreadState* __tstate = wxPyBeginAllowThreads();
31571 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31572
31573 wxPyEndAllowThreads(__tstate);
31574 if (PyErr_Occurred()) SWIG_fail;
31575 }
31576 {
31577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31578 }
31579 return resultobj;
31580 fail:
31581 return NULL;
31582 }
31583
31584
31585 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
31586 PyObject *resultobj;
31587 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31588 wxDC *arg2 = 0 ;
31589 wxMemoryDC *arg3 = 0 ;
31590 wxRect *arg4 = 0 ;
31591 wxRect *arg5 = 0 ;
31592 bool result;
31593 wxRect temp4 ;
31594 wxRect temp5 ;
31595 PyObject * obj0 = 0 ;
31596 PyObject * obj1 = 0 ;
31597 PyObject * obj2 = 0 ;
31598 PyObject * obj3 = 0 ;
31599 PyObject * obj4 = 0 ;
31600 char *kwnames[] = {
31601 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31602 };
31603
31604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31608 SWIG_POINTER_EXCEPTION | 0)) == -1)
31609 SWIG_fail;
31610 if (arg2 == NULL) {
31611 PyErr_SetString(PyExc_TypeError,"null reference");
31612 SWIG_fail;
31613 }
31614 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31615 SWIG_POINTER_EXCEPTION | 0)) == -1)
31616 SWIG_fail;
31617 if (arg3 == NULL) {
31618 PyErr_SetString(PyExc_TypeError,"null reference");
31619 SWIG_fail;
31620 }
31621 {
31622 arg4 = &temp4;
31623 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31624 }
31625 {
31626 arg5 = &temp5;
31627 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31628 }
31629 {
31630 PyThreadState* __tstate = wxPyBeginAllowThreads();
31631 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31632
31633 wxPyEndAllowThreads(__tstate);
31634 if (PyErr_Occurred()) SWIG_fail;
31635 }
31636 {
31637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31638 }
31639 return resultobj;
31640 fail:
31641 return NULL;
31642 }
31643
31644
31645 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
31646 PyObject *resultobj;
31647 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31648 wxPoint *arg2 = 0 ;
31649 wxPoint *arg3 = 0 ;
31650 bool arg4 ;
31651 bool arg5 ;
31652 bool result;
31653 wxPoint temp2 ;
31654 wxPoint temp3 ;
31655 PyObject * obj0 = 0 ;
31656 PyObject * obj1 = 0 ;
31657 PyObject * obj2 = 0 ;
31658 PyObject * obj3 = 0 ;
31659 PyObject * obj4 = 0 ;
31660 char *kwnames[] = {
31661 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31662 };
31663
31664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31667 {
31668 arg2 = &temp2;
31669 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31670 }
31671 {
31672 arg3 = &temp3;
31673 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31674 }
31675 arg4 = (bool)SWIG_As_bool(obj3);
31676 if (PyErr_Occurred()) SWIG_fail;
31677 arg5 = (bool)SWIG_As_bool(obj4);
31678 if (PyErr_Occurred()) SWIG_fail;
31679 {
31680 PyThreadState* __tstate = wxPyBeginAllowThreads();
31681 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31682
31683 wxPyEndAllowThreads(__tstate);
31684 if (PyErr_Occurred()) SWIG_fail;
31685 }
31686 {
31687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31688 }
31689 return resultobj;
31690 fail:
31691 return NULL;
31692 }
31693
31694
31695 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
31696 PyObject *obj;
31697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31698 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31699 Py_INCREF(obj);
31700 return Py_BuildValue((char *)"");
31701 }
31702 static PyMethodDef SwigMethods[] = {
31703 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
31704 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
31705 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31706 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31707 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31708 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31709 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
31710 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31711 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31712 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31713 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31714 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31715 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31716 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31717 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31718 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31719 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31720 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31721 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
31722 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
31723 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
31724 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
31725 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31726 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31727 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31728 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31729 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31730 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31731 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31732 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31733 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
31734 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
31735 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31736 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
31737 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
31738 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
31739 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31740 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31741 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31742 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31743 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31744 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
31745 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31746 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31747 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31748 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31749 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31750 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31751 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
31752 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
31753 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31754 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31755 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31756 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
31757 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31758 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
31759 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31760 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31761 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31762 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31763 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
31764 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31765 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
31766 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
31767 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
31768 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31769 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31770 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31771 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31772 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31773 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31774 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
31775 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
31776 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
31777 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
31778 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31779 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
31780 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
31781 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
31782 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31783 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31784 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
31785 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
31786 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
31787 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31788 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31789 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31790 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31791 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
31792 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
31793 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
31794 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31795 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31796 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
31797 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31798 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31799 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31800 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31801 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
31802 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
31803 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31804 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
31805 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31806 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31807 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31808 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
31809 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
31810 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
31811 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31812 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31813 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
31814 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
31815 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
31816 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31817 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
31818 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
31819 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
31820 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
31821 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
31822 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
31823 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31824 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31825 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
31826 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31827 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
31828 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31829 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
31830 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31831 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31832 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
31833 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL },
31834 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
31835 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
31836 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
31837 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
31838 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
31839 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
31840 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31841 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31842 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
31843 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31844 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31845 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31846 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31847 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
31848 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31849 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31850 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
31851 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31852 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31853 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31854 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31855 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
31856 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
31857 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
31858 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
31859 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
31860 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
31861 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31862 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31863 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
31864 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
31865 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31866 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
31867 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
31868 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31869 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31870 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31871 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31872 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31873 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31874 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
31875 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
31876 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
31877 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
31878 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31879 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
31880 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
31881 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31882 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31883 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
31884 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
31885 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
31886 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
31887 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
31888 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
31889 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
31890 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
31891 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
31892 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
31893 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
31894 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31895 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31896 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31897 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
31898 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31899 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
31900 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31901 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
31902 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL },
31903 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31904 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
31905 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
31906 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
31907 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
31908 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
31909 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
31910 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
31911 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
31912 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
31913 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31914 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31915 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31916 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31917 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31918 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
31919 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
31920 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
31921 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
31922 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31923 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
31924 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31925 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31926 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
31927 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
31928 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
31929 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
31930 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
31931 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31932 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31933 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
31934 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
31935 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31936 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31937 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31938 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
31939 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31940 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
31941 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
31942 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
31943 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31944 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31945 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31946 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31947 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31948 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31949 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31950 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31951 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
31952 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31953 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
31954 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31955 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
31956 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31957 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31958 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31959 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
31960 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
31961 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
31962 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
31963 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31964 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31965 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
31966 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
31967 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31968 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31969 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
31970 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
31971 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
31972 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31973 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31974 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31975 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31976 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31977 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
31978 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
31979 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
31980 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31981 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
31982 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
31983 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
31984 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
31985 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
31986 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31987 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
31988 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
31989 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
31990 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31991 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31992 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31993 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31994 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
31995 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
31996 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
31997 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31998 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31999 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32000 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32001 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32002 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32003 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32004 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32005 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
32006 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32007 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
32008 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32009 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
32010 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
32011 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
32012 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
32013 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
32014 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
32015 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
32016 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
32017 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
32018 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32019 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32020 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
32021 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
32022 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
32023 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32024 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32025 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32026 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32027 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32028 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
32029 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
32030 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
32031 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
32032 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32033 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32034 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32035 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32036 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32037 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32038 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32039 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32040 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32041 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32042 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
32043 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
32044 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32045 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
32046 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
32047 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32048 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32049 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32050 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL },
32051 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32052 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32053 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32054 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32055 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32056 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL },
32057 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
32058 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32059 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32060 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
32061 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
32062 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
32063 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32064 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32065 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32066 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
32067 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32068 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
32069 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
32070 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
32071 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32072 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32073 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL },
32074 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
32075 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32076 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
32077 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32078 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32079 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32080 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32081 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32082 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL },
32083 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32084 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL },
32085 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32086 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32087 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32088 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32089 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
32090 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32091 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32092 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32093 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32094 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
32095 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32096 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32097 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32098 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
32099 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
32100 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32101 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32102 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
32103 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32104 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32105 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32106 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32107 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32108 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32109 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32110 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32111 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32112 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
32113 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32114 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32115 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32116 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32117 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32118 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32119 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32120 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
32121 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
32122 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32123 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32124 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
32125 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
32126 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
32127 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32128 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32129 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
32130 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
32131 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
32132 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32133 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32134 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
32135 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
32136 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
32137 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
32138 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
32139 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
32140 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
32141 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32142 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32143 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32144 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
32145 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
32146 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32147 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32148 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32149 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32150 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32151 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
32152 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32153 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32154 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32155 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32156 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32157 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32158 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32159 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
32160 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
32161 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
32162 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
32163 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32164 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32165 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
32166 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32167 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
32168 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32169 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
32170 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32171 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32172 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32173 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32174 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32175 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
32176 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32177 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32178 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32179 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32180 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32181 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32182 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
32183 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32184 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32185 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32186 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32187 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
32188 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32189 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32190 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
32191 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32192 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32193 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32194 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32195 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
32196 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
32197 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
32198 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32199 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32200 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32201 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32202 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32203 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32204 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32205 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32206 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32207 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32208 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
32209 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32210 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32211 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32212 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32213 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32214 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32215 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32216 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32217 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32218 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32219 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32220 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32221 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
32222 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
32223 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32224 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32225 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
32226 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
32227 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32228 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32229 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
32230 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
32231 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
32232 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
32233 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
32234 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
32235 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
32236 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
32237 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
32238 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
32239 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
32240 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32241 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
32242 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
32243 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32244 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32245 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32246 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32247 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32248 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32249 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
32250 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
32251 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
32252 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32253 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32254 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32255 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32256 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32257 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32258 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32259 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32260 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32261 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32262 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
32263 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
32264 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32265 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32266 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
32267 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32268 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32269 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32270 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32271 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32272 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32273 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32274 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32275 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32276 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32277 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
32278 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
32279 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32280 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32281 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32282 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32283 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32284 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32285 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32286 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32287 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32288 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32289 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32290 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
32291 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32292 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32293 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
32294 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32295 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32296 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32297 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32298 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32299 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
32300 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32301 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
32302 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
32303 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32304 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32305 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32306 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
32307 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
32308 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
32309 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
32310 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
32311 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
32312 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32313 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32314 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
32315 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
32316 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32317 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32318 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
32319 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32320 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
32321 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32322 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32323 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32324 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
32325 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32326 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32327 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32328 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32329 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
32330 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32331 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32332 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32333 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32334 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
32335 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32336 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32337 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
32338 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
32339 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
32340 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32341 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
32342 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
32343 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
32344 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32345 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32346 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32347 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32348 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32349 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
32350 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32351 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32352 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
32353 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
32354 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
32355 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
32356 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
32357 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
32358 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32359 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32360 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32361 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32362 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32363 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32364 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
32365 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32366 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32367 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32368 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32369 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32370 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32371 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32372 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32373 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32374 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32375 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32376 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32377 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32378 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32379 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
32380 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
32381 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32382 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32383 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32384 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32385 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
32386 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32387 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32388 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32389 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32390 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32391 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32392 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32393 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32394 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32395 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32396 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32397 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32398 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32399 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32400 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32401 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32402 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32403 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32404 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32405 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32406 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32407 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32408 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
32409 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32410 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32411 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32412 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32413 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32414 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
32415 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32416 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
32417 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
32418 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
32419 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32420 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
32421 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
32422 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
32423 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
32424 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
32425 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32426 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32427 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
32428 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32429 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32430 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
32431 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
32432 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32433 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
32434 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
32435 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
32436 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32437 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32438 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
32439 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
32440 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
32441 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32442 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
32443 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32444 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32445 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32446 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32447 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32448 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
32449 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32450 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
32451 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32452 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32453 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
32454 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32455 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
32456 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32457 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32458 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32459 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
32460 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32461 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32462 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32463 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
32464 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32465 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32466 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32467 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32468 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32469 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32470 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32471 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
32472 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32473 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32474 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
32475 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
32476 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
32477 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
32478 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32479 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32480 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32481 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
32482 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
32483 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32484 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32485 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32486 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32487 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32488 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32489 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32490 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32491 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32492 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32493 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32494 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32495 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32496 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
32497 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32498 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32499 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
32500 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
32501 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
32502 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
32503 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
32504 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
32505 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
32506 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
32507 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32508 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
32509 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32510 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32511 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32512 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32513 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32514 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32515 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32516 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
32517 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32518 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32519 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32520 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32521 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
32522 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
32523 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
32524 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
32525 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
32526 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32527 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32528 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32529 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
32530 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32531 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32532 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
32533 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
32534 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
32535 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32536 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
32537 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
32538 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
32539 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32540 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32541 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32542 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32543 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
32544 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32545 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
32546 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
32547 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
32548 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
32549 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32550 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32551 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32552 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
32553 { NULL, NULL, 0, NULL }
32554 };
32555
32556
32557 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32558
32559 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32560 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32561 }
32562 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32563 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32564 }
32565 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32566 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32567 }
32568 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32569 return (void *)((wxSizer *) ((wxGridSizer *) x));
32570 }
32571 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32572 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32573 }
32574 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32575 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32576 }
32577 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32578 return (void *)((wxSizer *) ((wxPySizer *) x));
32579 }
32580 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32581 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32582 }
32583 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32584 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32585 }
32586 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32587 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32588 }
32589 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32590 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32591 }
32592 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32593 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32594 }
32595 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32596 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32597 }
32598 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
32599 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
32600 }
32601 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32602 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32603 }
32604 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32605 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32606 }
32607 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32608 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32609 }
32610 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32611 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32612 }
32613 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32614 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32615 }
32616 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32617 return (void *)((wxEvent *) ((wxPyEvent *) x));
32618 }
32619 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32620 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32621 }
32622 static void *_p_wxListEventTo_p_wxEvent(void *x) {
32623 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32624 }
32625 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32626 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
32627 }
32628 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32629 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
32630 }
32631 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
32632 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
32633 }
32634 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32635 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32636 }
32637 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32638 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32639 }
32640 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32641 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32642 }
32643 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32644 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32645 }
32646 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32647 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32648 }
32649 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32650 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32651 }
32652 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32653 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32654 }
32655 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32656 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32657 }
32658 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32659 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32660 }
32661 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32662 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32663 }
32664 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32665 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32666 }
32667 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32668 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32669 }
32670 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32671 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32672 }
32673 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32674 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32675 }
32676 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32677 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32678 }
32679 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32680 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32681 }
32682 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32683 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32684 }
32685 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32686 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32687 }
32688 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32689 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32690 }
32691 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32692 return (void *)((wxEvent *) ((wxShowEvent *) x));
32693 }
32694 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32695 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32696 }
32697 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32698 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32699 }
32700 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32701 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32702 }
32703 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32704 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32705 }
32706 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32707 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32708 }
32709 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32710 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32711 }
32712 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32713 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32714 }
32715 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32716 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32717 }
32718 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32719 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32720 }
32721 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32722 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32723 }
32724 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32725 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32726 }
32727 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32728 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32729 }
32730 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32731 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32732 }
32733 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32734 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32735 }
32736 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
32737 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
32738 }
32739 static void *_p_wxToolBarTo_p_wxControl(void *x) {
32740 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32741 }
32742 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32743 return (void *)((wxControl *) ((wxToggleButton *) x));
32744 }
32745 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32746 return (void *)((wxControl *) ((wxRadioButton *) x));
32747 }
32748 static void *_p_wxPyControlTo_p_wxControl(void *x) {
32749 return (void *)((wxControl *) ((wxPyControl *) x));
32750 }
32751 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32752 return (void *)((wxControl *) ((wxToolBarBase *) x));
32753 }
32754 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32755 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32756 }
32757 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32758 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32759 }
32760 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32761 return (void *)((wxControl *) ((wxComboBox *) x));
32762 }
32763 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32764 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32765 }
32766 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32767 return (void *)((wxControl *) ((wxScrollBar *) x));
32768 }
32769 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32770 return (void *)((wxControl *) ((wxControlWithItems *) x));
32771 }
32772 static void *_p_wxGaugeTo_p_wxControl(void *x) {
32773 return (void *)((wxControl *) ((wxGauge *) x));
32774 }
32775 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32776 return (void *)((wxControl *) ((wxStaticLine *) x));
32777 }
32778 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
32779 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
32780 }
32781 static void *_p_wxListbookTo_p_wxControl(void *x) {
32782 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
32783 }
32784 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32785 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32786 }
32787 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32788 return (void *)((wxControl *) ((wxCheckBox *) x));
32789 }
32790 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32791 return (void *)((wxControl *) ((wxRadioBox *) x));
32792 }
32793 static void *_p_wxChoiceTo_p_wxControl(void *x) {
32794 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32795 }
32796 static void *_p_wxListBoxTo_p_wxControl(void *x) {
32797 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32798 }
32799 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32800 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32801 }
32802 static void *_p_wxListViewTo_p_wxControl(void *x) {
32803 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32804 }
32805 static void *_p_wxNotebookTo_p_wxControl(void *x) {
32806 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
32807 }
32808 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32809 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32810 }
32811 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32812 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32813 }
32814 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32815 return (void *)((wxControl *) ((wxStaticText *) x));
32816 }
32817 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32818 return (void *)((wxControl *) ((wxStaticBox *) x));
32819 }
32820 static void *_p_wxSliderTo_p_wxControl(void *x) {
32821 return (void *)((wxControl *) ((wxSlider *) x));
32822 }
32823 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32824 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32825 }
32826 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32827 return (void *)((wxControl *) ((wxSpinButton *) x));
32828 }
32829 static void *_p_wxButtonTo_p_wxControl(void *x) {
32830 return (void *)((wxControl *) ((wxButton *) x));
32831 }
32832 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32833 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32834 }
32835 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32836 return (void *)((wxControl *) ((wxTextCtrl *) x));
32837 }
32838 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32839 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32840 }
32841 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32842 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32843 }
32844 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
32845 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
32846 }
32847 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32848 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32849 }
32850 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32851 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32852 }
32853 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32854 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32855 }
32856 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32857 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
32858 }
32859 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32860 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
32861 }
32862 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
32863 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
32864 }
32865 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
32866 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
32867 }
32868 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
32869 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
32870 }
32871 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
32872 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
32873 }
32874 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32875 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32876 }
32877 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
32878 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
32879 }
32880 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32881 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32882 }
32883 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32884 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32885 }
32886 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32887 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32888 }
32889 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32890 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32891 }
32892 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32893 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32894 }
32895 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32896 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32897 }
32898 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32899 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32900 }
32901 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32902 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32903 }
32904 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32905 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32906 }
32907 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32908 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32909 }
32910 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32911 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32912 }
32913 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32914 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32915 }
32916 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32917 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32918 }
32919 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32920 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32921 }
32922 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32923 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32924 }
32925 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32926 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32927 }
32928 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32929 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32930 }
32931 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32932 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32933 }
32934 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32935 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32936 }
32937 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
32938 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
32939 }
32940 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32941 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
32942 }
32943 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32944 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32945 }
32946 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32947 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32948 }
32949 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32950 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32951 }
32952 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32953 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32954 }
32955 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32956 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32957 }
32958 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32959 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32960 }
32961 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32962 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
32963 }
32964 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32965 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32966 }
32967 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32968 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32969 }
32970 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32971 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32972 }
32973 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32974 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32975 }
32976 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32977 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32978 }
32979 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32980 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32981 }
32982 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32983 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32984 }
32985 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32986 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32987 }
32988 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32989 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32990 }
32991 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32992 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32993 }
32994 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32995 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32996 }
32997 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32998 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32999 }
33000 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
33001 return (void *)((wxButton *) ((wxBitmapButton *) x));
33002 }
33003 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
33004 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
33005 }
33006 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
33007 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
33008 }
33009 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
33010 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
33011 }
33012 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33013 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33014 }
33015 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33016 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33017 }
33018 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33019 return (void *)((wxObject *) ((wxSizerItem *) x));
33020 }
33021 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33022 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33023 }
33024 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33025 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33026 }
33027 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
33028 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
33029 }
33030 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33031 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33032 }
33033 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33034 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33035 }
33036 static void *_p_wxSizerTo_p_wxObject(void *x) {
33037 return (void *)((wxObject *) ((wxSizer *) x));
33038 }
33039 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33040 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33041 }
33042 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
33043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
33044 }
33045 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
33046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
33047 }
33048 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33049 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33050 }
33051 static void *_p_wxEventTo_p_wxObject(void *x) {
33052 return (void *)((wxObject *) ((wxEvent *) x));
33053 }
33054 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33055 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33056 }
33057 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33058 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33059 }
33060 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33061 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33062 }
33063 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
33064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
33065 }
33066 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
33067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
33068 }
33069 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
33070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33071 }
33072 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33073 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33074 }
33075 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33076 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33077 }
33078 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33079 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33080 }
33081 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33082 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33083 }
33084 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33085 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33086 }
33087 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33088 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33089 }
33090 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
33091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
33092 }
33093 static void *_p_wxControlTo_p_wxObject(void *x) {
33094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33095 }
33096 static void *_p_wxPyControlTo_p_wxObject(void *x) {
33097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
33098 }
33099 static void *_p_wxGaugeTo_p_wxObject(void *x) {
33100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
33101 }
33102 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
33103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
33104 }
33105 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
33106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
33107 }
33108 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
33109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
33110 }
33111 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33112 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33113 }
33114 static void *_p_wxChoiceTo_p_wxObject(void *x) {
33115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33116 }
33117 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33118 return (void *)((wxObject *) ((wxFSFile *) x));
33119 }
33120 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33121 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33122 }
33123 static void *_p_wxListViewTo_p_wxObject(void *x) {
33124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33125 }
33126 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
33127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
33128 }
33129 static void *_p_wxNotebookTo_p_wxObject(void *x) {
33130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
33131 }
33132 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33133 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33134 }
33135 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33136 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33137 }
33138 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
33139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
33140 }
33141 static void *_p_wxListbookTo_p_wxObject(void *x) {
33142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
33143 }
33144 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33145 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33146 }
33147 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
33148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
33149 }
33150 static void *_p_wxSliderTo_p_wxObject(void *x) {
33151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
33152 }
33153 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33154 return (void *)((wxObject *) ((wxMenuItem *) x));
33155 }
33156 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33157 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33158 }
33159 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33160 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33161 }
33162 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33163 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33164 }
33165 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33166 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33167 }
33168 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33169 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33170 }
33171 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33172 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33173 }
33174 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33175 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33176 }
33177 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33178 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33179 }
33180 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
33181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
33182 }
33183 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
33184 return (void *)((wxObject *) ((wxContextHelp *) x));
33185 }
33186 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
33187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
33188 }
33189 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33190 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33191 }
33192 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33193 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33194 }
33195 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33196 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33197 }
33198 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33199 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33200 }
33201 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33202 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33203 }
33204 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33205 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33206 }
33207 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33208 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33209 }
33210 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33211 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33212 }
33213 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33214 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33215 }
33216 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33217 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33218 }
33219 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33220 return (void *)((wxObject *) ((wxImageHandler *) x));
33221 }
33222 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33223 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33224 }
33225 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33226 return (void *)((wxObject *) ((wxEvtHandler *) x));
33227 }
33228 static void *_p_wxListEventTo_p_wxObject(void *x) {
33229 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
33230 }
33231 static void *_p_wxListBoxTo_p_wxObject(void *x) {
33232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33233 }
33234 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
33235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33236 }
33237 static void *_p_wxButtonTo_p_wxObject(void *x) {
33238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
33239 }
33240 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
33241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33242 }
33243 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
33244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
33245 }
33246 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
33247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33248 }
33249 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33250 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33251 }
33252 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
33253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
33254 }
33255 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
33256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
33257 }
33258 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
33259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
33260 }
33261 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
33262 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
33263 }
33264 static void *_p_wxListItemTo_p_wxObject(void *x) {
33265 return (void *)((wxObject *) ((wxListItem *) x));
33266 }
33267 static void *_p_wxImageTo_p_wxObject(void *x) {
33268 return (void *)((wxObject *) ((wxImage *) x));
33269 }
33270 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
33271 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
33272 }
33273 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33274 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33275 }
33276 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
33277 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
33278 }
33279 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
33280 return (void *)((wxObject *) ((wxGenericDragImage *) x));
33281 }
33282 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
33283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33284 }
33285 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
33286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
33287 }
33288 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
33289 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
33290 }
33291 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
33292 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
33293 }
33294 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33296 }
33297 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33298 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33299 }
33300 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33301 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33302 }
33303 static void *_p_wxWindowTo_p_wxObject(void *x) {
33304 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33305 }
33306 static void *_p_wxMenuTo_p_wxObject(void *x) {
33307 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33308 }
33309 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33311 }
33312 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33313 return (void *)((wxObject *) ((wxFileSystem *) x));
33314 }
33315 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33316 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33317 }
33318 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33319 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33320 }
33321 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33322 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33323 }
33324 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33325 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33326 }
33327 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33328 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33329 }
33330 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33331 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33332 }
33333 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
33334 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
33335 }
33336 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
33337 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
33338 }
33339 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33340 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33341 }
33342 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33343 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33344 }
33345 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
33346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
33347 }
33348 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33349 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33350 }
33351 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33352 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33353 }
33354 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33355 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33356 }
33357 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33359 }
33360 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
33361 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
33362 }
33363 static void *_p_wxToolBarTo_p_wxObject(void *x) {
33364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33365 }
33366 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33367 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33368 }
33369 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33370 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33371 }
33372 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
33373 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
33374 }
33375 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33376 return (void *)((wxWindow *) ((wxMenuBar *) x));
33377 }
33378 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
33379 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
33380 }
33381 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
33382 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33383 }
33384 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
33385 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
33386 }
33387 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
33388 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
33389 }
33390 static void *_p_wxControlTo_p_wxWindow(void *x) {
33391 return (void *)((wxWindow *) ((wxControl *) x));
33392 }
33393 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
33394 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
33395 }
33396 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
33397 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33398 }
33399 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
33400 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
33401 }
33402 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
33403 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
33404 }
33405 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
33406 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
33407 }
33408 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
33409 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
33410 }
33411 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
33412 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
33413 }
33414 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33415 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33416 }
33417 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
33418 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
33419 }
33420 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
33421 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
33422 }
33423 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
33424 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
33425 }
33426 static void *_p_wxListbookTo_p_wxWindow(void *x) {
33427 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
33428 }
33429 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
33430 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
33431 }
33432 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
33433 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
33434 }
33435 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
33436 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
33437 }
33438 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
33439 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33440 }
33441 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
33442 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33443 }
33444 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
33445 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33446 }
33447 static void *_p_wxListViewTo_p_wxWindow(void *x) {
33448 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33449 }
33450 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
33451 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
33452 }
33453 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33454 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33455 }
33456 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33457 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33458 }
33459 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33460 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33461 }
33462 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33463 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33464 }
33465 static void *_p_wxSliderTo_p_wxWindow(void *x) {
33466 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33467 }
33468 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33469 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33470 }
33471 static void *_p_wxButtonTo_p_wxWindow(void *x) {
33472 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33473 }
33474 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33475 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33476 }
33477 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33478 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33479 }
33480 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33481 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33482 }
33483 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
33484 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
33485 }
33486 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
33487 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
33488 }
33489 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
33490 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
33491 }
33492 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33493 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33494 }
33495 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33496 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33497 }
33498 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33499 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33500 }
33501 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33502 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33503 }
33504 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33505 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33506 }
33507 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33508 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33509 }
33510 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
33511 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
33512 }
33513 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33514 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
33515 }
33516 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33517 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
33518 }
33519 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33520 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33521 }
33522 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33523 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33524 }
33525 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
33526 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
33527 }
33528 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33529 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33530 }
33531 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33532 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33533 }
33534 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33535 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33536 }
33537 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33538 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33539 }
33540 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33541 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33542 }
33543 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33544 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33545 }
33546 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33547 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33548 }
33549 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33550 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33551 }
33552 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33553 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33554 }
33555 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33556 return (void *)((wxValidator *) ((wxPyValidator *) x));
33557 }
33558 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}};
33559 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}};
33560 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}};
33561 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}};
33562 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33563 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}};
33564 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}};
33565 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}};
33566 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}};
33567 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}};
33568 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}};
33569 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}};
33570 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33571 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}};
33572 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}};
33573 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}};
33574 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}};
33575 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}};
33576 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}};
33577 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}};
33578 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}};
33579 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}};
33580 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}};
33581 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}};
33582 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}};
33583 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}};
33584 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}};
33585 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}};
33586 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}};
33587 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}};
33588 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}};
33589 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}};
33590 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33591 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}};
33592 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}};
33593 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}};
33594 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}};
33595 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}};
33596 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}};
33597 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}};
33598 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}};
33599 static swig_type_info _swigt__p_wxBookCtrlBase[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33600 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33601 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}};
33602 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}};
33603 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}};
33604 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}};
33605 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}};
33606 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}};
33607 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}};
33608 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}};
33609 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}};
33610 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}};
33611 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}};
33612 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}};
33613 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}};
33614 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}};
33615 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}};
33616 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}};
33617 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}};
33618 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}};
33619 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}};
33620 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}};
33621 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}};
33622 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}};
33623 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}};
33624 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}};
33625 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}};
33626 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}};
33627 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}};
33628 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_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33629 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}};
33630 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}};
33631 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33632 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}};
33633 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}};
33634 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}};
33635 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}};
33636 static swig_type_info _swigt__p_wxBookCtrlBaseEvent[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33637 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_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33638 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}};
33639 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}};
33640 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}};
33641 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}};
33642 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}};
33643 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}};
33644 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}};
33645
33646 static swig_type_info *swig_types_initial[] = {
33647 _swigt__p_wxTextUrlEvent,
33648 _swigt__p_wxSizer,
33649 _swigt__p_wxCheckBox,
33650 _swigt__p_wxPyTreeCtrl,
33651 _swigt__p_wxEvent,
33652 _swigt__p_wxGenericDirCtrl,
33653 _swigt__p_bool,
33654 _swigt__p_wxPyTreeItemData,
33655 _swigt__p_wxItemContainer,
33656 _swigt__p_wxPyListCtrl,
33657 _swigt__p_wxDirFilterListCtrl,
33658 _swigt__p_wxStaticLine,
33659 _swigt__p_wxControl,
33660 _swigt__p_wxPyControl,
33661 _swigt__p_wxGauge,
33662 _swigt__p_wxToolBarBase,
33663 _swigt__p_wxFont,
33664 _swigt__p_wxToggleButton,
33665 _swigt__p_wxRadioButton,
33666 _swigt__p_wxChoice,
33667 _swigt__p_wxMemoryDC,
33668 _swigt__p_wxListItemAttr,
33669 _swigt__p_void,
33670 _swigt__p_int,
33671 _swigt__p_wxSize,
33672 _swigt__p_wxDC,
33673 _swigt__p_wxListView,
33674 _swigt__p_wxIcon,
33675 _swigt__p_wxVisualAttributes,
33676 _swigt__p_wxTextCtrl,
33677 _swigt__p_wxNotebook,
33678 _swigt__p_wxChoicebook,
33679 _swigt__p_wxNotifyEvent,
33680 _swigt__p_wxArrayString,
33681 _swigt__p_wxListbook,
33682 _swigt__p_wxStaticBitmap,
33683 _swigt__p_wxSlider,
33684 _swigt__p_wxStaticBox,
33685 _swigt__p_wxArrayInt,
33686 _swigt__p_wxContextHelp,
33687 _swigt__p_long,
33688 _swigt__p_wxBookCtrlBase,
33689 _swigt__p_wxEvtHandler,
33690 _swigt__p_wxListEvent,
33691 _swigt__p_wxCheckListBox,
33692 _swigt__p_wxListBox,
33693 _swigt__p_wxSpinButton,
33694 _swigt__p_wxButton,
33695 _swigt__p_wxBitmapButton,
33696 _swigt__p_wxRect,
33697 _swigt__p_wxContextHelpButton,
33698 _swigt__p_wxRadioBox,
33699 _swigt__p_wxScrollBar,
33700 _swigt__p_char,
33701 _swigt__p_wxTreeItemId,
33702 _swigt__p_wxComboBox,
33703 _swigt__p_wxHelpEvent,
33704 _swigt__p_wxListItem,
33705 _swigt__p_wxNotebookSizer,
33706 _swigt__p_wxSpinEvent,
33707 _swigt__p_wxGenericDragImage,
33708 _swigt__p_wxSpinCtrl,
33709 _swigt__p_wxImageList,
33710 _swigt__p_wxHelpProvider,
33711 _swigt__p_wxTextAttr,
33712 _swigt__p_wxSimpleHelpProvider,
33713 _swigt__p_wxPoint,
33714 _swigt__p_wxChoicebookEvent,
33715 _swigt__p_wxListbookEvent,
33716 _swigt__p_wxNotebookEvent,
33717 _swigt__p_wxObject,
33718 _swigt__p_wxCursor,
33719 _swigt__p_wxKeyEvent,
33720 _swigt__p_wxWindow,
33721 _swigt__p_wxString,
33722 _swigt__p_wxBitmap,
33723 _swigt__p_wxTreeEvent,
33724 _swigt__p_wxMouseEvent,
33725 _swigt__p_wxBookCtrlBaseEvent,
33726 _swigt__p_wxCommandEvent,
33727 _swigt__p_wxStaticText,
33728 _swigt__p_wxControlWithItems,
33729 _swigt__p_wxToolBarToolBase,
33730 _swigt__p_wxColour,
33731 _swigt__p_wxToolBar,
33732 _swigt__p_wxBookCtrlSizer,
33733 _swigt__p_wxValidator,
33734 0
33735 };
33736
33737
33738 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33739
33740 static swig_const_info swig_const_table[] = {
33741 {0, 0, 0, 0.0, 0, 0}};
33742
33743 #ifdef __cplusplus
33744 }
33745 #endif
33746
33747 #ifdef __cplusplus
33748 extern "C"
33749 #endif
33750 SWIGEXPORT(void) SWIG_init(void) {
33751 static PyObject *SWIG_globals = 0;
33752 static int typeinit = 0;
33753 PyObject *m, *d;
33754 int i;
33755 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33756 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33757 d = PyModule_GetDict(m);
33758
33759 if (!typeinit) {
33760 for (i = 0; swig_types_initial[i]; i++) {
33761 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33762 }
33763 typeinit = 1;
33764 }
33765 SWIG_InstallConstants(d,swig_const_table);
33766
33767 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33768 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33769 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT));
33770 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)wxBU_TOP));
33771 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT));
33772 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM));
33773 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)wxBU_ALIGN_MASK));
33774 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT));
33775 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW));
33776 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33777 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE));
33778 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE));
33779 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33780 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED));
33781 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED));
33782 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED));
33783 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33784 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33785 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33786 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL));
33787 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL));
33788 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH));
33789 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR));
33790 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33791 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33792 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33793 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33794 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33795 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL));
33796 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL));
33797 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY));
33798 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE));
33799 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB));
33800 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT));
33801 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER));
33802 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT));
33803 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE));
33804 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)wxTE_RICH));
33805 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER));
33806 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD));
33807 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL));
33808 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL));
33809 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP));
33810 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP));
33811 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP));
33812 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2));
33813 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT));
33814 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT));
33815 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE));
33816 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER));
33817 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT));
33818 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33819 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR));
33820 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33821 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE));
33822 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE));
33823 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT));
33824 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC));
33825 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE));
33826 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT));
33827 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT));
33828 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT));
33829 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT));
33830 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS));
33831 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN));
33832 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE));
33833 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT));
33834 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW));
33835 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND));
33836 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33837 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33838 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33839 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33840 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33841 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33842 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33843 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL));
33844 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL));
33845 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS));
33846 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP));
33847 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33848 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33849 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33850 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33851 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33852 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33853 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33854 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH));
33855 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)wxNB_TOP));
33856 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT));
33857 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT));
33858 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM));
33859 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE));
33860 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE));
33861 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON));
33862 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL));
33863 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM));
33864 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33865 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33866 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT));
33867 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)wxLB_TOP));
33868 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM));
33869 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT));
33870 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT));
33871 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK));
33872 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33873 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33874 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT));
33875 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP));
33876 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM));
33877 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT));
33878 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT));
33879 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK));
33880 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
33881 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
33882 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON));
33883 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR));
33884 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL));
33885 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL));
33886 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL));
33887 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS));
33888 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT));
33889 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE));
33890 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS));
33891 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT));
33892 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER));
33893 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN));
33894 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT));
33895 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT));
33896 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33897 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES));
33898 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES));
33899 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)wxLC_ICON));
33900 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON));
33901 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)wxLC_LIST));
33902 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT));
33903 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP));
33904 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT));
33905 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE));
33906 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL));
33907 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS));
33908 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER));
33909 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER));
33910 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL));
33911 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING));
33912 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING));
33913 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE));
33914 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN));
33915 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT));
33916 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE));
33917 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT));
33918 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE));
33919 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA));
33920 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM));
33921 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH));
33922 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT));
33923 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE));
33924 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED));
33925 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED));
33926 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED));
33927 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT));
33928 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED));
33929 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED));
33930 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE));
33931 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED));
33932 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE));
33933 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE));
33934 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW));
33935 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE));
33936 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON));
33937 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL));
33938 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT));
33939 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON));
33940 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT));
33941 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT));
33942 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM));
33943 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE));
33944 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL));
33945 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW));
33946 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT));
33947 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT));
33948 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT));
33949 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT));
33950 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP));
33951 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID));
33952 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT));
33953 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT));
33954 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE));
33955 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER));
33956 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE));
33957 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER));
33958 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS));
33959 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON));
33960 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL));
33961 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP));
33962 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN));
33963 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT));
33964 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT));
33965 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33966 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33967 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33968 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33969 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33970 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33971 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33972 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33973 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33974 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33975 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33976 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33977 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33978 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33979 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33980 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33981 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33982 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33983 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33984 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33985 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33986 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33987
33988 // Map renamed classes back to their common name for OOR
33989 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33990
33991 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33992 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS));
33993 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS));
33994 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES));
33995 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT));
33996 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE));
33997 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE));
33998 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED));
33999 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
34000 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS));
34001 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT));
34002 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES));
34003 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT));
34004 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE));
34005 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS));
34006 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS));
34007 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS));
34008 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal));
34009 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected));
34010 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded));
34011 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded));
34012 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max));
34013 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE));
34014 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW));
34015 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE));
34016 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON));
34017 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON));
34018 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT));
34019 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL));
34020 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT));
34021 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON));
34022 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT));
34023 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT));
34024 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART));
34025 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART));
34026 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM));
34027 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
34028 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
34029 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
34030 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
34031 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
34032 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
34033 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
34034 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
34035 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
34036 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
34037 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
34038 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
34039 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
34040 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
34041 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
34042 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
34043 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
34044 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
34045 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
34046 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
34047
34048 // Map renamed classes back to their common name for OOR
34049 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34050 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34051
34052 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
34053 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY));
34054 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST));
34055 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS));
34056 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL));
34057 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS));
34058 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP));
34059 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP));
34060 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
34061 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
34062
34063 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
34064
34065 }
34066