]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
wxPageSetupDialog no longer derives from wxDialog
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxCheckBox swig_types[3]
215 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
216 #define SWIGTYPE_p_wxEvent swig_types[5]
217 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
218 #define SWIGTYPE_p_bool swig_types[7]
219 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
220 #define SWIGTYPE_p_wxItemContainer swig_types[9]
221 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
223 #define SWIGTYPE_p_wxStaticLine swig_types[12]
224 #define SWIGTYPE_p_wxControl swig_types[13]
225 #define SWIGTYPE_p_wxPyControl swig_types[14]
226 #define SWIGTYPE_p_wxGauge swig_types[15]
227 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
228 #define SWIGTYPE_p_wxFont swig_types[17]
229 #define SWIGTYPE_p_wxToggleButton swig_types[18]
230 #define SWIGTYPE_p_wxRadioButton swig_types[19]
231 #define SWIGTYPE_p_wxChoice swig_types[20]
232 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
233 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
234 #define SWIGTYPE_p_void swig_types[23]
235 #define SWIGTYPE_p_int swig_types[24]
236 #define SWIGTYPE_p_wxSize swig_types[25]
237 #define SWIGTYPE_p_wxDC swig_types[26]
238 #define SWIGTYPE_p_wxListView swig_types[27]
239 #define SWIGTYPE_p_wxIcon swig_types[28]
240 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_wxChoicebook swig_types[32]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[33]
245 #define SWIGTYPE_p_wxArrayString swig_types[34]
246 #define SWIGTYPE_p_wxListbook swig_types[35]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[36]
248 #define SWIGTYPE_p_wxSlider swig_types[37]
249 #define SWIGTYPE_p_wxStaticBox swig_types[38]
250 #define SWIGTYPE_p_wxArrayInt swig_types[39]
251 #define SWIGTYPE_p_wxContextHelp swig_types[40]
252 #define SWIGTYPE_p_long swig_types[41]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
254 #define SWIGTYPE_p_wxListEvent swig_types[43]
255 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
256 #define SWIGTYPE_p_wxListBox swig_types[45]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[46]
258 #define SWIGTYPE_p_wxSpinButton swig_types[47]
259 #define SWIGTYPE_p_wxButton swig_types[48]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[49]
261 #define SWIGTYPE_p_wxRect swig_types[50]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[51]
263 #define SWIGTYPE_p_wxRadioBox swig_types[52]
264 #define SWIGTYPE_p_wxScrollBar swig_types[53]
265 #define SWIGTYPE_p_char swig_types[54]
266 #define SWIGTYPE_p_wxTreeItemId swig_types[55]
267 #define SWIGTYPE_p_wxComboBox swig_types[56]
268 #define SWIGTYPE_p_wxHelpEvent swig_types[57]
269 #define SWIGTYPE_p_wxListItem swig_types[58]
270 #define SWIGTYPE_p_wxNotebookSizer swig_types[59]
271 #define SWIGTYPE_p_wxSpinEvent swig_types[60]
272 #define SWIGTYPE_p_wxGenericDragImage swig_types[61]
273 #define SWIGTYPE_p_wxSpinCtrl swig_types[62]
274 #define SWIGTYPE_p_wxImageList swig_types[63]
275 #define SWIGTYPE_p_wxHelpProvider swig_types[64]
276 #define SWIGTYPE_p_wxTextAttr swig_types[65]
277 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[66]
278 #define SWIGTYPE_p_wxPoint swig_types[67]
279 #define SWIGTYPE_p_wxChoicebookEvent swig_types[68]
280 #define SWIGTYPE_p_wxListbookEvent swig_types[69]
281 #define SWIGTYPE_p_wxNotebookEvent swig_types[70]
282 #define SWIGTYPE_p_wxObject swig_types[71]
283 #define SWIGTYPE_p_wxCursor swig_types[72]
284 #define SWIGTYPE_p_wxKeyEvent swig_types[73]
285 #define SWIGTYPE_p_wxWindow swig_types[74]
286 #define SWIGTYPE_p_wxString swig_types[75]
287 #define SWIGTYPE_p_wxBitmap swig_types[76]
288 #define SWIGTYPE_p_wxTreeEvent swig_types[77]
289 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxStaticText swig_types[80]
292 #define SWIGTYPE_p_wxControlWithItems swig_types[81]
293 #define SWIGTYPE_p_wxToolBarToolBase swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[85]
297 #define SWIGTYPE_p_wxValidator swig_types[86]
298 static swig_type_info *swig_types[88];
299
300 /* -------- TYPES TABLE (END) -------- */
301
302
303 /*-----------------------------------------------
304 @(target):= _controls_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_controls_
307
308 #define SWIG_name "_controls_"
309
310 /* Auxiliar swig macros that appear in the header */
311
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
315
316 #ifdef __cplusplus
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
327
328 #else /* C case */
329
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340
341 #endif /* __cplusplus */
342
343
344 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@@*/
347 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@@*/
350 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
352 /*@@*/
353 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@@*/
356 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
358 /*@@*/
359 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
361 /*@@*/
362 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
364 /*@@*/
365 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
367 /*@@*/
368
369
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
372
373 static const wxString wxPyPanelNameStr(wxPanelNameStr);
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyControlNameStr(wxControlNameStr);
376
377 const wxArrayString wxPyEmptyStringArray;
378
379 static const wxString wxPyButtonNameStr(wxButtonNameStr);
380
381 #include <limits.h>
382
383
384 SWIGSTATICINLINE(int)
385 SWIG_CheckLongInRange(long value, long min_value, long max_value,
386 const char *errmsg)
387 {
388 if (value < min_value) {
389 if (errmsg) {
390 PyErr_Format(PyExc_OverflowError,
391 "value %ld is less than '%s' minimum %ld",
392 value, errmsg, min_value);
393 }
394 return 0;
395 } else if (value > max_value) {
396 if (errmsg) {
397 PyErr_Format(PyExc_OverflowError,
398 "value %ld is greater than '%s' maximum %ld",
399 value, errmsg, max_value);
400 }
401 return 0;
402 }
403 return 1;
404 }
405
406
407 // See my_fragments.i
408 SWIGSTATICINLINE(int)
409 SWIG_AsVal_long(PyObject* obj, long* val)
410 {
411 if (PyNumber_Check(obj)) {
412 if (val) *val = PyInt_AsLong(obj);
413 return 1;
414 }
415 else {
416 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
417 obj->ob_type->tp_name);
418 PyErr_SetObject(PyExc_TypeError, errmsg);
419 Py_DECREF(errmsg);
420 }
421 return 0;
422 }
423
424
425 #if INT_MAX != LONG_MAX
426 SWIGSTATICINLINE(int)
427 SWIG_AsVal_int(PyObject *obj, int *val)
428 {
429 const char* errmsg = val ? "int" : 0;
430 long v;
431 if (SWIG_AsVal_long(obj, &v)) {
432 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
433 if (val) *val = swig_numeric_cast(v, int);
434 return 1;
435 } else {
436 return 0;
437 }
438 } else {
439 PyErr_Clear();
440 }
441 if (val) {
442 PyErr_SetString(PyExc_TypeError, "an int is expected");
443 }
444 return 0;
445 }
446 #else
447 SWIGSTATICINLINE(int)
448 SWIG_AsVal_int(PyObject *obj, int *val)
449 {
450 return SWIG_AsVal_long(obj,(long*)val);
451 }
452 #endif
453
454
455 SWIGSTATICINLINE(int)
456 SWIG_As_int(PyObject* obj)
457 {
458 int v;
459 if (!SWIG_AsVal_int(obj, &v)) {
460 /*
461 this is needed to make valgrind/purify happier. the other
462 solution is throw an exception, but since this code should work
463 with plain C ....
464 */
465 memset((void*)&v, 0, sizeof(int));
466 }
467 return v;
468 }
469
470
471 SWIGSTATICINLINE(long)
472 SWIG_As_long(PyObject* obj)
473 {
474 long v;
475 if (!SWIG_AsVal_long(obj, &v)) {
476 /*
477 this is needed to make valgrind/purify happier. the other
478 solution is throw an exception, but since this code should work
479 with plain C ....
480 */
481 memset((void*)&v, 0, sizeof(long));
482 }
483 return v;
484 }
485
486
487 SWIGSTATICINLINE(int)
488 SWIG_Check_int(PyObject* obj)
489 {
490 return SWIG_AsVal_int(obj, (int*)0);
491 }
492
493
494 SWIGSTATICINLINE(int)
495 SWIG_Check_long(PyObject* obj)
496 {
497 return SWIG_AsVal_long(obj, (long*)0);
498 }
499
500 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
501
502 SWIGSTATICINLINE(int)
503 SWIG_AsVal_bool(PyObject *obj, bool *val)
504 {
505 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
506 if (obj == Py_True) {
507 if (val) *val = true;
508 return 1;
509 }
510 if (obj == Py_False) {
511 if (val) *val = false;
512 return 1;
513 }
514 int res = 0;
515 if (SWIG_AsVal_int(obj, &res)) {
516 if (val) *val = (bool)res;
517 return 1;
518 }
519 if (val) {
520 PyErr_SetString(PyExc_TypeError, "a bool is expected");
521 }
522 return 0;
523 }
524
525
526 SWIGSTATICINLINE(bool)
527 SWIG_As_bool(PyObject* obj)
528 {
529 bool v;
530 if (!SWIG_AsVal_bool(obj, &v)) {
531 /*
532 this is needed to make valgrind/purify happier. the other
533 solution is throw an exception, but since this code should work
534 with plain C ....
535 */
536 memset((void*)&v, 0, sizeof(bool));
537 }
538 return v;
539 }
540
541
542 SWIGSTATICINLINE(int)
543 SWIG_Check_bool(PyObject* obj)
544 {
545 return SWIG_AsVal_bool(obj, (bool*)0);
546 }
547
548 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
549 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
550 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
551 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
552 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
553 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
554
555 #include <wx/checklst.h>
556
557
558 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
559 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
560 if (clientData) {
561 wxPyClientData* data = new wxPyClientData(clientData);
562 self->Insert(item, pos, data);
563 } else
564 self->Insert(item, pos);
565 }
566 PyObject *wxListBox_GetSelections(wxListBox *self){
567 wxArrayInt lst;
568 self->GetSelections(lst);
569 PyObject *tup = PyTuple_New(lst.GetCount());
570 for(size_t i=0; i<lst.GetCount(); i++) {
571 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
572 }
573 return tup;
574 }
575 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
576 #ifdef __WXMSW__
577 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
578 self->GetItem(item)->SetTextColour(c);
579 #endif
580 }
581 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
582 #ifdef __WXMSW__
583 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
584 self->GetItem(item)->SetBackgroundColour(c);
585 #endif
586 }
587 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
588 #ifdef __WXMSW__
589 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
590 self->GetItem(item)->SetFont(f);
591 #endif
592 }
593 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
594
595 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
596 PyObject* o2;
597 PyObject* o3;
598
599 if (!target) {
600 target = o;
601 } else if (target == Py_None) {
602 Py_DECREF(Py_None);
603 target = o;
604 } else {
605 if (!PyTuple_Check(target)) {
606 o2 = target;
607 target = PyTuple_New(1);
608 PyTuple_SetItem(target, 0, o2);
609 }
610 o3 = PyTuple_New(1);
611 PyTuple_SetItem(o3, 0, o);
612
613 o2 = target;
614 target = PySequence_Concat(o2, o3);
615 Py_DECREF(o2);
616 Py_DECREF(o3);
617 }
618 return target;
619 }
620
621
622
623 // See my_fragments.i
624 SWIGSTATICINLINE(int)
625 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
626 {
627 long v = 0;
628 if (SWIG_AsVal_long(obj, &v) && v < 0) {
629 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
630 return 0;
631 }
632 else if (val)
633 *val = (unsigned long)v;
634 return 1;
635 }
636
637
638 SWIGSTATICINLINE(unsigned long)
639 SWIG_As_unsigned_SS_long(PyObject* obj)
640 {
641 unsigned long v;
642 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
643 /*
644 this is needed to make valgrind/purify happier. the other
645 solution is throw an exception, but since this code should work
646 with plain C ....
647 */
648 memset((void*)&v, 0, sizeof(unsigned long));
649 }
650 return v;
651 }
652
653
654 SWIGSTATICINLINE(int)
655 SWIG_Check_unsigned_SS_long(PyObject* obj)
656 {
657 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
658 }
659
660 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
661 self->AppendText(text);
662 }
663 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
664 return self->GetValue().Mid(from, to - from);
665 }
666 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
667 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
668 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
669 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
670 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
671
672 #include <wx/slider.h>
673
674
675 static const wxString wxPySliderNameStr(wxSliderNameStr);
676 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
677
678 #if !wxUSE_TOGGLEBTN
679 // implement dummy items for platforms that don't have this class
680
681 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
682
683 class wxToggleButton : public wxControl
684 {
685 public:
686 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
687 const wxPoint&, const wxSize&, long,
688 const wxValidator&, const wxString&)
689 { wxPyRaiseNotImplemented(); }
690
691 wxToggleButton()
692 { wxPyRaiseNotImplemented(); }
693 };
694 #endif
695
696 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
697
698 SWIGSTATICINLINE(PyObject* )
699 SWIG_From_unsigned_SS_long(unsigned long value)
700 {
701 return (value > LONG_MAX) ?
702 PyLong_FromUnsignedLong(value)
703 : PyInt_FromLong(swig_numeric_cast(value,long));
704 }
705
706 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
707 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
708 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
709 if (udata) {
710 Py_INCREF(udata->m_obj);
711 return udata->m_obj;
712 } else {
713 Py_INCREF(Py_None);
714 return Py_None;
715 }
716 }
717 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
718 self->SetClientData(new wxPyUserData(clientData));
719 }
720 wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
721 wxPyUserData* udata = NULL;
722 if (clientData && clientData != Py_None)
723 udata = new wxPyUserData(clientData);
724 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
725 shortHelp, longHelp, udata);
726 }
727 wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
728 wxPyUserData* udata = NULL;
729 if (clientData && clientData != Py_None)
730 udata = new wxPyUserData(clientData);
731 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
732 shortHelp, longHelp, udata);
733 }
734 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
735 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
736 if (udata) {
737 Py_INCREF(udata->m_obj);
738 return udata->m_obj;
739 } else {
740 Py_INCREF(Py_None);
741 return Py_None;
742 }
743 }
744 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
745 self->SetToolClientData(id, new wxPyUserData(clientData));
746 }
747
748 #include <wx/listctrl.h>
749
750 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
751 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
752 // Python aware sorting function for wxPyListCtrl
753 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
754 int retval = 0;
755 PyObject* func = (PyObject*)funcPtr;
756 bool blocked = wxPyBeginBlockThreads();
757
758 PyObject* args = Py_BuildValue("(ii)", item1, item2);
759 PyObject* result = PyEval_CallObject(func, args);
760 Py_DECREF(args);
761 if (result) {
762 retval = PyInt_AsLong(result);
763 Py_DECREF(result);
764 }
765
766 wxPyEndBlockThreads(blocked);
767 return retval;
768 }
769
770 // C++ Version of a Python aware class
771 class wxPyListCtrl : public wxListCtrl {
772 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
773 public:
774 wxPyListCtrl() : wxListCtrl() {}
775 wxPyListCtrl(wxWindow* parent, wxWindowID id,
776 const wxPoint& pos,
777 const wxSize& size,
778 long style,
779 const wxValidator& validator,
780 const wxString& name) :
781 wxListCtrl(parent, id, pos, size, style, validator, name) {}
782
783 bool Create(wxWindow* parent, wxWindowID id,
784 const wxPoint& pos,
785 const wxSize& size,
786 long style,
787 const wxValidator& validator,
788 const wxString& name) {
789 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
790 }
791
792 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
793 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
794
795 // use the virtual version to avoid a confusing assert in the base class
796 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
797
798 PYPRIVATE;
799 };
800
801 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
802
803 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
804 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
805 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
806
807
808 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
809 wxListItem item;
810 item.SetMask( wxLIST_MASK_STATE |
811 wxLIST_MASK_TEXT |
812 wxLIST_MASK_IMAGE |
813 wxLIST_MASK_DATA |
814 wxLIST_SET_ITEM |
815 wxLIST_MASK_WIDTH |
816 wxLIST_MASK_FORMAT
817 );
818 if (self->GetColumn(col, item))
819 return new wxListItem(item);
820 else
821 return NULL;
822 }
823 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
824 wxListItem* info = new wxListItem;
825 info->m_itemId = itemId;
826 info->m_col = col;
827 info->m_mask = 0xFFFF;
828 self->GetItem(*info);
829 return info;
830 }
831 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
832 wxPoint pos;
833 self->GetItemPosition(item, pos);
834 return pos;
835 }
836 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
837 wxRect rect;
838 self->GetItemRect(item, rect, code);
839 return rect;
840 }
841
842 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
843 if (!PyCallable_Check(func))
844 return false;
845 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
846 }
847 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
848
849 return self;
850
851
852
853 }
854
855 #include <wx/treectrl.h>
856 #include "wx/wxPython/pytree.h"
857
858 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
859 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
860 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
861 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
862 // C++ version of Python aware wxTreeCtrl
863 class wxPyTreeCtrl : public wxTreeCtrl {
864 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
865 public:
866 wxPyTreeCtrl() : wxTreeCtrl() {}
867 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
868 const wxPoint& pos,
869 const wxSize& size,
870 long style,
871 const wxValidator& validator,
872 const wxString& name) :
873 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
874
875 bool Create(wxWindow *parent, wxWindowID id,
876 const wxPoint& pos,
877 const wxSize& size,
878 long style,
879 const wxValidator& validator,
880 const wxString& name) {
881 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
882 }
883
884
885 int OnCompareItems(const wxTreeItemId& item1,
886 const wxTreeItemId& item2) {
887 int rval = 0;
888 bool found;
889 bool blocked = wxPyBeginBlockThreads();
890 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
891 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
892 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
893 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
894 Py_DECREF(o1);
895 Py_DECREF(o2);
896 }
897 wxPyEndBlockThreads(blocked);
898 if (! found)
899 rval = wxTreeCtrl::OnCompareItems(item1, item2);
900 return rval;
901 }
902 PYPRIVATE;
903 };
904
905 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
906
907
908
909 #if UINT_MAX < LONG_MAX
910 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
911 #define SWIG_From_unsigned_SS_int SWIG_From_long
912 /*@@*/
913 #else
914 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
915 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
916 /*@@*/
917 #endif
918
919
920 SWIGSTATICINLINE(int)
921 SWIG_CheckUnsignedLongInRange(unsigned long value,
922 unsigned long max_value,
923 const char *errmsg)
924 {
925 if (value > max_value) {
926 if (errmsg) {
927 PyErr_Format(PyExc_OverflowError,
928 "value %ld is greater than '%s' minimum %ld",
929 value, errmsg, max_value);
930 }
931 return 0;
932 }
933 return 1;
934 }
935
936
937 #if UINT_MAX != ULONG_MAX
938 SWIGSTATICINLINE(int)
939 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
940 {
941 const char* errmsg = val ? "unsigned int" : 0;
942 unsigned long v;
943 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
944 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
945 if (val) *val = swig_numeric_cast(v, unsigned int);
946 return 1;
947 }
948 } else {
949 PyErr_Clear();
950 }
951 if (val) {
952 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
953 }
954 return 0;
955 }
956 #else
957 SWIGSTATICINLINE(unsigned int)
958 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
959 {
960 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
961 }
962 #endif
963
964
965 SWIGSTATICINLINE(unsigned int)
966 SWIG_As_unsigned_SS_int(PyObject* obj)
967 {
968 unsigned int v;
969 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
970 /*
971 this is needed to make valgrind/purify happier. the other
972 solution is throw an exception, but since this code should work
973 with plain C ....
974 */
975 memset((void*)&v, 0, sizeof(unsigned int));
976 }
977 return v;
978 }
979
980
981 SWIGSTATICINLINE(int)
982 SWIG_Check_unsigned_SS_int(PyObject* obj)
983 {
984 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
985 }
986
987 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
988 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
989 if (data == NULL) {
990 data = new wxPyTreeItemData();
991 data->SetId(item); // set the id
992 self->SetItemData(item, data);
993 }
994 return data;
995 }
996 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
997 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
998 if (data == NULL) {
999 data = new wxPyTreeItemData();
1000 data->SetId(item); // set the id
1001 self->SetItemData(item, data);
1002 }
1003 return data->GetData();
1004 }
1005 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
1006 data->SetId(item); // set the id
1007 self->SetItemData(item, data);
1008 }
1009 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
1010 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1011 if (data == NULL) {
1012 data = new wxPyTreeItemData(obj);
1013 data->SetId(item); // set the id
1014 self->SetItemData(item, data);
1015 } else
1016 data->SetData(obj);
1017 }
1018 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
1019 bool blocked = wxPyBeginBlockThreads();
1020 PyObject* rval = PyList_New(0);
1021 wxArrayTreeItemIds array;
1022 size_t num, x;
1023 num = self->GetSelections(array);
1024 for (x=0; x < num; x++) {
1025 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
1026 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
1027 PyList_Append(rval, item);
1028 Py_DECREF(item);
1029 }
1030 wxPyEndBlockThreads(blocked);
1031 return rval;
1032 }
1033 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
1034 void* cookie = 0;
1035 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
1036 bool blocked = wxPyBeginBlockThreads();
1037 PyObject* tup = PyTuple_New(2);
1038 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
1039 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1040 wxPyEndBlockThreads(blocked);
1041 return tup;
1042 }
1043 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
1044 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
1045 bool blocked = wxPyBeginBlockThreads();
1046 PyObject* tup = PyTuple_New(2);
1047 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
1048 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1049 wxPyEndBlockThreads(blocked);
1050 return tup;
1051 }
1052 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
1053 wxRect rect;
1054 if (self->GetBoundingRect(item, rect, textOnly)) {
1055 bool blocked = wxPyBeginBlockThreads();
1056 wxRect* r = new wxRect(rect);
1057 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
1058 wxPyEndBlockThreads(blocked);
1059 return val;
1060 }
1061 else
1062 RETURN_NONE();
1063 }
1064 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
1065
1066 SWIGSTATICINLINE(PyObject*)
1067 SWIG_From_bool(bool value)
1068 {
1069 PyObject *obj = value ? Py_True : Py_False;
1070 Py_INCREF(obj);
1071 return obj;
1072 }
1073
1074
1075 // C++ version of Python aware wxControl
1076 class wxPyControl : public wxControl
1077 {
1078 DECLARE_DYNAMIC_CLASS(wxPyControl)
1079 public:
1080 wxPyControl() : wxControl() {}
1081 wxPyControl(wxWindow* parent, const wxWindowID id,
1082 const wxPoint& pos = wxDefaultPosition,
1083 const wxSize& size = wxDefaultSize,
1084 long style = 0,
1085 const wxValidator& validator=wxDefaultValidator,
1086 const wxString& name = wxPyControlNameStr)
1087 : wxControl(parent, id, pos, size, style, validator, name) {}
1088
1089 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
1090
1091 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1092 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1093 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1094 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1095
1096 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1097 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1098 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1099
1100 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1101 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1102
1103 DEC_PYCALLBACK__(InitDialog);
1104 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1105 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1106 DEC_PYCALLBACK_BOOL_(Validate);
1107
1108 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1109 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1110 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1111
1112 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1113 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1114
1115 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1116 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1117 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1118
1119 PYPRIVATE;
1120 };
1121
1122 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
1123
1124 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
1125 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
1126 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
1127 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
1128
1129 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
1130 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
1131 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
1132
1133 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
1134 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
1135
1136 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
1137 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
1138 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
1139 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1140
1141 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1142 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1143 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1144
1145 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1146 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1147
1148 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1149 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1150 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
1151
1152
1153
1154 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1155
1156 #include <wx/generic/dragimgg.h>
1157
1158 #ifdef __cplusplus
1159 extern "C" {
1160 #endif
1161 static int _wrap_ButtonNameStr_set(PyObject *) {
1162 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1163 return 1;
1164 }
1165
1166
1167 static PyObject *_wrap_ButtonNameStr_get() {
1168 PyObject *pyobj;
1169
1170 {
1171 #if wxUSE_UNICODE
1172 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1173 #else
1174 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1175 #endif
1176 }
1177 return pyobj;
1178 }
1179
1180
1181 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
1182 PyObject *resultobj;
1183 wxWindow *arg1 = (wxWindow *) 0 ;
1184 int arg2 = (int) -1 ;
1185 wxString const &arg3_defvalue = wxPyEmptyString ;
1186 wxString *arg3 = (wxString *) &arg3_defvalue ;
1187 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1188 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1189 wxSize const &arg5_defvalue = wxDefaultSize ;
1190 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1191 long arg6 = (long) 0 ;
1192 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1193 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1194 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1195 wxString *arg8 = (wxString *) &arg8_defvalue ;
1196 wxButton *result;
1197 bool temp3 = false ;
1198 wxPoint temp4 ;
1199 wxSize temp5 ;
1200 bool temp8 = false ;
1201 PyObject * obj0 = 0 ;
1202 PyObject * obj1 = 0 ;
1203 PyObject * obj2 = 0 ;
1204 PyObject * obj3 = 0 ;
1205 PyObject * obj4 = 0 ;
1206 PyObject * obj5 = 0 ;
1207 PyObject * obj6 = 0 ;
1208 PyObject * obj7 = 0 ;
1209 char *kwnames[] = {
1210 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1211 };
1212
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1216 if (obj1) {
1217 arg2 = (int)SWIG_As_int(obj1);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 if (obj2) {
1221 {
1222 arg3 = wxString_in_helper(obj2);
1223 if (arg3 == NULL) SWIG_fail;
1224 temp3 = true;
1225 }
1226 }
1227 if (obj3) {
1228 {
1229 arg4 = &temp4;
1230 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1231 }
1232 }
1233 if (obj4) {
1234 {
1235 arg5 = &temp5;
1236 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1237 }
1238 }
1239 if (obj5) {
1240 arg6 = (long)SWIG_As_long(obj5);
1241 if (PyErr_Occurred()) SWIG_fail;
1242 }
1243 if (obj6) {
1244 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1245 SWIG_POINTER_EXCEPTION | 0)) == -1)
1246 SWIG_fail;
1247 if (arg7 == NULL) {
1248 PyErr_SetString(PyExc_TypeError,"null reference");
1249 SWIG_fail;
1250 }
1251 }
1252 if (obj7) {
1253 {
1254 arg8 = wxString_in_helper(obj7);
1255 if (arg8 == NULL) SWIG_fail;
1256 temp8 = true;
1257 }
1258 }
1259 {
1260 if (!wxPyCheckForApp()) SWIG_fail;
1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
1262 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1263
1264 wxPyEndAllowThreads(__tstate);
1265 if (PyErr_Occurred()) SWIG_fail;
1266 }
1267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
1268 {
1269 if (temp3)
1270 delete arg3;
1271 }
1272 {
1273 if (temp8)
1274 delete arg8;
1275 }
1276 return resultobj;
1277 fail:
1278 {
1279 if (temp3)
1280 delete arg3;
1281 }
1282 {
1283 if (temp8)
1284 delete arg8;
1285 }
1286 return NULL;
1287 }
1288
1289
1290 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
1291 PyObject *resultobj;
1292 wxButton *result;
1293 char *kwnames[] = {
1294 NULL
1295 };
1296
1297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1298 {
1299 if (!wxPyCheckForApp()) SWIG_fail;
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 result = (wxButton *)new wxButton();
1302
1303 wxPyEndAllowThreads(__tstate);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
1307 return resultobj;
1308 fail:
1309 return NULL;
1310 }
1311
1312
1313 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1314 PyObject *resultobj;
1315 wxButton *arg1 = (wxButton *) 0 ;
1316 wxWindow *arg2 = (wxWindow *) 0 ;
1317 int arg3 = (int) -1 ;
1318 wxString const &arg4_defvalue = wxPyEmptyString ;
1319 wxString *arg4 = (wxString *) &arg4_defvalue ;
1320 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1321 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1322 wxSize const &arg6_defvalue = wxDefaultSize ;
1323 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1324 long arg7 = (long) 0 ;
1325 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1326 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1327 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1328 wxString *arg9 = (wxString *) &arg9_defvalue ;
1329 bool result;
1330 bool temp4 = false ;
1331 wxPoint temp5 ;
1332 wxSize temp6 ;
1333 bool temp9 = false ;
1334 PyObject * obj0 = 0 ;
1335 PyObject * obj1 = 0 ;
1336 PyObject * obj2 = 0 ;
1337 PyObject * obj3 = 0 ;
1338 PyObject * obj4 = 0 ;
1339 PyObject * obj5 = 0 ;
1340 PyObject * obj6 = 0 ;
1341 PyObject * obj7 = 0 ;
1342 PyObject * obj8 = 0 ;
1343 char *kwnames[] = {
1344 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1345 };
1346
1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1352 if (obj2) {
1353 arg3 = (int)SWIG_As_int(obj2);
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 if (obj3) {
1357 {
1358 arg4 = wxString_in_helper(obj3);
1359 if (arg4 == NULL) SWIG_fail;
1360 temp4 = true;
1361 }
1362 }
1363 if (obj4) {
1364 {
1365 arg5 = &temp5;
1366 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1367 }
1368 }
1369 if (obj5) {
1370 {
1371 arg6 = &temp6;
1372 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1373 }
1374 }
1375 if (obj6) {
1376 arg7 = (long)SWIG_As_long(obj6);
1377 if (PyErr_Occurred()) SWIG_fail;
1378 }
1379 if (obj7) {
1380 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1381 SWIG_POINTER_EXCEPTION | 0)) == -1)
1382 SWIG_fail;
1383 if (arg8 == NULL) {
1384 PyErr_SetString(PyExc_TypeError,"null reference");
1385 SWIG_fail;
1386 }
1387 }
1388 if (obj8) {
1389 {
1390 arg9 = wxString_in_helper(obj8);
1391 if (arg9 == NULL) SWIG_fail;
1392 temp9 = true;
1393 }
1394 }
1395 {
1396 PyThreadState* __tstate = wxPyBeginAllowThreads();
1397 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1398
1399 wxPyEndAllowThreads(__tstate);
1400 if (PyErr_Occurred()) SWIG_fail;
1401 }
1402 {
1403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1404 }
1405 {
1406 if (temp4)
1407 delete arg4;
1408 }
1409 {
1410 if (temp9)
1411 delete arg9;
1412 }
1413 return resultobj;
1414 fail:
1415 {
1416 if (temp4)
1417 delete arg4;
1418 }
1419 {
1420 if (temp9)
1421 delete arg9;
1422 }
1423 return NULL;
1424 }
1425
1426
1427 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
1428 PyObject *resultobj;
1429 wxButton *arg1 = (wxButton *) 0 ;
1430 PyObject * obj0 = 0 ;
1431 char *kwnames[] = {
1432 (char *) "self", NULL
1433 };
1434
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1438 {
1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
1440 (arg1)->SetDefault();
1441
1442 wxPyEndAllowThreads(__tstate);
1443 if (PyErr_Occurred()) SWIG_fail;
1444 }
1445 Py_INCREF(Py_None); resultobj = Py_None;
1446 return resultobj;
1447 fail:
1448 return NULL;
1449 }
1450
1451
1452 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
1453 PyObject *resultobj;
1454 wxSize result;
1455 char *kwnames[] = {
1456 NULL
1457 };
1458
1459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1460 {
1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
1462 result = wxButton::GetDefaultSize();
1463
1464 wxPyEndAllowThreads(__tstate);
1465 if (PyErr_Occurred()) SWIG_fail;
1466 }
1467 {
1468 wxSize * resultptr;
1469 resultptr = new wxSize((wxSize &) result);
1470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1471 }
1472 return resultobj;
1473 fail:
1474 return NULL;
1475 }
1476
1477
1478 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1479 PyObject *resultobj;
1480 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1481 wxVisualAttributes result;
1482 PyObject * obj0 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "variant", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1488 if (obj0) {
1489 arg1 = (int)SWIG_As_int(obj0);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 {
1493 if (!wxPyCheckForApp()) SWIG_fail;
1494 PyThreadState* __tstate = wxPyBeginAllowThreads();
1495 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1496
1497 wxPyEndAllowThreads(__tstate);
1498 if (PyErr_Occurred()) SWIG_fail;
1499 }
1500 {
1501 wxVisualAttributes * resultptr;
1502 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1504 }
1505 return resultobj;
1506 fail:
1507 return NULL;
1508 }
1509
1510
1511 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
1512 PyObject *obj;
1513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1514 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1515 Py_INCREF(obj);
1516 return Py_BuildValue((char *)"");
1517 }
1518 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1519 PyObject *resultobj;
1520 wxWindow *arg1 = (wxWindow *) 0 ;
1521 int arg2 = (int) -1 ;
1522 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1523 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
1524 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1525 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1526 wxSize const &arg5_defvalue = wxDefaultSize ;
1527 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1528 long arg6 = (long) wxBU_AUTODRAW ;
1529 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1530 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1531 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1532 wxString *arg8 = (wxString *) &arg8_defvalue ;
1533 wxBitmapButton *result;
1534 wxPoint temp4 ;
1535 wxSize temp5 ;
1536 bool temp8 = false ;
1537 PyObject * obj0 = 0 ;
1538 PyObject * obj1 = 0 ;
1539 PyObject * obj2 = 0 ;
1540 PyObject * obj3 = 0 ;
1541 PyObject * obj4 = 0 ;
1542 PyObject * obj5 = 0 ;
1543 PyObject * obj6 = 0 ;
1544 PyObject * obj7 = 0 ;
1545 char *kwnames[] = {
1546 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1547 };
1548
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1552 if (obj1) {
1553 arg2 = (int)SWIG_As_int(obj1);
1554 if (PyErr_Occurred()) SWIG_fail;
1555 }
1556 if (obj2) {
1557 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1558 SWIG_POINTER_EXCEPTION | 0)) == -1)
1559 SWIG_fail;
1560 if (arg3 == NULL) {
1561 PyErr_SetString(PyExc_TypeError,"null reference");
1562 SWIG_fail;
1563 }
1564 }
1565 if (obj3) {
1566 {
1567 arg4 = &temp4;
1568 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1569 }
1570 }
1571 if (obj4) {
1572 {
1573 arg5 = &temp5;
1574 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1575 }
1576 }
1577 if (obj5) {
1578 arg6 = (long)SWIG_As_long(obj5);
1579 if (PyErr_Occurred()) SWIG_fail;
1580 }
1581 if (obj6) {
1582 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1583 SWIG_POINTER_EXCEPTION | 0)) == -1)
1584 SWIG_fail;
1585 if (arg7 == NULL) {
1586 PyErr_SetString(PyExc_TypeError,"null reference");
1587 SWIG_fail;
1588 }
1589 }
1590 if (obj7) {
1591 {
1592 arg8 = wxString_in_helper(obj7);
1593 if (arg8 == NULL) SWIG_fail;
1594 temp8 = true;
1595 }
1596 }
1597 {
1598 if (!wxPyCheckForApp()) SWIG_fail;
1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
1600 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1601
1602 wxPyEndAllowThreads(__tstate);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 }
1605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
1606 {
1607 if (temp8)
1608 delete arg8;
1609 }
1610 return resultobj;
1611 fail:
1612 {
1613 if (temp8)
1614 delete arg8;
1615 }
1616 return NULL;
1617 }
1618
1619
1620 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1621 PyObject *resultobj;
1622 wxBitmapButton *result;
1623 char *kwnames[] = {
1624 NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1628 {
1629 if (!wxPyCheckForApp()) SWIG_fail;
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (wxBitmapButton *)new wxBitmapButton();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
1637 return resultobj;
1638 fail:
1639 return NULL;
1640 }
1641
1642
1643 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1644 PyObject *resultobj;
1645 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1646 wxWindow *arg2 = (wxWindow *) 0 ;
1647 int arg3 = (int) -1 ;
1648 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1649 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
1650 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1651 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1652 wxSize const &arg6_defvalue = wxDefaultSize ;
1653 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1654 long arg7 = (long) wxBU_AUTODRAW ;
1655 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1656 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1657 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1658 wxString *arg9 = (wxString *) &arg9_defvalue ;
1659 bool result;
1660 wxPoint temp5 ;
1661 wxSize temp6 ;
1662 bool temp9 = false ;
1663 PyObject * obj0 = 0 ;
1664 PyObject * obj1 = 0 ;
1665 PyObject * obj2 = 0 ;
1666 PyObject * obj3 = 0 ;
1667 PyObject * obj4 = 0 ;
1668 PyObject * obj5 = 0 ;
1669 PyObject * obj6 = 0 ;
1670 PyObject * obj7 = 0 ;
1671 PyObject * obj8 = 0 ;
1672 char *kwnames[] = {
1673 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1674 };
1675
1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1681 if (obj2) {
1682 arg3 = (int)SWIG_As_int(obj2);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 if (obj3) {
1686 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1687 SWIG_POINTER_EXCEPTION | 0)) == -1)
1688 SWIG_fail;
1689 if (arg4 == NULL) {
1690 PyErr_SetString(PyExc_TypeError,"null reference");
1691 SWIG_fail;
1692 }
1693 }
1694 if (obj4) {
1695 {
1696 arg5 = &temp5;
1697 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1698 }
1699 }
1700 if (obj5) {
1701 {
1702 arg6 = &temp6;
1703 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1704 }
1705 }
1706 if (obj6) {
1707 arg7 = (long)SWIG_As_long(obj6);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 if (obj7) {
1711 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1712 SWIG_POINTER_EXCEPTION | 0)) == -1)
1713 SWIG_fail;
1714 if (arg8 == NULL) {
1715 PyErr_SetString(PyExc_TypeError,"null reference");
1716 SWIG_fail;
1717 }
1718 }
1719 if (obj8) {
1720 {
1721 arg9 = wxString_in_helper(obj8);
1722 if (arg9 == NULL) SWIG_fail;
1723 temp9 = true;
1724 }
1725 }
1726 {
1727 PyThreadState* __tstate = wxPyBeginAllowThreads();
1728 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1729
1730 wxPyEndAllowThreads(__tstate);
1731 if (PyErr_Occurred()) SWIG_fail;
1732 }
1733 {
1734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1735 }
1736 {
1737 if (temp9)
1738 delete arg9;
1739 }
1740 return resultobj;
1741 fail:
1742 {
1743 if (temp9)
1744 delete arg9;
1745 }
1746 return NULL;
1747 }
1748
1749
1750 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1751 PyObject *resultobj;
1752 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1753 wxBitmap result;
1754 PyObject * obj0 = 0 ;
1755 char *kwnames[] = {
1756 (char *) "self", NULL
1757 };
1758
1759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 result = (arg1)->GetBitmapLabel();
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 {
1770 wxBitmap * resultptr;
1771 resultptr = new wxBitmap((wxBitmap &) result);
1772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1773 }
1774 return resultobj;
1775 fail:
1776 return NULL;
1777 }
1778
1779
1780 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1781 PyObject *resultobj;
1782 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1783 wxBitmap result;
1784 PyObject * obj0 = 0 ;
1785 char *kwnames[] = {
1786 (char *) "self", NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 result = (arg1)->GetBitmapDisabled();
1795
1796 wxPyEndAllowThreads(__tstate);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 }
1799 {
1800 wxBitmap * resultptr;
1801 resultptr = new wxBitmap((wxBitmap &) result);
1802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1803 }
1804 return resultobj;
1805 fail:
1806 return NULL;
1807 }
1808
1809
1810 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1811 PyObject *resultobj;
1812 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1813 wxBitmap result;
1814 PyObject * obj0 = 0 ;
1815 char *kwnames[] = {
1816 (char *) "self", NULL
1817 };
1818
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 result = (arg1)->GetBitmapFocus();
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 {
1830 wxBitmap * resultptr;
1831 resultptr = new wxBitmap((wxBitmap &) result);
1832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1833 }
1834 return resultobj;
1835 fail:
1836 return NULL;
1837 }
1838
1839
1840 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1841 PyObject *resultobj;
1842 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1843 wxBitmap result;
1844 PyObject * obj0 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1852 {
1853 PyThreadState* __tstate = wxPyBeginAllowThreads();
1854 result = (arg1)->GetBitmapSelected();
1855
1856 wxPyEndAllowThreads(__tstate);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 }
1859 {
1860 wxBitmap * resultptr;
1861 resultptr = new wxBitmap((wxBitmap &) result);
1862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1863 }
1864 return resultobj;
1865 fail:
1866 return NULL;
1867 }
1868
1869
1870 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1873 wxBitmap *arg2 = 0 ;
1874 PyObject * obj0 = 0 ;
1875 PyObject * obj1 = 0 ;
1876 char *kwnames[] = {
1877 (char *) "self",(char *) "bitmap", NULL
1878 };
1879
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1884 SWIG_POINTER_EXCEPTION | 0)) == -1)
1885 SWIG_fail;
1886 if (arg2 == NULL) {
1887 PyErr_SetString(PyExc_TypeError,"null reference");
1888 SWIG_fail;
1889 }
1890 {
1891 PyThreadState* __tstate = wxPyBeginAllowThreads();
1892 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1893
1894 wxPyEndAllowThreads(__tstate);
1895 if (PyErr_Occurred()) SWIG_fail;
1896 }
1897 Py_INCREF(Py_None); resultobj = Py_None;
1898 return resultobj;
1899 fail:
1900 return NULL;
1901 }
1902
1903
1904 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1905 PyObject *resultobj;
1906 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1907 wxBitmap *arg2 = 0 ;
1908 PyObject * obj0 = 0 ;
1909 PyObject * obj1 = 0 ;
1910 char *kwnames[] = {
1911 (char *) "self",(char *) "bitmap", NULL
1912 };
1913
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1918 SWIG_POINTER_EXCEPTION | 0)) == -1)
1919 SWIG_fail;
1920 if (arg2 == NULL) {
1921 PyErr_SetString(PyExc_TypeError,"null reference");
1922 SWIG_fail;
1923 }
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 Py_INCREF(Py_None); resultobj = Py_None;
1932 return resultobj;
1933 fail:
1934 return NULL;
1935 }
1936
1937
1938 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1939 PyObject *resultobj;
1940 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1941 wxBitmap *arg2 = 0 ;
1942 PyObject * obj0 = 0 ;
1943 PyObject * obj1 = 0 ;
1944 char *kwnames[] = {
1945 (char *) "self",(char *) "bitmap", NULL
1946 };
1947
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1952 SWIG_POINTER_EXCEPTION | 0)) == -1)
1953 SWIG_fail;
1954 if (arg2 == NULL) {
1955 PyErr_SetString(PyExc_TypeError,"null reference");
1956 SWIG_fail;
1957 }
1958 {
1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
1960 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1961
1962 wxPyEndAllowThreads(__tstate);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 }
1965 Py_INCREF(Py_None); resultobj = Py_None;
1966 return resultobj;
1967 fail:
1968 return NULL;
1969 }
1970
1971
1972 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1973 PyObject *resultobj;
1974 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1975 wxBitmap *arg2 = 0 ;
1976 PyObject * obj0 = 0 ;
1977 PyObject * obj1 = 0 ;
1978 char *kwnames[] = {
1979 (char *) "self",(char *) "bitmap", NULL
1980 };
1981
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1986 SWIG_POINTER_EXCEPTION | 0)) == -1)
1987 SWIG_fail;
1988 if (arg2 == NULL) {
1989 PyErr_SetString(PyExc_TypeError,"null reference");
1990 SWIG_fail;
1991 }
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 Py_INCREF(Py_None); resultobj = Py_None;
2000 return resultobj;
2001 fail:
2002 return NULL;
2003 }
2004
2005
2006 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
2007 PyObject *resultobj;
2008 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2009 int arg2 ;
2010 int arg3 ;
2011 PyObject * obj0 = 0 ;
2012 PyObject * obj1 = 0 ;
2013 PyObject * obj2 = 0 ;
2014 char *kwnames[] = {
2015 (char *) "self",(char *) "x",(char *) "y", NULL
2016 };
2017
2018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
2019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2021 arg2 = (int)SWIG_As_int(obj1);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 arg3 = (int)SWIG_As_int(obj2);
2024 if (PyErr_Occurred()) SWIG_fail;
2025 {
2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
2027 (arg1)->SetMargins(arg2,arg3);
2028
2029 wxPyEndAllowThreads(__tstate);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 }
2032 Py_INCREF(Py_None); resultobj = Py_None;
2033 return resultobj;
2034 fail:
2035 return NULL;
2036 }
2037
2038
2039 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
2040 PyObject *resultobj;
2041 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2042 int result;
2043 PyObject * obj0 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2051 {
2052 PyThreadState* __tstate = wxPyBeginAllowThreads();
2053 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
2054
2055 wxPyEndAllowThreads(__tstate);
2056 if (PyErr_Occurred()) SWIG_fail;
2057 }
2058 resultobj = SWIG_From_int((int)result);
2059 return resultobj;
2060 fail:
2061 return NULL;
2062 }
2063
2064
2065 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
2066 PyObject *resultobj;
2067 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2068 int result;
2069 PyObject * obj0 = 0 ;
2070 char *kwnames[] = {
2071 (char *) "self", NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
2076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2077 {
2078 PyThreadState* __tstate = wxPyBeginAllowThreads();
2079 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
2080
2081 wxPyEndAllowThreads(__tstate);
2082 if (PyErr_Occurred()) SWIG_fail;
2083 }
2084 resultobj = SWIG_From_int((int)result);
2085 return resultobj;
2086 fail:
2087 return NULL;
2088 }
2089
2090
2091 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
2092 PyObject *obj;
2093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2094 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
2095 Py_INCREF(obj);
2096 return Py_BuildValue((char *)"");
2097 }
2098 static int _wrap_CheckBoxNameStr_set(PyObject *) {
2099 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
2100 return 1;
2101 }
2102
2103
2104 static PyObject *_wrap_CheckBoxNameStr_get() {
2105 PyObject *pyobj;
2106
2107 {
2108 #if wxUSE_UNICODE
2109 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
2110 #else
2111 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
2112 #endif
2113 }
2114 return pyobj;
2115 }
2116
2117
2118 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
2119 PyObject *resultobj;
2120 wxWindow *arg1 = (wxWindow *) 0 ;
2121 int arg2 = (int) -1 ;
2122 wxString const &arg3_defvalue = wxPyEmptyString ;
2123 wxString *arg3 = (wxString *) &arg3_defvalue ;
2124 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2125 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2126 wxSize const &arg5_defvalue = wxDefaultSize ;
2127 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2128 long arg6 = (long) 0 ;
2129 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2130 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2131 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
2132 wxString *arg8 = (wxString *) &arg8_defvalue ;
2133 wxCheckBox *result;
2134 bool temp3 = false ;
2135 wxPoint temp4 ;
2136 wxSize temp5 ;
2137 bool temp8 = false ;
2138 PyObject * obj0 = 0 ;
2139 PyObject * obj1 = 0 ;
2140 PyObject * obj2 = 0 ;
2141 PyObject * obj3 = 0 ;
2142 PyObject * obj4 = 0 ;
2143 PyObject * obj5 = 0 ;
2144 PyObject * obj6 = 0 ;
2145 PyObject * obj7 = 0 ;
2146 char *kwnames[] = {
2147 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2148 };
2149
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2153 if (obj1) {
2154 arg2 = (int)SWIG_As_int(obj1);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 if (obj2) {
2158 {
2159 arg3 = wxString_in_helper(obj2);
2160 if (arg3 == NULL) SWIG_fail;
2161 temp3 = true;
2162 }
2163 }
2164 if (obj3) {
2165 {
2166 arg4 = &temp4;
2167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2168 }
2169 }
2170 if (obj4) {
2171 {
2172 arg5 = &temp5;
2173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2174 }
2175 }
2176 if (obj5) {
2177 arg6 = (long)SWIG_As_long(obj5);
2178 if (PyErr_Occurred()) SWIG_fail;
2179 }
2180 if (obj6) {
2181 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2182 SWIG_POINTER_EXCEPTION | 0)) == -1)
2183 SWIG_fail;
2184 if (arg7 == NULL) {
2185 PyErr_SetString(PyExc_TypeError,"null reference");
2186 SWIG_fail;
2187 }
2188 }
2189 if (obj7) {
2190 {
2191 arg8 = wxString_in_helper(obj7);
2192 if (arg8 == NULL) SWIG_fail;
2193 temp8 = true;
2194 }
2195 }
2196 {
2197 if (!wxPyCheckForApp()) SWIG_fail;
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 }
2204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2205 {
2206 if (temp3)
2207 delete arg3;
2208 }
2209 {
2210 if (temp8)
2211 delete arg8;
2212 }
2213 return resultobj;
2214 fail:
2215 {
2216 if (temp3)
2217 delete arg3;
2218 }
2219 {
2220 if (temp8)
2221 delete arg8;
2222 }
2223 return NULL;
2224 }
2225
2226
2227 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
2228 PyObject *resultobj;
2229 wxCheckBox *result;
2230 char *kwnames[] = {
2231 NULL
2232 };
2233
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2235 {
2236 if (!wxPyCheckForApp()) SWIG_fail;
2237 PyThreadState* __tstate = wxPyBeginAllowThreads();
2238 result = (wxCheckBox *)new wxCheckBox();
2239
2240 wxPyEndAllowThreads(__tstate);
2241 if (PyErr_Occurred()) SWIG_fail;
2242 }
2243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2244 return resultobj;
2245 fail:
2246 return NULL;
2247 }
2248
2249
2250 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2251 PyObject *resultobj;
2252 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2253 wxWindow *arg2 = (wxWindow *) 0 ;
2254 int arg3 = (int) -1 ;
2255 wxString const &arg4_defvalue = wxPyEmptyString ;
2256 wxString *arg4 = (wxString *) &arg4_defvalue ;
2257 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2258 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2259 wxSize const &arg6_defvalue = wxDefaultSize ;
2260 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2261 long arg7 = (long) 0 ;
2262 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2263 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2264 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2265 wxString *arg9 = (wxString *) &arg9_defvalue ;
2266 bool result;
2267 bool temp4 = false ;
2268 wxPoint temp5 ;
2269 wxSize temp6 ;
2270 bool temp9 = false ;
2271 PyObject * obj0 = 0 ;
2272 PyObject * obj1 = 0 ;
2273 PyObject * obj2 = 0 ;
2274 PyObject * obj3 = 0 ;
2275 PyObject * obj4 = 0 ;
2276 PyObject * obj5 = 0 ;
2277 PyObject * obj6 = 0 ;
2278 PyObject * obj7 = 0 ;
2279 PyObject * obj8 = 0 ;
2280 char *kwnames[] = {
2281 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2282 };
2283
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2289 if (obj2) {
2290 arg3 = (int)SWIG_As_int(obj2);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 if (obj3) {
2294 {
2295 arg4 = wxString_in_helper(obj3);
2296 if (arg4 == NULL) SWIG_fail;
2297 temp4 = true;
2298 }
2299 }
2300 if (obj4) {
2301 {
2302 arg5 = &temp5;
2303 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2304 }
2305 }
2306 if (obj5) {
2307 {
2308 arg6 = &temp6;
2309 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2310 }
2311 }
2312 if (obj6) {
2313 arg7 = (long)SWIG_As_long(obj6);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 if (obj7) {
2317 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2318 SWIG_POINTER_EXCEPTION | 0)) == -1)
2319 SWIG_fail;
2320 if (arg8 == NULL) {
2321 PyErr_SetString(PyExc_TypeError,"null reference");
2322 SWIG_fail;
2323 }
2324 }
2325 if (obj8) {
2326 {
2327 arg9 = wxString_in_helper(obj8);
2328 if (arg9 == NULL) SWIG_fail;
2329 temp9 = true;
2330 }
2331 }
2332 {
2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2334 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2335
2336 wxPyEndAllowThreads(__tstate);
2337 if (PyErr_Occurred()) SWIG_fail;
2338 }
2339 {
2340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2341 }
2342 {
2343 if (temp4)
2344 delete arg4;
2345 }
2346 {
2347 if (temp9)
2348 delete arg9;
2349 }
2350 return resultobj;
2351 fail:
2352 {
2353 if (temp4)
2354 delete arg4;
2355 }
2356 {
2357 if (temp9)
2358 delete arg9;
2359 }
2360 return NULL;
2361 }
2362
2363
2364 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2365 PyObject *resultobj;
2366 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2367 bool result;
2368 PyObject * obj0 = 0 ;
2369 char *kwnames[] = {
2370 (char *) "self", NULL
2371 };
2372
2373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2376 {
2377 PyThreadState* __tstate = wxPyBeginAllowThreads();
2378 result = (bool)(arg1)->GetValue();
2379
2380 wxPyEndAllowThreads(__tstate);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 }
2383 {
2384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2385 }
2386 return resultobj;
2387 fail:
2388 return NULL;
2389 }
2390
2391
2392 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
2393 PyObject *resultobj;
2394 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2395 bool result;
2396 PyObject * obj0 = 0 ;
2397 char *kwnames[] = {
2398 (char *) "self", NULL
2399 };
2400
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = (bool)(arg1)->IsChecked();
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 {
2412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2413 }
2414 return resultobj;
2415 fail:
2416 return NULL;
2417 }
2418
2419
2420 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2421 PyObject *resultobj;
2422 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2423 bool arg2 ;
2424 PyObject * obj0 = 0 ;
2425 PyObject * obj1 = 0 ;
2426 char *kwnames[] = {
2427 (char *) "self",(char *) "state", NULL
2428 };
2429
2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2433 arg2 = (bool)SWIG_As_bool(obj1);
2434 if (PyErr_Occurred()) SWIG_fail;
2435 {
2436 PyThreadState* __tstate = wxPyBeginAllowThreads();
2437 (arg1)->SetValue(arg2);
2438
2439 wxPyEndAllowThreads(__tstate);
2440 if (PyErr_Occurred()) SWIG_fail;
2441 }
2442 Py_INCREF(Py_None); resultobj = Py_None;
2443 return resultobj;
2444 fail:
2445 return NULL;
2446 }
2447
2448
2449 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2450 PyObject *resultobj;
2451 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2452 int result;
2453 PyObject * obj0 = 0 ;
2454 char *kwnames[] = {
2455 (char *) "self", NULL
2456 };
2457
2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
2468 resultobj = SWIG_From_int((int)result);
2469 return resultobj;
2470 fail:
2471 return NULL;
2472 }
2473
2474
2475 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2476 PyObject *resultobj;
2477 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2478 int arg2 ;
2479 PyObject * obj0 = 0 ;
2480 PyObject * obj1 = 0 ;
2481 char *kwnames[] = {
2482 (char *) "self",(char *) "state", NULL
2483 };
2484
2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2488 arg2 = (int)SWIG_As_int(obj1);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 {
2491 PyThreadState* __tstate = wxPyBeginAllowThreads();
2492 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2493
2494 wxPyEndAllowThreads(__tstate);
2495 if (PyErr_Occurred()) SWIG_fail;
2496 }
2497 Py_INCREF(Py_None); resultobj = Py_None;
2498 return resultobj;
2499 fail:
2500 return NULL;
2501 }
2502
2503
2504 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
2505 PyObject *resultobj;
2506 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2507 bool result;
2508 PyObject * obj0 = 0 ;
2509 char *kwnames[] = {
2510 (char *) "self", NULL
2511 };
2512
2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 {
2524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2525 }
2526 return resultobj;
2527 fail:
2528 return NULL;
2529 }
2530
2531
2532 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
2533 PyObject *resultobj;
2534 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2535 bool result;
2536 PyObject * obj0 = 0 ;
2537 char *kwnames[] = {
2538 (char *) "self", NULL
2539 };
2540
2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 {
2552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2553 }
2554 return resultobj;
2555 fail:
2556 return NULL;
2557 }
2558
2559
2560 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2561 PyObject *resultobj;
2562 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2563 wxVisualAttributes result;
2564 PyObject * obj0 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "variant", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2570 if (obj0) {
2571 arg1 = (int)SWIG_As_int(obj0);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 {
2575 if (!wxPyCheckForApp()) SWIG_fail;
2576 PyThreadState* __tstate = wxPyBeginAllowThreads();
2577 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2578
2579 wxPyEndAllowThreads(__tstate);
2580 if (PyErr_Occurred()) SWIG_fail;
2581 }
2582 {
2583 wxVisualAttributes * resultptr;
2584 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2585 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2586 }
2587 return resultobj;
2588 fail:
2589 return NULL;
2590 }
2591
2592
2593 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
2594 PyObject *obj;
2595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2596 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2597 Py_INCREF(obj);
2598 return Py_BuildValue((char *)"");
2599 }
2600 static int _wrap_ChoiceNameStr_set(PyObject *) {
2601 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2602 return 1;
2603 }
2604
2605
2606 static PyObject *_wrap_ChoiceNameStr_get() {
2607 PyObject *pyobj;
2608
2609 {
2610 #if wxUSE_UNICODE
2611 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2612 #else
2613 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2614 #endif
2615 }
2616 return pyobj;
2617 }
2618
2619
2620 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
2621 PyObject *resultobj;
2622 wxWindow *arg1 = (wxWindow *) 0 ;
2623 int arg2 = (int) -1 ;
2624 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2625 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2626 wxSize const &arg4_defvalue = wxDefaultSize ;
2627 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2628 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2629 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2630 long arg6 = (long) 0 ;
2631 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2632 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2633 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2634 wxString *arg8 = (wxString *) &arg8_defvalue ;
2635 wxChoice *result;
2636 wxPoint temp3 ;
2637 wxSize temp4 ;
2638 bool temp5 = false ;
2639 bool temp8 = false ;
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 PyObject * obj2 = 0 ;
2643 PyObject * obj3 = 0 ;
2644 PyObject * obj4 = 0 ;
2645 PyObject * obj5 = 0 ;
2646 PyObject * obj6 = 0 ;
2647 PyObject * obj7 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2650 };
2651
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2655 if (obj1) {
2656 arg2 = (int)SWIG_As_int(obj1);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 if (obj2) {
2660 {
2661 arg3 = &temp3;
2662 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2663 }
2664 }
2665 if (obj3) {
2666 {
2667 arg4 = &temp4;
2668 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2669 }
2670 }
2671 if (obj4) {
2672 {
2673 if (! PySequence_Check(obj4)) {
2674 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2675 SWIG_fail;
2676 }
2677 arg5 = new wxArrayString;
2678 temp5 = true;
2679 int i, len=PySequence_Length(obj4);
2680 for (i=0; i<len; i++) {
2681 PyObject* item = PySequence_GetItem(obj4, i);
2682 #if wxUSE_UNICODE
2683 PyObject* str = PyObject_Unicode(item);
2684 #else
2685 PyObject* str = PyObject_Str(item);
2686 #endif
2687 if (PyErr_Occurred()) SWIG_fail;
2688 arg5->Add(Py2wxString(str));
2689 Py_DECREF(item);
2690 Py_DECREF(str);
2691 }
2692 }
2693 }
2694 if (obj5) {
2695 arg6 = (long)SWIG_As_long(obj5);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 if (obj6) {
2699 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2700 SWIG_POINTER_EXCEPTION | 0)) == -1)
2701 SWIG_fail;
2702 if (arg7 == NULL) {
2703 PyErr_SetString(PyExc_TypeError,"null reference");
2704 SWIG_fail;
2705 }
2706 }
2707 if (obj7) {
2708 {
2709 arg8 = wxString_in_helper(obj7);
2710 if (arg8 == NULL) SWIG_fail;
2711 temp8 = true;
2712 }
2713 }
2714 {
2715 if (!wxPyCheckForApp()) SWIG_fail;
2716 PyThreadState* __tstate = wxPyBeginAllowThreads();
2717 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2718
2719 wxPyEndAllowThreads(__tstate);
2720 if (PyErr_Occurred()) SWIG_fail;
2721 }
2722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2723 {
2724 if (temp5) delete arg5;
2725 }
2726 {
2727 if (temp8)
2728 delete arg8;
2729 }
2730 return resultobj;
2731 fail:
2732 {
2733 if (temp5) delete arg5;
2734 }
2735 {
2736 if (temp8)
2737 delete arg8;
2738 }
2739 return NULL;
2740 }
2741
2742
2743 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
2744 PyObject *resultobj;
2745 wxChoice *result;
2746 char *kwnames[] = {
2747 NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2751 {
2752 if (!wxPyCheckForApp()) SWIG_fail;
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 result = (wxChoice *)new wxChoice();
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2760 return resultobj;
2761 fail:
2762 return NULL;
2763 }
2764
2765
2766 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2767 PyObject *resultobj;
2768 wxChoice *arg1 = (wxChoice *) 0 ;
2769 wxWindow *arg2 = (wxWindow *) 0 ;
2770 int arg3 = (int) -1 ;
2771 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2772 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2773 wxSize const &arg5_defvalue = wxDefaultSize ;
2774 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2775 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2776 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2777 long arg7 = (long) 0 ;
2778 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2779 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2780 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2781 wxString *arg9 = (wxString *) &arg9_defvalue ;
2782 bool result;
2783 wxPoint temp4 ;
2784 wxSize temp5 ;
2785 bool temp6 = false ;
2786 bool temp9 = false ;
2787 PyObject * obj0 = 0 ;
2788 PyObject * obj1 = 0 ;
2789 PyObject * obj2 = 0 ;
2790 PyObject * obj3 = 0 ;
2791 PyObject * obj4 = 0 ;
2792 PyObject * obj5 = 0 ;
2793 PyObject * obj6 = 0 ;
2794 PyObject * obj7 = 0 ;
2795 PyObject * obj8 = 0 ;
2796 char *kwnames[] = {
2797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2798 };
2799
2800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2805 if (obj2) {
2806 arg3 = (int)SWIG_As_int(obj2);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 if (obj3) {
2810 {
2811 arg4 = &temp4;
2812 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2813 }
2814 }
2815 if (obj4) {
2816 {
2817 arg5 = &temp5;
2818 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2819 }
2820 }
2821 if (obj5) {
2822 {
2823 if (! PySequence_Check(obj5)) {
2824 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2825 SWIG_fail;
2826 }
2827 arg6 = new wxArrayString;
2828 temp6 = true;
2829 int i, len=PySequence_Length(obj5);
2830 for (i=0; i<len; i++) {
2831 PyObject* item = PySequence_GetItem(obj5, i);
2832 #if wxUSE_UNICODE
2833 PyObject* str = PyObject_Unicode(item);
2834 #else
2835 PyObject* str = PyObject_Str(item);
2836 #endif
2837 if (PyErr_Occurred()) SWIG_fail;
2838 arg6->Add(Py2wxString(str));
2839 Py_DECREF(item);
2840 Py_DECREF(str);
2841 }
2842 }
2843 }
2844 if (obj6) {
2845 arg7 = (long)SWIG_As_long(obj6);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 if (obj7) {
2849 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2850 SWIG_POINTER_EXCEPTION | 0)) == -1)
2851 SWIG_fail;
2852 if (arg8 == NULL) {
2853 PyErr_SetString(PyExc_TypeError,"null reference");
2854 SWIG_fail;
2855 }
2856 }
2857 if (obj8) {
2858 {
2859 arg9 = wxString_in_helper(obj8);
2860 if (arg9 == NULL) SWIG_fail;
2861 temp9 = true;
2862 }
2863 }
2864 {
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
2866 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2867
2868 wxPyEndAllowThreads(__tstate);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 }
2871 {
2872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2873 }
2874 {
2875 if (temp6) delete arg6;
2876 }
2877 {
2878 if (temp9)
2879 delete arg9;
2880 }
2881 return resultobj;
2882 fail:
2883 {
2884 if (temp6) delete arg6;
2885 }
2886 {
2887 if (temp9)
2888 delete arg9;
2889 }
2890 return NULL;
2891 }
2892
2893
2894 static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxChoice *arg1 = (wxChoice *) 0 ;
2897 int arg2 ;
2898 PyObject * obj0 = 0 ;
2899 PyObject * obj1 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self",(char *) "n", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2907 arg2 = (int)SWIG_As_int(obj1);
2908 if (PyErr_Occurred()) SWIG_fail;
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 (arg1)->SetSelection(arg2);
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 Py_INCREF(Py_None); resultobj = Py_None;
2917 return resultobj;
2918 fail:
2919 return NULL;
2920 }
2921
2922
2923 static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj;
2925 wxChoice *arg1 = (wxChoice *) 0 ;
2926 wxString *arg2 = 0 ;
2927 bool result;
2928 bool temp2 = false ;
2929 PyObject * obj0 = 0 ;
2930 PyObject * obj1 = 0 ;
2931 char *kwnames[] = {
2932 (char *) "self",(char *) "string", NULL
2933 };
2934
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2938 {
2939 arg2 = wxString_in_helper(obj1);
2940 if (arg2 == NULL) SWIG_fail;
2941 temp2 = true;
2942 }
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 {
2951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2952 }
2953 {
2954 if (temp2)
2955 delete arg2;
2956 }
2957 return resultobj;
2958 fail:
2959 {
2960 if (temp2)
2961 delete arg2;
2962 }
2963 return NULL;
2964 }
2965
2966
2967 static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 wxChoice *arg1 = (wxChoice *) 0 ;
2970 int arg2 ;
2971 wxString *arg3 = 0 ;
2972 bool temp3 = false ;
2973 PyObject * obj0 = 0 ;
2974 PyObject * obj1 = 0 ;
2975 PyObject * obj2 = 0 ;
2976 char *kwnames[] = {
2977 (char *) "self",(char *) "n",(char *) "string", NULL
2978 };
2979
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2983 arg2 = (int)SWIG_As_int(obj1);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 {
2986 arg3 = wxString_in_helper(obj2);
2987 if (arg3 == NULL) SWIG_fail;
2988 temp3 = true;
2989 }
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 (arg1)->SetString(arg2,(wxString const &)*arg3);
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 Py_INCREF(Py_None); resultobj = Py_None;
2998 {
2999 if (temp3)
3000 delete arg3;
3001 }
3002 return resultobj;
3003 fail:
3004 {
3005 if (temp3)
3006 delete arg3;
3007 }
3008 return NULL;
3009 }
3010
3011
3012 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3013 PyObject *resultobj;
3014 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3015 wxVisualAttributes result;
3016 PyObject * obj0 = 0 ;
3017 char *kwnames[] = {
3018 (char *) "variant", NULL
3019 };
3020
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3022 if (obj0) {
3023 arg1 = (int)SWIG_As_int(obj0);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 {
3027 if (!wxPyCheckForApp()) SWIG_fail;
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 {
3035 wxVisualAttributes * resultptr;
3036 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3038 }
3039 return resultobj;
3040 fail:
3041 return NULL;
3042 }
3043
3044
3045 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
3046 PyObject *obj;
3047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3048 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
3049 Py_INCREF(obj);
3050 return Py_BuildValue((char *)"");
3051 }
3052 static int _wrap_ComboBoxNameStr_set(PyObject *) {
3053 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
3054 return 1;
3055 }
3056
3057
3058 static PyObject *_wrap_ComboBoxNameStr_get() {
3059 PyObject *pyobj;
3060
3061 {
3062 #if wxUSE_UNICODE
3063 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
3064 #else
3065 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
3066 #endif
3067 }
3068 return pyobj;
3069 }
3070
3071
3072 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
3073 PyObject *resultobj;
3074 wxWindow *arg1 = (wxWindow *) 0 ;
3075 int arg2 = (int) -1 ;
3076 wxString const &arg3_defvalue = wxPyEmptyString ;
3077 wxString *arg3 = (wxString *) &arg3_defvalue ;
3078 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3079 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3080 wxSize const &arg5_defvalue = wxDefaultSize ;
3081 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3082 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3083 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3084 long arg7 = (long) 0 ;
3085 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3086 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3087 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
3088 wxString *arg9 = (wxString *) &arg9_defvalue ;
3089 wxComboBox *result;
3090 bool temp3 = false ;
3091 wxPoint temp4 ;
3092 wxSize temp5 ;
3093 bool temp6 = false ;
3094 bool temp9 = false ;
3095 PyObject * obj0 = 0 ;
3096 PyObject * obj1 = 0 ;
3097 PyObject * obj2 = 0 ;
3098 PyObject * obj3 = 0 ;
3099 PyObject * obj4 = 0 ;
3100 PyObject * obj5 = 0 ;
3101 PyObject * obj6 = 0 ;
3102 PyObject * obj7 = 0 ;
3103 PyObject * obj8 = 0 ;
3104 char *kwnames[] = {
3105 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3106 };
3107
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3111 if (obj1) {
3112 arg2 = (int)SWIG_As_int(obj1);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 if (obj2) {
3116 {
3117 arg3 = wxString_in_helper(obj2);
3118 if (arg3 == NULL) SWIG_fail;
3119 temp3 = true;
3120 }
3121 }
3122 if (obj3) {
3123 {
3124 arg4 = &temp4;
3125 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3126 }
3127 }
3128 if (obj4) {
3129 {
3130 arg5 = &temp5;
3131 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3132 }
3133 }
3134 if (obj5) {
3135 {
3136 if (! PySequence_Check(obj5)) {
3137 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3138 SWIG_fail;
3139 }
3140 arg6 = new wxArrayString;
3141 temp6 = true;
3142 int i, len=PySequence_Length(obj5);
3143 for (i=0; i<len; i++) {
3144 PyObject* item = PySequence_GetItem(obj5, i);
3145 #if wxUSE_UNICODE
3146 PyObject* str = PyObject_Unicode(item);
3147 #else
3148 PyObject* str = PyObject_Str(item);
3149 #endif
3150 if (PyErr_Occurred()) SWIG_fail;
3151 arg6->Add(Py2wxString(str));
3152 Py_DECREF(item);
3153 Py_DECREF(str);
3154 }
3155 }
3156 }
3157 if (obj6) {
3158 arg7 = (long)SWIG_As_long(obj6);
3159 if (PyErr_Occurred()) SWIG_fail;
3160 }
3161 if (obj7) {
3162 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3163 SWIG_POINTER_EXCEPTION | 0)) == -1)
3164 SWIG_fail;
3165 if (arg8 == NULL) {
3166 PyErr_SetString(PyExc_TypeError,"null reference");
3167 SWIG_fail;
3168 }
3169 }
3170 if (obj8) {
3171 {
3172 arg9 = wxString_in_helper(obj8);
3173 if (arg9 == NULL) SWIG_fail;
3174 temp9 = true;
3175 }
3176 }
3177 {
3178 if (!wxPyCheckForApp()) SWIG_fail;
3179 PyThreadState* __tstate = wxPyBeginAllowThreads();
3180 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3181
3182 wxPyEndAllowThreads(__tstate);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3186 {
3187 if (temp3)
3188 delete arg3;
3189 }
3190 {
3191 if (temp6) delete arg6;
3192 }
3193 {
3194 if (temp9)
3195 delete arg9;
3196 }
3197 return resultobj;
3198 fail:
3199 {
3200 if (temp3)
3201 delete arg3;
3202 }
3203 {
3204 if (temp6) delete arg6;
3205 }
3206 {
3207 if (temp9)
3208 delete arg9;
3209 }
3210 return NULL;
3211 }
3212
3213
3214 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
3215 PyObject *resultobj;
3216 wxComboBox *result;
3217 char *kwnames[] = {
3218 NULL
3219 };
3220
3221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3222 {
3223 if (!wxPyCheckForApp()) SWIG_fail;
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 result = (wxComboBox *)new wxComboBox();
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3231 return resultobj;
3232 fail:
3233 return NULL;
3234 }
3235
3236
3237 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3238 PyObject *resultobj;
3239 wxComboBox *arg1 = (wxComboBox *) 0 ;
3240 wxWindow *arg2 = (wxWindow *) 0 ;
3241 int arg3 = (int) -1 ;
3242 wxString const &arg4_defvalue = wxPyEmptyString ;
3243 wxString *arg4 = (wxString *) &arg4_defvalue ;
3244 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3245 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3246 wxSize const &arg6_defvalue = wxDefaultSize ;
3247 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3248 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3249 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3250 long arg8 = (long) 0 ;
3251 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3252 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3253 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3254 wxString *arg10 = (wxString *) &arg10_defvalue ;
3255 bool result;
3256 bool temp4 = false ;
3257 wxPoint temp5 ;
3258 wxSize temp6 ;
3259 bool temp7 = false ;
3260 bool temp10 = false ;
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 PyObject * obj2 = 0 ;
3264 PyObject * obj3 = 0 ;
3265 PyObject * obj4 = 0 ;
3266 PyObject * obj5 = 0 ;
3267 PyObject * obj6 = 0 ;
3268 PyObject * obj7 = 0 ;
3269 PyObject * obj8 = 0 ;
3270 PyObject * obj9 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3280 if (obj2) {
3281 arg3 = (int)SWIG_As_int(obj2);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 if (obj3) {
3285 {
3286 arg4 = wxString_in_helper(obj3);
3287 if (arg4 == NULL) SWIG_fail;
3288 temp4 = true;
3289 }
3290 }
3291 if (obj4) {
3292 {
3293 arg5 = &temp5;
3294 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3295 }
3296 }
3297 if (obj5) {
3298 {
3299 arg6 = &temp6;
3300 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3301 }
3302 }
3303 if (obj6) {
3304 {
3305 if (! PySequence_Check(obj6)) {
3306 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3307 SWIG_fail;
3308 }
3309 arg7 = new wxArrayString;
3310 temp7 = true;
3311 int i, len=PySequence_Length(obj6);
3312 for (i=0; i<len; i++) {
3313 PyObject* item = PySequence_GetItem(obj6, i);
3314 #if wxUSE_UNICODE
3315 PyObject* str = PyObject_Unicode(item);
3316 #else
3317 PyObject* str = PyObject_Str(item);
3318 #endif
3319 if (PyErr_Occurred()) SWIG_fail;
3320 arg7->Add(Py2wxString(str));
3321 Py_DECREF(item);
3322 Py_DECREF(str);
3323 }
3324 }
3325 }
3326 if (obj7) {
3327 arg8 = (long)SWIG_As_long(obj7);
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 if (obj8) {
3331 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3332 SWIG_POINTER_EXCEPTION | 0)) == -1)
3333 SWIG_fail;
3334 if (arg9 == NULL) {
3335 PyErr_SetString(PyExc_TypeError,"null reference");
3336 SWIG_fail;
3337 }
3338 }
3339 if (obj9) {
3340 {
3341 arg10 = wxString_in_helper(obj9);
3342 if (arg10 == NULL) SWIG_fail;
3343 temp10 = true;
3344 }
3345 }
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 {
3354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3355 }
3356 {
3357 if (temp4)
3358 delete arg4;
3359 }
3360 {
3361 if (temp7) delete arg7;
3362 }
3363 {
3364 if (temp10)
3365 delete arg10;
3366 }
3367 return resultobj;
3368 fail:
3369 {
3370 if (temp4)
3371 delete arg4;
3372 }
3373 {
3374 if (temp7) delete arg7;
3375 }
3376 {
3377 if (temp10)
3378 delete arg10;
3379 }
3380 return NULL;
3381 }
3382
3383
3384 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3385 PyObject *resultobj;
3386 wxComboBox *arg1 = (wxComboBox *) 0 ;
3387 wxString result;
3388 PyObject * obj0 = 0 ;
3389 char *kwnames[] = {
3390 (char *) "self", NULL
3391 };
3392
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 result = ((wxComboBox const *)arg1)->GetValue();
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 {
3404 #if wxUSE_UNICODE
3405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3406 #else
3407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3408 #endif
3409 }
3410 return resultobj;
3411 fail:
3412 return NULL;
3413 }
3414
3415
3416 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj;
3418 wxComboBox *arg1 = (wxComboBox *) 0 ;
3419 wxString *arg2 = 0 ;
3420 bool temp2 = false ;
3421 PyObject * obj0 = 0 ;
3422 PyObject * obj1 = 0 ;
3423 char *kwnames[] = {
3424 (char *) "self",(char *) "value", NULL
3425 };
3426
3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3430 {
3431 arg2 = wxString_in_helper(obj1);
3432 if (arg2 == NULL) SWIG_fail;
3433 temp2 = true;
3434 }
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 (arg1)->SetValue((wxString const &)*arg2);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 Py_INCREF(Py_None); resultobj = Py_None;
3443 {
3444 if (temp2)
3445 delete arg2;
3446 }
3447 return resultobj;
3448 fail:
3449 {
3450 if (temp2)
3451 delete arg2;
3452 }
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxComboBox *arg1 = (wxComboBox *) 0 ;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 (arg1)->Copy();
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 Py_INCREF(Py_None); resultobj = Py_None;
3476 return resultobj;
3477 fail:
3478 return NULL;
3479 }
3480
3481
3482 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
3483 PyObject *resultobj;
3484 wxComboBox *arg1 = (wxComboBox *) 0 ;
3485 PyObject * obj0 = 0 ;
3486 char *kwnames[] = {
3487 (char *) "self", NULL
3488 };
3489
3490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 (arg1)->Cut();
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 Py_INCREF(Py_None); resultobj = Py_None;
3501 return resultobj;
3502 fail:
3503 return NULL;
3504 }
3505
3506
3507 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
3508 PyObject *resultobj;
3509 wxComboBox *arg1 = (wxComboBox *) 0 ;
3510 PyObject * obj0 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 (arg1)->Paste();
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 Py_INCREF(Py_None); resultobj = Py_None;
3526 return resultobj;
3527 fail:
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxComboBox *arg1 = (wxComboBox *) 0 ;
3535 long arg2 ;
3536 PyObject * obj0 = 0 ;
3537 PyObject * obj1 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self",(char *) "pos", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3545 arg2 = (long)SWIG_As_long(obj1);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 (arg1)->SetInsertionPoint(arg2);
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 Py_INCREF(Py_None); resultobj = Py_None;
3555 return resultobj;
3556 fail:
3557 return NULL;
3558 }
3559
3560
3561 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 wxComboBox *arg1 = (wxComboBox *) 0 ;
3564 long result;
3565 PyObject * obj0 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 resultobj = SWIG_From_long((long)result);
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxComboBox *arg1 = (wxComboBox *) 0 ;
3590 long result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 resultobj = SWIG_From_long((long)result);
3607 return resultobj;
3608 fail:
3609 return NULL;
3610 }
3611
3612
3613 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
3614 PyObject *resultobj;
3615 wxComboBox *arg1 = (wxComboBox *) 0 ;
3616 long arg2 ;
3617 long arg3 ;
3618 wxString *arg4 = 0 ;
3619 bool temp4 = false ;
3620 PyObject * obj0 = 0 ;
3621 PyObject * obj1 = 0 ;
3622 PyObject * obj2 = 0 ;
3623 PyObject * obj3 = 0 ;
3624 char *kwnames[] = {
3625 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3626 };
3627
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3631 arg2 = (long)SWIG_As_long(obj1);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 arg3 = (long)SWIG_As_long(obj2);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 {
3636 arg4 = wxString_in_helper(obj3);
3637 if (arg4 == NULL) SWIG_fail;
3638 temp4 = true;
3639 }
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 Py_INCREF(Py_None); resultobj = Py_None;
3648 {
3649 if (temp4)
3650 delete arg4;
3651 }
3652 return resultobj;
3653 fail:
3654 {
3655 if (temp4)
3656 delete arg4;
3657 }
3658 return NULL;
3659 }
3660
3661
3662 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxComboBox *arg1 = (wxComboBox *) 0 ;
3665 int arg2 ;
3666 PyObject * obj0 = 0 ;
3667 PyObject * obj1 = 0 ;
3668 char *kwnames[] = {
3669 (char *) "self",(char *) "n", NULL
3670 };
3671
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3675 arg2 = (int)SWIG_As_int(obj1);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 (arg1)->SetSelection(arg2);
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 Py_INCREF(Py_None); resultobj = Py_None;
3685 return resultobj;
3686 fail:
3687 return NULL;
3688 }
3689
3690
3691 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
3692 PyObject *resultobj;
3693 wxComboBox *arg1 = (wxComboBox *) 0 ;
3694 long arg2 ;
3695 long arg3 ;
3696 PyObject * obj0 = 0 ;
3697 PyObject * obj1 = 0 ;
3698 PyObject * obj2 = 0 ;
3699 char *kwnames[] = {
3700 (char *) "self",(char *) "from",(char *) "to", NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3706 arg2 = (long)SWIG_As_long(obj1);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 arg3 = (long)SWIG_As_long(obj2);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 (arg1)->SetSelection(arg2,arg3);
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 Py_INCREF(Py_None); resultobj = Py_None;
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxComboBox *arg1 = (wxComboBox *) 0 ;
3727 wxString *arg2 = 0 ;
3728 bool result;
3729 bool temp2 = false ;
3730 PyObject * obj0 = 0 ;
3731 PyObject * obj1 = 0 ;
3732 char *kwnames[] = {
3733 (char *) "self",(char *) "string", NULL
3734 };
3735
3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3739 {
3740 arg2 = wxString_in_helper(obj1);
3741 if (arg2 == NULL) SWIG_fail;
3742 temp2 = true;
3743 }
3744 {
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 {
3752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3753 }
3754 {
3755 if (temp2)
3756 delete arg2;
3757 }
3758 return resultobj;
3759 fail:
3760 {
3761 if (temp2)
3762 delete arg2;
3763 }
3764 return NULL;
3765 }
3766
3767
3768 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj;
3770 wxComboBox *arg1 = (wxComboBox *) 0 ;
3771 int arg2 ;
3772 wxString *arg3 = 0 ;
3773 bool temp3 = false ;
3774 PyObject * obj0 = 0 ;
3775 PyObject * obj1 = 0 ;
3776 PyObject * obj2 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self",(char *) "n",(char *) "string", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3784 arg2 = (int)SWIG_As_int(obj1);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 {
3787 arg3 = wxString_in_helper(obj2);
3788 if (arg3 == NULL) SWIG_fail;
3789 temp3 = true;
3790 }
3791 {
3792 PyThreadState* __tstate = wxPyBeginAllowThreads();
3793 (arg1)->SetString(arg2,(wxString const &)*arg3);
3794
3795 wxPyEndAllowThreads(__tstate);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 Py_INCREF(Py_None); resultobj = Py_None;
3799 {
3800 if (temp3)
3801 delete arg3;
3802 }
3803 return resultobj;
3804 fail:
3805 {
3806 if (temp3)
3807 delete arg3;
3808 }
3809 return NULL;
3810 }
3811
3812
3813 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxComboBox *arg1 = (wxComboBox *) 0 ;
3816 bool arg2 ;
3817 PyObject * obj0 = 0 ;
3818 PyObject * obj1 = 0 ;
3819 char *kwnames[] = {
3820 (char *) "self",(char *) "editable", NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3826 arg2 = (bool)SWIG_As_bool(obj1);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 (arg1)->SetEditable(arg2);
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 Py_INCREF(Py_None); resultobj = Py_None;
3836 return resultobj;
3837 fail:
3838 return NULL;
3839 }
3840
3841
3842 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
3843 PyObject *resultobj;
3844 wxComboBox *arg1 = (wxComboBox *) 0 ;
3845 PyObject * obj0 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "self", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3853 {
3854 PyThreadState* __tstate = wxPyBeginAllowThreads();
3855 (arg1)->SetInsertionPointEnd();
3856
3857 wxPyEndAllowThreads(__tstate);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
3860 Py_INCREF(Py_None); resultobj = Py_None;
3861 return resultobj;
3862 fail:
3863 return NULL;
3864 }
3865
3866
3867 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
3868 PyObject *resultobj;
3869 wxComboBox *arg1 = (wxComboBox *) 0 ;
3870 long arg2 ;
3871 long arg3 ;
3872 PyObject * obj0 = 0 ;
3873 PyObject * obj1 = 0 ;
3874 PyObject * obj2 = 0 ;
3875 char *kwnames[] = {
3876 (char *) "self",(char *) "from",(char *) "to", NULL
3877 };
3878
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3882 arg2 = (long)SWIG_As_long(obj1);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 arg3 = (long)SWIG_As_long(obj2);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 (arg1)->Remove(arg2,arg3);
3889
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 Py_INCREF(Py_None); resultobj = Py_None;
3894 return resultobj;
3895 fail:
3896 return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj;
3902 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3903 wxVisualAttributes result;
3904 PyObject * obj0 = 0 ;
3905 char *kwnames[] = {
3906 (char *) "variant", NULL
3907 };
3908
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3910 if (obj0) {
3911 arg1 = (int)SWIG_As_int(obj0);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 {
3915 if (!wxPyCheckForApp()) SWIG_fail;
3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
3917 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3918
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 {
3923 wxVisualAttributes * resultptr;
3924 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3926 }
3927 return resultobj;
3928 fail:
3929 return NULL;
3930 }
3931
3932
3933 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
3934 PyObject *obj;
3935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3936 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3937 Py_INCREF(obj);
3938 return Py_BuildValue((char *)"");
3939 }
3940 static int _wrap_GaugeNameStr_set(PyObject *) {
3941 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3942 return 1;
3943 }
3944
3945
3946 static PyObject *_wrap_GaugeNameStr_get() {
3947 PyObject *pyobj;
3948
3949 {
3950 #if wxUSE_UNICODE
3951 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3952 #else
3953 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3954 #endif
3955 }
3956 return pyobj;
3957 }
3958
3959
3960 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
3961 PyObject *resultobj;
3962 wxWindow *arg1 = (wxWindow *) 0 ;
3963 int arg2 = (int) -1 ;
3964 int arg3 = (int) 100 ;
3965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3967 wxSize const &arg5_defvalue = wxDefaultSize ;
3968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3969 long arg6 = (long) wxGA_HORIZONTAL ;
3970 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3971 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3972 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3973 wxString *arg8 = (wxString *) &arg8_defvalue ;
3974 wxGauge *result;
3975 wxPoint temp4 ;
3976 wxSize temp5 ;
3977 bool temp8 = false ;
3978 PyObject * obj0 = 0 ;
3979 PyObject * obj1 = 0 ;
3980 PyObject * obj2 = 0 ;
3981 PyObject * obj3 = 0 ;
3982 PyObject * obj4 = 0 ;
3983 PyObject * obj5 = 0 ;
3984 PyObject * obj6 = 0 ;
3985 PyObject * obj7 = 0 ;
3986 char *kwnames[] = {
3987 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3988 };
3989
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3993 if (obj1) {
3994 arg2 = (int)SWIG_As_int(obj1);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 if (obj2) {
3998 arg3 = (int)SWIG_As_int(obj2);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
4001 if (obj3) {
4002 {
4003 arg4 = &temp4;
4004 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4005 }
4006 }
4007 if (obj4) {
4008 {
4009 arg5 = &temp5;
4010 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4011 }
4012 }
4013 if (obj5) {
4014 arg6 = (long)SWIG_As_long(obj5);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 if (obj6) {
4018 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
4019 SWIG_POINTER_EXCEPTION | 0)) == -1)
4020 SWIG_fail;
4021 if (arg7 == NULL) {
4022 PyErr_SetString(PyExc_TypeError,"null reference");
4023 SWIG_fail;
4024 }
4025 }
4026 if (obj7) {
4027 {
4028 arg8 = wxString_in_helper(obj7);
4029 if (arg8 == NULL) SWIG_fail;
4030 temp8 = true;
4031 }
4032 }
4033 {
4034 if (!wxPyCheckForApp()) SWIG_fail;
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4037
4038 wxPyEndAllowThreads(__tstate);
4039 if (PyErr_Occurred()) SWIG_fail;
4040 }
4041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
4042 {
4043 if (temp8)
4044 delete arg8;
4045 }
4046 return resultobj;
4047 fail:
4048 {
4049 if (temp8)
4050 delete arg8;
4051 }
4052 return NULL;
4053 }
4054
4055
4056 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
4057 PyObject *resultobj;
4058 wxGauge *result;
4059 char *kwnames[] = {
4060 NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
4064 {
4065 if (!wxPyCheckForApp()) SWIG_fail;
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = (wxGauge *)new wxGauge();
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
4073 return resultobj;
4074 fail:
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxGauge *arg1 = (wxGauge *) 0 ;
4082 wxWindow *arg2 = (wxWindow *) 0 ;
4083 int arg3 = (int) -1 ;
4084 int arg4 = (int) 100 ;
4085 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4086 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4087 wxSize const &arg6_defvalue = wxDefaultSize ;
4088 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4089 long arg7 = (long) wxGA_HORIZONTAL ;
4090 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4091 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4092 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
4093 wxString *arg9 = (wxString *) &arg9_defvalue ;
4094 bool result;
4095 wxPoint temp5 ;
4096 wxSize temp6 ;
4097 bool temp9 = false ;
4098 PyObject * obj0 = 0 ;
4099 PyObject * obj1 = 0 ;
4100 PyObject * obj2 = 0 ;
4101 PyObject * obj3 = 0 ;
4102 PyObject * obj4 = 0 ;
4103 PyObject * obj5 = 0 ;
4104 PyObject * obj6 = 0 ;
4105 PyObject * obj7 = 0 ;
4106 PyObject * obj8 = 0 ;
4107 char *kwnames[] = {
4108 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4109 };
4110
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4116 if (obj2) {
4117 arg3 = (int)SWIG_As_int(obj2);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 if (obj3) {
4121 arg4 = (int)SWIG_As_int(obj3);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 if (obj4) {
4125 {
4126 arg5 = &temp5;
4127 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4128 }
4129 }
4130 if (obj5) {
4131 {
4132 arg6 = &temp6;
4133 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4134 }
4135 }
4136 if (obj6) {
4137 arg7 = (long)SWIG_As_long(obj6);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 if (obj7) {
4141 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4142 SWIG_POINTER_EXCEPTION | 0)) == -1)
4143 SWIG_fail;
4144 if (arg8 == NULL) {
4145 PyErr_SetString(PyExc_TypeError,"null reference");
4146 SWIG_fail;
4147 }
4148 }
4149 if (obj8) {
4150 {
4151 arg9 = wxString_in_helper(obj8);
4152 if (arg9 == NULL) SWIG_fail;
4153 temp9 = true;
4154 }
4155 }
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 {
4164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4165 }
4166 {
4167 if (temp9)
4168 delete arg9;
4169 }
4170 return resultobj;
4171 fail:
4172 {
4173 if (temp9)
4174 delete arg9;
4175 }
4176 return NULL;
4177 }
4178
4179
4180 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj;
4182 wxGauge *arg1 = (wxGauge *) 0 ;
4183 int arg2 ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self",(char *) "range", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4193 arg2 = (int)SWIG_As_int(obj1);
4194 if (PyErr_Occurred()) SWIG_fail;
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 (arg1)->SetRange(arg2);
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 Py_INCREF(Py_None); resultobj = Py_None;
4203 return resultobj;
4204 fail:
4205 return NULL;
4206 }
4207
4208
4209 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
4210 PyObject *resultobj;
4211 wxGauge *arg1 = (wxGauge *) 0 ;
4212 int result;
4213 PyObject * obj0 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "self", NULL
4216 };
4217
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 result = (int)((wxGauge const *)arg1)->GetRange();
4224
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 resultobj = SWIG_From_int((int)result);
4229 return resultobj;
4230 fail:
4231 return NULL;
4232 }
4233
4234
4235 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj;
4237 wxGauge *arg1 = (wxGauge *) 0 ;
4238 int arg2 ;
4239 PyObject * obj0 = 0 ;
4240 PyObject * obj1 = 0 ;
4241 char *kwnames[] = {
4242 (char *) "self",(char *) "pos", NULL
4243 };
4244
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4248 arg2 = (int)SWIG_As_int(obj1);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->SetValue(arg2);
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 Py_INCREF(Py_None); resultobj = Py_None;
4258 return resultobj;
4259 fail:
4260 return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 wxGauge *arg1 = (wxGauge *) 0 ;
4267 int result;
4268 PyObject * obj0 = 0 ;
4269 char *kwnames[] = {
4270 (char *) "self", NULL
4271 };
4272
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 result = (int)((wxGauge const *)arg1)->GetValue();
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 resultobj = SWIG_From_int((int)result);
4284 return resultobj;
4285 fail:
4286 return NULL;
4287 }
4288
4289
4290 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
4291 PyObject *resultobj;
4292 wxGauge *arg1 = (wxGauge *) 0 ;
4293 bool result;
4294 PyObject * obj0 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "self", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 result = (bool)((wxGauge const *)arg1)->IsVertical();
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 {
4310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4311 }
4312 return resultobj;
4313 fail:
4314 return NULL;
4315 }
4316
4317
4318 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj;
4320 wxGauge *arg1 = (wxGauge *) 0 ;
4321 int arg2 ;
4322 PyObject * obj0 = 0 ;
4323 PyObject * obj1 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self",(char *) "w", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4331 arg2 = (int)SWIG_As_int(obj1);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetShadowWidth(arg2);
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 Py_INCREF(Py_None); resultobj = Py_None;
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj;
4349 wxGauge *arg1 = (wxGauge *) 0 ;
4350 int result;
4351 PyObject * obj0 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 resultobj = SWIG_From_int((int)result);
4367 return resultobj;
4368 fail:
4369 return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 wxGauge *arg1 = (wxGauge *) 0 ;
4376 int arg2 ;
4377 PyObject * obj0 = 0 ;
4378 PyObject * obj1 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self",(char *) "w", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4386 arg2 = (int)SWIG_As_int(obj1);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 (arg1)->SetBezelFace(arg2);
4391
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 Py_INCREF(Py_None); resultobj = Py_None;
4396 return resultobj;
4397 fail:
4398 return NULL;
4399 }
4400
4401
4402 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
4403 PyObject *resultobj;
4404 wxGauge *arg1 = (wxGauge *) 0 ;
4405 int result;
4406 PyObject * obj0 = 0 ;
4407 char *kwnames[] = {
4408 (char *) "self", NULL
4409 };
4410
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
4421 resultobj = SWIG_From_int((int)result);
4422 return resultobj;
4423 fail:
4424 return NULL;
4425 }
4426
4427
4428 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj;
4430 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4431 wxVisualAttributes result;
4432 PyObject * obj0 = 0 ;
4433 char *kwnames[] = {
4434 (char *) "variant", NULL
4435 };
4436
4437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4438 if (obj0) {
4439 arg1 = (int)SWIG_As_int(obj0);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 {
4443 if (!wxPyCheckForApp()) SWIG_fail;
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451 wxVisualAttributes * resultptr;
4452 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4454 }
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
4462 PyObject *obj;
4463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4464 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4465 Py_INCREF(obj);
4466 return Py_BuildValue((char *)"");
4467 }
4468 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
4469 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4470 return 1;
4471 }
4472
4473
4474 static PyObject *_wrap_StaticBitmapNameStr_get() {
4475 PyObject *pyobj;
4476
4477 {
4478 #if wxUSE_UNICODE
4479 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4480 #else
4481 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4482 #endif
4483 }
4484 return pyobj;
4485 }
4486
4487
4488 static int _wrap_StaticBoxNameStr_set(PyObject *) {
4489 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4490 return 1;
4491 }
4492
4493
4494 static PyObject *_wrap_StaticBoxNameStr_get() {
4495 PyObject *pyobj;
4496
4497 {
4498 #if wxUSE_UNICODE
4499 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4500 #else
4501 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4502 #endif
4503 }
4504 return pyobj;
4505 }
4506
4507
4508 static int _wrap_StaticTextNameStr_set(PyObject *) {
4509 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4510 return 1;
4511 }
4512
4513
4514 static PyObject *_wrap_StaticTextNameStr_get() {
4515 PyObject *pyobj;
4516
4517 {
4518 #if wxUSE_UNICODE
4519 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4520 #else
4521 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4522 #endif
4523 }
4524 return pyobj;
4525 }
4526
4527
4528 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxWindow *arg1 = (wxWindow *) 0 ;
4531 int arg2 = (int) -1 ;
4532 wxString const &arg3_defvalue = wxPyEmptyString ;
4533 wxString *arg3 = (wxString *) &arg3_defvalue ;
4534 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4535 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4536 wxSize const &arg5_defvalue = wxDefaultSize ;
4537 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4538 long arg6 = (long) 0 ;
4539 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4540 wxString *arg7 = (wxString *) &arg7_defvalue ;
4541 wxStaticBox *result;
4542 bool temp3 = false ;
4543 wxPoint temp4 ;
4544 wxSize temp5 ;
4545 bool temp7 = false ;
4546 PyObject * obj0 = 0 ;
4547 PyObject * obj1 = 0 ;
4548 PyObject * obj2 = 0 ;
4549 PyObject * obj3 = 0 ;
4550 PyObject * obj4 = 0 ;
4551 PyObject * obj5 = 0 ;
4552 PyObject * obj6 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4560 if (obj1) {
4561 arg2 = (int)SWIG_As_int(obj1);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 if (obj2) {
4565 {
4566 arg3 = wxString_in_helper(obj2);
4567 if (arg3 == NULL) SWIG_fail;
4568 temp3 = true;
4569 }
4570 }
4571 if (obj3) {
4572 {
4573 arg4 = &temp4;
4574 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4575 }
4576 }
4577 if (obj4) {
4578 {
4579 arg5 = &temp5;
4580 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4581 }
4582 }
4583 if (obj5) {
4584 arg6 = (long)SWIG_As_long(obj5);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 if (obj6) {
4588 {
4589 arg7 = wxString_in_helper(obj6);
4590 if (arg7 == NULL) SWIG_fail;
4591 temp7 = true;
4592 }
4593 }
4594 {
4595 if (!wxPyCheckForApp()) SWIG_fail;
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4598
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
4603 {
4604 if (temp3)
4605 delete arg3;
4606 }
4607 {
4608 if (temp7)
4609 delete arg7;
4610 }
4611 return resultobj;
4612 fail:
4613 {
4614 if (temp3)
4615 delete arg3;
4616 }
4617 {
4618 if (temp7)
4619 delete arg7;
4620 }
4621 return NULL;
4622 }
4623
4624
4625 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4626 PyObject *resultobj;
4627 wxStaticBox *result;
4628 char *kwnames[] = {
4629 NULL
4630 };
4631
4632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4633 {
4634 if (!wxPyCheckForApp()) SWIG_fail;
4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
4636 result = (wxStaticBox *)new wxStaticBox();
4637
4638 wxPyEndAllowThreads(__tstate);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
4642 return resultobj;
4643 fail:
4644 return NULL;
4645 }
4646
4647
4648 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4649 PyObject *resultobj;
4650 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4651 wxWindow *arg2 = (wxWindow *) 0 ;
4652 int arg3 = (int) -1 ;
4653 wxString const &arg4_defvalue = wxPyEmptyString ;
4654 wxString *arg4 = (wxString *) &arg4_defvalue ;
4655 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4656 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4657 wxSize const &arg6_defvalue = wxDefaultSize ;
4658 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4659 long arg7 = (long) 0 ;
4660 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4661 wxString *arg8 = (wxString *) &arg8_defvalue ;
4662 bool result;
4663 bool temp4 = false ;
4664 wxPoint temp5 ;
4665 wxSize temp6 ;
4666 bool temp8 = false ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 PyObject * obj2 = 0 ;
4670 PyObject * obj3 = 0 ;
4671 PyObject * obj4 = 0 ;
4672 PyObject * obj5 = 0 ;
4673 PyObject * obj6 = 0 ;
4674 PyObject * obj7 = 0 ;
4675 char *kwnames[] = {
4676 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4677 };
4678
4679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4684 if (obj2) {
4685 arg3 = (int)SWIG_As_int(obj2);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4688 if (obj3) {
4689 {
4690 arg4 = wxString_in_helper(obj3);
4691 if (arg4 == NULL) SWIG_fail;
4692 temp4 = true;
4693 }
4694 }
4695 if (obj4) {
4696 {
4697 arg5 = &temp5;
4698 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4699 }
4700 }
4701 if (obj5) {
4702 {
4703 arg6 = &temp6;
4704 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4705 }
4706 }
4707 if (obj6) {
4708 arg7 = (long)SWIG_As_long(obj6);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 if (obj7) {
4712 {
4713 arg8 = wxString_in_helper(obj7);
4714 if (arg8 == NULL) SWIG_fail;
4715 temp8 = true;
4716 }
4717 }
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 {
4726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4727 }
4728 {
4729 if (temp4)
4730 delete arg4;
4731 }
4732 {
4733 if (temp8)
4734 delete arg8;
4735 }
4736 return resultobj;
4737 fail:
4738 {
4739 if (temp4)
4740 delete arg4;
4741 }
4742 {
4743 if (temp8)
4744 delete arg8;
4745 }
4746 return NULL;
4747 }
4748
4749
4750 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4751 PyObject *resultobj;
4752 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4753 wxVisualAttributes result;
4754 PyObject * obj0 = 0 ;
4755 char *kwnames[] = {
4756 (char *) "variant", NULL
4757 };
4758
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4760 if (obj0) {
4761 arg1 = (int)SWIG_As_int(obj0);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 {
4765 if (!wxPyCheckForApp()) SWIG_fail;
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 {
4773 wxVisualAttributes * resultptr;
4774 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4776 }
4777 return resultobj;
4778 fail:
4779 return NULL;
4780 }
4781
4782
4783 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
4784 PyObject *obj;
4785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4786 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4787 Py_INCREF(obj);
4788 return Py_BuildValue((char *)"");
4789 }
4790 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxWindow *arg1 = (wxWindow *) 0 ;
4793 int arg2 = (int) -1 ;
4794 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4795 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4796 wxSize const &arg4_defvalue = wxDefaultSize ;
4797 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4798 long arg5 = (long) wxLI_HORIZONTAL ;
4799 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4800 wxString *arg6 = (wxString *) &arg6_defvalue ;
4801 wxStaticLine *result;
4802 wxPoint temp3 ;
4803 wxSize temp4 ;
4804 bool temp6 = false ;
4805 PyObject * obj0 = 0 ;
4806 PyObject * obj1 = 0 ;
4807 PyObject * obj2 = 0 ;
4808 PyObject * obj3 = 0 ;
4809 PyObject * obj4 = 0 ;
4810 PyObject * obj5 = 0 ;
4811 char *kwnames[] = {
4812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4813 };
4814
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4818 if (obj1) {
4819 arg2 = (int)SWIG_As_int(obj1);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 if (obj2) {
4823 {
4824 arg3 = &temp3;
4825 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4826 }
4827 }
4828 if (obj3) {
4829 {
4830 arg4 = &temp4;
4831 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4832 }
4833 }
4834 if (obj4) {
4835 arg5 = (long)SWIG_As_long(obj4);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 if (obj5) {
4839 {
4840 arg6 = wxString_in_helper(obj5);
4841 if (arg6 == NULL) SWIG_fail;
4842 temp6 = true;
4843 }
4844 }
4845 {
4846 if (!wxPyCheckForApp()) SWIG_fail;
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
4853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4854 {
4855 if (temp6)
4856 delete arg6;
4857 }
4858 return resultobj;
4859 fail:
4860 {
4861 if (temp6)
4862 delete arg6;
4863 }
4864 return NULL;
4865 }
4866
4867
4868 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxStaticLine *result;
4871 char *kwnames[] = {
4872 NULL
4873 };
4874
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4876 {
4877 if (!wxPyCheckForApp()) SWIG_fail;
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 result = (wxStaticLine *)new wxStaticLine();
4880
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
4884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4885 return resultobj;
4886 fail:
4887 return NULL;
4888 }
4889
4890
4891 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj;
4893 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4894 wxWindow *arg2 = (wxWindow *) 0 ;
4895 int arg3 = (int) -1 ;
4896 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4897 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4898 wxSize const &arg5_defvalue = wxDefaultSize ;
4899 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4900 long arg6 = (long) wxLI_HORIZONTAL ;
4901 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4902 wxString *arg7 = (wxString *) &arg7_defvalue ;
4903 bool result;
4904 wxPoint temp4 ;
4905 wxSize temp5 ;
4906 bool temp7 = false ;
4907 PyObject * obj0 = 0 ;
4908 PyObject * obj1 = 0 ;
4909 PyObject * obj2 = 0 ;
4910 PyObject * obj3 = 0 ;
4911 PyObject * obj4 = 0 ;
4912 PyObject * obj5 = 0 ;
4913 PyObject * obj6 = 0 ;
4914 char *kwnames[] = {
4915 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4916 };
4917
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4923 if (obj2) {
4924 arg3 = (int)SWIG_As_int(obj2);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 if (obj3) {
4928 {
4929 arg4 = &temp4;
4930 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4931 }
4932 }
4933 if (obj4) {
4934 {
4935 arg5 = &temp5;
4936 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4937 }
4938 }
4939 if (obj5) {
4940 arg6 = (long)SWIG_As_long(obj5);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 if (obj6) {
4944 {
4945 arg7 = wxString_in_helper(obj6);
4946 if (arg7 == NULL) SWIG_fail;
4947 temp7 = true;
4948 }
4949 }
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 {
4958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4959 }
4960 {
4961 if (temp7)
4962 delete arg7;
4963 }
4964 return resultobj;
4965 fail:
4966 {
4967 if (temp7)
4968 delete arg7;
4969 }
4970 return NULL;
4971 }
4972
4973
4974 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4977 bool result;
4978 PyObject * obj0 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 {
4994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4995 }
4996 return resultobj;
4997 fail:
4998 return NULL;
4999 }
5000
5001
5002 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
5003 PyObject *resultobj;
5004 int result;
5005 char *kwnames[] = {
5006 NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (int)wxStaticLine::GetDefaultSize();
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 resultobj = SWIG_From_int((int)result);
5018 return resultobj;
5019 fail:
5020 return NULL;
5021 }
5022
5023
5024 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5025 PyObject *resultobj;
5026 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5027 wxVisualAttributes result;
5028 PyObject * obj0 = 0 ;
5029 char *kwnames[] = {
5030 (char *) "variant", NULL
5031 };
5032
5033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5034 if (obj0) {
5035 arg1 = (int)SWIG_As_int(obj0);
5036 if (PyErr_Occurred()) SWIG_fail;
5037 }
5038 {
5039 if (!wxPyCheckForApp()) SWIG_fail;
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
5042
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 }
5046 {
5047 wxVisualAttributes * resultptr;
5048 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5050 }
5051 return resultobj;
5052 fail:
5053 return NULL;
5054 }
5055
5056
5057 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
5058 PyObject *obj;
5059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5060 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
5061 Py_INCREF(obj);
5062 return Py_BuildValue((char *)"");
5063 }
5064 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj;
5066 wxWindow *arg1 = (wxWindow *) 0 ;
5067 int arg2 = (int) -1 ;
5068 wxString const &arg3_defvalue = wxPyEmptyString ;
5069 wxString *arg3 = (wxString *) &arg3_defvalue ;
5070 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5071 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5072 wxSize const &arg5_defvalue = wxDefaultSize ;
5073 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5074 long arg6 = (long) 0 ;
5075 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
5076 wxString *arg7 = (wxString *) &arg7_defvalue ;
5077 wxStaticText *result;
5078 bool temp3 = false ;
5079 wxPoint temp4 ;
5080 wxSize temp5 ;
5081 bool temp7 = false ;
5082 PyObject * obj0 = 0 ;
5083 PyObject * obj1 = 0 ;
5084 PyObject * obj2 = 0 ;
5085 PyObject * obj3 = 0 ;
5086 PyObject * obj4 = 0 ;
5087 PyObject * obj5 = 0 ;
5088 PyObject * obj6 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5096 if (obj1) {
5097 arg2 = (int)SWIG_As_int(obj1);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 if (obj2) {
5101 {
5102 arg3 = wxString_in_helper(obj2);
5103 if (arg3 == NULL) SWIG_fail;
5104 temp3 = true;
5105 }
5106 }
5107 if (obj3) {
5108 {
5109 arg4 = &temp4;
5110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5111 }
5112 }
5113 if (obj4) {
5114 {
5115 arg5 = &temp5;
5116 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5117 }
5118 }
5119 if (obj5) {
5120 arg6 = (long)SWIG_As_long(obj5);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 if (obj6) {
5124 {
5125 arg7 = wxString_in_helper(obj6);
5126 if (arg7 == NULL) SWIG_fail;
5127 temp7 = true;
5128 }
5129 }
5130 {
5131 if (!wxPyCheckForApp()) SWIG_fail;
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5134
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 }
5138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5139 {
5140 if (temp3)
5141 delete arg3;
5142 }
5143 {
5144 if (temp7)
5145 delete arg7;
5146 }
5147 return resultobj;
5148 fail:
5149 {
5150 if (temp3)
5151 delete arg3;
5152 }
5153 {
5154 if (temp7)
5155 delete arg7;
5156 }
5157 return NULL;
5158 }
5159
5160
5161 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj;
5163 wxStaticText *result;
5164 char *kwnames[] = {
5165 NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5169 {
5170 if (!wxPyCheckForApp()) SWIG_fail;
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = (wxStaticText *)new wxStaticText();
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5178 return resultobj;
5179 fail:
5180 return NULL;
5181 }
5182
5183
5184 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj;
5186 wxStaticText *arg1 = (wxStaticText *) 0 ;
5187 wxWindow *arg2 = (wxWindow *) 0 ;
5188 int arg3 = (int) -1 ;
5189 wxString const &arg4_defvalue = wxPyEmptyString ;
5190 wxString *arg4 = (wxString *) &arg4_defvalue ;
5191 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5192 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5193 wxSize const &arg6_defvalue = wxDefaultSize ;
5194 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5195 long arg7 = (long) 0 ;
5196 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5197 wxString *arg8 = (wxString *) &arg8_defvalue ;
5198 bool result;
5199 bool temp4 = false ;
5200 wxPoint temp5 ;
5201 wxSize temp6 ;
5202 bool temp8 = false ;
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 PyObject * obj2 = 0 ;
5206 PyObject * obj3 = 0 ;
5207 PyObject * obj4 = 0 ;
5208 PyObject * obj5 = 0 ;
5209 PyObject * obj6 = 0 ;
5210 PyObject * obj7 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5220 if (obj2) {
5221 arg3 = (int)SWIG_As_int(obj2);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 if (obj3) {
5225 {
5226 arg4 = wxString_in_helper(obj3);
5227 if (arg4 == NULL) SWIG_fail;
5228 temp4 = true;
5229 }
5230 }
5231 if (obj4) {
5232 {
5233 arg5 = &temp5;
5234 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5235 }
5236 }
5237 if (obj5) {
5238 {
5239 arg6 = &temp6;
5240 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5241 }
5242 }
5243 if (obj6) {
5244 arg7 = (long)SWIG_As_long(obj6);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 if (obj7) {
5248 {
5249 arg8 = wxString_in_helper(obj7);
5250 if (arg8 == NULL) SWIG_fail;
5251 temp8 = true;
5252 }
5253 }
5254 {
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5257
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 {
5262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5263 }
5264 {
5265 if (temp4)
5266 delete arg4;
5267 }
5268 {
5269 if (temp8)
5270 delete arg8;
5271 }
5272 return resultobj;
5273 fail:
5274 {
5275 if (temp4)
5276 delete arg4;
5277 }
5278 {
5279 if (temp8)
5280 delete arg8;
5281 }
5282 return NULL;
5283 }
5284
5285
5286 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj;
5288 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5289 wxVisualAttributes result;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "variant", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5296 if (obj0) {
5297 arg1 = (int)SWIG_As_int(obj0);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 {
5301 if (!wxPyCheckForApp()) SWIG_fail;
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 }
5308 {
5309 wxVisualAttributes * resultptr;
5310 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5311 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5312 }
5313 return resultobj;
5314 fail:
5315 return NULL;
5316 }
5317
5318
5319 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
5320 PyObject *obj;
5321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5322 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5323 Py_INCREF(obj);
5324 return Py_BuildValue((char *)"");
5325 }
5326 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj;
5328 wxWindow *arg1 = (wxWindow *) 0 ;
5329 int arg2 = (int) -1 ;
5330 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5331 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
5332 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5333 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5334 wxSize const &arg5_defvalue = wxDefaultSize ;
5335 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5336 long arg6 = (long) 0 ;
5337 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5338 wxString *arg7 = (wxString *) &arg7_defvalue ;
5339 wxStaticBitmap *result;
5340 wxPoint temp4 ;
5341 wxSize temp5 ;
5342 bool temp7 = false ;
5343 PyObject * obj0 = 0 ;
5344 PyObject * obj1 = 0 ;
5345 PyObject * obj2 = 0 ;
5346 PyObject * obj3 = 0 ;
5347 PyObject * obj4 = 0 ;
5348 PyObject * obj5 = 0 ;
5349 PyObject * obj6 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5357 if (obj1) {
5358 arg2 = (int)SWIG_As_int(obj1);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 if (obj2) {
5362 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5363 SWIG_POINTER_EXCEPTION | 0)) == -1)
5364 SWIG_fail;
5365 if (arg3 == NULL) {
5366 PyErr_SetString(PyExc_TypeError,"null reference");
5367 SWIG_fail;
5368 }
5369 }
5370 if (obj3) {
5371 {
5372 arg4 = &temp4;
5373 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5374 }
5375 }
5376 if (obj4) {
5377 {
5378 arg5 = &temp5;
5379 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5380 }
5381 }
5382 if (obj5) {
5383 arg6 = (long)SWIG_As_long(obj5);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 if (obj6) {
5387 {
5388 arg7 = wxString_in_helper(obj6);
5389 if (arg7 == NULL) SWIG_fail;
5390 temp7 = true;
5391 }
5392 }
5393 {
5394 if (!wxPyCheckForApp()) SWIG_fail;
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5397
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5402 {
5403 if (temp7)
5404 delete arg7;
5405 }
5406 return resultobj;
5407 fail:
5408 {
5409 if (temp7)
5410 delete arg7;
5411 }
5412 return NULL;
5413 }
5414
5415
5416 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5417 PyObject *resultobj;
5418 wxStaticBitmap *result;
5419 char *kwnames[] = {
5420 NULL
5421 };
5422
5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5424 {
5425 if (!wxPyCheckForApp()) SWIG_fail;
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = (wxStaticBitmap *)new wxStaticBitmap();
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5433 return resultobj;
5434 fail:
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5442 wxWindow *arg2 = (wxWindow *) 0 ;
5443 int arg3 = (int) -1 ;
5444 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5445 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
5446 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5447 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5448 wxSize const &arg6_defvalue = wxDefaultSize ;
5449 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5450 long arg7 = (long) 0 ;
5451 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5452 wxString *arg8 = (wxString *) &arg8_defvalue ;
5453 bool result;
5454 wxPoint temp5 ;
5455 wxSize temp6 ;
5456 bool temp8 = false ;
5457 PyObject * obj0 = 0 ;
5458 PyObject * obj1 = 0 ;
5459 PyObject * obj2 = 0 ;
5460 PyObject * obj3 = 0 ;
5461 PyObject * obj4 = 0 ;
5462 PyObject * obj5 = 0 ;
5463 PyObject * obj6 = 0 ;
5464 PyObject * obj7 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5474 if (obj2) {
5475 arg3 = (int)SWIG_As_int(obj2);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 if (obj3) {
5479 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5480 SWIG_POINTER_EXCEPTION | 0)) == -1)
5481 SWIG_fail;
5482 if (arg4 == NULL) {
5483 PyErr_SetString(PyExc_TypeError,"null reference");
5484 SWIG_fail;
5485 }
5486 }
5487 if (obj4) {
5488 {
5489 arg5 = &temp5;
5490 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5491 }
5492 }
5493 if (obj5) {
5494 {
5495 arg6 = &temp6;
5496 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5497 }
5498 }
5499 if (obj6) {
5500 arg7 = (long)SWIG_As_long(obj6);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 if (obj7) {
5504 {
5505 arg8 = wxString_in_helper(obj7);
5506 if (arg8 == NULL) SWIG_fail;
5507 temp8 = true;
5508 }
5509 }
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5513
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5519 }
5520 {
5521 if (temp8)
5522 delete arg8;
5523 }
5524 return resultobj;
5525 fail:
5526 {
5527 if (temp8)
5528 delete arg8;
5529 }
5530 return NULL;
5531 }
5532
5533
5534 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5535 PyObject *resultobj;
5536 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5537 wxBitmap result;
5538 PyObject * obj0 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (arg1)->GetBitmap();
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 {
5554 wxBitmap * resultptr;
5555 resultptr = new wxBitmap((wxBitmap &) result);
5556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5557 }
5558 return resultobj;
5559 fail:
5560 return NULL;
5561 }
5562
5563
5564 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5565 PyObject *resultobj;
5566 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5567 wxBitmap *arg2 = 0 ;
5568 PyObject * obj0 = 0 ;
5569 PyObject * obj1 = 0 ;
5570 char *kwnames[] = {
5571 (char *) "self",(char *) "bitmap", NULL
5572 };
5573
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5578 SWIG_POINTER_EXCEPTION | 0)) == -1)
5579 SWIG_fail;
5580 if (arg2 == NULL) {
5581 PyErr_SetString(PyExc_TypeError,"null reference");
5582 SWIG_fail;
5583 }
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 Py_INCREF(Py_None); resultobj = Py_None;
5592 return resultobj;
5593 fail:
5594 return NULL;
5595 }
5596
5597
5598 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj;
5600 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5601 wxIcon *arg2 = 0 ;
5602 PyObject * obj0 = 0 ;
5603 PyObject * obj1 = 0 ;
5604 char *kwnames[] = {
5605 (char *) "self",(char *) "icon", NULL
5606 };
5607
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1)
5613 SWIG_fail;
5614 if (arg2 == NULL) {
5615 PyErr_SetString(PyExc_TypeError,"null reference");
5616 SWIG_fail;
5617 }
5618 {
5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5620 (arg1)->SetIcon((wxIcon const &)*arg2);
5621
5622 wxPyEndAllowThreads(__tstate);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 }
5625 Py_INCREF(Py_None); resultobj = Py_None;
5626 return resultobj;
5627 fail:
5628 return NULL;
5629 }
5630
5631
5632 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5633 PyObject *resultobj;
5634 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5635 wxVisualAttributes result;
5636 PyObject * obj0 = 0 ;
5637 char *kwnames[] = {
5638 (char *) "variant", NULL
5639 };
5640
5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5642 if (obj0) {
5643 arg1 = (int)SWIG_As_int(obj0);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 {
5647 if (!wxPyCheckForApp()) SWIG_fail;
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 {
5655 wxVisualAttributes * resultptr;
5656 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5658 }
5659 return resultobj;
5660 fail:
5661 return NULL;
5662 }
5663
5664
5665 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
5666 PyObject *obj;
5667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5668 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5669 Py_INCREF(obj);
5670 return Py_BuildValue((char *)"");
5671 }
5672 static int _wrap_ListBoxNameStr_set(PyObject *) {
5673 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5674 return 1;
5675 }
5676
5677
5678 static PyObject *_wrap_ListBoxNameStr_get() {
5679 PyObject *pyobj;
5680
5681 {
5682 #if wxUSE_UNICODE
5683 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5684 #else
5685 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5686 #endif
5687 }
5688 return pyobj;
5689 }
5690
5691
5692 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxWindow *arg1 = (wxWindow *) 0 ;
5695 int arg2 = (int) -1 ;
5696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5698 wxSize const &arg4_defvalue = wxDefaultSize ;
5699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5700 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5701 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5702 long arg6 = (long) 0 ;
5703 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5704 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5705 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5706 wxString *arg8 = (wxString *) &arg8_defvalue ;
5707 wxListBox *result;
5708 wxPoint temp3 ;
5709 wxSize temp4 ;
5710 bool temp5 = false ;
5711 bool temp8 = false ;
5712 PyObject * obj0 = 0 ;
5713 PyObject * obj1 = 0 ;
5714 PyObject * obj2 = 0 ;
5715 PyObject * obj3 = 0 ;
5716 PyObject * obj4 = 0 ;
5717 PyObject * obj5 = 0 ;
5718 PyObject * obj6 = 0 ;
5719 PyObject * obj7 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5727 if (obj1) {
5728 arg2 = (int)SWIG_As_int(obj1);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 if (obj2) {
5732 {
5733 arg3 = &temp3;
5734 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5735 }
5736 }
5737 if (obj3) {
5738 {
5739 arg4 = &temp4;
5740 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5741 }
5742 }
5743 if (obj4) {
5744 {
5745 if (! PySequence_Check(obj4)) {
5746 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5747 SWIG_fail;
5748 }
5749 arg5 = new wxArrayString;
5750 temp5 = true;
5751 int i, len=PySequence_Length(obj4);
5752 for (i=0; i<len; i++) {
5753 PyObject* item = PySequence_GetItem(obj4, i);
5754 #if wxUSE_UNICODE
5755 PyObject* str = PyObject_Unicode(item);
5756 #else
5757 PyObject* str = PyObject_Str(item);
5758 #endif
5759 if (PyErr_Occurred()) SWIG_fail;
5760 arg5->Add(Py2wxString(str));
5761 Py_DECREF(item);
5762 Py_DECREF(str);
5763 }
5764 }
5765 }
5766 if (obj5) {
5767 arg6 = (long)SWIG_As_long(obj5);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 if (obj6) {
5771 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5772 SWIG_POINTER_EXCEPTION | 0)) == -1)
5773 SWIG_fail;
5774 if (arg7 == NULL) {
5775 PyErr_SetString(PyExc_TypeError,"null reference");
5776 SWIG_fail;
5777 }
5778 }
5779 if (obj7) {
5780 {
5781 arg8 = wxString_in_helper(obj7);
5782 if (arg8 == NULL) SWIG_fail;
5783 temp8 = true;
5784 }
5785 }
5786 {
5787 if (!wxPyCheckForApp()) SWIG_fail;
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5795 {
5796 if (temp5) delete arg5;
5797 }
5798 {
5799 if (temp8)
5800 delete arg8;
5801 }
5802 return resultobj;
5803 fail:
5804 {
5805 if (temp5) delete arg5;
5806 }
5807 {
5808 if (temp8)
5809 delete arg8;
5810 }
5811 return NULL;
5812 }
5813
5814
5815 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5816 PyObject *resultobj;
5817 wxListBox *result;
5818 char *kwnames[] = {
5819 NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5823 {
5824 if (!wxPyCheckForApp()) SWIG_fail;
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (wxListBox *)new wxListBox();
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxListBox *arg1 = (wxListBox *) 0 ;
5841 wxWindow *arg2 = (wxWindow *) 0 ;
5842 int arg3 = (int) -1 ;
5843 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5844 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5845 wxSize const &arg5_defvalue = wxDefaultSize ;
5846 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5847 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5848 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5849 long arg7 = (long) 0 ;
5850 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5851 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5852 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5853 wxString *arg9 = (wxString *) &arg9_defvalue ;
5854 bool result;
5855 wxPoint temp4 ;
5856 wxSize temp5 ;
5857 bool temp6 = false ;
5858 bool temp9 = false ;
5859 PyObject * obj0 = 0 ;
5860 PyObject * obj1 = 0 ;
5861 PyObject * obj2 = 0 ;
5862 PyObject * obj3 = 0 ;
5863 PyObject * obj4 = 0 ;
5864 PyObject * obj5 = 0 ;
5865 PyObject * obj6 = 0 ;
5866 PyObject * obj7 = 0 ;
5867 PyObject * obj8 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5877 if (obj2) {
5878 arg3 = (int)SWIG_As_int(obj2);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 if (obj3) {
5882 {
5883 arg4 = &temp4;
5884 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5885 }
5886 }
5887 if (obj4) {
5888 {
5889 arg5 = &temp5;
5890 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5891 }
5892 }
5893 if (obj5) {
5894 {
5895 if (! PySequence_Check(obj5)) {
5896 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5897 SWIG_fail;
5898 }
5899 arg6 = new wxArrayString;
5900 temp6 = true;
5901 int i, len=PySequence_Length(obj5);
5902 for (i=0; i<len; i++) {
5903 PyObject* item = PySequence_GetItem(obj5, i);
5904 #if wxUSE_UNICODE
5905 PyObject* str = PyObject_Unicode(item);
5906 #else
5907 PyObject* str = PyObject_Str(item);
5908 #endif
5909 if (PyErr_Occurred()) SWIG_fail;
5910 arg6->Add(Py2wxString(str));
5911 Py_DECREF(item);
5912 Py_DECREF(str);
5913 }
5914 }
5915 }
5916 if (obj6) {
5917 arg7 = (long)SWIG_As_long(obj6);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 if (obj7) {
5921 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5922 SWIG_POINTER_EXCEPTION | 0)) == -1)
5923 SWIG_fail;
5924 if (arg8 == NULL) {
5925 PyErr_SetString(PyExc_TypeError,"null reference");
5926 SWIG_fail;
5927 }
5928 }
5929 if (obj8) {
5930 {
5931 arg9 = wxString_in_helper(obj8);
5932 if (arg9 == NULL) SWIG_fail;
5933 temp9 = true;
5934 }
5935 }
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5939
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
5943 {
5944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5945 }
5946 {
5947 if (temp6) delete arg6;
5948 }
5949 {
5950 if (temp9)
5951 delete arg9;
5952 }
5953 return resultobj;
5954 fail:
5955 {
5956 if (temp6) delete arg6;
5957 }
5958 {
5959 if (temp9)
5960 delete arg9;
5961 }
5962 return NULL;
5963 }
5964
5965
5966 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
5967 PyObject *resultobj;
5968 wxListBox *arg1 = (wxListBox *) 0 ;
5969 wxString *arg2 = 0 ;
5970 int arg3 ;
5971 PyObject *arg4 = (PyObject *) NULL ;
5972 bool temp2 = false ;
5973 PyObject * obj0 = 0 ;
5974 PyObject * obj1 = 0 ;
5975 PyObject * obj2 = 0 ;
5976 PyObject * obj3 = 0 ;
5977 char *kwnames[] = {
5978 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5984 {
5985 arg2 = wxString_in_helper(obj1);
5986 if (arg2 == NULL) SWIG_fail;
5987 temp2 = true;
5988 }
5989 arg3 = (int)SWIG_As_int(obj2);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 if (obj3) {
5992 arg4 = obj3;
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 {
6003 if (temp2)
6004 delete arg2;
6005 }
6006 return resultobj;
6007 fail:
6008 {
6009 if (temp2)
6010 delete arg2;
6011 }
6012 return NULL;
6013 }
6014
6015
6016 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxListBox *arg1 = (wxListBox *) 0 ;
6019 wxArrayString *arg2 = 0 ;
6020 int arg3 ;
6021 bool temp2 = false ;
6022 PyObject * obj0 = 0 ;
6023 PyObject * obj1 = 0 ;
6024 PyObject * obj2 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self",(char *) "items",(char *) "pos", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6032 {
6033 if (! PySequence_Check(obj1)) {
6034 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6035 SWIG_fail;
6036 }
6037 arg2 = new wxArrayString;
6038 temp2 = true;
6039 int i, len=PySequence_Length(obj1);
6040 for (i=0; i<len; i++) {
6041 PyObject* item = PySequence_GetItem(obj1, i);
6042 #if wxUSE_UNICODE
6043 PyObject* str = PyObject_Unicode(item);
6044 #else
6045 PyObject* str = PyObject_Str(item);
6046 #endif
6047 if (PyErr_Occurred()) SWIG_fail;
6048 arg2->Add(Py2wxString(str));
6049 Py_DECREF(item);
6050 Py_DECREF(str);
6051 }
6052 }
6053 arg3 = (int)SWIG_As_int(obj2);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 Py_INCREF(Py_None); resultobj = Py_None;
6063 {
6064 if (temp2) delete arg2;
6065 }
6066 return resultobj;
6067 fail:
6068 {
6069 if (temp2) delete arg2;
6070 }
6071 return NULL;
6072 }
6073
6074
6075 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj;
6077 wxListBox *arg1 = (wxListBox *) 0 ;
6078 wxArrayString *arg2 = 0 ;
6079 bool temp2 = false ;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 char *kwnames[] = {
6083 (char *) "self",(char *) "items", NULL
6084 };
6085
6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
6087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6089 {
6090 if (! PySequence_Check(obj1)) {
6091 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6092 SWIG_fail;
6093 }
6094 arg2 = new wxArrayString;
6095 temp2 = true;
6096 int i, len=PySequence_Length(obj1);
6097 for (i=0; i<len; i++) {
6098 PyObject* item = PySequence_GetItem(obj1, i);
6099 #if wxUSE_UNICODE
6100 PyObject* str = PyObject_Unicode(item);
6101 #else
6102 PyObject* str = PyObject_Str(item);
6103 #endif
6104 if (PyErr_Occurred()) SWIG_fail;
6105 arg2->Add(Py2wxString(str));
6106 Py_DECREF(item);
6107 Py_DECREF(str);
6108 }
6109 }
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 (arg1)->Set((wxArrayString const &)*arg2);
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 Py_INCREF(Py_None); resultobj = Py_None;
6118 {
6119 if (temp2) delete arg2;
6120 }
6121 return resultobj;
6122 fail:
6123 {
6124 if (temp2) delete arg2;
6125 }
6126 return NULL;
6127 }
6128
6129
6130 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj;
6132 wxListBox *arg1 = (wxListBox *) 0 ;
6133 int arg2 ;
6134 bool result;
6135 PyObject * obj0 = 0 ;
6136 PyObject * obj1 = 0 ;
6137 char *kwnames[] = {
6138 (char *) "self",(char *) "n", NULL
6139 };
6140
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6144 arg2 = (int)SWIG_As_int(obj1);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 {
6154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6155 }
6156 return resultobj;
6157 fail:
6158 return NULL;
6159 }
6160
6161
6162 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
6163 PyObject *resultobj;
6164 wxListBox *arg1 = (wxListBox *) 0 ;
6165 int arg2 ;
6166 bool arg3 = (bool) true ;
6167 PyObject * obj0 = 0 ;
6168 PyObject * obj1 = 0 ;
6169 PyObject * obj2 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self",(char *) "n",(char *) "select", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6177 arg2 = (int)SWIG_As_int(obj1);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 if (obj2) {
6180 arg3 = (bool)SWIG_As_bool(obj2);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 (arg1)->SetSelection(arg2,arg3);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 Py_INCREF(Py_None); resultobj = Py_None;
6191 return resultobj;
6192 fail:
6193 return NULL;
6194 }
6195
6196
6197 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 wxListBox *arg1 = (wxListBox *) 0 ;
6200 int arg2 ;
6201 PyObject * obj0 = 0 ;
6202 PyObject * obj1 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "self",(char *) "n", NULL
6205 };
6206
6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6210 arg2 = (int)SWIG_As_int(obj1);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 (arg1)->Select(arg2);
6215
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 Py_INCREF(Py_None); resultobj = Py_None;
6220 return resultobj;
6221 fail:
6222 return NULL;
6223 }
6224
6225
6226 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxListBox *arg1 = (wxListBox *) 0 ;
6229 int arg2 ;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "n", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 arg2 = (int)SWIG_As_int(obj1);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->Deselect(arg2);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 Py_INCREF(Py_None); resultobj = Py_None;
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxListBox *arg1 = (wxListBox *) 0 ;
6258 int arg2 = (int) -1 ;
6259 PyObject * obj0 = 0 ;
6260 PyObject * obj1 = 0 ;
6261 char *kwnames[] = {
6262 (char *) "self",(char *) "itemToLeaveSelected", NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 if (obj1) {
6269 arg2 = (int)SWIG_As_int(obj1);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 (arg1)->DeselectAll(arg2);
6275
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 Py_INCREF(Py_None); resultobj = Py_None;
6280 return resultobj;
6281 fail:
6282 return NULL;
6283 }
6284
6285
6286 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
6287 PyObject *resultobj;
6288 wxListBox *arg1 = (wxListBox *) 0 ;
6289 wxString *arg2 = 0 ;
6290 bool arg3 = (bool) true ;
6291 bool result;
6292 bool temp2 = false ;
6293 PyObject * obj0 = 0 ;
6294 PyObject * obj1 = 0 ;
6295 PyObject * obj2 = 0 ;
6296 char *kwnames[] = {
6297 (char *) "self",(char *) "s",(char *) "select", NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6303 {
6304 arg2 = wxString_in_helper(obj1);
6305 if (arg2 == NULL) SWIG_fail;
6306 temp2 = true;
6307 }
6308 if (obj2) {
6309 arg3 = (bool)SWIG_As_bool(obj2);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 {
6320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6321 }
6322 {
6323 if (temp2)
6324 delete arg2;
6325 }
6326 return resultobj;
6327 fail:
6328 {
6329 if (temp2)
6330 delete arg2;
6331 }
6332 return NULL;
6333 }
6334
6335
6336 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
6337 PyObject *resultobj;
6338 wxListBox *arg1 = (wxListBox *) 0 ;
6339 PyObject *result;
6340 PyObject * obj0 = 0 ;
6341 char *kwnames[] = {
6342 (char *) "self", NULL
6343 };
6344
6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6348 {
6349 PyThreadState* __tstate = wxPyBeginAllowThreads();
6350 result = (PyObject *)wxListBox_GetSelections(arg1);
6351
6352 wxPyEndAllowThreads(__tstate);
6353 if (PyErr_Occurred()) SWIG_fail;
6354 }
6355 resultobj = result;
6356 return resultobj;
6357 fail:
6358 return NULL;
6359 }
6360
6361
6362 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj;
6364 wxListBox *arg1 = (wxListBox *) 0 ;
6365 int arg2 ;
6366 PyObject * obj0 = 0 ;
6367 PyObject * obj1 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self",(char *) "n", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6375 arg2 = (int)SWIG_As_int(obj1);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 {
6378 PyThreadState* __tstate = wxPyBeginAllowThreads();
6379 (arg1)->SetFirstItem(arg2);
6380
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 Py_INCREF(Py_None); resultobj = Py_None;
6385 return resultobj;
6386 fail:
6387 return NULL;
6388 }
6389
6390
6391 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj;
6393 wxListBox *arg1 = (wxListBox *) 0 ;
6394 wxString *arg2 = 0 ;
6395 bool temp2 = false ;
6396 PyObject * obj0 = 0 ;
6397 PyObject * obj1 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "self",(char *) "s", NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6405 {
6406 arg2 = wxString_in_helper(obj1);
6407 if (arg2 == NULL) SWIG_fail;
6408 temp2 = true;
6409 }
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 (arg1)->SetFirstItem((wxString const &)*arg2);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 Py_INCREF(Py_None); resultobj = Py_None;
6418 {
6419 if (temp2)
6420 delete arg2;
6421 }
6422 return resultobj;
6423 fail:
6424 {
6425 if (temp2)
6426 delete arg2;
6427 }
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxListBox *arg1 = (wxListBox *) 0 ;
6435 int arg2 ;
6436 PyObject * obj0 = 0 ;
6437 PyObject * obj1 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self",(char *) "n", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6445 arg2 = (int)SWIG_As_int(obj1);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 (arg1)->EnsureVisible(arg2);
6450
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 Py_INCREF(Py_None); resultobj = Py_None;
6455 return resultobj;
6456 fail:
6457 return NULL;
6458 }
6459
6460
6461 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6462 PyObject *resultobj;
6463 wxListBox *arg1 = (wxListBox *) 0 ;
6464 wxString *arg2 = 0 ;
6465 bool temp2 = false ;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self",(char *) "s", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6475 {
6476 arg2 = wxString_in_helper(obj1);
6477 if (arg2 == NULL) SWIG_fail;
6478 temp2 = true;
6479 }
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 Py_INCREF(Py_None); resultobj = Py_None;
6488 {
6489 if (temp2)
6490 delete arg2;
6491 }
6492 return resultobj;
6493 fail:
6494 {
6495 if (temp2)
6496 delete arg2;
6497 }
6498 return NULL;
6499 }
6500
6501
6502 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
6503 PyObject *resultobj;
6504 wxListBox *arg1 = (wxListBox *) 0 ;
6505 bool result;
6506 PyObject * obj0 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self", NULL
6509 };
6510
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6514 {
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 result = (bool)((wxListBox const *)arg1)->IsSorted();
6517
6518 wxPyEndAllowThreads(__tstate);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
6521 {
6522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6523 }
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 wxListBox *arg1 = (wxListBox *) 0 ;
6533 int arg2 ;
6534 wxColour *arg3 = 0 ;
6535 wxColour temp3 ;
6536 PyObject * obj0 = 0 ;
6537 PyObject * obj1 = 0 ;
6538 PyObject * obj2 = 0 ;
6539 char *kwnames[] = {
6540 (char *) "self",(char *) "item",(char *) "c", NULL
6541 };
6542
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6546 arg2 = (int)SWIG_As_int(obj1);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 {
6549 arg3 = &temp3;
6550 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6551 }
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 Py_INCREF(Py_None); resultobj = Py_None;
6560 return resultobj;
6561 fail:
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxListBox *arg1 = (wxListBox *) 0 ;
6569 int arg2 ;
6570 wxColour *arg3 = 0 ;
6571 wxColour temp3 ;
6572 PyObject * obj0 = 0 ;
6573 PyObject * obj1 = 0 ;
6574 PyObject * obj2 = 0 ;
6575 char *kwnames[] = {
6576 (char *) "self",(char *) "item",(char *) "c", NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6582 arg2 = (int)SWIG_As_int(obj1);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 {
6585 arg3 = &temp3;
6586 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6587 }
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6591
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 Py_INCREF(Py_None); resultobj = Py_None;
6596 return resultobj;
6597 fail:
6598 return NULL;
6599 }
6600
6601
6602 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
6603 PyObject *resultobj;
6604 wxListBox *arg1 = (wxListBox *) 0 ;
6605 int arg2 ;
6606 wxFont *arg3 = 0 ;
6607 PyObject * obj0 = 0 ;
6608 PyObject * obj1 = 0 ;
6609 PyObject * obj2 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self",(char *) "item",(char *) "f", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6617 arg2 = (int)SWIG_As_int(obj1);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6620 SWIG_POINTER_EXCEPTION | 0)) == -1)
6621 SWIG_fail;
6622 if (arg3 == NULL) {
6623 PyErr_SetString(PyExc_TypeError,"null reference");
6624 SWIG_fail;
6625 }
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6629
6630 wxPyEndAllowThreads(__tstate);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 Py_INCREF(Py_None); resultobj = Py_None;
6634 return resultobj;
6635 fail:
6636 return NULL;
6637 }
6638
6639
6640 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6641 PyObject *resultobj;
6642 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6643 wxVisualAttributes result;
6644 PyObject * obj0 = 0 ;
6645 char *kwnames[] = {
6646 (char *) "variant", NULL
6647 };
6648
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6650 if (obj0) {
6651 arg1 = (int)SWIG_As_int(obj0);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 {
6655 if (!wxPyCheckForApp()) SWIG_fail;
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 {
6663 wxVisualAttributes * resultptr;
6664 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6666 }
6667 return resultobj;
6668 fail:
6669 return NULL;
6670 }
6671
6672
6673 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
6674 PyObject *obj;
6675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6676 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6677 Py_INCREF(obj);
6678 return Py_BuildValue((char *)"");
6679 }
6680 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxWindow *arg1 = (wxWindow *) 0 ;
6683 int arg2 = (int) -1 ;
6684 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6685 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6686 wxSize const &arg4_defvalue = wxDefaultSize ;
6687 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6688 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6689 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6690 long arg6 = (long) 0 ;
6691 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6692 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6693 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6694 wxString *arg8 = (wxString *) &arg8_defvalue ;
6695 wxCheckListBox *result;
6696 wxPoint temp3 ;
6697 wxSize temp4 ;
6698 bool temp5 = false ;
6699 bool temp8 = false ;
6700 PyObject * obj0 = 0 ;
6701 PyObject * obj1 = 0 ;
6702 PyObject * obj2 = 0 ;
6703 PyObject * obj3 = 0 ;
6704 PyObject * obj4 = 0 ;
6705 PyObject * obj5 = 0 ;
6706 PyObject * obj6 = 0 ;
6707 PyObject * obj7 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6715 if (obj1) {
6716 arg2 = (int)SWIG_As_int(obj1);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 if (obj2) {
6720 {
6721 arg3 = &temp3;
6722 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6723 }
6724 }
6725 if (obj3) {
6726 {
6727 arg4 = &temp4;
6728 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6729 }
6730 }
6731 if (obj4) {
6732 {
6733 if (! PySequence_Check(obj4)) {
6734 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6735 SWIG_fail;
6736 }
6737 arg5 = new wxArrayString;
6738 temp5 = true;
6739 int i, len=PySequence_Length(obj4);
6740 for (i=0; i<len; i++) {
6741 PyObject* item = PySequence_GetItem(obj4, i);
6742 #if wxUSE_UNICODE
6743 PyObject* str = PyObject_Unicode(item);
6744 #else
6745 PyObject* str = PyObject_Str(item);
6746 #endif
6747 if (PyErr_Occurred()) SWIG_fail;
6748 arg5->Add(Py2wxString(str));
6749 Py_DECREF(item);
6750 Py_DECREF(str);
6751 }
6752 }
6753 }
6754 if (obj5) {
6755 arg6 = (long)SWIG_As_long(obj5);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 if (obj6) {
6759 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6760 SWIG_POINTER_EXCEPTION | 0)) == -1)
6761 SWIG_fail;
6762 if (arg7 == NULL) {
6763 PyErr_SetString(PyExc_TypeError,"null reference");
6764 SWIG_fail;
6765 }
6766 }
6767 if (obj7) {
6768 {
6769 arg8 = wxString_in_helper(obj7);
6770 if (arg8 == NULL) SWIG_fail;
6771 temp8 = true;
6772 }
6773 }
6774 {
6775 if (!wxPyCheckForApp()) SWIG_fail;
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6778
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6783 {
6784 if (temp5) delete arg5;
6785 }
6786 {
6787 if (temp8)
6788 delete arg8;
6789 }
6790 return resultobj;
6791 fail:
6792 {
6793 if (temp5) delete arg5;
6794 }
6795 {
6796 if (temp8)
6797 delete arg8;
6798 }
6799 return NULL;
6800 }
6801
6802
6803 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6804 PyObject *resultobj;
6805 wxCheckListBox *result;
6806 char *kwnames[] = {
6807 NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6811 {
6812 if (!wxPyCheckForApp()) SWIG_fail;
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 result = (wxCheckListBox *)new wxCheckListBox();
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6829 wxWindow *arg2 = (wxWindow *) 0 ;
6830 int arg3 = (int) -1 ;
6831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6833 wxSize const &arg5_defvalue = wxDefaultSize ;
6834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6835 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6836 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6837 long arg7 = (long) 0 ;
6838 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6839 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6840 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6841 wxString *arg9 = (wxString *) &arg9_defvalue ;
6842 bool result;
6843 wxPoint temp4 ;
6844 wxSize temp5 ;
6845 bool temp6 = false ;
6846 bool temp9 = false ;
6847 PyObject * obj0 = 0 ;
6848 PyObject * obj1 = 0 ;
6849 PyObject * obj2 = 0 ;
6850 PyObject * obj3 = 0 ;
6851 PyObject * obj4 = 0 ;
6852 PyObject * obj5 = 0 ;
6853 PyObject * obj6 = 0 ;
6854 PyObject * obj7 = 0 ;
6855 PyObject * obj8 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6865 if (obj2) {
6866 arg3 = (int)SWIG_As_int(obj2);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 if (obj3) {
6870 {
6871 arg4 = &temp4;
6872 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6873 }
6874 }
6875 if (obj4) {
6876 {
6877 arg5 = &temp5;
6878 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6879 }
6880 }
6881 if (obj5) {
6882 {
6883 if (! PySequence_Check(obj5)) {
6884 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6885 SWIG_fail;
6886 }
6887 arg6 = new wxArrayString;
6888 temp6 = true;
6889 int i, len=PySequence_Length(obj5);
6890 for (i=0; i<len; i++) {
6891 PyObject* item = PySequence_GetItem(obj5, i);
6892 #if wxUSE_UNICODE
6893 PyObject* str = PyObject_Unicode(item);
6894 #else
6895 PyObject* str = PyObject_Str(item);
6896 #endif
6897 if (PyErr_Occurred()) SWIG_fail;
6898 arg6->Add(Py2wxString(str));
6899 Py_DECREF(item);
6900 Py_DECREF(str);
6901 }
6902 }
6903 }
6904 if (obj6) {
6905 arg7 = (long)SWIG_As_long(obj6);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 if (obj7) {
6909 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6910 SWIG_POINTER_EXCEPTION | 0)) == -1)
6911 SWIG_fail;
6912 if (arg8 == NULL) {
6913 PyErr_SetString(PyExc_TypeError,"null reference");
6914 SWIG_fail;
6915 }
6916 }
6917 if (obj8) {
6918 {
6919 arg9 = wxString_in_helper(obj8);
6920 if (arg9 == NULL) SWIG_fail;
6921 temp9 = true;
6922 }
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 {
6932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6933 }
6934 {
6935 if (temp6) delete arg6;
6936 }
6937 {
6938 if (temp9)
6939 delete arg9;
6940 }
6941 return resultobj;
6942 fail:
6943 {
6944 if (temp6) delete arg6;
6945 }
6946 {
6947 if (temp9)
6948 delete arg9;
6949 }
6950 return NULL;
6951 }
6952
6953
6954 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj;
6956 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6957 int arg2 ;
6958 bool result;
6959 PyObject * obj0 = 0 ;
6960 PyObject * obj1 = 0 ;
6961 char *kwnames[] = {
6962 (char *) "self",(char *) "index", NULL
6963 };
6964
6965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6968 arg2 = (int)SWIG_As_int(obj1);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (bool)(arg1)->IsChecked(arg2);
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 {
6978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6979 }
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6989 int arg2 ;
6990 int arg3 = (int) true ;
6991 PyObject * obj0 = 0 ;
6992 PyObject * obj1 = 0 ;
6993 PyObject * obj2 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "index",(char *) "check", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7001 arg2 = (int)SWIG_As_int(obj1);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 if (obj2) {
7004 arg3 = (int)SWIG_As_int(obj2);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 (arg1)->Check(arg2,arg3);
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 Py_INCREF(Py_None); resultobj = Py_None;
7015 return resultobj;
7016 fail:
7017 return NULL;
7018 }
7019
7020
7021 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7024 int result;
7025 PyObject * obj0 = 0 ;
7026 char *kwnames[] = {
7027 (char *) "self", NULL
7028 };
7029
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
7031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 result = (int)(arg1)->GetItemHeight();
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 resultobj = SWIG_From_int((int)result);
7041 return resultobj;
7042 fail:
7043 return NULL;
7044 }
7045
7046
7047 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7050 wxPoint *arg2 = 0 ;
7051 int result;
7052 wxPoint temp2 ;
7053 PyObject * obj0 = 0 ;
7054 PyObject * obj1 = 0 ;
7055 char *kwnames[] = {
7056 (char *) "self",(char *) "pt", NULL
7057 };
7058
7059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
7060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7062 {
7063 arg2 = &temp2;
7064 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7065 }
7066 {
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
7068 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
7069
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
7073 resultobj = SWIG_From_int((int)result);
7074 return resultobj;
7075 fail:
7076 return NULL;
7077 }
7078
7079
7080 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
7081 PyObject *resultobj;
7082 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
7083 int arg2 ;
7084 int arg3 ;
7085 int result;
7086 PyObject * obj0 = 0 ;
7087 PyObject * obj1 = 0 ;
7088 PyObject * obj2 = 0 ;
7089 char *kwnames[] = {
7090 (char *) "self",(char *) "x",(char *) "y", NULL
7091 };
7092
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
7094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
7095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7096 arg2 = (int)SWIG_As_int(obj1);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 arg3 = (int)SWIG_As_int(obj2);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 resultobj = SWIG_From_int((int)result);
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
7115 PyObject *obj;
7116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7117 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
7118 Py_INCREF(obj);
7119 return Py_BuildValue((char *)"");
7120 }
7121 static int _wrap_TextCtrlNameStr_set(PyObject *) {
7122 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
7123 return 1;
7124 }
7125
7126
7127 static PyObject *_wrap_TextCtrlNameStr_get() {
7128 PyObject *pyobj;
7129
7130 {
7131 #if wxUSE_UNICODE
7132 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7133 #else
7134 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7135 #endif
7136 }
7137 return pyobj;
7138 }
7139
7140
7141 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj;
7143 wxColour const &arg1_defvalue = wxNullColour ;
7144 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
7145 wxColour const &arg2_defvalue = wxNullColour ;
7146 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7147 wxFont const &arg3_defvalue = wxNullFont ;
7148 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7149 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7150 wxTextAttr *result;
7151 wxColour temp1 ;
7152 wxColour temp2 ;
7153 PyObject * obj0 = 0 ;
7154 PyObject * obj1 = 0 ;
7155 PyObject * obj2 = 0 ;
7156 PyObject * obj3 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7162 if (obj0) {
7163 {
7164 arg1 = &temp1;
7165 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7166 }
7167 }
7168 if (obj1) {
7169 {
7170 arg2 = &temp2;
7171 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7172 }
7173 }
7174 if (obj2) {
7175 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7176 SWIG_POINTER_EXCEPTION | 0)) == -1)
7177 SWIG_fail;
7178 if (arg3 == NULL) {
7179 PyErr_SetString(PyExc_TypeError,"null reference");
7180 SWIG_fail;
7181 }
7182 }
7183 if (obj3) {
7184 arg4 = (int)SWIG_As_int(obj3);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 {
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7190
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7195 return resultobj;
7196 fail:
7197 return NULL;
7198 }
7199
7200
7201 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7202 PyObject *resultobj;
7203 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7204 PyObject * obj0 = 0 ;
7205 char *kwnames[] = {
7206 (char *) "self", NULL
7207 };
7208
7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 delete arg1;
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 Py_INCREF(Py_None); resultobj = Py_None;
7220 return resultobj;
7221 fail:
7222 return NULL;
7223 }
7224
7225
7226 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj;
7228 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7229 PyObject * obj0 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 (arg1)->Init();
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 Py_INCREF(Py_None); resultobj = Py_None;
7245 return resultobj;
7246 fail:
7247 return NULL;
7248 }
7249
7250
7251 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7254 wxColour *arg2 = 0 ;
7255 wxColour temp2 ;
7256 PyObject * obj0 = 0 ;
7257 PyObject * obj1 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "self",(char *) "colText", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7265 {
7266 arg2 = &temp2;
7267 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7268 }
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 (arg1)->SetTextColour((wxColour const &)*arg2);
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 Py_INCREF(Py_None); resultobj = Py_None;
7277 return resultobj;
7278 fail:
7279 return NULL;
7280 }
7281
7282
7283 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7284 PyObject *resultobj;
7285 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7286 wxColour *arg2 = 0 ;
7287 wxColour temp2 ;
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 char *kwnames[] = {
7291 (char *) "self",(char *) "colBack", NULL
7292 };
7293
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7297 {
7298 arg2 = &temp2;
7299 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7300 }
7301 {
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7304
7305 wxPyEndAllowThreads(__tstate);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 Py_INCREF(Py_None); resultobj = Py_None;
7309 return resultobj;
7310 fail:
7311 return NULL;
7312 }
7313
7314
7315 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7318 wxFont *arg2 = 0 ;
7319 long arg3 = (long) wxTEXT_ATTR_FONT ;
7320 PyObject * obj0 = 0 ;
7321 PyObject * obj1 = 0 ;
7322 PyObject * obj2 = 0 ;
7323 char *kwnames[] = {
7324 (char *) "self",(char *) "font",(char *) "flags", NULL
7325 };
7326
7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7331 SWIG_POINTER_EXCEPTION | 0)) == -1)
7332 SWIG_fail;
7333 if (arg2 == NULL) {
7334 PyErr_SetString(PyExc_TypeError,"null reference");
7335 SWIG_fail;
7336 }
7337 if (obj2) {
7338 arg3 = (long)SWIG_As_long(obj2);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 Py_INCREF(Py_None); resultobj = Py_None;
7349 return resultobj;
7350 fail:
7351 return NULL;
7352 }
7353
7354
7355 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7356 PyObject *resultobj;
7357 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7358 int arg2 ;
7359 PyObject * obj0 = 0 ;
7360 PyObject * obj1 = 0 ;
7361 char *kwnames[] = {
7362 (char *) "self",(char *) "alignment", NULL
7363 };
7364
7365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7368 arg2 = (int)SWIG_As_int(obj1);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 Py_INCREF(Py_None); resultobj = Py_None;
7378 return resultobj;
7379 fail:
7380 return NULL;
7381 }
7382
7383
7384 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj;
7386 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7387 wxArrayInt *arg2 = 0 ;
7388 bool temp2 = false ;
7389 PyObject * obj0 = 0 ;
7390 PyObject * obj1 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self",(char *) "tabs", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7398 {
7399 if (! PySequence_Check(obj1)) {
7400 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7401 SWIG_fail;
7402 }
7403 arg2 = new wxArrayInt;
7404 temp2 = true;
7405 int i, len=PySequence_Length(obj1);
7406 for (i=0; i<len; i++) {
7407 PyObject* item = PySequence_GetItem(obj1, i);
7408 PyObject* number = PyNumber_Int(item);
7409 arg2->Add(PyInt_AS_LONG(number));
7410 Py_DECREF(item);
7411 Py_DECREF(number);
7412 }
7413 }
7414 {
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7417
7418 wxPyEndAllowThreads(__tstate);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 }
7421 Py_INCREF(Py_None); resultobj = Py_None;
7422 {
7423 if (temp2) delete arg2;
7424 }
7425 return resultobj;
7426 fail:
7427 {
7428 if (temp2) delete arg2;
7429 }
7430 return NULL;
7431 }
7432
7433
7434 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7435 PyObject *resultobj;
7436 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7437 int arg2 ;
7438 int arg3 = (int) 0 ;
7439 PyObject * obj0 = 0 ;
7440 PyObject * obj1 = 0 ;
7441 PyObject * obj2 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
7447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7449 arg2 = (int)SWIG_As_int(obj1);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 if (obj2) {
7452 arg3 = (int)SWIG_As_int(obj2);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 (arg1)->SetLeftIndent(arg2,arg3);
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 Py_INCREF(Py_None); resultobj = Py_None;
7463 return resultobj;
7464 fail:
7465 return NULL;
7466 }
7467
7468
7469 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj;
7471 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7472 int arg2 ;
7473 PyObject * obj0 = 0 ;
7474 PyObject * obj1 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self",(char *) "indent", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7482 arg2 = (int)SWIG_As_int(obj1);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 (arg1)->SetRightIndent(arg2);
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 Py_INCREF(Py_None); resultobj = Py_None;
7492 return resultobj;
7493 fail:
7494 return NULL;
7495 }
7496
7497
7498 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7499 PyObject *resultobj;
7500 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7501 long arg2 ;
7502 PyObject * obj0 = 0 ;
7503 PyObject * obj1 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "self",(char *) "flags", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7511 arg2 = (long)SWIG_As_long(obj1);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 (arg1)->SetFlags(arg2);
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 Py_INCREF(Py_None); resultobj = Py_None;
7521 return resultobj;
7522 fail:
7523 return NULL;
7524 }
7525
7526
7527 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7530 bool result;
7531 PyObject * obj0 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 {
7547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7548 }
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj;
7557 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7558 bool result;
7559 PyObject * obj0 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 {
7575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7576 }
7577 return resultobj;
7578 fail:
7579 return NULL;
7580 }
7581
7582
7583 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj;
7585 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7586 bool result;
7587 PyObject * obj0 = 0 ;
7588 char *kwnames[] = {
7589 (char *) "self", NULL
7590 };
7591
7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7595 {
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7598
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 {
7603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7604 }
7605 return resultobj;
7606 fail:
7607 return NULL;
7608 }
7609
7610
7611 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7614 bool result;
7615 PyObject * obj0 = 0 ;
7616 char *kwnames[] = {
7617 (char *) "self", NULL
7618 };
7619
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7626
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 {
7631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7632 }
7633 return resultobj;
7634 fail:
7635 return NULL;
7636 }
7637
7638
7639 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7640 PyObject *resultobj;
7641 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7642 bool result;
7643 PyObject * obj0 = 0 ;
7644 char *kwnames[] = {
7645 (char *) "self", NULL
7646 };
7647
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7651 {
7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
7653 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7654
7655 wxPyEndAllowThreads(__tstate);
7656 if (PyErr_Occurred()) SWIG_fail;
7657 }
7658 {
7659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7660 }
7661 return resultobj;
7662 fail:
7663 return NULL;
7664 }
7665
7666
7667 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7668 PyObject *resultobj;
7669 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7670 bool result;
7671 PyObject * obj0 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 {
7687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7688 }
7689 return resultobj;
7690 fail:
7691 return NULL;
7692 }
7693
7694
7695 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj;
7697 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7698 bool result;
7699 PyObject * obj0 = 0 ;
7700 char *kwnames[] = {
7701 (char *) "self", NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 {
7715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7716 }
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7726 long arg2 ;
7727 bool result;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "self",(char *) "flag", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7737 arg2 = (long)SWIG_As_long(obj1);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 {
7747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7748 }
7749 return resultobj;
7750 fail:
7751 return NULL;
7752 }
7753
7754
7755 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7756 PyObject *resultobj;
7757 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7758 wxColour *result;
7759 PyObject * obj0 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "self", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 {
7770 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7771 result = (wxColour *) &_result_ref;
7772 }
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7787 wxColour *result;
7788 PyObject * obj0 = 0 ;
7789 char *kwnames[] = {
7790 (char *) "self", NULL
7791 };
7792
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 {
7799 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7800 result = (wxColour *) &_result_ref;
7801 }
7802
7803 wxPyEndAllowThreads(__tstate);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7807 return resultobj;
7808 fail:
7809 return NULL;
7810 }
7811
7812
7813 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7814 PyObject *resultobj;
7815 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7816 wxFont *result;
7817 PyObject * obj0 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "self", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 {
7828 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7829 result = (wxFont *) &_result_ref;
7830 }
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 {
7836 wxFont* resultptr = new wxFont(*result);
7837 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7838 }
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7848 int result;
7849 PyObject * obj0 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 resultobj = SWIG_From_int((int)result);
7865 return resultobj;
7866 fail:
7867 return NULL;
7868 }
7869
7870
7871 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj;
7873 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7874 wxArrayInt *result;
7875 PyObject * obj0 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "self", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 {
7886 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7887 result = (wxArrayInt *) &_result_ref;
7888 }
7889
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 {
7894 resultobj = PyList_New(0);
7895 size_t idx;
7896 for (idx = 0; idx < result->GetCount(); idx += 1) {
7897 PyObject* val = PyInt_FromLong( result->Item(idx) );
7898 PyList_Append(resultobj, val);
7899 Py_DECREF(val);
7900 }
7901 }
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7911 long result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_From_long((long)result);
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7937 long result;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 resultobj = SWIG_From_long((long)result);
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7963 long result;
7964 PyObject * obj0 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "self", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 resultobj = SWIG_From_long((long)result);
7980 return resultobj;
7981 fail:
7982 return NULL;
7983 }
7984
7985
7986 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7987 PyObject *resultobj;
7988 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7989 long result;
7990 PyObject * obj0 = 0 ;
7991 char *kwnames[] = {
7992 (char *) "self", NULL
7993 };
7994
7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 result = (long)((wxTextAttr const *)arg1)->GetFlags();
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 resultobj = SWIG_From_long((long)result);
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8015 bool result;
8016 PyObject * obj0 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
8022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
8023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 {
8032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8033 }
8034 return resultobj;
8035 fail:
8036 return NULL;
8037 }
8038
8039
8040 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 wxTextAttr *arg1 = 0 ;
8043 wxTextAttr *arg2 = 0 ;
8044 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
8045 wxTextAttr result;
8046 PyObject * obj0 = 0 ;
8047 PyObject * obj1 = 0 ;
8048 PyObject * obj2 = 0 ;
8049 char *kwnames[] = {
8050 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8051 };
8052
8053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
8054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
8055 SWIG_POINTER_EXCEPTION | 0)) == -1)
8056 SWIG_fail;
8057 if (arg1 == NULL) {
8058 PyErr_SetString(PyExc_TypeError,"null reference");
8059 SWIG_fail;
8060 }
8061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8062 SWIG_POINTER_EXCEPTION | 0)) == -1)
8063 SWIG_fail;
8064 if (arg2 == NULL) {
8065 PyErr_SetString(PyExc_TypeError,"null reference");
8066 SWIG_fail;
8067 }
8068 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
8069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8070 {
8071 PyThreadState* __tstate = wxPyBeginAllowThreads();
8072 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
8073
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 {
8078 wxTextAttr * resultptr;
8079 resultptr = new wxTextAttr((wxTextAttr &) result);
8080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
8081 }
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
8089 PyObject *obj;
8090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8091 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
8092 Py_INCREF(obj);
8093 return Py_BuildValue((char *)"");
8094 }
8095 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
8096 PyObject *resultobj;
8097 wxWindow *arg1 = (wxWindow *) 0 ;
8098 int arg2 = (int) -1 ;
8099 wxString const &arg3_defvalue = wxPyEmptyString ;
8100 wxString *arg3 = (wxString *) &arg3_defvalue ;
8101 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8102 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8103 wxSize const &arg5_defvalue = wxDefaultSize ;
8104 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8105 long arg6 = (long) 0 ;
8106 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8107 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8108 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
8109 wxString *arg8 = (wxString *) &arg8_defvalue ;
8110 wxTextCtrl *result;
8111 bool temp3 = false ;
8112 wxPoint temp4 ;
8113 wxSize temp5 ;
8114 bool temp8 = false ;
8115 PyObject * obj0 = 0 ;
8116 PyObject * obj1 = 0 ;
8117 PyObject * obj2 = 0 ;
8118 PyObject * obj3 = 0 ;
8119 PyObject * obj4 = 0 ;
8120 PyObject * obj5 = 0 ;
8121 PyObject * obj6 = 0 ;
8122 PyObject * obj7 = 0 ;
8123 char *kwnames[] = {
8124 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8125 };
8126
8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8130 if (obj1) {
8131 arg2 = (int)SWIG_As_int(obj1);
8132 if (PyErr_Occurred()) SWIG_fail;
8133 }
8134 if (obj2) {
8135 {
8136 arg3 = wxString_in_helper(obj2);
8137 if (arg3 == NULL) SWIG_fail;
8138 temp3 = true;
8139 }
8140 }
8141 if (obj3) {
8142 {
8143 arg4 = &temp4;
8144 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8145 }
8146 }
8147 if (obj4) {
8148 {
8149 arg5 = &temp5;
8150 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8151 }
8152 }
8153 if (obj5) {
8154 arg6 = (long)SWIG_As_long(obj5);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 if (obj6) {
8158 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8159 SWIG_POINTER_EXCEPTION | 0)) == -1)
8160 SWIG_fail;
8161 if (arg7 == NULL) {
8162 PyErr_SetString(PyExc_TypeError,"null reference");
8163 SWIG_fail;
8164 }
8165 }
8166 if (obj7) {
8167 {
8168 arg8 = wxString_in_helper(obj7);
8169 if (arg8 == NULL) SWIG_fail;
8170 temp8 = true;
8171 }
8172 }
8173 {
8174 if (!wxPyCheckForApp()) SWIG_fail;
8175 PyThreadState* __tstate = wxPyBeginAllowThreads();
8176 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8177
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) SWIG_fail;
8180 }
8181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
8182 {
8183 if (temp3)
8184 delete arg3;
8185 }
8186 {
8187 if (temp8)
8188 delete arg8;
8189 }
8190 return resultobj;
8191 fail:
8192 {
8193 if (temp3)
8194 delete arg3;
8195 }
8196 {
8197 if (temp8)
8198 delete arg8;
8199 }
8200 return NULL;
8201 }
8202
8203
8204 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj;
8206 wxTextCtrl *result;
8207 char *kwnames[] = {
8208 NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8212 {
8213 if (!wxPyCheckForApp()) SWIG_fail;
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 result = (wxTextCtrl *)new wxTextCtrl();
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
8221 return resultobj;
8222 fail:
8223 return NULL;
8224 }
8225
8226
8227 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8228 PyObject *resultobj;
8229 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8230 wxWindow *arg2 = (wxWindow *) 0 ;
8231 int arg3 = (int) -1 ;
8232 wxString const &arg4_defvalue = wxPyEmptyString ;
8233 wxString *arg4 = (wxString *) &arg4_defvalue ;
8234 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8235 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8236 wxSize const &arg6_defvalue = wxDefaultSize ;
8237 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8238 long arg7 = (long) 0 ;
8239 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8240 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8241 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8242 wxString *arg9 = (wxString *) &arg9_defvalue ;
8243 bool result;
8244 bool temp4 = false ;
8245 wxPoint temp5 ;
8246 wxSize temp6 ;
8247 bool temp9 = false ;
8248 PyObject * obj0 = 0 ;
8249 PyObject * obj1 = 0 ;
8250 PyObject * obj2 = 0 ;
8251 PyObject * obj3 = 0 ;
8252 PyObject * obj4 = 0 ;
8253 PyObject * obj5 = 0 ;
8254 PyObject * obj6 = 0 ;
8255 PyObject * obj7 = 0 ;
8256 PyObject * obj8 = 0 ;
8257 char *kwnames[] = {
8258 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8259 };
8260
8261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8266 if (obj2) {
8267 arg3 = (int)SWIG_As_int(obj2);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 if (obj3) {
8271 {
8272 arg4 = wxString_in_helper(obj3);
8273 if (arg4 == NULL) SWIG_fail;
8274 temp4 = true;
8275 }
8276 }
8277 if (obj4) {
8278 {
8279 arg5 = &temp5;
8280 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8281 }
8282 }
8283 if (obj5) {
8284 {
8285 arg6 = &temp6;
8286 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8287 }
8288 }
8289 if (obj6) {
8290 arg7 = (long)SWIG_As_long(obj6);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 if (obj7) {
8294 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8295 SWIG_POINTER_EXCEPTION | 0)) == -1)
8296 SWIG_fail;
8297 if (arg8 == NULL) {
8298 PyErr_SetString(PyExc_TypeError,"null reference");
8299 SWIG_fail;
8300 }
8301 }
8302 if (obj8) {
8303 {
8304 arg9 = wxString_in_helper(obj8);
8305 if (arg9 == NULL) SWIG_fail;
8306 temp9 = true;
8307 }
8308 }
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8312
8313 wxPyEndAllowThreads(__tstate);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 {
8317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8318 }
8319 {
8320 if (temp4)
8321 delete arg4;
8322 }
8323 {
8324 if (temp9)
8325 delete arg9;
8326 }
8327 return resultobj;
8328 fail:
8329 {
8330 if (temp4)
8331 delete arg4;
8332 }
8333 {
8334 if (temp9)
8335 delete arg9;
8336 }
8337 return NULL;
8338 }
8339
8340
8341 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj;
8343 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8344 wxString result;
8345 PyObject * obj0 = 0 ;
8346 char *kwnames[] = {
8347 (char *) "self", NULL
8348 };
8349
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 result = ((wxTextCtrl const *)arg1)->GetValue();
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 {
8361 #if wxUSE_UNICODE
8362 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8363 #else
8364 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8365 #endif
8366 }
8367 return resultobj;
8368 fail:
8369 return NULL;
8370 }
8371
8372
8373 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
8374 PyObject *resultobj;
8375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8376 wxString *arg2 = 0 ;
8377 bool temp2 = false ;
8378 PyObject * obj0 = 0 ;
8379 PyObject * obj1 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self",(char *) "value", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8387 {
8388 arg2 = wxString_in_helper(obj1);
8389 if (arg2 == NULL) SWIG_fail;
8390 temp2 = true;
8391 }
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 (arg1)->SetValue((wxString const &)*arg2);
8395
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 Py_INCREF(Py_None); resultobj = Py_None;
8400 {
8401 if (temp2)
8402 delete arg2;
8403 }
8404 return resultobj;
8405 fail:
8406 {
8407 if (temp2)
8408 delete arg2;
8409 }
8410 return NULL;
8411 }
8412
8413
8414 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj;
8416 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8417 long arg2 ;
8418 long arg3 ;
8419 wxString result;
8420 PyObject * obj0 = 0 ;
8421 PyObject * obj1 = 0 ;
8422 PyObject * obj2 = 0 ;
8423 char *kwnames[] = {
8424 (char *) "self",(char *) "from",(char *) "to", NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8430 arg2 = (long)SWIG_As_long(obj1);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 arg3 = (long)SWIG_As_long(obj2);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
8441 {
8442 #if wxUSE_UNICODE
8443 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8444 #else
8445 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8446 #endif
8447 }
8448 return resultobj;
8449 fail:
8450 return NULL;
8451 }
8452
8453
8454 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
8455 PyObject *resultobj;
8456 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8457 long arg2 ;
8458 int result;
8459 PyObject * obj0 = 0 ;
8460 PyObject * obj1 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self",(char *) "lineNo", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8468 arg2 = (long)SWIG_As_long(obj1);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 resultobj = SWIG_From_int((int)result);
8478 return resultobj;
8479 fail:
8480 return NULL;
8481 }
8482
8483
8484 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8487 long arg2 ;
8488 wxString result;
8489 PyObject * obj0 = 0 ;
8490 PyObject * obj1 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self",(char *) "lineNo", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8498 arg2 = (long)SWIG_As_long(obj1);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 {
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 {
8508 #if wxUSE_UNICODE
8509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8510 #else
8511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8512 #endif
8513 }
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8523 int result;
8524 PyObject * obj0 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 resultobj = SWIG_From_int((int)result);
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
8547 PyObject *resultobj;
8548 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8549 bool result;
8550 PyObject * obj0 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "self", NULL
8553 };
8554
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8558 {
8559 PyThreadState* __tstate = wxPyBeginAllowThreads();
8560 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8561
8562 wxPyEndAllowThreads(__tstate);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 {
8566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8567 }
8568 return resultobj;
8569 fail:
8570 return NULL;
8571 }
8572
8573
8574 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
8575 PyObject *resultobj;
8576 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8577 bool result;
8578 PyObject * obj0 = 0 ;
8579 char *kwnames[] = {
8580 (char *) "self", NULL
8581 };
8582
8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 {
8594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8595 }
8596 return resultobj;
8597 fail:
8598 return NULL;
8599 }
8600
8601
8602 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8605 bool result;
8606 PyObject * obj0 = 0 ;
8607 char *kwnames[] = {
8608 (char *) "self", NULL
8609 };
8610
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 {
8622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8623 }
8624 return resultobj;
8625 fail:
8626 return NULL;
8627 }
8628
8629
8630 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
8631 PyObject *resultobj;
8632 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8633 bool result;
8634 PyObject * obj0 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 {
8650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8651 }
8652 return resultobj;
8653 fail:
8654 return NULL;
8655 }
8656
8657
8658 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8659 PyObject *resultobj;
8660 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8661 long *arg2 = (long *) 0 ;
8662 long *arg3 = (long *) 0 ;
8663 long temp2 ;
8664 int res2 = 0 ;
8665 long temp3 ;
8666 int res3 = 0 ;
8667 PyObject * obj0 = 0 ;
8668 char *kwnames[] = {
8669 (char *) "self", NULL
8670 };
8671
8672 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8673 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8677 {
8678 PyThreadState* __tstate = wxPyBeginAllowThreads();
8679 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8680
8681 wxPyEndAllowThreads(__tstate);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 Py_INCREF(Py_None); resultobj = Py_None;
8685 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8686 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
8687 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8688 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
8689 return resultobj;
8690 fail:
8691 return NULL;
8692 }
8693
8694
8695 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8696 PyObject *resultobj;
8697 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8698 wxString result;
8699 PyObject * obj0 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8710
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 {
8715 #if wxUSE_UNICODE
8716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8717 #else
8718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8719 #endif
8720 }
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8730 PyObject * obj0 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "self", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8738 {
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 (arg1)->Clear();
8741
8742 wxPyEndAllowThreads(__tstate);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 }
8745 Py_INCREF(Py_None); resultobj = Py_None;
8746 return resultobj;
8747 fail:
8748 return NULL;
8749 }
8750
8751
8752 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
8753 PyObject *resultobj;
8754 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8755 long arg2 ;
8756 long arg3 ;
8757 wxString *arg4 = 0 ;
8758 bool temp4 = false ;
8759 PyObject * obj0 = 0 ;
8760 PyObject * obj1 = 0 ;
8761 PyObject * obj2 = 0 ;
8762 PyObject * obj3 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8770 arg2 = (long)SWIG_As_long(obj1);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 arg3 = (long)SWIG_As_long(obj2);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 {
8775 arg4 = wxString_in_helper(obj3);
8776 if (arg4 == NULL) SWIG_fail;
8777 temp4 = true;
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 Py_INCREF(Py_None); resultobj = Py_None;
8787 {
8788 if (temp4)
8789 delete arg4;
8790 }
8791 return resultobj;
8792 fail:
8793 {
8794 if (temp4)
8795 delete arg4;
8796 }
8797 return NULL;
8798 }
8799
8800
8801 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj;
8803 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8804 long arg2 ;
8805 long arg3 ;
8806 PyObject * obj0 = 0 ;
8807 PyObject * obj1 = 0 ;
8808 PyObject * obj2 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self",(char *) "from",(char *) "to", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8816 arg2 = (long)SWIG_As_long(obj1);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 arg3 = (long)SWIG_As_long(obj2);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 (arg1)->Remove(arg2,arg3);
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 Py_INCREF(Py_None); resultobj = Py_None;
8828 return resultobj;
8829 fail:
8830 return NULL;
8831 }
8832
8833
8834 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8837 wxString *arg2 = 0 ;
8838 bool result;
8839 bool temp2 = false ;
8840 PyObject * obj0 = 0 ;
8841 PyObject * obj1 = 0 ;
8842 char *kwnames[] = {
8843 (char *) "self",(char *) "file", NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8849 {
8850 arg2 = wxString_in_helper(obj1);
8851 if (arg2 == NULL) SWIG_fail;
8852 temp2 = true;
8853 }
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8857
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
8861 {
8862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8863 }
8864 {
8865 if (temp2)
8866 delete arg2;
8867 }
8868 return resultobj;
8869 fail:
8870 {
8871 if (temp2)
8872 delete arg2;
8873 }
8874 return NULL;
8875 }
8876
8877
8878 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj;
8880 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8881 wxString const &arg2_defvalue = wxPyEmptyString ;
8882 wxString *arg2 = (wxString *) &arg2_defvalue ;
8883 bool result;
8884 bool temp2 = false ;
8885 PyObject * obj0 = 0 ;
8886 PyObject * obj1 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self",(char *) "file", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8894 if (obj1) {
8895 {
8896 arg2 = wxString_in_helper(obj1);
8897 if (arg2 == NULL) SWIG_fail;
8898 temp2 = true;
8899 }
8900 }
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 {
8909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8910 }
8911 {
8912 if (temp2)
8913 delete arg2;
8914 }
8915 return resultobj;
8916 fail:
8917 {
8918 if (temp2)
8919 delete arg2;
8920 }
8921 return NULL;
8922 }
8923
8924
8925 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
8926 PyObject *resultobj;
8927 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8928 PyObject * obj0 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 (arg1)->MarkDirty();
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 Py_INCREF(Py_None); resultobj = Py_None;
8944 return resultobj;
8945 fail:
8946 return NULL;
8947 }
8948
8949
8950 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj;
8952 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8953 PyObject * obj0 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->DiscardEdits();
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8978 unsigned long arg2 ;
8979 PyObject * obj0 = 0 ;
8980 PyObject * obj1 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self",(char *) "len", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8988 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 (arg1)->SetMaxLength(arg2);
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 Py_INCREF(Py_None); resultobj = Py_None;
8998 return resultobj;
8999 fail:
9000 return NULL;
9001 }
9002
9003
9004 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
9005 PyObject *resultobj;
9006 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9007 wxString *arg2 = 0 ;
9008 bool temp2 = false ;
9009 PyObject * obj0 = 0 ;
9010 PyObject * obj1 = 0 ;
9011 char *kwnames[] = {
9012 (char *) "self",(char *) "text", NULL
9013 };
9014
9015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
9016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9018 {
9019 arg2 = wxString_in_helper(obj1);
9020 if (arg2 == NULL) SWIG_fail;
9021 temp2 = true;
9022 }
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 (arg1)->WriteText((wxString const &)*arg2);
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 Py_INCREF(Py_None); resultobj = Py_None;
9031 {
9032 if (temp2)
9033 delete arg2;
9034 }
9035 return resultobj;
9036 fail:
9037 {
9038 if (temp2)
9039 delete arg2;
9040 }
9041 return NULL;
9042 }
9043
9044
9045 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9048 wxString *arg2 = 0 ;
9049 bool temp2 = false ;
9050 PyObject * obj0 = 0 ;
9051 PyObject * obj1 = 0 ;
9052 char *kwnames[] = {
9053 (char *) "self",(char *) "text", NULL
9054 };
9055
9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
9057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9059 {
9060 arg2 = wxString_in_helper(obj1);
9061 if (arg2 == NULL) SWIG_fail;
9062 temp2 = true;
9063 }
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 (arg1)->AppendText((wxString const &)*arg2);
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 Py_INCREF(Py_None); resultobj = Py_None;
9072 {
9073 if (temp2)
9074 delete arg2;
9075 }
9076 return resultobj;
9077 fail:
9078 {
9079 if (temp2)
9080 delete arg2;
9081 }
9082 return NULL;
9083 }
9084
9085
9086 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9089 wxKeyEvent *arg2 = 0 ;
9090 bool result;
9091 PyObject * obj0 = 0 ;
9092 PyObject * obj1 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self",(char *) "event", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
9098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
9101 SWIG_POINTER_EXCEPTION | 0)) == -1)
9102 SWIG_fail;
9103 if (arg2 == NULL) {
9104 PyErr_SetString(PyExc_TypeError,"null reference");
9105 SWIG_fail;
9106 }
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 {
9115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9116 }
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9126 long arg2 ;
9127 long arg3 ;
9128 wxTextAttr *arg4 = 0 ;
9129 bool result;
9130 PyObject * obj0 = 0 ;
9131 PyObject * obj1 = 0 ;
9132 PyObject * obj2 = 0 ;
9133 PyObject * obj3 = 0 ;
9134 char *kwnames[] = {
9135 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9136 };
9137
9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9141 arg2 = (long)SWIG_As_long(obj1);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 arg3 = (long)SWIG_As_long(obj2);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9146 SWIG_POINTER_EXCEPTION | 0)) == -1)
9147 SWIG_fail;
9148 if (arg4 == NULL) {
9149 PyErr_SetString(PyExc_TypeError,"null reference");
9150 SWIG_fail;
9151 }
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 {
9160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9161 }
9162 return resultobj;
9163 fail:
9164 return NULL;
9165 }
9166
9167
9168 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
9169 PyObject *resultobj;
9170 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9171 long arg2 ;
9172 wxTextAttr *arg3 = 0 ;
9173 bool result;
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 PyObject * obj2 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self",(char *) "position",(char *) "style", NULL
9179 };
9180
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9184 arg2 = (long)SWIG_As_long(obj1);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9187 SWIG_POINTER_EXCEPTION | 0)) == -1)
9188 SWIG_fail;
9189 if (arg3 == NULL) {
9190 PyErr_SetString(PyExc_TypeError,"null reference");
9191 SWIG_fail;
9192 }
9193 {
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9196
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 {
9201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9202 }
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9212 wxTextAttr *arg2 = 0 ;
9213 bool result;
9214 PyObject * obj0 = 0 ;
9215 PyObject * obj1 = 0 ;
9216 char *kwnames[] = {
9217 (char *) "self",(char *) "style", NULL
9218 };
9219
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9224 SWIG_POINTER_EXCEPTION | 0)) == -1)
9225 SWIG_fail;
9226 if (arg2 == NULL) {
9227 PyErr_SetString(PyExc_TypeError,"null reference");
9228 SWIG_fail;
9229 }
9230 {
9231 PyThreadState* __tstate = wxPyBeginAllowThreads();
9232 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9233
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 {
9238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9239 }
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9249 wxTextAttr *result;
9250 PyObject * obj0 = 0 ;
9251 char *kwnames[] = {
9252 (char *) "self", NULL
9253 };
9254
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 {
9261 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9262 result = (wxTextAttr *) &_result_ref;
9263 }
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9278 long arg2 ;
9279 long arg3 ;
9280 long result;
9281 PyObject * obj0 = 0 ;
9282 PyObject * obj1 = 0 ;
9283 PyObject * obj2 = 0 ;
9284 char *kwnames[] = {
9285 (char *) "self",(char *) "x",(char *) "y", NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9291 arg2 = (long)SWIG_As_long(obj1);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 arg3 = (long)SWIG_As_long(obj2);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = SWIG_From_long((long)result);
9303 return resultobj;
9304 fail:
9305 return NULL;
9306 }
9307
9308
9309 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj;
9311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9312 long arg2 ;
9313 long *arg3 = (long *) 0 ;
9314 long *arg4 = (long *) 0 ;
9315 long temp3 ;
9316 int res3 = 0 ;
9317 long temp4 ;
9318 int res4 = 0 ;
9319 PyObject * obj0 = 0 ;
9320 PyObject * obj1 = 0 ;
9321 char *kwnames[] = {
9322 (char *) "self",(char *) "pos", NULL
9323 };
9324
9325 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9326 arg4 = &temp4; res4 = SWIG_NEWOBJ;
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9330 arg2 = (long)SWIG_As_long(obj1);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 Py_INCREF(Py_None); resultobj = Py_None;
9340 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9341 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9342 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9343 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
9344 return resultobj;
9345 fail:
9346 return NULL;
9347 }
9348
9349
9350 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj;
9352 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9353 long arg2 ;
9354 PyObject * obj0 = 0 ;
9355 PyObject * obj1 = 0 ;
9356 char *kwnames[] = {
9357 (char *) "self",(char *) "pos", NULL
9358 };
9359
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9363 arg2 = (long)SWIG_As_long(obj1);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 (arg1)->ShowPosition(arg2);
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 Py_INCREF(Py_None); resultobj = Py_None;
9373 return resultobj;
9374 fail:
9375 return NULL;
9376 }
9377
9378
9379 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9382 wxPoint *arg2 = 0 ;
9383 long *arg3 = (long *) 0 ;
9384 long *arg4 = (long *) 0 ;
9385 int result;
9386 wxPoint temp2 ;
9387 long temp3 ;
9388 int res3 = 0 ;
9389 long temp4 ;
9390 int res4 = 0 ;
9391 PyObject * obj0 = 0 ;
9392 PyObject * obj1 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self",(char *) "pt", NULL
9395 };
9396
9397 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9398 arg4 = &temp4; res4 = SWIG_NEWOBJ;
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9402 {
9403 arg2 = &temp2;
9404 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9405 }
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 resultobj = SWIG_From_int((int)result);
9414 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9415 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9416 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9417 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
9418 return resultobj;
9419 fail:
9420 return NULL;
9421 }
9422
9423
9424 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj;
9426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9427 wxPoint *arg2 = 0 ;
9428 long *arg3 = (long *) 0 ;
9429 int result;
9430 wxPoint temp2 ;
9431 long temp3 ;
9432 int res3 = 0 ;
9433 PyObject * obj0 = 0 ;
9434 PyObject * obj1 = 0 ;
9435 char *kwnames[] = {
9436 (char *) "self",(char *) "pt", NULL
9437 };
9438
9439 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
9441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9443 {
9444 arg2 = &temp2;
9445 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9446 }
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 resultobj = SWIG_From_int((int)result);
9455 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9456 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9466 PyObject * obj0 = 0 ;
9467 char *kwnames[] = {
9468 (char *) "self", NULL
9469 };
9470
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9474 {
9475 PyThreadState* __tstate = wxPyBeginAllowThreads();
9476 (arg1)->Copy();
9477
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 Py_INCREF(Py_None); resultobj = Py_None;
9482 return resultobj;
9483 fail:
9484 return NULL;
9485 }
9486
9487
9488 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
9489 PyObject *resultobj;
9490 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9491 PyObject * obj0 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 (arg1)->Cut();
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 Py_INCREF(Py_None); resultobj = Py_None;
9507 return resultobj;
9508 fail:
9509 return NULL;
9510 }
9511
9512
9513 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
9514 PyObject *resultobj;
9515 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9516 PyObject * obj0 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "self", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 (arg1)->Paste();
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 Py_INCREF(Py_None); resultobj = Py_None;
9532 return resultobj;
9533 fail:
9534 return NULL;
9535 }
9536
9537
9538 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9541 bool result;
9542 PyObject * obj0 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "self", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 {
9558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9559 }
9560 return resultobj;
9561 fail:
9562 return NULL;
9563 }
9564
9565
9566 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
9567 PyObject *resultobj;
9568 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9569 bool result;
9570 PyObject * obj0 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 {
9586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9587 }
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9597 bool result;
9598 PyObject * obj0 = 0 ;
9599 char *kwnames[] = {
9600 (char *) "self", NULL
9601 };
9602
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 {
9614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9615 }
9616 return resultobj;
9617 fail:
9618 return NULL;
9619 }
9620
9621
9622 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj;
9624 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9625 PyObject * obj0 = 0 ;
9626 char *kwnames[] = {
9627 (char *) "self", NULL
9628 };
9629
9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 (arg1)->Undo();
9636
9637 wxPyEndAllowThreads(__tstate);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
9640 Py_INCREF(Py_None); resultobj = Py_None;
9641 return resultobj;
9642 fail:
9643 return NULL;
9644 }
9645
9646
9647 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
9648 PyObject *resultobj;
9649 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9650 PyObject * obj0 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 (arg1)->Redo();
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 Py_INCREF(Py_None); resultobj = Py_None;
9666 return resultobj;
9667 fail:
9668 return NULL;
9669 }
9670
9671
9672 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
9673 PyObject *resultobj;
9674 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9675 bool result;
9676 PyObject * obj0 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "self", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 {
9692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9693 }
9694 return resultobj;
9695 fail:
9696 return NULL;
9697 }
9698
9699
9700 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
9701 PyObject *resultobj;
9702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9703 bool result;
9704 PyObject * obj0 = 0 ;
9705 char *kwnames[] = {
9706 (char *) "self", NULL
9707 };
9708
9709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
9719 {
9720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9721 }
9722 return resultobj;
9723 fail:
9724 return NULL;
9725 }
9726
9727
9728 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9731 long arg2 ;
9732 PyObject * obj0 = 0 ;
9733 PyObject * obj1 = 0 ;
9734 char *kwnames[] = {
9735 (char *) "self",(char *) "pos", NULL
9736 };
9737
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9741 arg2 = (long)SWIG_As_long(obj1);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 (arg1)->SetInsertionPoint(arg2);
9746
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 Py_INCREF(Py_None); resultobj = Py_None;
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj;
9759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9760 PyObject * obj0 = 0 ;
9761 char *kwnames[] = {
9762 (char *) "self", NULL
9763 };
9764
9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 (arg1)->SetInsertionPointEnd();
9771
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
9775 Py_INCREF(Py_None); resultobj = Py_None;
9776 return resultobj;
9777 fail:
9778 return NULL;
9779 }
9780
9781
9782 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9783 PyObject *resultobj;
9784 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9785 long result;
9786 PyObject * obj0 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "self", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9797
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 resultobj = SWIG_From_long((long)result);
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9809 PyObject *resultobj;
9810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9811 long result;
9812 PyObject * obj0 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 resultobj = SWIG_From_long((long)result);
9828 return resultobj;
9829 fail:
9830 return NULL;
9831 }
9832
9833
9834 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj;
9836 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9837 long arg2 ;
9838 long arg3 ;
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 PyObject * obj2 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self",(char *) "from",(char *) "to", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9849 arg2 = (long)SWIG_As_long(obj1);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 arg3 = (long)SWIG_As_long(obj2);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 (arg1)->SetSelection(arg2,arg3);
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 Py_INCREF(Py_None); resultobj = Py_None;
9861 return resultobj;
9862 fail:
9863 return NULL;
9864 }
9865
9866
9867 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj;
9869 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9870 PyObject * obj0 = 0 ;
9871 char *kwnames[] = {
9872 (char *) "self", NULL
9873 };
9874
9875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 (arg1)->SelectAll();
9881
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
9885 Py_INCREF(Py_None); resultobj = Py_None;
9886 return resultobj;
9887 fail:
9888 return NULL;
9889 }
9890
9891
9892 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9895 bool arg2 ;
9896 PyObject * obj0 = 0 ;
9897 PyObject * obj1 = 0 ;
9898 char *kwnames[] = {
9899 (char *) "self",(char *) "editable", NULL
9900 };
9901
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9905 arg2 = (bool)SWIG_As_bool(obj1);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 (arg1)->SetEditable(arg2);
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 Py_INCREF(Py_None); resultobj = Py_None;
9915 return resultobj;
9916 fail:
9917 return NULL;
9918 }
9919
9920
9921 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9924 bool arg2 = (bool) true ;
9925 bool result;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self",(char *) "show", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
9933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9935 if (obj1) {
9936 arg2 = (bool)SWIG_As_bool(obj1);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (bool)(arg1)->ShowNativeCaret(arg2);
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 {
9947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9948 }
9949 return resultobj;
9950 fail:
9951 return NULL;
9952 }
9953
9954
9955 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
9956 PyObject *resultobj;
9957 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9958 bool result;
9959 PyObject * obj0 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
9965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 result = (bool)(arg1)->HideNativeCaret();
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 {
9975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9976 }
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9986 wxString *arg2 = 0 ;
9987 bool temp2 = false ;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self",(char *) "text", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9997 {
9998 arg2 = wxString_in_helper(obj1);
9999 if (arg2 == NULL) SWIG_fail;
10000 temp2 = true;
10001 }
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
10004 wxTextCtrl_write(arg1,(wxString const &)*arg2);
10005
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 Py_INCREF(Py_None); resultobj = Py_None;
10010 {
10011 if (temp2)
10012 delete arg2;
10013 }
10014 return resultobj;
10015 fail:
10016 {
10017 if (temp2)
10018 delete arg2;
10019 }
10020 return NULL;
10021 }
10022
10023
10024 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
10025 PyObject *resultobj;
10026 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10027 long arg2 ;
10028 long arg3 ;
10029 wxString result;
10030 PyObject * obj0 = 0 ;
10031 PyObject * obj1 = 0 ;
10032 PyObject * obj2 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self",(char *) "from",(char *) "to", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
10039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10040 arg2 = (long)SWIG_As_long(obj1);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 arg3 = (long)SWIG_As_long(obj2);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = wxTextCtrl_GetString(arg1,arg2,arg3);
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 {
10052 #if wxUSE_UNICODE
10053 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10054 #else
10055 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10056 #endif
10057 }
10058 return resultobj;
10059 fail:
10060 return NULL;
10061 }
10062
10063
10064 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj;
10066 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10067 wxVisualAttributes result;
10068 PyObject * obj0 = 0 ;
10069 char *kwnames[] = {
10070 (char *) "variant", NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10074 if (obj0) {
10075 arg1 = (int)SWIG_As_int(obj0);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 {
10079 if (!wxPyCheckForApp()) SWIG_fail;
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
10081 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
10086 {
10087 wxVisualAttributes * resultptr;
10088 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10090 }
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
10098 PyObject *obj;
10099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10100 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
10101 Py_INCREF(obj);
10102 return Py_BuildValue((char *)"");
10103 }
10104 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj;
10106 int arg1 ;
10107 wxMouseEvent *arg2 = 0 ;
10108 long arg3 ;
10109 long arg4 ;
10110 wxTextUrlEvent *result;
10111 PyObject * obj0 = 0 ;
10112 PyObject * obj1 = 0 ;
10113 PyObject * obj2 = 0 ;
10114 PyObject * obj3 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10120 arg1 = (int)SWIG_As_int(obj0);
10121 if (PyErr_Occurred()) SWIG_fail;
10122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
10123 SWIG_POINTER_EXCEPTION | 0)) == -1)
10124 SWIG_fail;
10125 if (arg2 == NULL) {
10126 PyErr_SetString(PyExc_TypeError,"null reference");
10127 SWIG_fail;
10128 }
10129 arg3 = (long)SWIG_As_long(obj2);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 arg4 = (long)SWIG_As_long(obj3);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
10141 return resultobj;
10142 fail:
10143 return NULL;
10144 }
10145
10146
10147 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10150 wxMouseEvent *result;
10151 PyObject * obj0 = 0 ;
10152 char *kwnames[] = {
10153 (char *) "self", NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
10157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 {
10162 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
10163 result = (wxMouseEvent *) &_result_ref;
10164 }
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
10170 return resultobj;
10171 fail:
10172 return NULL;
10173 }
10174
10175
10176 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10179 long result;
10180 PyObject * obj0 = 0 ;
10181 char *kwnames[] = {
10182 (char *) "self", NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
10191
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 resultobj = SWIG_From_long((long)result);
10196 return resultobj;
10197 fail:
10198 return NULL;
10199 }
10200
10201
10202 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10203 PyObject *resultobj;
10204 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10205 long result;
10206 PyObject * obj0 = 0 ;
10207 char *kwnames[] = {
10208 (char *) "self", NULL
10209 };
10210
10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
10212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = SWIG_From_long((long)result);
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
10229 PyObject *obj;
10230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10231 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10232 Py_INCREF(obj);
10233 return Py_BuildValue((char *)"");
10234 }
10235 static int _wrap_ScrollBarNameStr_set(PyObject *) {
10236 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10237 return 1;
10238 }
10239
10240
10241 static PyObject *_wrap_ScrollBarNameStr_get() {
10242 PyObject *pyobj;
10243
10244 {
10245 #if wxUSE_UNICODE
10246 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10247 #else
10248 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10249 #endif
10250 }
10251 return pyobj;
10252 }
10253
10254
10255 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
10256 PyObject *resultobj;
10257 wxWindow *arg1 = (wxWindow *) 0 ;
10258 int arg2 = (int) -1 ;
10259 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10260 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10261 wxSize const &arg4_defvalue = wxDefaultSize ;
10262 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10263 long arg5 = (long) wxSB_HORIZONTAL ;
10264 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10265 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10266 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10267 wxString *arg7 = (wxString *) &arg7_defvalue ;
10268 wxScrollBar *result;
10269 wxPoint temp3 ;
10270 wxSize temp4 ;
10271 bool temp7 = false ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274 PyObject * obj2 = 0 ;
10275 PyObject * obj3 = 0 ;
10276 PyObject * obj4 = 0 ;
10277 PyObject * obj5 = 0 ;
10278 PyObject * obj6 = 0 ;
10279 char *kwnames[] = {
10280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10281 };
10282
10283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10286 if (obj1) {
10287 arg2 = (int)SWIG_As_int(obj1);
10288 if (PyErr_Occurred()) SWIG_fail;
10289 }
10290 if (obj2) {
10291 {
10292 arg3 = &temp3;
10293 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10294 }
10295 }
10296 if (obj3) {
10297 {
10298 arg4 = &temp4;
10299 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10300 }
10301 }
10302 if (obj4) {
10303 arg5 = (long)SWIG_As_long(obj4);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 if (obj5) {
10307 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10308 SWIG_POINTER_EXCEPTION | 0)) == -1)
10309 SWIG_fail;
10310 if (arg6 == NULL) {
10311 PyErr_SetString(PyExc_TypeError,"null reference");
10312 SWIG_fail;
10313 }
10314 }
10315 if (obj6) {
10316 {
10317 arg7 = wxString_in_helper(obj6);
10318 if (arg7 == NULL) SWIG_fail;
10319 temp7 = true;
10320 }
10321 }
10322 {
10323 if (!wxPyCheckForApp()) SWIG_fail;
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10331 {
10332 if (temp7)
10333 delete arg7;
10334 }
10335 return resultobj;
10336 fail:
10337 {
10338 if (temp7)
10339 delete arg7;
10340 }
10341 return NULL;
10342 }
10343
10344
10345 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
10346 PyObject *resultobj;
10347 wxScrollBar *result;
10348 char *kwnames[] = {
10349 NULL
10350 };
10351
10352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10353 {
10354 if (!wxPyCheckForApp()) SWIG_fail;
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 result = (wxScrollBar *)new wxScrollBar();
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10362 return resultobj;
10363 fail:
10364 return NULL;
10365 }
10366
10367
10368 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10369 PyObject *resultobj;
10370 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10371 wxWindow *arg2 = (wxWindow *) 0 ;
10372 int arg3 = (int) -1 ;
10373 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10374 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10375 wxSize const &arg5_defvalue = wxDefaultSize ;
10376 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10377 long arg6 = (long) wxSB_HORIZONTAL ;
10378 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10379 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10380 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10381 wxString *arg8 = (wxString *) &arg8_defvalue ;
10382 bool result;
10383 wxPoint temp4 ;
10384 wxSize temp5 ;
10385 bool temp8 = false ;
10386 PyObject * obj0 = 0 ;
10387 PyObject * obj1 = 0 ;
10388 PyObject * obj2 = 0 ;
10389 PyObject * obj3 = 0 ;
10390 PyObject * obj4 = 0 ;
10391 PyObject * obj5 = 0 ;
10392 PyObject * obj6 = 0 ;
10393 PyObject * obj7 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10403 if (obj2) {
10404 arg3 = (int)SWIG_As_int(obj2);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 if (obj3) {
10408 {
10409 arg4 = &temp4;
10410 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10411 }
10412 }
10413 if (obj4) {
10414 {
10415 arg5 = &temp5;
10416 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10417 }
10418 }
10419 if (obj5) {
10420 arg6 = (long)SWIG_As_long(obj5);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 if (obj6) {
10424 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10425 SWIG_POINTER_EXCEPTION | 0)) == -1)
10426 SWIG_fail;
10427 if (arg7 == NULL) {
10428 PyErr_SetString(PyExc_TypeError,"null reference");
10429 SWIG_fail;
10430 }
10431 }
10432 if (obj7) {
10433 {
10434 arg8 = wxString_in_helper(obj7);
10435 if (arg8 == NULL) SWIG_fail;
10436 temp8 = true;
10437 }
10438 }
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 {
10447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10448 }
10449 {
10450 if (temp8)
10451 delete arg8;
10452 }
10453 return resultobj;
10454 fail:
10455 {
10456 if (temp8)
10457 delete arg8;
10458 }
10459 return NULL;
10460 }
10461
10462
10463 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10464 PyObject *resultobj;
10465 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10466 int result;
10467 PyObject * obj0 = 0 ;
10468 char *kwnames[] = {
10469 (char *) "self", NULL
10470 };
10471
10472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10478
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 resultobj = SWIG_From_int((int)result);
10483 return resultobj;
10484 fail:
10485 return NULL;
10486 }
10487
10488
10489 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10492 int result;
10493 PyObject * obj0 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 resultobj = SWIG_From_int((int)result);
10509 return resultobj;
10510 fail:
10511 return NULL;
10512 }
10513
10514
10515 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj;
10517 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10518 int result;
10519 PyObject * obj0 = 0 ;
10520 char *kwnames[] = {
10521 (char *) "self", NULL
10522 };
10523
10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 resultobj = SWIG_From_int((int)result);
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj;
10543 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10544 int result;
10545 PyObject * obj0 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 result = (int)((wxScrollBar const *)arg1)->GetRange();
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 resultobj = SWIG_From_int((int)result);
10561 return resultobj;
10562 fail:
10563 return NULL;
10564 }
10565
10566
10567 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
10568 PyObject *resultobj;
10569 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10570 bool result;
10571 PyObject * obj0 = 0 ;
10572 char *kwnames[] = {
10573 (char *) "self", NULL
10574 };
10575
10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 {
10587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10588 }
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10598 int arg2 ;
10599 PyObject * obj0 = 0 ;
10600 PyObject * obj1 = 0 ;
10601 char *kwnames[] = {
10602 (char *) "self",(char *) "viewStart", NULL
10603 };
10604
10605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10608 arg2 = (int)SWIG_As_int(obj1);
10609 if (PyErr_Occurred()) SWIG_fail;
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 (arg1)->SetThumbPosition(arg2);
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 Py_INCREF(Py_None); resultobj = Py_None;
10618 return resultobj;
10619 fail:
10620 return NULL;
10621 }
10622
10623
10624 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj;
10626 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10627 int arg2 ;
10628 int arg3 ;
10629 int arg4 ;
10630 int arg5 ;
10631 bool arg6 = (bool) true ;
10632 PyObject * obj0 = 0 ;
10633 PyObject * obj1 = 0 ;
10634 PyObject * obj2 = 0 ;
10635 PyObject * obj3 = 0 ;
10636 PyObject * obj4 = 0 ;
10637 PyObject * obj5 = 0 ;
10638 char *kwnames[] = {
10639 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10645 arg2 = (int)SWIG_As_int(obj1);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 arg3 = (int)SWIG_As_int(obj2);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 arg4 = (int)SWIG_As_int(obj3);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 arg5 = (int)SWIG_As_int(obj4);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 if (obj5) {
10654 arg6 = (bool)SWIG_As_bool(obj5);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 Py_INCREF(Py_None); resultobj = Py_None;
10665 return resultobj;
10666 fail:
10667 return NULL;
10668 }
10669
10670
10671 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
10672 PyObject *resultobj;
10673 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10674 wxVisualAttributes result;
10675 PyObject * obj0 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "variant", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10681 if (obj0) {
10682 arg1 = (int)SWIG_As_int(obj0);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 {
10686 if (!wxPyCheckForApp()) SWIG_fail;
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 {
10694 wxVisualAttributes * resultptr;
10695 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10697 }
10698 return resultobj;
10699 fail:
10700 return NULL;
10701 }
10702
10703
10704 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
10705 PyObject *obj;
10706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10707 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10708 Py_INCREF(obj);
10709 return Py_BuildValue((char *)"");
10710 }
10711 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
10712 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10713 return 1;
10714 }
10715
10716
10717 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10718 PyObject *pyobj;
10719
10720 {
10721 #if wxUSE_UNICODE
10722 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10723 #else
10724 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10725 #endif
10726 }
10727 return pyobj;
10728 }
10729
10730
10731 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
10732 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10733 return 1;
10734 }
10735
10736
10737 static PyObject *_wrap_SpinCtrlNameStr_get() {
10738 PyObject *pyobj;
10739
10740 {
10741 #if wxUSE_UNICODE
10742 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10743 #else
10744 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10745 #endif
10746 }
10747 return pyobj;
10748 }
10749
10750
10751 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxWindow *arg1 = (wxWindow *) 0 ;
10754 int arg2 = (int) -1 ;
10755 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10756 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10757 wxSize const &arg4_defvalue = wxDefaultSize ;
10758 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10759 long arg5 = (long) wxSP_HORIZONTAL ;
10760 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10761 wxString *arg6 = (wxString *) &arg6_defvalue ;
10762 wxSpinButton *result;
10763 wxPoint temp3 ;
10764 wxSize temp4 ;
10765 bool temp6 = false ;
10766 PyObject * obj0 = 0 ;
10767 PyObject * obj1 = 0 ;
10768 PyObject * obj2 = 0 ;
10769 PyObject * obj3 = 0 ;
10770 PyObject * obj4 = 0 ;
10771 PyObject * obj5 = 0 ;
10772 char *kwnames[] = {
10773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10774 };
10775
10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10779 if (obj1) {
10780 arg2 = (int)SWIG_As_int(obj1);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 if (obj2) {
10784 {
10785 arg3 = &temp3;
10786 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10787 }
10788 }
10789 if (obj3) {
10790 {
10791 arg4 = &temp4;
10792 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10793 }
10794 }
10795 if (obj4) {
10796 arg5 = (long)SWIG_As_long(obj4);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
10799 if (obj5) {
10800 {
10801 arg6 = wxString_in_helper(obj5);
10802 if (arg6 == NULL) SWIG_fail;
10803 temp6 = true;
10804 }
10805 }
10806 {
10807 if (!wxPyCheckForApp()) SWIG_fail;
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10815 {
10816 if (temp6)
10817 delete arg6;
10818 }
10819 return resultobj;
10820 fail:
10821 {
10822 if (temp6)
10823 delete arg6;
10824 }
10825 return NULL;
10826 }
10827
10828
10829 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
10830 PyObject *resultobj;
10831 wxSpinButton *result;
10832 char *kwnames[] = {
10833 NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10837 {
10838 if (!wxPyCheckForApp()) SWIG_fail;
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (wxSpinButton *)new wxSpinButton();
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10846 return resultobj;
10847 fail:
10848 return NULL;
10849 }
10850
10851
10852 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10855 wxWindow *arg2 = (wxWindow *) 0 ;
10856 int arg3 = (int) -1 ;
10857 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10858 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10859 wxSize const &arg5_defvalue = wxDefaultSize ;
10860 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10861 long arg6 = (long) wxSP_HORIZONTAL ;
10862 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10863 wxString *arg7 = (wxString *) &arg7_defvalue ;
10864 bool result;
10865 wxPoint temp4 ;
10866 wxSize temp5 ;
10867 bool temp7 = false ;
10868 PyObject * obj0 = 0 ;
10869 PyObject * obj1 = 0 ;
10870 PyObject * obj2 = 0 ;
10871 PyObject * obj3 = 0 ;
10872 PyObject * obj4 = 0 ;
10873 PyObject * obj5 = 0 ;
10874 PyObject * obj6 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10884 if (obj2) {
10885 arg3 = (int)SWIG_As_int(obj2);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 if (obj3) {
10889 {
10890 arg4 = &temp4;
10891 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10892 }
10893 }
10894 if (obj4) {
10895 {
10896 arg5 = &temp5;
10897 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10898 }
10899 }
10900 if (obj5) {
10901 arg6 = (long)SWIG_As_long(obj5);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 if (obj6) {
10905 {
10906 arg7 = wxString_in_helper(obj6);
10907 if (arg7 == NULL) SWIG_fail;
10908 temp7 = true;
10909 }
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 {
10919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10920 }
10921 {
10922 if (temp7)
10923 delete arg7;
10924 }
10925 return resultobj;
10926 fail:
10927 {
10928 if (temp7)
10929 delete arg7;
10930 }
10931 return NULL;
10932 }
10933
10934
10935 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10936 PyObject *resultobj;
10937 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10938 int result;
10939 PyObject * obj0 = 0 ;
10940 char *kwnames[] = {
10941 (char *) "self", NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 result = (int)((wxSpinButton const *)arg1)->GetValue();
10950
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) SWIG_fail;
10953 }
10954 resultobj = SWIG_From_int((int)result);
10955 return resultobj;
10956 fail:
10957 return NULL;
10958 }
10959
10960
10961 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj;
10963 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10964 int result;
10965 PyObject * obj0 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "self", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 result = (int)((wxSpinButton const *)arg1)->GetMin();
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 resultobj = SWIG_From_int((int)result);
10981 return resultobj;
10982 fail:
10983 return NULL;
10984 }
10985
10986
10987 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10988 PyObject *resultobj;
10989 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10990 int result;
10991 PyObject * obj0 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "self", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10999 {
11000 PyThreadState* __tstate = wxPyBeginAllowThreads();
11001 result = (int)((wxSpinButton const *)arg1)->GetMax();
11002
11003 wxPyEndAllowThreads(__tstate);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
11006 resultobj = SWIG_From_int((int)result);
11007 return resultobj;
11008 fail:
11009 return NULL;
11010 }
11011
11012
11013 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj;
11015 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11016 int arg2 ;
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self",(char *) "val", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11026 arg2 = (int)SWIG_As_int(obj1);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 (arg1)->SetValue(arg2);
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 Py_INCREF(Py_None); resultobj = Py_None;
11036 return resultobj;
11037 fail:
11038 return NULL;
11039 }
11040
11041
11042 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj;
11044 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11045 int arg2 ;
11046 PyObject * obj0 = 0 ;
11047 PyObject * obj1 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self",(char *) "minVal", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
11053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11055 arg2 = (int)SWIG_As_int(obj1);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 {
11058 PyThreadState* __tstate = wxPyBeginAllowThreads();
11059 (arg1)->SetMin(arg2);
11060
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 Py_INCREF(Py_None); resultobj = Py_None;
11065 return resultobj;
11066 fail:
11067 return NULL;
11068 }
11069
11070
11071 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
11072 PyObject *resultobj;
11073 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11074 int arg2 ;
11075 PyObject * obj0 = 0 ;
11076 PyObject * obj1 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "self",(char *) "maxVal", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11084 arg2 = (int)SWIG_As_int(obj1);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 (arg1)->SetMax(arg2);
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 Py_INCREF(Py_None); resultobj = Py_None;
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11103 int arg2 ;
11104 int arg3 ;
11105 PyObject * obj0 = 0 ;
11106 PyObject * obj1 = 0 ;
11107 PyObject * obj2 = 0 ;
11108 char *kwnames[] = {
11109 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11110 };
11111
11112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11115 arg2 = (int)SWIG_As_int(obj1);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 arg3 = (int)SWIG_As_int(obj2);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 {
11120 PyThreadState* __tstate = wxPyBeginAllowThreads();
11121 (arg1)->SetRange(arg2,arg3);
11122
11123 wxPyEndAllowThreads(__tstate);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 Py_INCREF(Py_None); resultobj = Py_None;
11127 return resultobj;
11128 fail:
11129 return NULL;
11130 }
11131
11132
11133 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
11134 PyObject *resultobj;
11135 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11136 bool result;
11137 PyObject * obj0 = 0 ;
11138 char *kwnames[] = {
11139 (char *) "self", NULL
11140 };
11141
11142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
11143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 {
11153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11154 }
11155 return resultobj;
11156 fail:
11157 return NULL;
11158 }
11159
11160
11161 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj;
11163 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11164 wxVisualAttributes result;
11165 PyObject * obj0 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "variant", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11171 if (obj0) {
11172 arg1 = (int)SWIG_As_int(obj0);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 {
11176 if (!wxPyCheckForApp()) SWIG_fail;
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
11179
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 {
11184 wxVisualAttributes * resultptr;
11185 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11187 }
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
11195 PyObject *obj;
11196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11197 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
11198 Py_INCREF(obj);
11199 return Py_BuildValue((char *)"");
11200 }
11201 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
11202 PyObject *resultobj;
11203 wxWindow *arg1 = (wxWindow *) 0 ;
11204 int arg2 = (int) -1 ;
11205 wxString const &arg3_defvalue = wxPyEmptyString ;
11206 wxString *arg3 = (wxString *) &arg3_defvalue ;
11207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11209 wxSize const &arg5_defvalue = wxDefaultSize ;
11210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11211 long arg6 = (long) wxSP_ARROW_KEYS ;
11212 int arg7 = (int) 0 ;
11213 int arg8 = (int) 100 ;
11214 int arg9 = (int) 0 ;
11215 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
11216 wxString *arg10 = (wxString *) &arg10_defvalue ;
11217 wxSpinCtrl *result;
11218 bool temp3 = false ;
11219 wxPoint temp4 ;
11220 wxSize temp5 ;
11221 bool temp10 = false ;
11222 PyObject * obj0 = 0 ;
11223 PyObject * obj1 = 0 ;
11224 PyObject * obj2 = 0 ;
11225 PyObject * obj3 = 0 ;
11226 PyObject * obj4 = 0 ;
11227 PyObject * obj5 = 0 ;
11228 PyObject * obj6 = 0 ;
11229 PyObject * obj7 = 0 ;
11230 PyObject * obj8 = 0 ;
11231 PyObject * obj9 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11239 if (obj1) {
11240 arg2 = (int)SWIG_As_int(obj1);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 if (obj2) {
11244 {
11245 arg3 = wxString_in_helper(obj2);
11246 if (arg3 == NULL) SWIG_fail;
11247 temp3 = true;
11248 }
11249 }
11250 if (obj3) {
11251 {
11252 arg4 = &temp4;
11253 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11254 }
11255 }
11256 if (obj4) {
11257 {
11258 arg5 = &temp5;
11259 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11260 }
11261 }
11262 if (obj5) {
11263 arg6 = (long)SWIG_As_long(obj5);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 if (obj6) {
11267 arg7 = (int)SWIG_As_int(obj6);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 if (obj7) {
11271 arg8 = (int)SWIG_As_int(obj7);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 if (obj8) {
11275 arg9 = (int)SWIG_As_int(obj8);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 if (obj9) {
11279 {
11280 arg10 = wxString_in_helper(obj9);
11281 if (arg10 == NULL) SWIG_fail;
11282 temp10 = true;
11283 }
11284 }
11285 {
11286 if (!wxPyCheckForApp()) SWIG_fail;
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11289
11290 wxPyEndAllowThreads(__tstate);
11291 if (PyErr_Occurred()) SWIG_fail;
11292 }
11293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11294 {
11295 if (temp3)
11296 delete arg3;
11297 }
11298 {
11299 if (temp10)
11300 delete arg10;
11301 }
11302 return resultobj;
11303 fail:
11304 {
11305 if (temp3)
11306 delete arg3;
11307 }
11308 {
11309 if (temp10)
11310 delete arg10;
11311 }
11312 return NULL;
11313 }
11314
11315
11316 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
11317 PyObject *resultobj;
11318 wxSpinCtrl *result;
11319 char *kwnames[] = {
11320 NULL
11321 };
11322
11323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11324 {
11325 if (!wxPyCheckForApp()) SWIG_fail;
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 result = (wxSpinCtrl *)new wxSpinCtrl();
11328
11329 wxPyEndAllowThreads(__tstate);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11333 return resultobj;
11334 fail:
11335 return NULL;
11336 }
11337
11338
11339 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11340 PyObject *resultobj;
11341 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11342 wxWindow *arg2 = (wxWindow *) 0 ;
11343 int arg3 = (int) -1 ;
11344 wxString const &arg4_defvalue = wxPyEmptyString ;
11345 wxString *arg4 = (wxString *) &arg4_defvalue ;
11346 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11347 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11348 wxSize const &arg6_defvalue = wxDefaultSize ;
11349 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11350 long arg7 = (long) wxSP_ARROW_KEYS ;
11351 int arg8 = (int) 0 ;
11352 int arg9 = (int) 100 ;
11353 int arg10 = (int) 0 ;
11354 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11355 wxString *arg11 = (wxString *) &arg11_defvalue ;
11356 bool result;
11357 bool temp4 = false ;
11358 wxPoint temp5 ;
11359 wxSize temp6 ;
11360 bool temp11 = false ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 PyObject * obj2 = 0 ;
11364 PyObject * obj3 = 0 ;
11365 PyObject * obj4 = 0 ;
11366 PyObject * obj5 = 0 ;
11367 PyObject * obj6 = 0 ;
11368 PyObject * obj7 = 0 ;
11369 PyObject * obj8 = 0 ;
11370 PyObject * obj9 = 0 ;
11371 PyObject * obj10 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11381 if (obj2) {
11382 arg3 = (int)SWIG_As_int(obj2);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 if (obj3) {
11386 {
11387 arg4 = wxString_in_helper(obj3);
11388 if (arg4 == NULL) SWIG_fail;
11389 temp4 = true;
11390 }
11391 }
11392 if (obj4) {
11393 {
11394 arg5 = &temp5;
11395 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11396 }
11397 }
11398 if (obj5) {
11399 {
11400 arg6 = &temp6;
11401 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11402 }
11403 }
11404 if (obj6) {
11405 arg7 = (long)SWIG_As_long(obj6);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 if (obj7) {
11409 arg8 = (int)SWIG_As_int(obj7);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 if (obj8) {
11413 arg9 = (int)SWIG_As_int(obj8);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 if (obj9) {
11417 arg10 = (int)SWIG_As_int(obj9);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 if (obj10) {
11421 {
11422 arg11 = wxString_in_helper(obj10);
11423 if (arg11 == NULL) SWIG_fail;
11424 temp11 = true;
11425 }
11426 }
11427 {
11428 PyThreadState* __tstate = wxPyBeginAllowThreads();
11429 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11430
11431 wxPyEndAllowThreads(__tstate);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 }
11434 {
11435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11436 }
11437 {
11438 if (temp4)
11439 delete arg4;
11440 }
11441 {
11442 if (temp11)
11443 delete arg11;
11444 }
11445 return resultobj;
11446 fail:
11447 {
11448 if (temp4)
11449 delete arg4;
11450 }
11451 {
11452 if (temp11)
11453 delete arg11;
11454 }
11455 return NULL;
11456 }
11457
11458
11459 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj;
11461 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11462 int result;
11463 PyObject * obj0 = 0 ;
11464 char *kwnames[] = {
11465 (char *) "self", NULL
11466 };
11467
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = SWIG_From_int((int)result);
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11488 int arg2 ;
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self",(char *) "value", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11498 arg2 = (int)SWIG_As_int(obj1);
11499 if (PyErr_Occurred()) SWIG_fail;
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 (arg1)->SetValue(arg2);
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 Py_INCREF(Py_None); resultobj = Py_None;
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11517 wxString *arg2 = 0 ;
11518 bool temp2 = false ;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "text", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11528 {
11529 arg2 = wxString_in_helper(obj1);
11530 if (arg2 == NULL) SWIG_fail;
11531 temp2 = true;
11532 }
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 (arg1)->SetValue((wxString const &)*arg2);
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 Py_INCREF(Py_None); resultobj = Py_None;
11541 {
11542 if (temp2)
11543 delete arg2;
11544 }
11545 return resultobj;
11546 fail:
11547 {
11548 if (temp2)
11549 delete arg2;
11550 }
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11558 int arg2 ;
11559 int arg3 ;
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 PyObject * obj2 = 0 ;
11563 char *kwnames[] = {
11564 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11565 };
11566
11567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11570 arg2 = (int)SWIG_As_int(obj1);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 arg3 = (int)SWIG_As_int(obj2);
11573 if (PyErr_Occurred()) SWIG_fail;
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 (arg1)->SetRange(arg2,arg3);
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 Py_INCREF(Py_None); resultobj = Py_None;
11582 return resultobj;
11583 fail:
11584 return NULL;
11585 }
11586
11587
11588 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
11589 PyObject *resultobj;
11590 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11591 int result;
11592 PyObject * obj0 = 0 ;
11593 char *kwnames[] = {
11594 (char *) "self", NULL
11595 };
11596
11597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 resultobj = SWIG_From_int((int)result);
11608 return resultobj;
11609 fail:
11610 return NULL;
11611 }
11612
11613
11614 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
11615 PyObject *resultobj;
11616 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11617 int result;
11618 PyObject * obj0 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 resultobj = SWIG_From_int((int)result);
11634 return resultobj;
11635 fail:
11636 return NULL;
11637 }
11638
11639
11640 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11641 PyObject *resultobj;
11642 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11643 long arg2 ;
11644 long arg3 ;
11645 PyObject * obj0 = 0 ;
11646 PyObject * obj1 = 0 ;
11647 PyObject * obj2 = 0 ;
11648 char *kwnames[] = {
11649 (char *) "self",(char *) "from",(char *) "to", NULL
11650 };
11651
11652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11655 arg2 = (long)SWIG_As_long(obj1);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 arg3 = (long)SWIG_As_long(obj2);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 (arg1)->SetSelection(arg2,arg3);
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
11666 Py_INCREF(Py_None); resultobj = Py_None;
11667 return resultobj;
11668 fail:
11669 return NULL;
11670 }
11671
11672
11673 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11674 PyObject *resultobj;
11675 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11676 wxVisualAttributes result;
11677 PyObject * obj0 = 0 ;
11678 char *kwnames[] = {
11679 (char *) "variant", NULL
11680 };
11681
11682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11683 if (obj0) {
11684 arg1 = (int)SWIG_As_int(obj0);
11685 if (PyErr_Occurred()) SWIG_fail;
11686 }
11687 {
11688 if (!wxPyCheckForApp()) SWIG_fail;
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11691
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 {
11696 wxVisualAttributes * resultptr;
11697 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11698 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11699 }
11700 return resultobj;
11701 fail:
11702 return NULL;
11703 }
11704
11705
11706 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
11707 PyObject *obj;
11708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11709 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11710 Py_INCREF(obj);
11711 return Py_BuildValue((char *)"");
11712 }
11713 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11716 int arg2 = (int) 0 ;
11717 wxSpinEvent *result;
11718 PyObject * obj0 = 0 ;
11719 PyObject * obj1 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "commandType",(char *) "winid", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11725 if (obj0) {
11726 arg1 = (wxEventType)SWIG_As_int(obj0);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
11729 if (obj1) {
11730 arg2 = (int)SWIG_As_int(obj1);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj;
11749 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11750 int result;
11751 PyObject * obj0 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 resultobj = SWIG_From_int((int)result);
11767 return resultobj;
11768 fail:
11769 return NULL;
11770 }
11771
11772
11773 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11774 PyObject *resultobj;
11775 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11776 int arg2 ;
11777 PyObject * obj0 = 0 ;
11778 PyObject * obj1 = 0 ;
11779 char *kwnames[] = {
11780 (char *) "self",(char *) "pos", NULL
11781 };
11782
11783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11786 arg2 = (int)SWIG_As_int(obj1);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 {
11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
11790 (arg1)->SetPosition(arg2);
11791
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) SWIG_fail;
11794 }
11795 Py_INCREF(Py_None); resultobj = Py_None;
11796 return resultobj;
11797 fail:
11798 return NULL;
11799 }
11800
11801
11802 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
11803 PyObject *obj;
11804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11805 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11806 Py_INCREF(obj);
11807 return Py_BuildValue((char *)"");
11808 }
11809 static int _wrap_RadioBoxNameStr_set(PyObject *) {
11810 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11811 return 1;
11812 }
11813
11814
11815 static PyObject *_wrap_RadioBoxNameStr_get() {
11816 PyObject *pyobj;
11817
11818 {
11819 #if wxUSE_UNICODE
11820 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11821 #else
11822 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11823 #endif
11824 }
11825 return pyobj;
11826 }
11827
11828
11829 static int _wrap_RadioButtonNameStr_set(PyObject *) {
11830 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11831 return 1;
11832 }
11833
11834
11835 static PyObject *_wrap_RadioButtonNameStr_get() {
11836 PyObject *pyobj;
11837
11838 {
11839 #if wxUSE_UNICODE
11840 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11841 #else
11842 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11843 #endif
11844 }
11845 return pyobj;
11846 }
11847
11848
11849 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
11850 PyObject *resultobj;
11851 wxWindow *arg1 = (wxWindow *) 0 ;
11852 int arg2 = (int) -1 ;
11853 wxString const &arg3_defvalue = wxPyEmptyString ;
11854 wxString *arg3 = (wxString *) &arg3_defvalue ;
11855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11857 wxSize const &arg5_defvalue = wxDefaultSize ;
11858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11859 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11860 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11861 int arg7 = (int) 0 ;
11862 long arg8 = (long) wxRA_HORIZONTAL ;
11863 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11864 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11865 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11866 wxString *arg10 = (wxString *) &arg10_defvalue ;
11867 wxRadioBox *result;
11868 bool temp3 = false ;
11869 wxPoint temp4 ;
11870 wxSize temp5 ;
11871 bool temp6 = false ;
11872 bool temp10 = false ;
11873 PyObject * obj0 = 0 ;
11874 PyObject * obj1 = 0 ;
11875 PyObject * obj2 = 0 ;
11876 PyObject * obj3 = 0 ;
11877 PyObject * obj4 = 0 ;
11878 PyObject * obj5 = 0 ;
11879 PyObject * obj6 = 0 ;
11880 PyObject * obj7 = 0 ;
11881 PyObject * obj8 = 0 ;
11882 PyObject * obj9 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11890 if (obj1) {
11891 arg2 = (int)SWIG_As_int(obj1);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
11894 if (obj2) {
11895 {
11896 arg3 = wxString_in_helper(obj2);
11897 if (arg3 == NULL) SWIG_fail;
11898 temp3 = true;
11899 }
11900 }
11901 if (obj3) {
11902 {
11903 arg4 = &temp4;
11904 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11905 }
11906 }
11907 if (obj4) {
11908 {
11909 arg5 = &temp5;
11910 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11911 }
11912 }
11913 if (obj5) {
11914 {
11915 if (! PySequence_Check(obj5)) {
11916 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11917 SWIG_fail;
11918 }
11919 arg6 = new wxArrayString;
11920 temp6 = true;
11921 int i, len=PySequence_Length(obj5);
11922 for (i=0; i<len; i++) {
11923 PyObject* item = PySequence_GetItem(obj5, i);
11924 #if wxUSE_UNICODE
11925 PyObject* str = PyObject_Unicode(item);
11926 #else
11927 PyObject* str = PyObject_Str(item);
11928 #endif
11929 if (PyErr_Occurred()) SWIG_fail;
11930 arg6->Add(Py2wxString(str));
11931 Py_DECREF(item);
11932 Py_DECREF(str);
11933 }
11934 }
11935 }
11936 if (obj6) {
11937 arg7 = (int)SWIG_As_int(obj6);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 if (obj7) {
11941 arg8 = (long)SWIG_As_long(obj7);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 }
11944 if (obj8) {
11945 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11946 SWIG_POINTER_EXCEPTION | 0)) == -1)
11947 SWIG_fail;
11948 if (arg9 == NULL) {
11949 PyErr_SetString(PyExc_TypeError,"null reference");
11950 SWIG_fail;
11951 }
11952 }
11953 if (obj9) {
11954 {
11955 arg10 = wxString_in_helper(obj9);
11956 if (arg10 == NULL) SWIG_fail;
11957 temp10 = true;
11958 }
11959 }
11960 {
11961 if (!wxPyCheckForApp()) SWIG_fail;
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 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);
11964
11965 wxPyEndAllowThreads(__tstate);
11966 if (PyErr_Occurred()) SWIG_fail;
11967 }
11968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11969 {
11970 if (temp3)
11971 delete arg3;
11972 }
11973 {
11974 if (temp6) delete arg6;
11975 }
11976 {
11977 if (temp10)
11978 delete arg10;
11979 }
11980 return resultobj;
11981 fail:
11982 {
11983 if (temp3)
11984 delete arg3;
11985 }
11986 {
11987 if (temp6) delete arg6;
11988 }
11989 {
11990 if (temp10)
11991 delete arg10;
11992 }
11993 return NULL;
11994 }
11995
11996
11997 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj;
11999 wxRadioBox *result;
12000 char *kwnames[] = {
12001 NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
12005 {
12006 if (!wxPyCheckForApp()) SWIG_fail;
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 result = (wxRadioBox *)new wxRadioBox();
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
12014 return resultobj;
12015 fail:
12016 return NULL;
12017 }
12018
12019
12020 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12021 PyObject *resultobj;
12022 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12023 wxWindow *arg2 = (wxWindow *) 0 ;
12024 int arg3 = (int) -1 ;
12025 wxString const &arg4_defvalue = wxPyEmptyString ;
12026 wxString *arg4 = (wxString *) &arg4_defvalue ;
12027 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12028 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12029 wxSize const &arg6_defvalue = wxDefaultSize ;
12030 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12031 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
12032 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
12033 int arg8 = (int) 0 ;
12034 long arg9 = (long) wxRA_HORIZONTAL ;
12035 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12036 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12037 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
12038 wxString *arg11 = (wxString *) &arg11_defvalue ;
12039 bool result;
12040 bool temp4 = false ;
12041 wxPoint temp5 ;
12042 wxSize temp6 ;
12043 bool temp7 = false ;
12044 bool temp11 = false ;
12045 PyObject * obj0 = 0 ;
12046 PyObject * obj1 = 0 ;
12047 PyObject * obj2 = 0 ;
12048 PyObject * obj3 = 0 ;
12049 PyObject * obj4 = 0 ;
12050 PyObject * obj5 = 0 ;
12051 PyObject * obj6 = 0 ;
12052 PyObject * obj7 = 0 ;
12053 PyObject * obj8 = 0 ;
12054 PyObject * obj9 = 0 ;
12055 PyObject * obj10 = 0 ;
12056 char *kwnames[] = {
12057 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12058 };
12059
12060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12065 if (obj2) {
12066 arg3 = (int)SWIG_As_int(obj2);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 if (obj3) {
12070 {
12071 arg4 = wxString_in_helper(obj3);
12072 if (arg4 == NULL) SWIG_fail;
12073 temp4 = true;
12074 }
12075 }
12076 if (obj4) {
12077 {
12078 arg5 = &temp5;
12079 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12080 }
12081 }
12082 if (obj5) {
12083 {
12084 arg6 = &temp6;
12085 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12086 }
12087 }
12088 if (obj6) {
12089 {
12090 if (! PySequence_Check(obj6)) {
12091 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12092 SWIG_fail;
12093 }
12094 arg7 = new wxArrayString;
12095 temp7 = true;
12096 int i, len=PySequence_Length(obj6);
12097 for (i=0; i<len; i++) {
12098 PyObject* item = PySequence_GetItem(obj6, i);
12099 #if wxUSE_UNICODE
12100 PyObject* str = PyObject_Unicode(item);
12101 #else
12102 PyObject* str = PyObject_Str(item);
12103 #endif
12104 if (PyErr_Occurred()) SWIG_fail;
12105 arg7->Add(Py2wxString(str));
12106 Py_DECREF(item);
12107 Py_DECREF(str);
12108 }
12109 }
12110 }
12111 if (obj7) {
12112 arg8 = (int)SWIG_As_int(obj7);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 if (obj8) {
12116 arg9 = (long)SWIG_As_long(obj8);
12117 if (PyErr_Occurred()) SWIG_fail;
12118 }
12119 if (obj9) {
12120 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12121 SWIG_POINTER_EXCEPTION | 0)) == -1)
12122 SWIG_fail;
12123 if (arg10 == NULL) {
12124 PyErr_SetString(PyExc_TypeError,"null reference");
12125 SWIG_fail;
12126 }
12127 }
12128 if (obj10) {
12129 {
12130 arg11 = wxString_in_helper(obj10);
12131 if (arg11 == NULL) SWIG_fail;
12132 temp11 = true;
12133 }
12134 }
12135 {
12136 PyThreadState* __tstate = wxPyBeginAllowThreads();
12137 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);
12138
12139 wxPyEndAllowThreads(__tstate);
12140 if (PyErr_Occurred()) SWIG_fail;
12141 }
12142 {
12143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12144 }
12145 {
12146 if (temp4)
12147 delete arg4;
12148 }
12149 {
12150 if (temp7) delete arg7;
12151 }
12152 {
12153 if (temp11)
12154 delete arg11;
12155 }
12156 return resultobj;
12157 fail:
12158 {
12159 if (temp4)
12160 delete arg4;
12161 }
12162 {
12163 if (temp7) delete arg7;
12164 }
12165 {
12166 if (temp11)
12167 delete arg11;
12168 }
12169 return NULL;
12170 }
12171
12172
12173 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12174 PyObject *resultobj;
12175 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12176 int arg2 ;
12177 PyObject * obj0 = 0 ;
12178 PyObject * obj1 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self",(char *) "n", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12186 arg2 = (int)SWIG_As_int(obj1);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 {
12189 PyThreadState* __tstate = wxPyBeginAllowThreads();
12190 (arg1)->SetSelection(arg2);
12191
12192 wxPyEndAllowThreads(__tstate);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
12195 Py_INCREF(Py_None); resultobj = Py_None;
12196 return resultobj;
12197 fail:
12198 return NULL;
12199 }
12200
12201
12202 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12203 PyObject *resultobj;
12204 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12205 int result;
12206 PyObject * obj0 = 0 ;
12207 char *kwnames[] = {
12208 (char *) "self", NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
12212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (int)((wxRadioBox const *)arg1)->GetSelection();
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 resultobj = SWIG_From_int((int)result);
12222 return resultobj;
12223 fail:
12224 return NULL;
12225 }
12226
12227
12228 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12231 wxString result;
12232 PyObject * obj0 = 0 ;
12233 char *kwnames[] = {
12234 (char *) "self", NULL
12235 };
12236
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
12238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12240 {
12241 PyThreadState* __tstate = wxPyBeginAllowThreads();
12242 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12243
12244 wxPyEndAllowThreads(__tstate);
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
12247 {
12248 #if wxUSE_UNICODE
12249 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12250 #else
12251 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12252 #endif
12253 }
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj;
12262 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12263 wxString *arg2 = 0 ;
12264 bool result;
12265 bool temp2 = false ;
12266 PyObject * obj0 = 0 ;
12267 PyObject * obj1 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self",(char *) "s", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12275 {
12276 arg2 = wxString_in_helper(obj1);
12277 if (arg2 == NULL) SWIG_fail;
12278 temp2 = true;
12279 }
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12283
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 {
12288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12289 }
12290 {
12291 if (temp2)
12292 delete arg2;
12293 }
12294 return resultobj;
12295 fail:
12296 {
12297 if (temp2)
12298 delete arg2;
12299 }
12300 return NULL;
12301 }
12302
12303
12304 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
12305 PyObject *resultobj;
12306 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12307 int result;
12308 PyObject * obj0 = 0 ;
12309 char *kwnames[] = {
12310 (char *) "self", NULL
12311 };
12312
12313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 result = (int)((wxRadioBox const *)arg1)->GetCount();
12319
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 resultobj = SWIG_From_int((int)result);
12324 return resultobj;
12325 fail:
12326 return NULL;
12327 }
12328
12329
12330 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12333 wxString *arg2 = 0 ;
12334 int result;
12335 bool temp2 = false ;
12336 PyObject * obj0 = 0 ;
12337 PyObject * obj1 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "self",(char *) "s", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12345 {
12346 arg2 = wxString_in_helper(obj1);
12347 if (arg2 == NULL) SWIG_fail;
12348 temp2 = true;
12349 }
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12353
12354 wxPyEndAllowThreads(__tstate);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
12357 resultobj = SWIG_From_int((int)result);
12358 {
12359 if (temp2)
12360 delete arg2;
12361 }
12362 return resultobj;
12363 fail:
12364 {
12365 if (temp2)
12366 delete arg2;
12367 }
12368 return NULL;
12369 }
12370
12371
12372 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
12373 PyObject *resultobj;
12374 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12375 int arg2 ;
12376 wxString result;
12377 PyObject * obj0 = 0 ;
12378 PyObject * obj1 = 0 ;
12379 char *kwnames[] = {
12380 (char *) "self",(char *) "n", NULL
12381 };
12382
12383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12386 arg2 = (int)SWIG_As_int(obj1);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12391
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 {
12396 #if wxUSE_UNICODE
12397 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12398 #else
12399 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12400 #endif
12401 }
12402 return resultobj;
12403 fail:
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12411 int arg2 ;
12412 wxString *arg3 = 0 ;
12413 bool temp3 = false ;
12414 PyObject * obj0 = 0 ;
12415 PyObject * obj1 = 0 ;
12416 PyObject * obj2 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self",(char *) "n",(char *) "label", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12424 arg2 = (int)SWIG_As_int(obj1);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 {
12427 arg3 = wxString_in_helper(obj2);
12428 if (arg3 == NULL) SWIG_fail;
12429 temp3 = true;
12430 }
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 (arg1)->SetString(arg2,(wxString const &)*arg3);
12434
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 Py_INCREF(Py_None); resultobj = Py_None;
12439 {
12440 if (temp3)
12441 delete arg3;
12442 }
12443 return resultobj;
12444 fail:
12445 {
12446 if (temp3)
12447 delete arg3;
12448 }
12449 return NULL;
12450 }
12451
12452
12453 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
12454 PyObject *resultobj;
12455 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12456 int arg2 ;
12457 bool arg3 = (bool) true ;
12458 PyObject * obj0 = 0 ;
12459 PyObject * obj1 = 0 ;
12460 PyObject * obj2 = 0 ;
12461 char *kwnames[] = {
12462 (char *) "self",(char *) "n",(char *) "enable", NULL
12463 };
12464
12465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12468 arg2 = (int)SWIG_As_int(obj1);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 if (obj2) {
12471 arg3 = (bool)SWIG_As_bool(obj2);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 (arg1)->Enable(arg2,arg3);
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 Py_INCREF(Py_None); resultobj = Py_None;
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj;
12490 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12491 int arg2 ;
12492 bool arg3 = (bool) true ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 PyObject * obj2 = 0 ;
12496 char *kwnames[] = {
12497 (char *) "self",(char *) "n",(char *) "show", NULL
12498 };
12499
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12503 arg2 = (int)SWIG_As_int(obj1);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 if (obj2) {
12506 arg3 = (bool)SWIG_As_bool(obj2);
12507 if (PyErr_Occurred()) SWIG_fail;
12508 }
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 (arg1)->Show(arg2,arg3);
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 Py_INCREF(Py_None); resultobj = Py_None;
12517 return resultobj;
12518 fail:
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12526 int result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 resultobj = SWIG_From_int((int)result);
12543 return resultobj;
12544 fail:
12545 return NULL;
12546 }
12547
12548
12549 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
12550 PyObject *resultobj;
12551 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12552 int result;
12553 PyObject * obj0 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "self", NULL
12556 };
12557
12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
12564
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 resultobj = SWIG_From_int((int)result);
12569 return resultobj;
12570 fail:
12571 return NULL;
12572 }
12573
12574
12575 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj;
12577 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12578 int arg2 ;
12579 int arg3 ;
12580 long arg4 ;
12581 int result;
12582 PyObject * obj0 = 0 ;
12583 PyObject * obj1 = 0 ;
12584 PyObject * obj2 = 0 ;
12585 PyObject * obj3 = 0 ;
12586 char *kwnames[] = {
12587 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12588 };
12589
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12593 arg2 = (int)SWIG_As_int(obj1);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 arg3 = (int)SWIG_As_int(obj2);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 arg4 = (long)SWIG_As_long(obj3);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
12606 resultobj = SWIG_From_int((int)result);
12607 return resultobj;
12608 fail:
12609 return NULL;
12610 }
12611
12612
12613 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12614 PyObject *resultobj;
12615 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12616 wxVisualAttributes result;
12617 PyObject * obj0 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "variant", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12623 if (obj0) {
12624 arg1 = (int)SWIG_As_int(obj0);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 {
12628 if (!wxPyCheckForApp()) SWIG_fail;
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 {
12636 wxVisualAttributes * resultptr;
12637 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12639 }
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
12647 PyObject *obj;
12648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12649 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12650 Py_INCREF(obj);
12651 return Py_BuildValue((char *)"");
12652 }
12653 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
12654 PyObject *resultobj;
12655 wxWindow *arg1 = (wxWindow *) 0 ;
12656 int arg2 = (int) -1 ;
12657 wxString const &arg3_defvalue = wxPyEmptyString ;
12658 wxString *arg3 = (wxString *) &arg3_defvalue ;
12659 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12660 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12661 wxSize const &arg5_defvalue = wxDefaultSize ;
12662 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12663 long arg6 = (long) 0 ;
12664 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12665 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12666 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12667 wxString *arg8 = (wxString *) &arg8_defvalue ;
12668 wxRadioButton *result;
12669 bool temp3 = false ;
12670 wxPoint temp4 ;
12671 wxSize temp5 ;
12672 bool temp8 = false ;
12673 PyObject * obj0 = 0 ;
12674 PyObject * obj1 = 0 ;
12675 PyObject * obj2 = 0 ;
12676 PyObject * obj3 = 0 ;
12677 PyObject * obj4 = 0 ;
12678 PyObject * obj5 = 0 ;
12679 PyObject * obj6 = 0 ;
12680 PyObject * obj7 = 0 ;
12681 char *kwnames[] = {
12682 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12683 };
12684
12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12688 if (obj1) {
12689 arg2 = (int)SWIG_As_int(obj1);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 if (obj2) {
12693 {
12694 arg3 = wxString_in_helper(obj2);
12695 if (arg3 == NULL) SWIG_fail;
12696 temp3 = true;
12697 }
12698 }
12699 if (obj3) {
12700 {
12701 arg4 = &temp4;
12702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12703 }
12704 }
12705 if (obj4) {
12706 {
12707 arg5 = &temp5;
12708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12709 }
12710 }
12711 if (obj5) {
12712 arg6 = (long)SWIG_As_long(obj5);
12713 if (PyErr_Occurred()) SWIG_fail;
12714 }
12715 if (obj6) {
12716 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12717 SWIG_POINTER_EXCEPTION | 0)) == -1)
12718 SWIG_fail;
12719 if (arg7 == NULL) {
12720 PyErr_SetString(PyExc_TypeError,"null reference");
12721 SWIG_fail;
12722 }
12723 }
12724 if (obj7) {
12725 {
12726 arg8 = wxString_in_helper(obj7);
12727 if (arg8 == NULL) SWIG_fail;
12728 temp8 = true;
12729 }
12730 }
12731 {
12732 if (!wxPyCheckForApp()) SWIG_fail;
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
12739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12740 {
12741 if (temp3)
12742 delete arg3;
12743 }
12744 {
12745 if (temp8)
12746 delete arg8;
12747 }
12748 return resultobj;
12749 fail:
12750 {
12751 if (temp3)
12752 delete arg3;
12753 }
12754 {
12755 if (temp8)
12756 delete arg8;
12757 }
12758 return NULL;
12759 }
12760
12761
12762 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
12763 PyObject *resultobj;
12764 wxRadioButton *result;
12765 char *kwnames[] = {
12766 NULL
12767 };
12768
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12770 {
12771 if (!wxPyCheckForApp()) SWIG_fail;
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = (wxRadioButton *)new wxRadioButton();
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12779 return resultobj;
12780 fail:
12781 return NULL;
12782 }
12783
12784
12785 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12788 wxWindow *arg2 = (wxWindow *) 0 ;
12789 int arg3 = (int) -1 ;
12790 wxString const &arg4_defvalue = wxPyEmptyString ;
12791 wxString *arg4 = (wxString *) &arg4_defvalue ;
12792 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12793 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12794 wxSize const &arg6_defvalue = wxDefaultSize ;
12795 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12796 long arg7 = (long) 0 ;
12797 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12798 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12799 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12800 wxString *arg9 = (wxString *) &arg9_defvalue ;
12801 bool result;
12802 bool temp4 = false ;
12803 wxPoint temp5 ;
12804 wxSize temp6 ;
12805 bool temp9 = false ;
12806 PyObject * obj0 = 0 ;
12807 PyObject * obj1 = 0 ;
12808 PyObject * obj2 = 0 ;
12809 PyObject * obj3 = 0 ;
12810 PyObject * obj4 = 0 ;
12811 PyObject * obj5 = 0 ;
12812 PyObject * obj6 = 0 ;
12813 PyObject * obj7 = 0 ;
12814 PyObject * obj8 = 0 ;
12815 char *kwnames[] = {
12816 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12817 };
12818
12819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12824 if (obj2) {
12825 arg3 = (int)SWIG_As_int(obj2);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
12828 if (obj3) {
12829 {
12830 arg4 = wxString_in_helper(obj3);
12831 if (arg4 == NULL) SWIG_fail;
12832 temp4 = true;
12833 }
12834 }
12835 if (obj4) {
12836 {
12837 arg5 = &temp5;
12838 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12839 }
12840 }
12841 if (obj5) {
12842 {
12843 arg6 = &temp6;
12844 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12845 }
12846 }
12847 if (obj6) {
12848 arg7 = (long)SWIG_As_long(obj6);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 if (obj7) {
12852 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12853 SWIG_POINTER_EXCEPTION | 0)) == -1)
12854 SWIG_fail;
12855 if (arg8 == NULL) {
12856 PyErr_SetString(PyExc_TypeError,"null reference");
12857 SWIG_fail;
12858 }
12859 }
12860 if (obj8) {
12861 {
12862 arg9 = wxString_in_helper(obj8);
12863 if (arg9 == NULL) SWIG_fail;
12864 temp9 = true;
12865 }
12866 }
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12870
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 {
12875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12876 }
12877 {
12878 if (temp4)
12879 delete arg4;
12880 }
12881 {
12882 if (temp9)
12883 delete arg9;
12884 }
12885 return resultobj;
12886 fail:
12887 {
12888 if (temp4)
12889 delete arg4;
12890 }
12891 {
12892 if (temp9)
12893 delete arg9;
12894 }
12895 return NULL;
12896 }
12897
12898
12899 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12900 PyObject *resultobj;
12901 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12902 bool result;
12903 PyObject * obj0 = 0 ;
12904 char *kwnames[] = {
12905 (char *) "self", NULL
12906 };
12907
12908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 result = (bool)(arg1)->GetValue();
12914
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 {
12919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12920 }
12921 return resultobj;
12922 fail:
12923 return NULL;
12924 }
12925
12926
12927 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12928 PyObject *resultobj;
12929 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12930 bool arg2 ;
12931 PyObject * obj0 = 0 ;
12932 PyObject * obj1 = 0 ;
12933 char *kwnames[] = {
12934 (char *) "self",(char *) "value", NULL
12935 };
12936
12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12940 arg2 = (bool)SWIG_As_bool(obj1);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 (arg1)->SetValue(arg2);
12945
12946 wxPyEndAllowThreads(__tstate);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 }
12949 Py_INCREF(Py_None); resultobj = Py_None;
12950 return resultobj;
12951 fail:
12952 return NULL;
12953 }
12954
12955
12956 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12957 PyObject *resultobj;
12958 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12959 wxVisualAttributes result;
12960 PyObject * obj0 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "variant", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12966 if (obj0) {
12967 arg1 = (int)SWIG_As_int(obj0);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 {
12971 if (!wxPyCheckForApp()) SWIG_fail;
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 {
12979 wxVisualAttributes * resultptr;
12980 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12981 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12982 }
12983 return resultobj;
12984 fail:
12985 return NULL;
12986 }
12987
12988
12989 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
12990 PyObject *obj;
12991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12992 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12993 Py_INCREF(obj);
12994 return Py_BuildValue((char *)"");
12995 }
12996 static int _wrap_SliderNameStr_set(PyObject *) {
12997 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12998 return 1;
12999 }
13000
13001
13002 static PyObject *_wrap_SliderNameStr_get() {
13003 PyObject *pyobj;
13004
13005 {
13006 #if wxUSE_UNICODE
13007 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
13008 #else
13009 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
13010 #endif
13011 }
13012 return pyobj;
13013 }
13014
13015
13016 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj;
13018 wxWindow *arg1 = (wxWindow *) 0 ;
13019 int arg2 = (int) -1 ;
13020 int arg3 = (int) 0 ;
13021 int arg4 = (int) 0 ;
13022 int arg5 = (int) 100 ;
13023 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13024 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13025 wxSize const &arg7_defvalue = wxDefaultSize ;
13026 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
13027 long arg8 = (long) wxSL_HORIZONTAL ;
13028 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13029 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13030 wxString const &arg10_defvalue = wxPySliderNameStr ;
13031 wxString *arg10 = (wxString *) &arg10_defvalue ;
13032 wxSlider *result;
13033 wxPoint temp6 ;
13034 wxSize temp7 ;
13035 bool temp10 = false ;
13036 PyObject * obj0 = 0 ;
13037 PyObject * obj1 = 0 ;
13038 PyObject * obj2 = 0 ;
13039 PyObject * obj3 = 0 ;
13040 PyObject * obj4 = 0 ;
13041 PyObject * obj5 = 0 ;
13042 PyObject * obj6 = 0 ;
13043 PyObject * obj7 = 0 ;
13044 PyObject * obj8 = 0 ;
13045 PyObject * obj9 = 0 ;
13046 char *kwnames[] = {
13047 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13048 };
13049
13050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13053 if (obj1) {
13054 arg2 = (int)SWIG_As_int(obj1);
13055 if (PyErr_Occurred()) SWIG_fail;
13056 }
13057 if (obj2) {
13058 arg3 = (int)SWIG_As_int(obj2);
13059 if (PyErr_Occurred()) SWIG_fail;
13060 }
13061 if (obj3) {
13062 arg4 = (int)SWIG_As_int(obj3);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 if (obj4) {
13066 arg5 = (int)SWIG_As_int(obj4);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 if (obj5) {
13070 {
13071 arg6 = &temp6;
13072 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13073 }
13074 }
13075 if (obj6) {
13076 {
13077 arg7 = &temp7;
13078 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
13079 }
13080 }
13081 if (obj7) {
13082 arg8 = (long)SWIG_As_long(obj7);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 if (obj8) {
13086 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
13087 SWIG_POINTER_EXCEPTION | 0)) == -1)
13088 SWIG_fail;
13089 if (arg9 == NULL) {
13090 PyErr_SetString(PyExc_TypeError,"null reference");
13091 SWIG_fail;
13092 }
13093 }
13094 if (obj9) {
13095 {
13096 arg10 = wxString_in_helper(obj9);
13097 if (arg10 == NULL) SWIG_fail;
13098 temp10 = true;
13099 }
13100 }
13101 {
13102 if (!wxPyCheckForApp()) SWIG_fail;
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
13105
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13110 {
13111 if (temp10)
13112 delete arg10;
13113 }
13114 return resultobj;
13115 fail:
13116 {
13117 if (temp10)
13118 delete arg10;
13119 }
13120 return NULL;
13121 }
13122
13123
13124 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
13125 PyObject *resultobj;
13126 wxSlider *result;
13127 char *kwnames[] = {
13128 NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
13132 {
13133 if (!wxPyCheckForApp()) SWIG_fail;
13134 PyThreadState* __tstate = wxPyBeginAllowThreads();
13135 result = (wxSlider *)new wxSlider();
13136
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
13140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13141 return resultobj;
13142 fail:
13143 return NULL;
13144 }
13145
13146
13147 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13148 PyObject *resultobj;
13149 wxSlider *arg1 = (wxSlider *) 0 ;
13150 wxWindow *arg2 = (wxWindow *) 0 ;
13151 int arg3 = (int) -1 ;
13152 int arg4 = (int) 0 ;
13153 int arg5 = (int) 0 ;
13154 int arg6 = (int) 100 ;
13155 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13156 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13157 wxSize const &arg8_defvalue = wxDefaultSize ;
13158 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
13159 long arg9 = (long) wxSL_HORIZONTAL ;
13160 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13161 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13162 wxString const &arg11_defvalue = wxPySliderNameStr ;
13163 wxString *arg11 = (wxString *) &arg11_defvalue ;
13164 bool result;
13165 wxPoint temp7 ;
13166 wxSize temp8 ;
13167 bool temp11 = false ;
13168 PyObject * obj0 = 0 ;
13169 PyObject * obj1 = 0 ;
13170 PyObject * obj2 = 0 ;
13171 PyObject * obj3 = 0 ;
13172 PyObject * obj4 = 0 ;
13173 PyObject * obj5 = 0 ;
13174 PyObject * obj6 = 0 ;
13175 PyObject * obj7 = 0 ;
13176 PyObject * obj8 = 0 ;
13177 PyObject * obj9 = 0 ;
13178 PyObject * obj10 = 0 ;
13179 char *kwnames[] = {
13180 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13181 };
13182
13183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13188 if (obj2) {
13189 arg3 = (int)SWIG_As_int(obj2);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
13192 if (obj3) {
13193 arg4 = (int)SWIG_As_int(obj3);
13194 if (PyErr_Occurred()) SWIG_fail;
13195 }
13196 if (obj4) {
13197 arg5 = (int)SWIG_As_int(obj4);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 if (obj5) {
13201 arg6 = (int)SWIG_As_int(obj5);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 if (obj6) {
13205 {
13206 arg7 = &temp7;
13207 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13208 }
13209 }
13210 if (obj7) {
13211 {
13212 arg8 = &temp8;
13213 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
13214 }
13215 }
13216 if (obj8) {
13217 arg9 = (long)SWIG_As_long(obj8);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
13220 if (obj9) {
13221 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
13222 SWIG_POINTER_EXCEPTION | 0)) == -1)
13223 SWIG_fail;
13224 if (arg10 == NULL) {
13225 PyErr_SetString(PyExc_TypeError,"null reference");
13226 SWIG_fail;
13227 }
13228 }
13229 if (obj10) {
13230 {
13231 arg11 = wxString_in_helper(obj10);
13232 if (arg11 == NULL) SWIG_fail;
13233 temp11 = true;
13234 }
13235 }
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 {
13244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13245 }
13246 {
13247 if (temp11)
13248 delete arg11;
13249 }
13250 return resultobj;
13251 fail:
13252 {
13253 if (temp11)
13254 delete arg11;
13255 }
13256 return NULL;
13257 }
13258
13259
13260 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13261 PyObject *resultobj;
13262 wxSlider *arg1 = (wxSlider *) 0 ;
13263 int result;
13264 PyObject * obj0 = 0 ;
13265 char *kwnames[] = {
13266 (char *) "self", NULL
13267 };
13268
13269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
13270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13272 {
13273 PyThreadState* __tstate = wxPyBeginAllowThreads();
13274 result = (int)((wxSlider const *)arg1)->GetValue();
13275
13276 wxPyEndAllowThreads(__tstate);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
13279 resultobj = SWIG_From_int((int)result);
13280 return resultobj;
13281 fail:
13282 return NULL;
13283 }
13284
13285
13286 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13287 PyObject *resultobj;
13288 wxSlider *arg1 = (wxSlider *) 0 ;
13289 int arg2 ;
13290 PyObject * obj0 = 0 ;
13291 PyObject * obj1 = 0 ;
13292 char *kwnames[] = {
13293 (char *) "self",(char *) "value", NULL
13294 };
13295
13296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13299 arg2 = (int)SWIG_As_int(obj1);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 (arg1)->SetValue(arg2);
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 Py_INCREF(Py_None); resultobj = Py_None;
13309 return resultobj;
13310 fail:
13311 return NULL;
13312 }
13313
13314
13315 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13316 PyObject *resultobj;
13317 wxSlider *arg1 = (wxSlider *) 0 ;
13318 int arg2 ;
13319 int arg3 ;
13320 PyObject * obj0 = 0 ;
13321 PyObject * obj1 = 0 ;
13322 PyObject * obj2 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13330 arg2 = (int)SWIG_As_int(obj1);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 arg3 = (int)SWIG_As_int(obj2);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 {
13335 PyThreadState* __tstate = wxPyBeginAllowThreads();
13336 (arg1)->SetRange(arg2,arg3);
13337
13338 wxPyEndAllowThreads(__tstate);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 }
13341 Py_INCREF(Py_None); resultobj = Py_None;
13342 return resultobj;
13343 fail:
13344 return NULL;
13345 }
13346
13347
13348 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13349 PyObject *resultobj;
13350 wxSlider *arg1 = (wxSlider *) 0 ;
13351 int result;
13352 PyObject * obj0 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 result = (int)((wxSlider const *)arg1)->GetMin();
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 resultobj = SWIG_From_int((int)result);
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxSlider *arg1 = (wxSlider *) 0 ;
13377 int result;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 result = (int)((wxSlider const *)arg1)->GetMax();
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 resultobj = SWIG_From_int((int)result);
13394 return resultobj;
13395 fail:
13396 return NULL;
13397 }
13398
13399
13400 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj;
13402 wxSlider *arg1 = (wxSlider *) 0 ;
13403 int arg2 ;
13404 PyObject * obj0 = 0 ;
13405 PyObject * obj1 = 0 ;
13406 char *kwnames[] = {
13407 (char *) "self",(char *) "minValue", NULL
13408 };
13409
13410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13413 arg2 = (int)SWIG_As_int(obj1);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 (arg1)->SetMin(arg2);
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 Py_INCREF(Py_None); resultobj = Py_None;
13423 return resultobj;
13424 fail:
13425 return NULL;
13426 }
13427
13428
13429 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13430 PyObject *resultobj;
13431 wxSlider *arg1 = (wxSlider *) 0 ;
13432 int arg2 ;
13433 PyObject * obj0 = 0 ;
13434 PyObject * obj1 = 0 ;
13435 char *kwnames[] = {
13436 (char *) "self",(char *) "maxValue", NULL
13437 };
13438
13439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13442 arg2 = (int)SWIG_As_int(obj1);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 (arg1)->SetMax(arg2);
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 Py_INCREF(Py_None); resultobj = Py_None;
13452 return resultobj;
13453 fail:
13454 return NULL;
13455 }
13456
13457
13458 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxSlider *arg1 = (wxSlider *) 0 ;
13461 int arg2 ;
13462 PyObject * obj0 = 0 ;
13463 PyObject * obj1 = 0 ;
13464 char *kwnames[] = {
13465 (char *) "self",(char *) "lineSize", NULL
13466 };
13467
13468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13471 arg2 = (int)SWIG_As_int(obj1);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 (arg1)->SetLineSize(arg2);
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 Py_INCREF(Py_None); resultobj = Py_None;
13481 return resultobj;
13482 fail:
13483 return NULL;
13484 }
13485
13486
13487 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxSlider *arg1 = (wxSlider *) 0 ;
13490 int arg2 ;
13491 PyObject * obj0 = 0 ;
13492 PyObject * obj1 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self",(char *) "pageSize", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13500 arg2 = (int)SWIG_As_int(obj1);
13501 if (PyErr_Occurred()) SWIG_fail;
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 (arg1)->SetPageSize(arg2);
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 Py_INCREF(Py_None); resultobj = Py_None;
13510 return resultobj;
13511 fail:
13512 return NULL;
13513 }
13514
13515
13516 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj;
13518 wxSlider *arg1 = (wxSlider *) 0 ;
13519 int result;
13520 PyObject * obj0 = 0 ;
13521 char *kwnames[] = {
13522 (char *) "self", NULL
13523 };
13524
13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13528 {
13529 PyThreadState* __tstate = wxPyBeginAllowThreads();
13530 result = (int)((wxSlider const *)arg1)->GetLineSize();
13531
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 resultobj = SWIG_From_int((int)result);
13536 return resultobj;
13537 fail:
13538 return NULL;
13539 }
13540
13541
13542 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
13543 PyObject *resultobj;
13544 wxSlider *arg1 = (wxSlider *) 0 ;
13545 int result;
13546 PyObject * obj0 = 0 ;
13547 char *kwnames[] = {
13548 (char *) "self", NULL
13549 };
13550
13551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 result = (int)((wxSlider const *)arg1)->GetPageSize();
13557
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 resultobj = SWIG_From_int((int)result);
13562 return resultobj;
13563 fail:
13564 return NULL;
13565 }
13566
13567
13568 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxSlider *arg1 = (wxSlider *) 0 ;
13571 int arg2 ;
13572 PyObject * obj0 = 0 ;
13573 PyObject * obj1 = 0 ;
13574 char *kwnames[] = {
13575 (char *) "self",(char *) "lenPixels", NULL
13576 };
13577
13578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13581 arg2 = (int)SWIG_As_int(obj1);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 (arg1)->SetThumbLength(arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 Py_INCREF(Py_None); resultobj = Py_None;
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj;
13599 wxSlider *arg1 = (wxSlider *) 0 ;
13600 int result;
13601 PyObject * obj0 = 0 ;
13602 char *kwnames[] = {
13603 (char *) "self", NULL
13604 };
13605
13606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13612
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 resultobj = SWIG_From_int((int)result);
13617 return resultobj;
13618 fail:
13619 return NULL;
13620 }
13621
13622
13623 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
13624 PyObject *resultobj;
13625 wxSlider *arg1 = (wxSlider *) 0 ;
13626 int arg2 ;
13627 int arg3 = (int) 1 ;
13628 PyObject * obj0 = 0 ;
13629 PyObject * obj1 = 0 ;
13630 PyObject * obj2 = 0 ;
13631 char *kwnames[] = {
13632 (char *) "self",(char *) "n",(char *) "pos", NULL
13633 };
13634
13635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13638 arg2 = (int)SWIG_As_int(obj1);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 if (obj2) {
13641 arg3 = (int)SWIG_As_int(obj2);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 (arg1)->SetTickFreq(arg2,arg3);
13647
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
13651 Py_INCREF(Py_None); resultobj = Py_None;
13652 return resultobj;
13653 fail:
13654 return NULL;
13655 }
13656
13657
13658 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
13659 PyObject *resultobj;
13660 wxSlider *arg1 = (wxSlider *) 0 ;
13661 int result;
13662 PyObject * obj0 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 resultobj = SWIG_From_int((int)result);
13678 return resultobj;
13679 fail:
13680 return NULL;
13681 }
13682
13683
13684 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
13685 PyObject *resultobj;
13686 wxSlider *arg1 = (wxSlider *) 0 ;
13687 PyObject * obj0 = 0 ;
13688 char *kwnames[] = {
13689 (char *) "self", NULL
13690 };
13691
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 (arg1)->ClearTicks();
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 Py_INCREF(Py_None); resultobj = Py_None;
13703 return resultobj;
13704 fail:
13705 return NULL;
13706 }
13707
13708
13709 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxSlider *arg1 = (wxSlider *) 0 ;
13712 int arg2 ;
13713 PyObject * obj0 = 0 ;
13714 PyObject * obj1 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "tickPos", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13722 arg2 = (int)SWIG_As_int(obj1);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 {
13725 PyThreadState* __tstate = wxPyBeginAllowThreads();
13726 (arg1)->SetTick(arg2);
13727
13728 wxPyEndAllowThreads(__tstate);
13729 if (PyErr_Occurred()) SWIG_fail;
13730 }
13731 Py_INCREF(Py_None); resultobj = Py_None;
13732 return resultobj;
13733 fail:
13734 return NULL;
13735 }
13736
13737
13738 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
13739 PyObject *resultobj;
13740 wxSlider *arg1 = (wxSlider *) 0 ;
13741 PyObject * obj0 = 0 ;
13742 char *kwnames[] = {
13743 (char *) "self", NULL
13744 };
13745
13746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 (arg1)->ClearSel();
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 Py_INCREF(Py_None); resultobj = Py_None;
13757 return resultobj;
13758 fail:
13759 return NULL;
13760 }
13761
13762
13763 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
13764 PyObject *resultobj;
13765 wxSlider *arg1 = (wxSlider *) 0 ;
13766 int result;
13767 PyObject * obj0 = 0 ;
13768 char *kwnames[] = {
13769 (char *) "self", NULL
13770 };
13771
13772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 resultobj = SWIG_From_int((int)result);
13783 return resultobj;
13784 fail:
13785 return NULL;
13786 }
13787
13788
13789 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
13790 PyObject *resultobj;
13791 wxSlider *arg1 = (wxSlider *) 0 ;
13792 int result;
13793 PyObject * obj0 = 0 ;
13794 char *kwnames[] = {
13795 (char *) "self", NULL
13796 };
13797
13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 result = (int)((wxSlider const *)arg1)->GetSelStart();
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 resultobj = SWIG_From_int((int)result);
13809 return resultobj;
13810 fail:
13811 return NULL;
13812 }
13813
13814
13815 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13816 PyObject *resultobj;
13817 wxSlider *arg1 = (wxSlider *) 0 ;
13818 int arg2 ;
13819 int arg3 ;
13820 PyObject * obj0 = 0 ;
13821 PyObject * obj1 = 0 ;
13822 PyObject * obj2 = 0 ;
13823 char *kwnames[] = {
13824 (char *) "self",(char *) "min",(char *) "max", NULL
13825 };
13826
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13830 arg2 = (int)SWIG_As_int(obj1);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 arg3 = (int)SWIG_As_int(obj2);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 (arg1)->SetSelection(arg2,arg3);
13837
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 Py_INCREF(Py_None); resultobj = Py_None;
13842 return resultobj;
13843 fail:
13844 return NULL;
13845 }
13846
13847
13848 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13851 wxVisualAttributes result;
13852 PyObject * obj0 = 0 ;
13853 char *kwnames[] = {
13854 (char *) "variant", NULL
13855 };
13856
13857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13858 if (obj0) {
13859 arg1 = (int)SWIG_As_int(obj0);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 {
13863 if (!wxPyCheckForApp()) SWIG_fail;
13864 PyThreadState* __tstate = wxPyBeginAllowThreads();
13865 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13866
13867 wxPyEndAllowThreads(__tstate);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 {
13871 wxVisualAttributes * resultptr;
13872 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13873 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13874 }
13875 return resultobj;
13876 fail:
13877 return NULL;
13878 }
13879
13880
13881 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
13882 PyObject *obj;
13883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13884 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13885 Py_INCREF(obj);
13886 return Py_BuildValue((char *)"");
13887 }
13888 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
13889 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13890 return 1;
13891 }
13892
13893
13894 static PyObject *_wrap_ToggleButtonNameStr_get() {
13895 PyObject *pyobj;
13896
13897 {
13898 #if wxUSE_UNICODE
13899 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13900 #else
13901 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13902 #endif
13903 }
13904 return pyobj;
13905 }
13906
13907
13908 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
13909 PyObject *resultobj;
13910 wxWindow *arg1 = (wxWindow *) 0 ;
13911 int arg2 = (int) -1 ;
13912 wxString const &arg3_defvalue = wxPyEmptyString ;
13913 wxString *arg3 = (wxString *) &arg3_defvalue ;
13914 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13915 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13916 wxSize const &arg5_defvalue = wxDefaultSize ;
13917 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13918 long arg6 = (long) 0 ;
13919 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13920 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13921 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13922 wxString *arg8 = (wxString *) &arg8_defvalue ;
13923 wxToggleButton *result;
13924 bool temp3 = false ;
13925 wxPoint temp4 ;
13926 wxSize temp5 ;
13927 bool temp8 = false ;
13928 PyObject * obj0 = 0 ;
13929 PyObject * obj1 = 0 ;
13930 PyObject * obj2 = 0 ;
13931 PyObject * obj3 = 0 ;
13932 PyObject * obj4 = 0 ;
13933 PyObject * obj5 = 0 ;
13934 PyObject * obj6 = 0 ;
13935 PyObject * obj7 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13943 if (obj1) {
13944 arg2 = (int)SWIG_As_int(obj1);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
13947 if (obj2) {
13948 {
13949 arg3 = wxString_in_helper(obj2);
13950 if (arg3 == NULL) SWIG_fail;
13951 temp3 = true;
13952 }
13953 }
13954 if (obj3) {
13955 {
13956 arg4 = &temp4;
13957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13958 }
13959 }
13960 if (obj4) {
13961 {
13962 arg5 = &temp5;
13963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13964 }
13965 }
13966 if (obj5) {
13967 arg6 = (long)SWIG_As_long(obj5);
13968 if (PyErr_Occurred()) SWIG_fail;
13969 }
13970 if (obj6) {
13971 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13972 SWIG_POINTER_EXCEPTION | 0)) == -1)
13973 SWIG_fail;
13974 if (arg7 == NULL) {
13975 PyErr_SetString(PyExc_TypeError,"null reference");
13976 SWIG_fail;
13977 }
13978 }
13979 if (obj7) {
13980 {
13981 arg8 = wxString_in_helper(obj7);
13982 if (arg8 == NULL) SWIG_fail;
13983 temp8 = true;
13984 }
13985 }
13986 {
13987 if (!wxPyCheckForApp()) SWIG_fail;
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13990
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13995 {
13996 if (temp3)
13997 delete arg3;
13998 }
13999 {
14000 if (temp8)
14001 delete arg8;
14002 }
14003 return resultobj;
14004 fail:
14005 {
14006 if (temp3)
14007 delete arg3;
14008 }
14009 {
14010 if (temp8)
14011 delete arg8;
14012 }
14013 return NULL;
14014 }
14015
14016
14017 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
14018 PyObject *resultobj;
14019 wxToggleButton *result;
14020 char *kwnames[] = {
14021 NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
14025 {
14026 if (!wxPyCheckForApp()) SWIG_fail;
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 result = (wxToggleButton *)new wxToggleButton();
14029
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
14034 return resultobj;
14035 fail:
14036 return NULL;
14037 }
14038
14039
14040 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14043 wxWindow *arg2 = (wxWindow *) 0 ;
14044 int arg3 = (int) -1 ;
14045 wxString const &arg4_defvalue = wxPyEmptyString ;
14046 wxString *arg4 = (wxString *) &arg4_defvalue ;
14047 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14048 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14049 wxSize const &arg6_defvalue = wxDefaultSize ;
14050 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14051 long arg7 = (long) 0 ;
14052 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14053 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14054 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
14055 wxString *arg9 = (wxString *) &arg9_defvalue ;
14056 bool result;
14057 bool temp4 = false ;
14058 wxPoint temp5 ;
14059 wxSize temp6 ;
14060 bool temp9 = false ;
14061 PyObject * obj0 = 0 ;
14062 PyObject * obj1 = 0 ;
14063 PyObject * obj2 = 0 ;
14064 PyObject * obj3 = 0 ;
14065 PyObject * obj4 = 0 ;
14066 PyObject * obj5 = 0 ;
14067 PyObject * obj6 = 0 ;
14068 PyObject * obj7 = 0 ;
14069 PyObject * obj8 = 0 ;
14070 char *kwnames[] = {
14071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14072 };
14073
14074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14077 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14079 if (obj2) {
14080 arg3 = (int)SWIG_As_int(obj2);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 if (obj3) {
14084 {
14085 arg4 = wxString_in_helper(obj3);
14086 if (arg4 == NULL) SWIG_fail;
14087 temp4 = true;
14088 }
14089 }
14090 if (obj4) {
14091 {
14092 arg5 = &temp5;
14093 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14094 }
14095 }
14096 if (obj5) {
14097 {
14098 arg6 = &temp6;
14099 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14100 }
14101 }
14102 if (obj6) {
14103 arg7 = (long)SWIG_As_long(obj6);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 if (obj7) {
14107 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
14108 SWIG_POINTER_EXCEPTION | 0)) == -1)
14109 SWIG_fail;
14110 if (arg8 == NULL) {
14111 PyErr_SetString(PyExc_TypeError,"null reference");
14112 SWIG_fail;
14113 }
14114 }
14115 if (obj8) {
14116 {
14117 arg9 = wxString_in_helper(obj8);
14118 if (arg9 == NULL) SWIG_fail;
14119 temp9 = true;
14120 }
14121 }
14122 {
14123 PyThreadState* __tstate = wxPyBeginAllowThreads();
14124 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14125
14126 wxPyEndAllowThreads(__tstate);
14127 if (PyErr_Occurred()) SWIG_fail;
14128 }
14129 {
14130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14131 }
14132 {
14133 if (temp4)
14134 delete arg4;
14135 }
14136 {
14137 if (temp9)
14138 delete arg9;
14139 }
14140 return resultobj;
14141 fail:
14142 {
14143 if (temp4)
14144 delete arg4;
14145 }
14146 {
14147 if (temp9)
14148 delete arg9;
14149 }
14150 return NULL;
14151 }
14152
14153
14154 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14155 PyObject *resultobj;
14156 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14157 bool arg2 ;
14158 PyObject * obj0 = 0 ;
14159 PyObject * obj1 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self",(char *) "value", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14167 arg2 = (bool)SWIG_As_bool(obj1);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 (arg1)->SetValue(arg2);
14172
14173 wxPyEndAllowThreads(__tstate);
14174 if (PyErr_Occurred()) SWIG_fail;
14175 }
14176 Py_INCREF(Py_None); resultobj = Py_None;
14177 return resultobj;
14178 fail:
14179 return NULL;
14180 }
14181
14182
14183 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14184 PyObject *resultobj;
14185 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14186 bool result;
14187 PyObject * obj0 = 0 ;
14188 char *kwnames[] = {
14189 (char *) "self", NULL
14190 };
14191
14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
14193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 result = (bool)((wxToggleButton const *)arg1)->GetValue();
14198
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 {
14203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14204 }
14205 return resultobj;
14206 fail:
14207 return NULL;
14208 }
14209
14210
14211 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj;
14213 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14214 wxString *arg2 = 0 ;
14215 bool temp2 = false ;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self",(char *) "label", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
14223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14225 {
14226 arg2 = wxString_in_helper(obj1);
14227 if (arg2 == NULL) SWIG_fail;
14228 temp2 = true;
14229 }
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 (arg1)->SetLabel((wxString const &)*arg2);
14233
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 Py_INCREF(Py_None); resultobj = Py_None;
14238 {
14239 if (temp2)
14240 delete arg2;
14241 }
14242 return resultobj;
14243 fail:
14244 {
14245 if (temp2)
14246 delete arg2;
14247 }
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14255 wxVisualAttributes result;
14256 PyObject * obj0 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "variant", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14262 if (obj0) {
14263 arg1 = (int)SWIG_As_int(obj0);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 {
14267 if (!wxPyCheckForApp()) SWIG_fail;
14268 PyThreadState* __tstate = wxPyBeginAllowThreads();
14269 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14270
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 {
14275 wxVisualAttributes * resultptr;
14276 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14278 }
14279 return resultobj;
14280 fail:
14281 return NULL;
14282 }
14283
14284
14285 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
14286 PyObject *obj;
14287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14288 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14289 Py_INCREF(obj);
14290 return Py_BuildValue((char *)"");
14291 }
14292 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
14293 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14294 return 1;
14295 }
14296
14297
14298 static PyObject *_wrap_NOTEBOOK_NAME_get() {
14299 PyObject *pyobj;
14300
14301 {
14302 #if wxUSE_UNICODE
14303 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14304 #else
14305 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14306 #endif
14307 }
14308 return pyobj;
14309 }
14310
14311
14312 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
14313 PyObject *resultobj;
14314 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14315 size_t result;
14316 PyObject * obj0 = 0 ;
14317 char *kwnames[] = {
14318 (char *) "self", NULL
14319 };
14320
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14324 {
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14327
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
14332 return resultobj;
14333 fail:
14334 return NULL;
14335 }
14336
14337
14338 static PyObject *_wrap_BookCtrl_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
14339 PyObject *resultobj;
14340 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14341 size_t arg2 ;
14342 wxWindow *result;
14343 PyObject * obj0 = 0 ;
14344 PyObject * obj1 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self",(char *) "n", NULL
14347 };
14348
14349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14352 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (wxWindow *)(arg1)->GetPage(arg2);
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 {
14362 resultobj = wxPyMake_wxObject(result, 0);
14363 }
14364 return resultobj;
14365 fail:
14366 return NULL;
14367 }
14368
14369
14370 static PyObject *_wrap_BookCtrl_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj;
14372 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14373 wxWindow *result;
14374 PyObject * obj0 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetCurrentPage",kwnames,&obj0)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 result = (wxWindow *)((wxBookCtrl const *)arg1)->GetCurrentPage();
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 {
14390 resultobj = wxPyMake_wxObject(result, 0);
14391 }
14392 return resultobj;
14393 fail:
14394 return NULL;
14395 }
14396
14397
14398 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14399 PyObject *resultobj;
14400 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14401 int result;
14402 PyObject * obj0 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "self", NULL
14405 };
14406
14407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 resultobj = SWIG_From_int((int)result);
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj;
14426 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14427 size_t arg2 ;
14428 wxString *arg3 = 0 ;
14429 bool result;
14430 bool temp3 = false ;
14431 PyObject * obj0 = 0 ;
14432 PyObject * obj1 = 0 ;
14433 PyObject * obj2 = 0 ;
14434 char *kwnames[] = {
14435 (char *) "self",(char *) "n",(char *) "strText", NULL
14436 };
14437
14438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14441 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 {
14444 arg3 = wxString_in_helper(obj2);
14445 if (arg3 == NULL) SWIG_fail;
14446 temp3 = true;
14447 }
14448 {
14449 PyThreadState* __tstate = wxPyBeginAllowThreads();
14450 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14451
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 {
14456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14457 }
14458 {
14459 if (temp3)
14460 delete arg3;
14461 }
14462 return resultobj;
14463 fail:
14464 {
14465 if (temp3)
14466 delete arg3;
14467 }
14468 return NULL;
14469 }
14470
14471
14472 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
14473 PyObject *resultobj;
14474 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14475 size_t arg2 ;
14476 wxString result;
14477 PyObject * obj0 = 0 ;
14478 PyObject * obj1 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "self",(char *) "n", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14486 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 {
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14491
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 {
14496 #if wxUSE_UNICODE
14497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14498 #else
14499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14500 #endif
14501 }
14502 return resultobj;
14503 fail:
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14511 wxImageList *arg2 = (wxImageList *) 0 ;
14512 PyObject * obj0 = 0 ;
14513 PyObject * obj1 = 0 ;
14514 char *kwnames[] = {
14515 (char *) "self",(char *) "imageList", NULL
14516 };
14517
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 (arg1)->SetImageList(arg2);
14526
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 Py_INCREF(Py_None); resultobj = Py_None;
14531 return resultobj;
14532 fail:
14533 return NULL;
14534 }
14535
14536
14537 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14538 PyObject *resultobj;
14539 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14540 wxImageList *arg2 = (wxImageList *) 0 ;
14541 PyObject * obj0 = 0 ;
14542 PyObject * obj1 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self",(char *) "imageList", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14551 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 (arg1)->AssignImageList(arg2);
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 Py_INCREF(Py_None); resultobj = Py_None;
14560 return resultobj;
14561 fail:
14562 return NULL;
14563 }
14564
14565
14566 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14567 PyObject *resultobj;
14568 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14569 wxImageList *result;
14570 PyObject * obj0 = 0 ;
14571 char *kwnames[] = {
14572 (char *) "self", NULL
14573 };
14574
14575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14578 {
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14581
14582 wxPyEndAllowThreads(__tstate);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 {
14586 resultobj = wxPyMake_wxObject(result, 0);
14587 }
14588 return resultobj;
14589 fail:
14590 return NULL;
14591 }
14592
14593
14594 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
14595 PyObject *resultobj;
14596 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14597 size_t arg2 ;
14598 int result;
14599 PyObject * obj0 = 0 ;
14600 PyObject * obj1 = 0 ;
14601 char *kwnames[] = {
14602 (char *) "self",(char *) "n", NULL
14603 };
14604
14605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14608 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 {
14611 PyThreadState* __tstate = wxPyBeginAllowThreads();
14612 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14613
14614 wxPyEndAllowThreads(__tstate);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 }
14617 resultobj = SWIG_From_int((int)result);
14618 return resultobj;
14619 fail:
14620 return NULL;
14621 }
14622
14623
14624 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
14625 PyObject *resultobj;
14626 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14627 size_t arg2 ;
14628 int arg3 ;
14629 bool result;
14630 PyObject * obj0 = 0 ;
14631 PyObject * obj1 = 0 ;
14632 PyObject * obj2 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self",(char *) "n",(char *) "imageId", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14640 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14641 if (PyErr_Occurred()) SWIG_fail;
14642 arg3 = (int)SWIG_As_int(obj2);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 {
14652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14653 }
14654 return resultobj;
14655 fail:
14656 return NULL;
14657 }
14658
14659
14660 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj;
14662 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14663 wxSize *arg2 = 0 ;
14664 wxSize temp2 ;
14665 PyObject * obj0 = 0 ;
14666 PyObject * obj1 = 0 ;
14667 char *kwnames[] = {
14668 (char *) "self",(char *) "size", NULL
14669 };
14670
14671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14674 {
14675 arg2 = &temp2;
14676 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14677 }
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 (arg1)->SetPageSize((wxSize const &)*arg2);
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 Py_INCREF(Py_None); resultobj = Py_None;
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj;
14694 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14695 wxSize *arg2 = 0 ;
14696 wxSize result;
14697 wxSize temp2 ;
14698 PyObject * obj0 = 0 ;
14699 PyObject * obj1 = 0 ;
14700 char *kwnames[] = {
14701 (char *) "self",(char *) "sizePage", NULL
14702 };
14703
14704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14707 {
14708 arg2 = &temp2;
14709 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14710 }
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14714
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 {
14719 wxSize * resultptr;
14720 resultptr = new wxSize((wxSize &) result);
14721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14722 }
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14732 size_t arg2 ;
14733 bool result;
14734 PyObject * obj0 = 0 ;
14735 PyObject * obj1 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self",(char *) "n", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14743 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 {
14746 PyThreadState* __tstate = wxPyBeginAllowThreads();
14747 result = (bool)(arg1)->DeletePage(arg2);
14748
14749 wxPyEndAllowThreads(__tstate);
14750 if (PyErr_Occurred()) SWIG_fail;
14751 }
14752 {
14753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14754 }
14755 return resultobj;
14756 fail:
14757 return NULL;
14758 }
14759
14760
14761 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
14762 PyObject *resultobj;
14763 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14764 size_t arg2 ;
14765 bool result;
14766 PyObject * obj0 = 0 ;
14767 PyObject * obj1 = 0 ;
14768 char *kwnames[] = {
14769 (char *) "self",(char *) "n", NULL
14770 };
14771
14772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14775 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14776 if (PyErr_Occurred()) SWIG_fail;
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 result = (bool)(arg1)->RemovePage(arg2);
14780
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 {
14785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14786 }
14787 return resultobj;
14788 fail:
14789 return NULL;
14790 }
14791
14792
14793 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14796 bool result;
14797 PyObject * obj0 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "self", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (bool)(arg1)->DeleteAllPages();
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 {
14813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14814 }
14815 return resultobj;
14816 fail:
14817 return NULL;
14818 }
14819
14820
14821 static PyObject *_wrap_BookCtrl_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
14822 PyObject *resultobj;
14823 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14824 wxWindow *arg2 = (wxWindow *) 0 ;
14825 wxString *arg3 = 0 ;
14826 bool arg4 = (bool) false ;
14827 int arg5 = (int) -1 ;
14828 bool result;
14829 bool temp3 = false ;
14830 PyObject * obj0 = 0 ;
14831 PyObject * obj1 = 0 ;
14832 PyObject * obj2 = 0 ;
14833 PyObject * obj3 = 0 ;
14834 PyObject * obj4 = 0 ;
14835 char *kwnames[] = {
14836 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14837 };
14838
14839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14844 {
14845 arg3 = wxString_in_helper(obj2);
14846 if (arg3 == NULL) SWIG_fail;
14847 temp3 = true;
14848 }
14849 if (obj3) {
14850 arg4 = (bool)SWIG_As_bool(obj3);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 if (obj4) {
14854 arg5 = (int)SWIG_As_int(obj4);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 {
14865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14866 }
14867 {
14868 if (temp3)
14869 delete arg3;
14870 }
14871 return resultobj;
14872 fail:
14873 {
14874 if (temp3)
14875 delete arg3;
14876 }
14877 return NULL;
14878 }
14879
14880
14881 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
14882 PyObject *resultobj;
14883 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14884 size_t arg2 ;
14885 wxWindow *arg3 = (wxWindow *) 0 ;
14886 wxString *arg4 = 0 ;
14887 bool arg5 = (bool) false ;
14888 int arg6 = (int) -1 ;
14889 bool result;
14890 bool temp4 = false ;
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 PyObject * obj2 = 0 ;
14894 PyObject * obj3 = 0 ;
14895 PyObject * obj4 = 0 ;
14896 PyObject * obj5 = 0 ;
14897 char *kwnames[] = {
14898 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14899 };
14900
14901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14904 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14908 {
14909 arg4 = wxString_in_helper(obj3);
14910 if (arg4 == NULL) SWIG_fail;
14911 temp4 = true;
14912 }
14913 if (obj4) {
14914 arg5 = (bool)SWIG_As_bool(obj4);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 if (obj5) {
14918 arg6 = (int)SWIG_As_int(obj5);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 {
14922 PyThreadState* __tstate = wxPyBeginAllowThreads();
14923 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14924
14925 wxPyEndAllowThreads(__tstate);
14926 if (PyErr_Occurred()) SWIG_fail;
14927 }
14928 {
14929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14930 }
14931 {
14932 if (temp4)
14933 delete arg4;
14934 }
14935 return resultobj;
14936 fail:
14937 {
14938 if (temp4)
14939 delete arg4;
14940 }
14941 return NULL;
14942 }
14943
14944
14945 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14946 PyObject *resultobj;
14947 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14948 size_t arg2 ;
14949 int result;
14950 PyObject * obj0 = 0 ;
14951 PyObject * obj1 = 0 ;
14952 char *kwnames[] = {
14953 (char *) "self",(char *) "n", NULL
14954 };
14955
14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14959 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 {
14962 PyThreadState* __tstate = wxPyBeginAllowThreads();
14963 result = (int)(arg1)->SetSelection(arg2);
14964
14965 wxPyEndAllowThreads(__tstate);
14966 if (PyErr_Occurred()) SWIG_fail;
14967 }
14968 resultobj = SWIG_From_int((int)result);
14969 return resultobj;
14970 fail:
14971 return NULL;
14972 }
14973
14974
14975 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14976 PyObject *resultobj;
14977 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14978 bool arg2 = (bool) true ;
14979 PyObject * obj0 = 0 ;
14980 PyObject * obj1 = 0 ;
14981 char *kwnames[] = {
14982 (char *) "self",(char *) "forward", NULL
14983 };
14984
14985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14988 if (obj1) {
14989 arg2 = (bool)SWIG_As_bool(obj1);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 {
14993 PyThreadState* __tstate = wxPyBeginAllowThreads();
14994 (arg1)->AdvanceSelection(arg2);
14995
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 Py_INCREF(Py_None); resultobj = Py_None;
15000 return resultobj;
15001 fail:
15002 return NULL;
15003 }
15004
15005
15006 static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15007 PyObject *resultobj;
15008 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15009 wxVisualAttributes result;
15010 PyObject * obj0 = 0 ;
15011 char *kwnames[] = {
15012 (char *) "variant", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15016 if (obj0) {
15017 arg1 = (int)SWIG_As_int(obj0);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 {
15021 if (!wxPyCheckForApp()) SWIG_fail;
15022 PyThreadState* __tstate = wxPyBeginAllowThreads();
15023 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
15024
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 {
15029 wxVisualAttributes * resultptr;
15030 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15032 }
15033 return resultobj;
15034 fail:
15035 return NULL;
15036 }
15037
15038
15039 static PyObject * BookCtrl_swigregister(PyObject *, PyObject *args) {
15040 PyObject *obj;
15041 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15042 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
15043 Py_INCREF(obj);
15044 return Py_BuildValue((char *)"");
15045 }
15046 static PyObject *_wrap_new_BookCtrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj;
15048 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15049 int arg2 = (int) 0 ;
15050 int arg3 = (int) -1 ;
15051 int arg4 = (int) -1 ;
15052 wxBookCtrlEvent *result;
15053 PyObject * obj0 = 0 ;
15054 PyObject * obj1 = 0 ;
15055 PyObject * obj2 = 0 ;
15056 PyObject * obj3 = 0 ;
15057 char *kwnames[] = {
15058 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15059 };
15060
15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15062 if (obj0) {
15063 arg1 = (wxEventType)SWIG_As_int(obj0);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 if (obj1) {
15067 arg2 = (int)SWIG_As_int(obj1);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 if (obj2) {
15071 arg3 = (int)SWIG_As_int(obj2);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 if (obj3) {
15075 arg4 = (int)SWIG_As_int(obj3);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15095 int result;
15096 PyObject * obj0 = 0 ;
15097 char *kwnames[] = {
15098 (char *) "self", NULL
15099 };
15100
15101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
15102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 resultobj = SWIG_From_int((int)result);
15112 return resultobj;
15113 fail:
15114 return NULL;
15115 }
15116
15117
15118 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15119 PyObject *resultobj;
15120 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15121 int arg2 ;
15122 PyObject * obj0 = 0 ;
15123 PyObject * obj1 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self",(char *) "nSel", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15131 arg2 = (int)SWIG_As_int(obj1);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 (arg1)->SetSelection(arg2);
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 Py_INCREF(Py_None); resultobj = Py_None;
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15150 int result;
15151 PyObject * obj0 = 0 ;
15152 char *kwnames[] = {
15153 (char *) "self", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
15162
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 resultobj = SWIG_From_int((int)result);
15167 return resultobj;
15168 fail:
15169 return NULL;
15170 }
15171
15172
15173 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj;
15175 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15176 int arg2 ;
15177 PyObject * obj0 = 0 ;
15178 PyObject * obj1 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self",(char *) "nOldSel", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15186 arg2 = (int)SWIG_As_int(obj1);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 (arg1)->SetOldSelection(arg2);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 Py_INCREF(Py_None); resultobj = Py_None;
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject * BookCtrlEvent_swigregister(PyObject *, PyObject *args) {
15203 PyObject *obj;
15204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15205 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
15206 Py_INCREF(obj);
15207 return Py_BuildValue((char *)"");
15208 }
15209 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
15210 PyObject *resultobj;
15211 wxWindow *arg1 = (wxWindow *) 0 ;
15212 int arg2 = (int) -1 ;
15213 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15214 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15215 wxSize const &arg4_defvalue = wxDefaultSize ;
15216 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15217 long arg5 = (long) 0 ;
15218 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15219 wxString *arg6 = (wxString *) &arg6_defvalue ;
15220 wxNotebook *result;
15221 wxPoint temp3 ;
15222 wxSize temp4 ;
15223 bool temp6 = false ;
15224 PyObject * obj0 = 0 ;
15225 PyObject * obj1 = 0 ;
15226 PyObject * obj2 = 0 ;
15227 PyObject * obj3 = 0 ;
15228 PyObject * obj4 = 0 ;
15229 PyObject * obj5 = 0 ;
15230 char *kwnames[] = {
15231 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15232 };
15233
15234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15237 if (obj1) {
15238 arg2 = (int)SWIG_As_int(obj1);
15239 if (PyErr_Occurred()) SWIG_fail;
15240 }
15241 if (obj2) {
15242 {
15243 arg3 = &temp3;
15244 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15245 }
15246 }
15247 if (obj3) {
15248 {
15249 arg4 = &temp4;
15250 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15251 }
15252 }
15253 if (obj4) {
15254 arg5 = (long)SWIG_As_long(obj4);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 if (obj5) {
15258 {
15259 arg6 = wxString_in_helper(obj5);
15260 if (arg6 == NULL) SWIG_fail;
15261 temp6 = true;
15262 }
15263 }
15264 {
15265 if (!wxPyCheckForApp()) SWIG_fail;
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15268
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15273 {
15274 if (temp6)
15275 delete arg6;
15276 }
15277 return resultobj;
15278 fail:
15279 {
15280 if (temp6)
15281 delete arg6;
15282 }
15283 return NULL;
15284 }
15285
15286
15287 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 wxNotebook *result;
15290 char *kwnames[] = {
15291 NULL
15292 };
15293
15294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15295 {
15296 if (!wxPyCheckForApp()) SWIG_fail;
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 result = (wxNotebook *)new wxNotebook();
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15304 return resultobj;
15305 fail:
15306 return NULL;
15307 }
15308
15309
15310 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15311 PyObject *resultobj;
15312 wxNotebook *arg1 = (wxNotebook *) 0 ;
15313 wxWindow *arg2 = (wxWindow *) 0 ;
15314 int arg3 = (int) -1 ;
15315 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15316 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15317 wxSize const &arg5_defvalue = wxDefaultSize ;
15318 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15319 long arg6 = (long) 0 ;
15320 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15321 wxString *arg7 = (wxString *) &arg7_defvalue ;
15322 bool result;
15323 wxPoint temp4 ;
15324 wxSize temp5 ;
15325 bool temp7 = false ;
15326 PyObject * obj0 = 0 ;
15327 PyObject * obj1 = 0 ;
15328 PyObject * obj2 = 0 ;
15329 PyObject * obj3 = 0 ;
15330 PyObject * obj4 = 0 ;
15331 PyObject * obj5 = 0 ;
15332 PyObject * obj6 = 0 ;
15333 char *kwnames[] = {
15334 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15335 };
15336
15337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15342 if (obj2) {
15343 arg3 = (int)SWIG_As_int(obj2);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 if (obj3) {
15347 {
15348 arg4 = &temp4;
15349 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15350 }
15351 }
15352 if (obj4) {
15353 {
15354 arg5 = &temp5;
15355 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15356 }
15357 }
15358 if (obj5) {
15359 arg6 = (long)SWIG_As_long(obj5);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 if (obj6) {
15363 {
15364 arg7 = wxString_in_helper(obj6);
15365 if (arg7 == NULL) SWIG_fail;
15366 temp7 = true;
15367 }
15368 }
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 {
15377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15378 }
15379 {
15380 if (temp7)
15381 delete arg7;
15382 }
15383 return resultobj;
15384 fail:
15385 {
15386 if (temp7)
15387 delete arg7;
15388 }
15389 return NULL;
15390 }
15391
15392
15393 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
15394 PyObject *resultobj;
15395 wxNotebook *arg1 = (wxNotebook *) 0 ;
15396 int result;
15397 PyObject * obj0 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self", NULL
15400 };
15401
15402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15405 {
15406 PyThreadState* __tstate = wxPyBeginAllowThreads();
15407 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15408
15409 wxPyEndAllowThreads(__tstate);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 }
15412 resultobj = SWIG_From_int((int)result);
15413 return resultobj;
15414 fail:
15415 return NULL;
15416 }
15417
15418
15419 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj;
15421 wxNotebook *arg1 = (wxNotebook *) 0 ;
15422 wxSize *arg2 = 0 ;
15423 wxSize temp2 ;
15424 PyObject * obj0 = 0 ;
15425 PyObject * obj1 = 0 ;
15426 char *kwnames[] = {
15427 (char *) "self",(char *) "padding", NULL
15428 };
15429
15430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15433 {
15434 arg2 = &temp2;
15435 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15436 }
15437 {
15438 PyThreadState* __tstate = wxPyBeginAllowThreads();
15439 (arg1)->SetPadding((wxSize const &)*arg2);
15440
15441 wxPyEndAllowThreads(__tstate);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 }
15444 Py_INCREF(Py_None); resultobj = Py_None;
15445 return resultobj;
15446 fail:
15447 return NULL;
15448 }
15449
15450
15451 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
15452 PyObject *resultobj;
15453 wxNotebook *arg1 = (wxNotebook *) 0 ;
15454 wxSize *arg2 = 0 ;
15455 wxSize temp2 ;
15456 PyObject * obj0 = 0 ;
15457 PyObject * obj1 = 0 ;
15458 char *kwnames[] = {
15459 (char *) "self",(char *) "sz", NULL
15460 };
15461
15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15465 {
15466 arg2 = &temp2;
15467 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15468 }
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 (arg1)->SetTabSize((wxSize const &)*arg2);
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 Py_INCREF(Py_None); resultobj = Py_None;
15477 return resultobj;
15478 fail:
15479 return NULL;
15480 }
15481
15482
15483 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxNotebook *arg1 = (wxNotebook *) 0 ;
15486 wxPoint *arg2 = 0 ;
15487 long *arg3 = (long *) 0 ;
15488 int result;
15489 wxPoint temp2 ;
15490 long temp3 ;
15491 int res3 = 0 ;
15492 PyObject * obj0 = 0 ;
15493 PyObject * obj1 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "self",(char *) "pt", NULL
15496 };
15497
15498 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15502 {
15503 arg2 = &temp2;
15504 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15505 }
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 resultobj = SWIG_From_int((int)result);
15514 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15515 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxNotebook *arg1 = (wxNotebook *) 0 ;
15525 wxSize *arg2 = 0 ;
15526 wxSize result;
15527 wxSize temp2 ;
15528 PyObject * obj0 = 0 ;
15529 PyObject * obj1 = 0 ;
15530 char *kwnames[] = {
15531 (char *) "self",(char *) "sizePage", NULL
15532 };
15533
15534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15537 {
15538 arg2 = &temp2;
15539 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15540 }
15541 {
15542 PyThreadState* __tstate = wxPyBeginAllowThreads();
15543 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15544
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 {
15549 wxSize * resultptr;
15550 resultptr = new wxSize((wxSize &) result);
15551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15552 }
15553 return resultobj;
15554 fail:
15555 return NULL;
15556 }
15557
15558
15559 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15560 PyObject *resultobj;
15561 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15562 wxVisualAttributes result;
15563 PyObject * obj0 = 0 ;
15564 char *kwnames[] = {
15565 (char *) "variant", NULL
15566 };
15567
15568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15569 if (obj0) {
15570 arg1 = (int)SWIG_As_int(obj0);
15571 if (PyErr_Occurred()) SWIG_fail;
15572 }
15573 {
15574 if (!wxPyCheckForApp()) SWIG_fail;
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 {
15582 wxVisualAttributes * resultptr;
15583 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15585 }
15586 return resultobj;
15587 fail:
15588 return NULL;
15589 }
15590
15591
15592 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
15593 PyObject *obj;
15594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15595 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15596 Py_INCREF(obj);
15597 return Py_BuildValue((char *)"");
15598 }
15599 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15600 PyObject *resultobj;
15601 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15602 int arg2 = (int) 0 ;
15603 int arg3 = (int) -1 ;
15604 int arg4 = (int) -1 ;
15605 wxNotebookEvent *result;
15606 PyObject * obj0 = 0 ;
15607 PyObject * obj1 = 0 ;
15608 PyObject * obj2 = 0 ;
15609 PyObject * obj3 = 0 ;
15610 char *kwnames[] = {
15611 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15612 };
15613
15614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15615 if (obj0) {
15616 arg1 = (wxEventType)SWIG_As_int(obj0);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 if (obj1) {
15620 arg2 = (int)SWIG_As_int(obj1);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
15623 if (obj2) {
15624 arg3 = (int)SWIG_As_int(obj2);
15625 if (PyErr_Occurred()) SWIG_fail;
15626 }
15627 if (obj3) {
15628 arg4 = (int)SWIG_As_int(obj3);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15639 return resultobj;
15640 fail:
15641 return NULL;
15642 }
15643
15644
15645 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
15646 PyObject *obj;
15647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15648 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15649 Py_INCREF(obj);
15650 return Py_BuildValue((char *)"");
15651 }
15652 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
15653 PyObject *resultobj;
15654 wxWindow *arg1 = (wxWindow *) 0 ;
15655 int arg2 = (int) -1 ;
15656 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15657 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15658 wxSize const &arg4_defvalue = wxDefaultSize ;
15659 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15660 long arg5 = (long) 0 ;
15661 wxString const &arg6_defvalue = wxPyEmptyString ;
15662 wxString *arg6 = (wxString *) &arg6_defvalue ;
15663 wxListbook *result;
15664 wxPoint temp3 ;
15665 wxSize temp4 ;
15666 bool temp6 = false ;
15667 PyObject * obj0 = 0 ;
15668 PyObject * obj1 = 0 ;
15669 PyObject * obj2 = 0 ;
15670 PyObject * obj3 = 0 ;
15671 PyObject * obj4 = 0 ;
15672 PyObject * obj5 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15680 if (obj1) {
15681 arg2 = (int)SWIG_As_int(obj1);
15682 if (PyErr_Occurred()) SWIG_fail;
15683 }
15684 if (obj2) {
15685 {
15686 arg3 = &temp3;
15687 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15688 }
15689 }
15690 if (obj3) {
15691 {
15692 arg4 = &temp4;
15693 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15694 }
15695 }
15696 if (obj4) {
15697 arg5 = (long)SWIG_As_long(obj4);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
15700 if (obj5) {
15701 {
15702 arg6 = wxString_in_helper(obj5);
15703 if (arg6 == NULL) SWIG_fail;
15704 temp6 = true;
15705 }
15706 }
15707 {
15708 if (!wxPyCheckForApp()) SWIG_fail;
15709 PyThreadState* __tstate = wxPyBeginAllowThreads();
15710 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15711
15712 wxPyEndAllowThreads(__tstate);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15716 {
15717 if (temp6)
15718 delete arg6;
15719 }
15720 return resultobj;
15721 fail:
15722 {
15723 if (temp6)
15724 delete arg6;
15725 }
15726 return NULL;
15727 }
15728
15729
15730 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
15731 PyObject *resultobj;
15732 wxListbook *result;
15733 char *kwnames[] = {
15734 NULL
15735 };
15736
15737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15738 {
15739 if (!wxPyCheckForApp()) SWIG_fail;
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 result = (wxListbook *)new wxListbook();
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxListbook *arg1 = (wxListbook *) 0 ;
15756 wxWindow *arg2 = (wxWindow *) 0 ;
15757 int arg3 = (int) -1 ;
15758 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15759 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15760 wxSize const &arg5_defvalue = wxDefaultSize ;
15761 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15762 long arg6 = (long) 0 ;
15763 wxString const &arg7_defvalue = wxPyEmptyString ;
15764 wxString *arg7 = (wxString *) &arg7_defvalue ;
15765 bool result;
15766 wxPoint temp4 ;
15767 wxSize temp5 ;
15768 bool temp7 = false ;
15769 PyObject * obj0 = 0 ;
15770 PyObject * obj1 = 0 ;
15771 PyObject * obj2 = 0 ;
15772 PyObject * obj3 = 0 ;
15773 PyObject * obj4 = 0 ;
15774 PyObject * obj5 = 0 ;
15775 PyObject * obj6 = 0 ;
15776 char *kwnames[] = {
15777 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15778 };
15779
15780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15785 if (obj2) {
15786 arg3 = (int)SWIG_As_int(obj2);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
15789 if (obj3) {
15790 {
15791 arg4 = &temp4;
15792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15793 }
15794 }
15795 if (obj4) {
15796 {
15797 arg5 = &temp5;
15798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15799 }
15800 }
15801 if (obj5) {
15802 arg6 = (long)SWIG_As_long(obj5);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 if (obj6) {
15806 {
15807 arg7 = wxString_in_helper(obj6);
15808 if (arg7 == NULL) SWIG_fail;
15809 temp7 = true;
15810 }
15811 }
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15815
15816 wxPyEndAllowThreads(__tstate);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 {
15820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15821 }
15822 {
15823 if (temp7)
15824 delete arg7;
15825 }
15826 return resultobj;
15827 fail:
15828 {
15829 if (temp7)
15830 delete arg7;
15831 }
15832 return NULL;
15833 }
15834
15835
15836 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
15837 PyObject *resultobj;
15838 wxListbook *arg1 = (wxListbook *) 0 ;
15839 bool result;
15840 PyObject * obj0 = 0 ;
15841 char *kwnames[] = {
15842 (char *) "self", NULL
15843 };
15844
15845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 result = (bool)((wxListbook const *)arg1)->IsVertical();
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 {
15856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15857 }
15858 return resultobj;
15859 fail:
15860 return NULL;
15861 }
15862
15863
15864 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj;
15866 wxListbook *arg1 = (wxListbook *) 0 ;
15867 wxListView *result;
15868 PyObject * obj0 = 0 ;
15869 char *kwnames[] = {
15870 (char *) "self", NULL
15871 };
15872
15873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
15874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15876 {
15877 PyThreadState* __tstate = wxPyBeginAllowThreads();
15878 result = (wxListView *)(arg1)->GetListView();
15879
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
15884 return resultobj;
15885 fail:
15886 return NULL;
15887 }
15888
15889
15890 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
15891 PyObject *obj;
15892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15893 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15894 Py_INCREF(obj);
15895 return Py_BuildValue((char *)"");
15896 }
15897 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15898 PyObject *resultobj;
15899 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15900 int arg2 = (int) 0 ;
15901 int arg3 = (int) -1 ;
15902 int arg4 = (int) -1 ;
15903 wxListbookEvent *result;
15904 PyObject * obj0 = 0 ;
15905 PyObject * obj1 = 0 ;
15906 PyObject * obj2 = 0 ;
15907 PyObject * obj3 = 0 ;
15908 char *kwnames[] = {
15909 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15910 };
15911
15912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15913 if (obj0) {
15914 arg1 = (wxEventType)SWIG_As_int(obj0);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 if (obj1) {
15918 arg2 = (int)SWIG_As_int(obj1);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 if (obj2) {
15922 arg3 = (int)SWIG_As_int(obj2);
15923 if (PyErr_Occurred()) SWIG_fail;
15924 }
15925 if (obj3) {
15926 arg4 = (int)SWIG_As_int(obj3);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 {
15930 PyThreadState* __tstate = wxPyBeginAllowThreads();
15931 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15932
15933 wxPyEndAllowThreads(__tstate);
15934 if (PyErr_Occurred()) SWIG_fail;
15935 }
15936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15937 return resultobj;
15938 fail:
15939 return NULL;
15940 }
15941
15942
15943 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
15944 PyObject *obj;
15945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15946 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15947 Py_INCREF(obj);
15948 return Py_BuildValue((char *)"");
15949 }
15950 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15951 PyObject *resultobj;
15952 wxWindow *arg1 = (wxWindow *) 0 ;
15953 int arg2 ;
15954 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15955 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15956 wxSize const &arg4_defvalue = wxDefaultSize ;
15957 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15958 long arg5 = (long) 0 ;
15959 wxString const &arg6_defvalue = wxPyEmptyString ;
15960 wxString *arg6 = (wxString *) &arg6_defvalue ;
15961 wxChoicebook *result;
15962 wxPoint temp3 ;
15963 wxSize temp4 ;
15964 bool temp6 = false ;
15965 PyObject * obj0 = 0 ;
15966 PyObject * obj1 = 0 ;
15967 PyObject * obj2 = 0 ;
15968 PyObject * obj3 = 0 ;
15969 PyObject * obj4 = 0 ;
15970 PyObject * obj5 = 0 ;
15971 char *kwnames[] = {
15972 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15973 };
15974
15975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15978 arg2 = (int)SWIG_As_int(obj1);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 if (obj2) {
15981 {
15982 arg3 = &temp3;
15983 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15984 }
15985 }
15986 if (obj3) {
15987 {
15988 arg4 = &temp4;
15989 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15990 }
15991 }
15992 if (obj4) {
15993 arg5 = (long)SWIG_As_long(obj4);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 if (obj5) {
15997 {
15998 arg6 = wxString_in_helper(obj5);
15999 if (arg6 == NULL) SWIG_fail;
16000 temp6 = true;
16001 }
16002 }
16003 {
16004 if (!wxPyCheckForApp()) SWIG_fail;
16005 PyThreadState* __tstate = wxPyBeginAllowThreads();
16006 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16007
16008 wxPyEndAllowThreads(__tstate);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
16012 {
16013 if (temp6)
16014 delete arg6;
16015 }
16016 return resultobj;
16017 fail:
16018 {
16019 if (temp6)
16020 delete arg6;
16021 }
16022 return NULL;
16023 }
16024
16025
16026 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
16027 PyObject *resultobj;
16028 wxChoicebook *result;
16029 char *kwnames[] = {
16030 NULL
16031 };
16032
16033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
16034 {
16035 if (!wxPyCheckForApp()) SWIG_fail;
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 result = (wxChoicebook *)new wxChoicebook();
16038
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16052 wxWindow *arg2 = (wxWindow *) 0 ;
16053 int arg3 ;
16054 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16055 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16056 wxSize const &arg5_defvalue = wxDefaultSize ;
16057 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16058 long arg6 = (long) 0 ;
16059 wxString const &arg7_defvalue = wxPyEmptyString ;
16060 wxString *arg7 = (wxString *) &arg7_defvalue ;
16061 bool result;
16062 wxPoint temp4 ;
16063 wxSize temp5 ;
16064 bool temp7 = false ;
16065 PyObject * obj0 = 0 ;
16066 PyObject * obj1 = 0 ;
16067 PyObject * obj2 = 0 ;
16068 PyObject * obj3 = 0 ;
16069 PyObject * obj4 = 0 ;
16070 PyObject * obj5 = 0 ;
16071 PyObject * obj6 = 0 ;
16072 char *kwnames[] = {
16073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16074 };
16075
16076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16081 arg3 = (int)SWIG_As_int(obj2);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 if (obj3) {
16084 {
16085 arg4 = &temp4;
16086 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16087 }
16088 }
16089 if (obj4) {
16090 {
16091 arg5 = &temp5;
16092 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16093 }
16094 }
16095 if (obj5) {
16096 arg6 = (long)SWIG_As_long(obj5);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 if (obj6) {
16100 {
16101 arg7 = wxString_in_helper(obj6);
16102 if (arg7 == NULL) SWIG_fail;
16103 temp7 = true;
16104 }
16105 }
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
16113 {
16114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16115 }
16116 {
16117 if (temp7)
16118 delete arg7;
16119 }
16120 return resultobj;
16121 fail:
16122 {
16123 if (temp7)
16124 delete arg7;
16125 }
16126 return NULL;
16127 }
16128
16129
16130 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16131 PyObject *resultobj;
16132 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16133 bool result;
16134 PyObject * obj0 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "self", NULL
16137 };
16138
16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
16140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 {
16150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16151 }
16152 return resultobj;
16153 fail:
16154 return NULL;
16155 }
16156
16157
16158 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16159 PyObject *resultobj;
16160 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16161 bool result;
16162 PyObject * obj0 = 0 ;
16163 char *kwnames[] = {
16164 (char *) "self", NULL
16165 };
16166
16167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
16168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 result = (bool)(arg1)->DeleteAllPages();
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
16177 {
16178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16179 }
16180 return resultobj;
16181 fail:
16182 return NULL;
16183 }
16184
16185
16186 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
16187 PyObject *obj;
16188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16189 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
16190 Py_INCREF(obj);
16191 return Py_BuildValue((char *)"");
16192 }
16193 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16196 int arg2 = (int) 0 ;
16197 int arg3 = (int) -1 ;
16198 int arg4 = (int) -1 ;
16199 wxChoicebookEvent *result;
16200 PyObject * obj0 = 0 ;
16201 PyObject * obj1 = 0 ;
16202 PyObject * obj2 = 0 ;
16203 PyObject * obj3 = 0 ;
16204 char *kwnames[] = {
16205 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16206 };
16207
16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16209 if (obj0) {
16210 arg1 = (wxEventType)SWIG_As_int(obj0);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
16213 if (obj1) {
16214 arg2 = (int)SWIG_As_int(obj1);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 if (obj2) {
16218 arg3 = (int)SWIG_As_int(obj2);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 if (obj3) {
16222 arg4 = (int)SWIG_As_int(obj3);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
16233 return resultobj;
16234 fail:
16235 return NULL;
16236 }
16237
16238
16239 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
16240 PyObject *obj;
16241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16242 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
16243 Py_INCREF(obj);
16244 return Py_BuildValue((char *)"");
16245 }
16246 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
16247 PyObject *resultobj;
16248 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
16249 wxBookCtrlSizer *result;
16250 PyObject * obj0 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "nb", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
16256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
16257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
16266 return resultobj;
16267 fail:
16268 return NULL;
16269 }
16270
16271
16272 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16275 PyObject * obj0 = 0 ;
16276 char *kwnames[] = {
16277 (char *) "self", NULL
16278 };
16279
16280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 (arg1)->RecalcSizes();
16286
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
16290 Py_INCREF(Py_None); resultobj = Py_None;
16291 return resultobj;
16292 fail:
16293 return NULL;
16294 }
16295
16296
16297 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
16298 PyObject *resultobj;
16299 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16300 wxSize result;
16301 PyObject * obj0 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
16307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 result = (arg1)->CalcMin();
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 {
16317 wxSize * resultptr;
16318 resultptr = new wxSize((wxSize &) result);
16319 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16320 }
16321 return resultobj;
16322 fail:
16323 return NULL;
16324 }
16325
16326
16327 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16330 wxBookCtrl *result;
16331 PyObject * obj0 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "self", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
16337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16339 {
16340 PyThreadState* __tstate = wxPyBeginAllowThreads();
16341 result = (wxBookCtrl *)(arg1)->GetControl();
16342
16343 wxPyEndAllowThreads(__tstate);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
16347 return resultobj;
16348 fail:
16349 return NULL;
16350 }
16351
16352
16353 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
16354 PyObject *obj;
16355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16356 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
16357 Py_INCREF(obj);
16358 return Py_BuildValue((char *)"");
16359 }
16360 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxNotebook *arg1 = (wxNotebook *) 0 ;
16363 wxNotebookSizer *result;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "nb", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
16370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
16371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
16374 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
16380 return resultobj;
16381 fail:
16382 return NULL;
16383 }
16384
16385
16386 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 (arg1)->RecalcSizes();
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 Py_INCREF(Py_None); resultobj = Py_None;
16405 return resultobj;
16406 fail:
16407 return NULL;
16408 }
16409
16410
16411 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
16412 PyObject *resultobj;
16413 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16414 wxSize result;
16415 PyObject * obj0 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self", NULL
16418 };
16419
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
16421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 result = (arg1)->CalcMin();
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 {
16431 wxSize * resultptr;
16432 resultptr = new wxSize((wxSize &) result);
16433 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16434 }
16435 return resultobj;
16436 fail:
16437 return NULL;
16438 }
16439
16440
16441 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
16442 PyObject *resultobj;
16443 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16444 wxNotebook *result;
16445 PyObject * obj0 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16453 {
16454 PyThreadState* __tstate = wxPyBeginAllowThreads();
16455 result = (wxNotebook *)(arg1)->GetNotebook();
16456
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 {
16461 resultobj = wxPyMake_wxObject(result, 0);
16462 }
16463 return resultobj;
16464 fail:
16465 return NULL;
16466 }
16467
16468
16469 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
16470 PyObject *obj;
16471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16472 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
16473 Py_INCREF(obj);
16474 return Py_BuildValue((char *)"");
16475 }
16476 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16479 int result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
16486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (int)(arg1)->GetId();
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 resultobj = SWIG_From_int((int)result);
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16505 wxControl *result;
16506 PyObject * obj0 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16514 {
16515 PyThreadState* __tstate = wxPyBeginAllowThreads();
16516 result = (wxControl *)(arg1)->GetControl();
16517
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 {
16522 resultobj = wxPyMake_wxObject(result, 0);
16523 }
16524 return resultobj;
16525 fail:
16526 return NULL;
16527 }
16528
16529
16530 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
16531 PyObject *resultobj;
16532 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16533 wxToolBarBase *result;
16534 PyObject * obj0 = 0 ;
16535 char *kwnames[] = {
16536 (char *) "self", NULL
16537 };
16538
16539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
16540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 result = (wxToolBarBase *)(arg1)->GetToolBar();
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 {
16550 resultobj = wxPyMake_wxObject(result, 0);
16551 }
16552 return resultobj;
16553 fail:
16554 return NULL;
16555 }
16556
16557
16558 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16561 int result;
16562 PyObject * obj0 = 0 ;
16563 char *kwnames[] = {
16564 (char *) "self", NULL
16565 };
16566
16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
16568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 result = (int)(arg1)->IsButton();
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 resultobj = SWIG_From_int((int)result);
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16587 int result;
16588 PyObject * obj0 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16596 {
16597 PyThreadState* __tstate = wxPyBeginAllowThreads();
16598 result = (int)(arg1)->IsControl();
16599
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 resultobj = SWIG_From_int((int)result);
16604 return resultobj;
16605 fail:
16606 return NULL;
16607 }
16608
16609
16610 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16611 PyObject *resultobj;
16612 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16613 int result;
16614 PyObject * obj0 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "self", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 result = (int)(arg1)->IsSeparator();
16625
16626 wxPyEndAllowThreads(__tstate);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 resultobj = SWIG_From_int((int)result);
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16639 int result;
16640 PyObject * obj0 = 0 ;
16641 char *kwnames[] = {
16642 (char *) "self", NULL
16643 };
16644
16645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 result = (int)(arg1)->GetStyle();
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 resultobj = SWIG_From_int((int)result);
16656 return resultobj;
16657 fail:
16658 return NULL;
16659 }
16660
16661
16662 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16665 int result;
16666 PyObject * obj0 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "self", NULL
16669 };
16670
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 result = (int)(arg1)->GetKind();
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 resultobj = SWIG_From_int((int)result);
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16691 bool result;
16692 PyObject * obj0 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 result = (bool)(arg1)->IsEnabled();
16703
16704 wxPyEndAllowThreads(__tstate);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
16707 {
16708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16709 }
16710 return resultobj;
16711 fail:
16712 return NULL;
16713 }
16714
16715
16716 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16719 bool result;
16720 PyObject * obj0 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self", NULL
16723 };
16724
16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16728 {
16729 PyThreadState* __tstate = wxPyBeginAllowThreads();
16730 result = (bool)(arg1)->IsToggled();
16731
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
16735 {
16736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16737 }
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16747 bool result;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 result = (bool)(arg1)->CanBeToggled();
16759
16760 wxPyEndAllowThreads(__tstate);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 }
16763 {
16764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16765 }
16766 return resultobj;
16767 fail:
16768 return NULL;
16769 }
16770
16771
16772 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj;
16774 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16775 wxBitmap *result;
16776 PyObject * obj0 = 0 ;
16777 char *kwnames[] = {
16778 (char *) "self", NULL
16779 };
16780
16781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16784 {
16785 PyThreadState* __tstate = wxPyBeginAllowThreads();
16786 {
16787 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16788 result = (wxBitmap *) &_result_ref;
16789 }
16790
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 {
16795 wxBitmap* resultptr = new wxBitmap(*result);
16796 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16797 }
16798 return resultobj;
16799 fail:
16800 return NULL;
16801 }
16802
16803
16804 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16807 wxBitmap *result;
16808 PyObject * obj0 = 0 ;
16809 char *kwnames[] = {
16810 (char *) "self", NULL
16811 };
16812
16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16816 {
16817 PyThreadState* __tstate = wxPyBeginAllowThreads();
16818 {
16819 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16820 result = (wxBitmap *) &_result_ref;
16821 }
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 {
16827 wxBitmap* resultptr = new wxBitmap(*result);
16828 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16829 }
16830 return resultobj;
16831 fail:
16832 return NULL;
16833 }
16834
16835
16836 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16839 wxBitmap result;
16840 PyObject * obj0 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 result = (arg1)->GetBitmap();
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 {
16856 wxBitmap * resultptr;
16857 resultptr = new wxBitmap((wxBitmap &) result);
16858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16859 }
16860 return resultobj;
16861 fail:
16862 return NULL;
16863 }
16864
16865
16866 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16867 PyObject *resultobj;
16868 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16869 wxString result;
16870 PyObject * obj0 = 0 ;
16871 char *kwnames[] = {
16872 (char *) "self", NULL
16873 };
16874
16875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16878 {
16879 PyThreadState* __tstate = wxPyBeginAllowThreads();
16880 result = (arg1)->GetLabel();
16881
16882 wxPyEndAllowThreads(__tstate);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 }
16885 {
16886 #if wxUSE_UNICODE
16887 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16888 #else
16889 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16890 #endif
16891 }
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16901 wxString result;
16902 PyObject * obj0 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16910 {
16911 PyThreadState* __tstate = wxPyBeginAllowThreads();
16912 result = (arg1)->GetShortHelp();
16913
16914 wxPyEndAllowThreads(__tstate);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 {
16918 #if wxUSE_UNICODE
16919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16920 #else
16921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16922 #endif
16923 }
16924 return resultobj;
16925 fail:
16926 return NULL;
16927 }
16928
16929
16930 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16931 PyObject *resultobj;
16932 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16933 wxString result;
16934 PyObject * obj0 = 0 ;
16935 char *kwnames[] = {
16936 (char *) "self", NULL
16937 };
16938
16939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16942 {
16943 PyThreadState* __tstate = wxPyBeginAllowThreads();
16944 result = (arg1)->GetLongHelp();
16945
16946 wxPyEndAllowThreads(__tstate);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 }
16949 {
16950 #if wxUSE_UNICODE
16951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16952 #else
16953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16954 #endif
16955 }
16956 return resultobj;
16957 fail:
16958 return NULL;
16959 }
16960
16961
16962 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
16963 PyObject *resultobj;
16964 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16965 bool arg2 ;
16966 bool result;
16967 PyObject * obj0 = 0 ;
16968 PyObject * obj1 = 0 ;
16969 char *kwnames[] = {
16970 (char *) "self",(char *) "enable", NULL
16971 };
16972
16973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16976 arg2 = (bool)SWIG_As_bool(obj1);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (bool)(arg1)->Enable(arg2);
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 {
16986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16987 }
16988 return resultobj;
16989 fail:
16990 return NULL;
16991 }
16992
16993
16994 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
16995 PyObject *resultobj;
16996 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16997 PyObject * obj0 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self", NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
17003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
17007 (arg1)->Toggle();
17008
17009 wxPyEndAllowThreads(__tstate);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
17012 Py_INCREF(Py_None); resultobj = Py_None;
17013 return resultobj;
17014 fail:
17015 return NULL;
17016 }
17017
17018
17019 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
17020 PyObject *resultobj;
17021 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17022 bool arg2 ;
17023 bool result;
17024 PyObject * obj0 = 0 ;
17025 PyObject * obj1 = 0 ;
17026 char *kwnames[] = {
17027 (char *) "self",(char *) "toggle", NULL
17028 };
17029
17030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
17031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17033 arg2 = (bool)SWIG_As_bool(obj1);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 result = (bool)(arg1)->SetToggle(arg2);
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 {
17043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17044 }
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17054 wxString *arg2 = 0 ;
17055 bool result;
17056 bool temp2 = false ;
17057 PyObject * obj0 = 0 ;
17058 PyObject * obj1 = 0 ;
17059 char *kwnames[] = {
17060 (char *) "self",(char *) "help", NULL
17061 };
17062
17063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
17064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17066 {
17067 arg2 = wxString_in_helper(obj1);
17068 if (arg2 == NULL) SWIG_fail;
17069 temp2 = true;
17070 }
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
17074
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 {
17079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17080 }
17081 {
17082 if (temp2)
17083 delete arg2;
17084 }
17085 return resultobj;
17086 fail:
17087 {
17088 if (temp2)
17089 delete arg2;
17090 }
17091 return NULL;
17092 }
17093
17094
17095 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
17096 PyObject *resultobj;
17097 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17098 wxString *arg2 = 0 ;
17099 bool result;
17100 bool temp2 = false ;
17101 PyObject * obj0 = 0 ;
17102 PyObject * obj1 = 0 ;
17103 char *kwnames[] = {
17104 (char *) "self",(char *) "help", NULL
17105 };
17106
17107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
17108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17110 {
17111 arg2 = wxString_in_helper(obj1);
17112 if (arg2 == NULL) SWIG_fail;
17113 temp2 = true;
17114 }
17115 {
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
17118
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 {
17123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17124 }
17125 {
17126 if (temp2)
17127 delete arg2;
17128 }
17129 return resultobj;
17130 fail:
17131 {
17132 if (temp2)
17133 delete arg2;
17134 }
17135 return NULL;
17136 }
17137
17138
17139 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj;
17141 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17142 wxBitmap *arg2 = 0 ;
17143 PyObject * obj0 = 0 ;
17144 PyObject * obj1 = 0 ;
17145 char *kwnames[] = {
17146 (char *) "self",(char *) "bmp", NULL
17147 };
17148
17149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
17150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17153 SWIG_POINTER_EXCEPTION | 0)) == -1)
17154 SWIG_fail;
17155 if (arg2 == NULL) {
17156 PyErr_SetString(PyExc_TypeError,"null reference");
17157 SWIG_fail;
17158 }
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 Py_INCREF(Py_None); resultobj = Py_None;
17167 return resultobj;
17168 fail:
17169 return NULL;
17170 }
17171
17172
17173 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
17174 PyObject *resultobj;
17175 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17176 wxBitmap *arg2 = 0 ;
17177 PyObject * obj0 = 0 ;
17178 PyObject * obj1 = 0 ;
17179 char *kwnames[] = {
17180 (char *) "self",(char *) "bmp", NULL
17181 };
17182
17183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
17184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17187 SWIG_POINTER_EXCEPTION | 0)) == -1)
17188 SWIG_fail;
17189 if (arg2 == NULL) {
17190 PyErr_SetString(PyExc_TypeError,"null reference");
17191 SWIG_fail;
17192 }
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 Py_INCREF(Py_None); resultobj = Py_None;
17201 return resultobj;
17202 fail:
17203 return NULL;
17204 }
17205
17206
17207 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17210 wxString *arg2 = 0 ;
17211 bool temp2 = false ;
17212 PyObject * obj0 = 0 ;
17213 PyObject * obj1 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self",(char *) "label", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
17219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17221 {
17222 arg2 = wxString_in_helper(obj1);
17223 if (arg2 == NULL) SWIG_fail;
17224 temp2 = true;
17225 }
17226 {
17227 PyThreadState* __tstate = wxPyBeginAllowThreads();
17228 (arg1)->SetLabel((wxString const &)*arg2);
17229
17230 wxPyEndAllowThreads(__tstate);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 }
17233 Py_INCREF(Py_None); resultobj = Py_None;
17234 {
17235 if (temp2)
17236 delete arg2;
17237 }
17238 return resultobj;
17239 fail:
17240 {
17241 if (temp2)
17242 delete arg2;
17243 }
17244 return NULL;
17245 }
17246
17247
17248 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17251 PyObject * obj0 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "self", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
17257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17259 {
17260 PyThreadState* __tstate = wxPyBeginAllowThreads();
17261 (arg1)->Detach();
17262
17263 wxPyEndAllowThreads(__tstate);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
17266 Py_INCREF(Py_None); resultobj = Py_None;
17267 return resultobj;
17268 fail:
17269 return NULL;
17270 }
17271
17272
17273 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj;
17275 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17276 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
17277 PyObject * obj0 = 0 ;
17278 PyObject * obj1 = 0 ;
17279 char *kwnames[] = {
17280 (char *) "self",(char *) "tbar", NULL
17281 };
17282
17283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
17284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
17287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 (arg1)->Attach(arg2);
17291
17292 wxPyEndAllowThreads(__tstate);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
17295 Py_INCREF(Py_None); resultobj = Py_None;
17296 return resultobj;
17297 fail:
17298 return NULL;
17299 }
17300
17301
17302 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17303 PyObject *resultobj;
17304 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17305 PyObject *result;
17306 PyObject * obj0 = 0 ;
17307 char *kwnames[] = {
17308 (char *) "self", NULL
17309 };
17310
17311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
17312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 resultobj = result;
17322 return resultobj;
17323 fail:
17324 return NULL;
17325 }
17326
17327
17328 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17331 PyObject *arg2 = (PyObject *) 0 ;
17332 PyObject * obj0 = 0 ;
17333 PyObject * obj1 = 0 ;
17334 char *kwnames[] = {
17335 (char *) "self",(char *) "clientData", NULL
17336 };
17337
17338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
17339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17341 arg2 = obj1;
17342 {
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 wxToolBarToolBase_SetClientData(arg1,arg2);
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 Py_INCREF(Py_None); resultobj = Py_None;
17350 return resultobj;
17351 fail:
17352 return NULL;
17353 }
17354
17355
17356 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
17357 PyObject *obj;
17358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17359 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
17360 Py_INCREF(obj);
17361 return Py_BuildValue((char *)"");
17362 }
17363 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
17364 PyObject *resultobj;
17365 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17366 int arg2 ;
17367 wxString *arg3 = 0 ;
17368 wxBitmap *arg4 = 0 ;
17369 wxBitmap const &arg5_defvalue = wxNullBitmap ;
17370 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
17371 int arg6 = (int) wxITEM_NORMAL ;
17372 wxString const &arg7_defvalue = wxPyEmptyString ;
17373 wxString *arg7 = (wxString *) &arg7_defvalue ;
17374 wxString const &arg8_defvalue = wxPyEmptyString ;
17375 wxString *arg8 = (wxString *) &arg8_defvalue ;
17376 PyObject *arg9 = (PyObject *) NULL ;
17377 wxToolBarToolBase *result;
17378 bool temp3 = false ;
17379 bool temp7 = false ;
17380 bool temp8 = false ;
17381 PyObject * obj0 = 0 ;
17382 PyObject * obj1 = 0 ;
17383 PyObject * obj2 = 0 ;
17384 PyObject * obj3 = 0 ;
17385 PyObject * obj4 = 0 ;
17386 PyObject * obj5 = 0 ;
17387 PyObject * obj6 = 0 ;
17388 PyObject * obj7 = 0 ;
17389 PyObject * obj8 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17397 arg2 = (int)SWIG_As_int(obj1);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 {
17400 arg3 = wxString_in_helper(obj2);
17401 if (arg3 == NULL) SWIG_fail;
17402 temp3 = true;
17403 }
17404 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
17405 SWIG_POINTER_EXCEPTION | 0)) == -1)
17406 SWIG_fail;
17407 if (arg4 == NULL) {
17408 PyErr_SetString(PyExc_TypeError,"null reference");
17409 SWIG_fail;
17410 }
17411 if (obj4) {
17412 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17413 SWIG_POINTER_EXCEPTION | 0)) == -1)
17414 SWIG_fail;
17415 if (arg5 == NULL) {
17416 PyErr_SetString(PyExc_TypeError,"null reference");
17417 SWIG_fail;
17418 }
17419 }
17420 if (obj5) {
17421 arg6 = (int)SWIG_As_int(obj5);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 if (obj6) {
17425 {
17426 arg7 = wxString_in_helper(obj6);
17427 if (arg7 == NULL) SWIG_fail;
17428 temp7 = true;
17429 }
17430 }
17431 if (obj7) {
17432 {
17433 arg8 = wxString_in_helper(obj7);
17434 if (arg8 == NULL) SWIG_fail;
17435 temp8 = true;
17436 }
17437 }
17438 if (obj8) {
17439 arg9 = obj8;
17440 }
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 {
17449 resultobj = wxPyMake_wxObject(result, 0);
17450 }
17451 {
17452 if (temp3)
17453 delete arg3;
17454 }
17455 {
17456 if (temp7)
17457 delete arg7;
17458 }
17459 {
17460 if (temp8)
17461 delete arg8;
17462 }
17463 return resultobj;
17464 fail:
17465 {
17466 if (temp3)
17467 delete arg3;
17468 }
17469 {
17470 if (temp7)
17471 delete arg7;
17472 }
17473 {
17474 if (temp8)
17475 delete arg8;
17476 }
17477 return NULL;
17478 }
17479
17480
17481 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17484 size_t arg2 ;
17485 int arg3 ;
17486 wxString *arg4 = 0 ;
17487 wxBitmap *arg5 = 0 ;
17488 wxBitmap const &arg6_defvalue = wxNullBitmap ;
17489 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
17490 int arg7 = (int) wxITEM_NORMAL ;
17491 wxString const &arg8_defvalue = wxPyEmptyString ;
17492 wxString *arg8 = (wxString *) &arg8_defvalue ;
17493 wxString const &arg9_defvalue = wxPyEmptyString ;
17494 wxString *arg9 = (wxString *) &arg9_defvalue ;
17495 PyObject *arg10 = (PyObject *) NULL ;
17496 wxToolBarToolBase *result;
17497 bool temp4 = false ;
17498 bool temp8 = false ;
17499 bool temp9 = false ;
17500 PyObject * obj0 = 0 ;
17501 PyObject * obj1 = 0 ;
17502 PyObject * obj2 = 0 ;
17503 PyObject * obj3 = 0 ;
17504 PyObject * obj4 = 0 ;
17505 PyObject * obj5 = 0 ;
17506 PyObject * obj6 = 0 ;
17507 PyObject * obj7 = 0 ;
17508 PyObject * obj8 = 0 ;
17509 PyObject * obj9 = 0 ;
17510 char *kwnames[] = {
17511 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17512 };
17513
17514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
17515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17517 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 arg3 = (int)SWIG_As_int(obj2);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 {
17522 arg4 = wxString_in_helper(obj3);
17523 if (arg4 == NULL) SWIG_fail;
17524 temp4 = true;
17525 }
17526 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17527 SWIG_POINTER_EXCEPTION | 0)) == -1)
17528 SWIG_fail;
17529 if (arg5 == NULL) {
17530 PyErr_SetString(PyExc_TypeError,"null reference");
17531 SWIG_fail;
17532 }
17533 if (obj5) {
17534 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17535 SWIG_POINTER_EXCEPTION | 0)) == -1)
17536 SWIG_fail;
17537 if (arg6 == NULL) {
17538 PyErr_SetString(PyExc_TypeError,"null reference");
17539 SWIG_fail;
17540 }
17541 }
17542 if (obj6) {
17543 arg7 = (int)SWIG_As_int(obj6);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 if (obj7) {
17547 {
17548 arg8 = wxString_in_helper(obj7);
17549 if (arg8 == NULL) SWIG_fail;
17550 temp8 = true;
17551 }
17552 }
17553 if (obj8) {
17554 {
17555 arg9 = wxString_in_helper(obj8);
17556 if (arg9 == NULL) SWIG_fail;
17557 temp9 = true;
17558 }
17559 }
17560 if (obj9) {
17561 arg10 = obj9;
17562 }
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 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);
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 {
17571 resultobj = wxPyMake_wxObject(result, 0);
17572 }
17573 {
17574 if (temp4)
17575 delete arg4;
17576 }
17577 {
17578 if (temp8)
17579 delete arg8;
17580 }
17581 {
17582 if (temp9)
17583 delete arg9;
17584 }
17585 return resultobj;
17586 fail:
17587 {
17588 if (temp4)
17589 delete arg4;
17590 }
17591 {
17592 if (temp8)
17593 delete arg8;
17594 }
17595 {
17596 if (temp9)
17597 delete arg9;
17598 }
17599 return NULL;
17600 }
17601
17602
17603 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj;
17605 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17606 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17607 wxToolBarToolBase *result;
17608 PyObject * obj0 = 0 ;
17609 PyObject * obj1 = 0 ;
17610 char *kwnames[] = {
17611 (char *) "self",(char *) "tool", NULL
17612 };
17613
17614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17619 {
17620 PyThreadState* __tstate = wxPyBeginAllowThreads();
17621 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17622
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 {
17627 resultobj = wxPyMake_wxObject(result, 0);
17628 }
17629 return resultobj;
17630 fail:
17631 return NULL;
17632 }
17633
17634
17635 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
17636 PyObject *resultobj;
17637 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17638 size_t arg2 ;
17639 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17640 wxToolBarToolBase *result;
17641 PyObject * obj0 = 0 ;
17642 PyObject * obj1 = 0 ;
17643 PyObject * obj2 = 0 ;
17644 char *kwnames[] = {
17645 (char *) "self",(char *) "pos",(char *) "tool", NULL
17646 };
17647
17648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17651 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17655 {
17656 PyThreadState* __tstate = wxPyBeginAllowThreads();
17657 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17658
17659 wxPyEndAllowThreads(__tstate);
17660 if (PyErr_Occurred()) SWIG_fail;
17661 }
17662 {
17663 resultobj = wxPyMake_wxObject(result, 0);
17664 }
17665 return resultobj;
17666 fail:
17667 return NULL;
17668 }
17669
17670
17671 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
17672 PyObject *resultobj;
17673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17674 wxControl *arg2 = (wxControl *) 0 ;
17675 wxToolBarToolBase *result;
17676 PyObject * obj0 = 0 ;
17677 PyObject * obj1 = 0 ;
17678 char *kwnames[] = {
17679 (char *) "self",(char *) "control", NULL
17680 };
17681
17682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 {
17695 resultobj = wxPyMake_wxObject(result, 0);
17696 }
17697 return resultobj;
17698 fail:
17699 return NULL;
17700 }
17701
17702
17703 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
17704 PyObject *resultobj;
17705 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17706 size_t arg2 ;
17707 wxControl *arg3 = (wxControl *) 0 ;
17708 wxToolBarToolBase *result;
17709 PyObject * obj0 = 0 ;
17710 PyObject * obj1 = 0 ;
17711 PyObject * obj2 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self",(char *) "pos",(char *) "control", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17719 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17723 {
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17726
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 {
17731 resultobj = wxPyMake_wxObject(result, 0);
17732 }
17733 return resultobj;
17734 fail:
17735 return NULL;
17736 }
17737
17738
17739 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
17740 PyObject *resultobj;
17741 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17742 int arg2 ;
17743 wxControl *result;
17744 PyObject * obj0 = 0 ;
17745 PyObject * obj1 = 0 ;
17746 char *kwnames[] = {
17747 (char *) "self",(char *) "id", NULL
17748 };
17749
17750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17753 arg2 = (int)SWIG_As_int(obj1);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 result = (wxControl *)(arg1)->FindControl(arg2);
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 {
17763 resultobj = wxPyMake_wxObject(result, 0);
17764 }
17765 return resultobj;
17766 fail:
17767 return NULL;
17768 }
17769
17770
17771 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
17772 PyObject *resultobj;
17773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17774 wxToolBarToolBase *result;
17775 PyObject * obj0 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17786
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 {
17791 resultobj = wxPyMake_wxObject(result, 0);
17792 }
17793 return resultobj;
17794 fail:
17795 return NULL;
17796 }
17797
17798
17799 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
17800 PyObject *resultobj;
17801 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17802 size_t arg2 ;
17803 wxToolBarToolBase *result;
17804 PyObject * obj0 = 0 ;
17805 PyObject * obj1 = 0 ;
17806 char *kwnames[] = {
17807 (char *) "self",(char *) "pos", NULL
17808 };
17809
17810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17813 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 {
17816 PyThreadState* __tstate = wxPyBeginAllowThreads();
17817 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17818
17819 wxPyEndAllowThreads(__tstate);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 {
17823 resultobj = wxPyMake_wxObject(result, 0);
17824 }
17825 return resultobj;
17826 fail:
17827 return NULL;
17828 }
17829
17830
17831 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
17832 PyObject *resultobj;
17833 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17834 int arg2 ;
17835 wxToolBarToolBase *result;
17836 PyObject * obj0 = 0 ;
17837 PyObject * obj1 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self",(char *) "id", NULL
17840 };
17841
17842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17845 arg2 = (int)SWIG_As_int(obj1);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 {
17855 resultobj = wxPyMake_wxObject(result, 0);
17856 }
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
17864 PyObject *resultobj;
17865 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17866 size_t arg2 ;
17867 bool result;
17868 PyObject * obj0 = 0 ;
17869 PyObject * obj1 = 0 ;
17870 char *kwnames[] = {
17871 (char *) "self",(char *) "pos", NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17877 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 {
17880 PyThreadState* __tstate = wxPyBeginAllowThreads();
17881 result = (bool)(arg1)->DeleteToolByPos(arg2);
17882
17883 wxPyEndAllowThreads(__tstate);
17884 if (PyErr_Occurred()) SWIG_fail;
17885 }
17886 {
17887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17888 }
17889 return resultobj;
17890 fail:
17891 return NULL;
17892 }
17893
17894
17895 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj;
17897 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17898 int arg2 ;
17899 bool result;
17900 PyObject * obj0 = 0 ;
17901 PyObject * obj1 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "self",(char *) "id", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17909 arg2 = (int)SWIG_As_int(obj1);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (bool)(arg1)->DeleteTool(arg2);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 {
17919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17920 }
17921 return resultobj;
17922 fail:
17923 return NULL;
17924 }
17925
17926
17927 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 (arg1)->ClearTools();
17941
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 Py_INCREF(Py_None); resultobj = Py_None;
17946 return resultobj;
17947 fail:
17948 return NULL;
17949 }
17950
17951
17952 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
17953 PyObject *resultobj;
17954 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17955 bool result;
17956 PyObject * obj0 = 0 ;
17957 char *kwnames[] = {
17958 (char *) "self", NULL
17959 };
17960
17961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17964 {
17965 PyThreadState* __tstate = wxPyBeginAllowThreads();
17966 result = (bool)(arg1)->Realize();
17967
17968 wxPyEndAllowThreads(__tstate);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 {
17972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17973 }
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17983 int arg2 ;
17984 bool arg3 ;
17985 PyObject * obj0 = 0 ;
17986 PyObject * obj1 = 0 ;
17987 PyObject * obj2 = 0 ;
17988 char *kwnames[] = {
17989 (char *) "self",(char *) "id",(char *) "enable", NULL
17990 };
17991
17992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17995 arg2 = (int)SWIG_As_int(obj1);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 arg3 = (bool)SWIG_As_bool(obj2);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 (arg1)->EnableTool(arg2,arg3);
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 Py_INCREF(Py_None); resultobj = Py_None;
18007 return resultobj;
18008 fail:
18009 return NULL;
18010 }
18011
18012
18013 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
18014 PyObject *resultobj;
18015 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18016 int arg2 ;
18017 bool arg3 ;
18018 PyObject * obj0 = 0 ;
18019 PyObject * obj1 = 0 ;
18020 PyObject * obj2 = 0 ;
18021 char *kwnames[] = {
18022 (char *) "self",(char *) "id",(char *) "toggle", NULL
18023 };
18024
18025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
18026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18028 arg2 = (int)SWIG_As_int(obj1);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 arg3 = (bool)SWIG_As_bool(obj2);
18031 if (PyErr_Occurred()) SWIG_fail;
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 (arg1)->ToggleTool(arg2,arg3);
18035
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 Py_INCREF(Py_None); resultobj = Py_None;
18040 return resultobj;
18041 fail:
18042 return NULL;
18043 }
18044
18045
18046 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18047 PyObject *resultobj;
18048 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18049 int arg2 ;
18050 bool arg3 ;
18051 PyObject * obj0 = 0 ;
18052 PyObject * obj1 = 0 ;
18053 PyObject * obj2 = 0 ;
18054 char *kwnames[] = {
18055 (char *) "self",(char *) "id",(char *) "toggle", NULL
18056 };
18057
18058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
18059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18061 arg2 = (int)SWIG_As_int(obj1);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 arg3 = (bool)SWIG_As_bool(obj2);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 (arg1)->SetToggle(arg2,arg3);
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 Py_INCREF(Py_None); resultobj = Py_None;
18073 return resultobj;
18074 fail:
18075 return NULL;
18076 }
18077
18078
18079 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18082 int arg2 ;
18083 PyObject *result;
18084 PyObject * obj0 = 0 ;
18085 PyObject * obj1 = 0 ;
18086 char *kwnames[] = {
18087 (char *) "self",(char *) "id", NULL
18088 };
18089
18090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
18091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18093 arg2 = (int)SWIG_As_int(obj1);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 {
18096 PyThreadState* __tstate = wxPyBeginAllowThreads();
18097 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
18098
18099 wxPyEndAllowThreads(__tstate);
18100 if (PyErr_Occurred()) SWIG_fail;
18101 }
18102 resultobj = result;
18103 return resultobj;
18104 fail:
18105 return NULL;
18106 }
18107
18108
18109 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
18110 PyObject *resultobj;
18111 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18112 int arg2 ;
18113 PyObject *arg3 = (PyObject *) 0 ;
18114 PyObject * obj0 = 0 ;
18115 PyObject * obj1 = 0 ;
18116 PyObject * obj2 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self",(char *) "id",(char *) "clientData", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
18122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18124 arg2 = (int)SWIG_As_int(obj1);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 arg3 = obj2;
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 Py_INCREF(Py_None); resultobj = Py_None;
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18144 int arg2 ;
18145 int result;
18146 PyObject * obj0 = 0 ;
18147 PyObject * obj1 = 0 ;
18148 char *kwnames[] = {
18149 (char *) "self",(char *) "id", NULL
18150 };
18151
18152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
18153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18155 arg2 = (int)SWIG_As_int(obj1);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 resultobj = SWIG_From_int((int)result);
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18174 int arg2 ;
18175 bool result;
18176 PyObject * obj0 = 0 ;
18177 PyObject * obj1 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "self",(char *) "id", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
18183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18185 arg2 = (int)SWIG_As_int(obj1);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 result = (bool)(arg1)->GetToolState(arg2);
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 {
18195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18196 }
18197 return resultobj;
18198 fail:
18199 return NULL;
18200 }
18201
18202
18203 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18204 PyObject *resultobj;
18205 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18206 int arg2 ;
18207 bool result;
18208 PyObject * obj0 = 0 ;
18209 PyObject * obj1 = 0 ;
18210 char *kwnames[] = {
18211 (char *) "self",(char *) "id", NULL
18212 };
18213
18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
18215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18217 arg2 = (int)SWIG_As_int(obj1);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 result = (bool)(arg1)->GetToolEnabled(arg2);
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 {
18227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18228 }
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18238 int arg2 ;
18239 wxString *arg3 = 0 ;
18240 bool temp3 = false ;
18241 PyObject * obj0 = 0 ;
18242 PyObject * obj1 = 0 ;
18243 PyObject * obj2 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self",(char *) "id",(char *) "helpString", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18251 arg2 = (int)SWIG_As_int(obj1);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 {
18254 arg3 = wxString_in_helper(obj2);
18255 if (arg3 == NULL) SWIG_fail;
18256 temp3 = true;
18257 }
18258 {
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 Py_INCREF(Py_None); resultobj = Py_None;
18266 {
18267 if (temp3)
18268 delete arg3;
18269 }
18270 return resultobj;
18271 fail:
18272 {
18273 if (temp3)
18274 delete arg3;
18275 }
18276 return NULL;
18277 }
18278
18279
18280 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18281 PyObject *resultobj;
18282 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18283 int arg2 ;
18284 wxString result;
18285 PyObject * obj0 = 0 ;
18286 PyObject * obj1 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self",(char *) "id", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
18292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18294 arg2 = (int)SWIG_As_int(obj1);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 result = (arg1)->GetToolShortHelp(arg2);
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 {
18304 #if wxUSE_UNICODE
18305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18306 #else
18307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18308 #endif
18309 }
18310 return resultobj;
18311 fail:
18312 return NULL;
18313 }
18314
18315
18316 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18317 PyObject *resultobj;
18318 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18319 int arg2 ;
18320 wxString *arg3 = 0 ;
18321 bool temp3 = false ;
18322 PyObject * obj0 = 0 ;
18323 PyObject * obj1 = 0 ;
18324 PyObject * obj2 = 0 ;
18325 char *kwnames[] = {
18326 (char *) "self",(char *) "id",(char *) "helpString", NULL
18327 };
18328
18329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18332 arg2 = (int)SWIG_As_int(obj1);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 {
18335 arg3 = wxString_in_helper(obj2);
18336 if (arg3 == NULL) SWIG_fail;
18337 temp3 = true;
18338 }
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 Py_INCREF(Py_None); resultobj = Py_None;
18347 {
18348 if (temp3)
18349 delete arg3;
18350 }
18351 return resultobj;
18352 fail:
18353 {
18354 if (temp3)
18355 delete arg3;
18356 }
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18364 int arg2 ;
18365 wxString result;
18366 PyObject * obj0 = 0 ;
18367 PyObject * obj1 = 0 ;
18368 char *kwnames[] = {
18369 (char *) "self",(char *) "id", NULL
18370 };
18371
18372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
18373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18375 arg2 = (int)SWIG_As_int(obj1);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 {
18378 PyThreadState* __tstate = wxPyBeginAllowThreads();
18379 result = (arg1)->GetToolLongHelp(arg2);
18380
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 {
18385 #if wxUSE_UNICODE
18386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18387 #else
18388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18389 #endif
18390 }
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18400 int arg2 ;
18401 int arg3 ;
18402 PyObject * obj0 = 0 ;
18403 PyObject * obj1 = 0 ;
18404 PyObject * obj2 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self",(char *) "x",(char *) "y", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
18410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18412 arg2 = (int)SWIG_As_int(obj1);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 arg3 = (int)SWIG_As_int(obj2);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 {
18417 PyThreadState* __tstate = wxPyBeginAllowThreads();
18418 (arg1)->SetMargins(arg2,arg3);
18419
18420 wxPyEndAllowThreads(__tstate);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
18423 Py_INCREF(Py_None); resultobj = Py_None;
18424 return resultobj;
18425 fail:
18426 return NULL;
18427 }
18428
18429
18430 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18431 PyObject *resultobj;
18432 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18433 wxSize *arg2 = 0 ;
18434 wxSize temp2 ;
18435 PyObject * obj0 = 0 ;
18436 PyObject * obj1 = 0 ;
18437 char *kwnames[] = {
18438 (char *) "self",(char *) "size", NULL
18439 };
18440
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
18442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18444 {
18445 arg2 = &temp2;
18446 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18447 }
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 (arg1)->SetMargins((wxSize const &)*arg2);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 Py_INCREF(Py_None); resultobj = Py_None;
18456 return resultobj;
18457 fail:
18458 return NULL;
18459 }
18460
18461
18462 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
18463 PyObject *resultobj;
18464 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18465 int arg2 ;
18466 PyObject * obj0 = 0 ;
18467 PyObject * obj1 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self",(char *) "packing", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
18473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18475 arg2 = (int)SWIG_As_int(obj1);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 (arg1)->SetToolPacking(arg2);
18480
18481 wxPyEndAllowThreads(__tstate);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 }
18484 Py_INCREF(Py_None); resultobj = Py_None;
18485 return resultobj;
18486 fail:
18487 return NULL;
18488 }
18489
18490
18491 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
18492 PyObject *resultobj;
18493 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18494 int arg2 ;
18495 PyObject * obj0 = 0 ;
18496 PyObject * obj1 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self",(char *) "separation", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
18502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18504 arg2 = (int)SWIG_As_int(obj1);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 (arg1)->SetToolSeparation(arg2);
18509
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 Py_INCREF(Py_None); resultobj = Py_None;
18514 return resultobj;
18515 fail:
18516 return NULL;
18517 }
18518
18519
18520 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj;
18522 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18523 wxSize result;
18524 PyObject * obj0 = 0 ;
18525 char *kwnames[] = {
18526 (char *) "self", NULL
18527 };
18528
18529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
18530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18532 {
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 result = (arg1)->GetToolMargins();
18535
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
18539 {
18540 wxSize * resultptr;
18541 resultptr = new wxSize((wxSize &) result);
18542 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18543 }
18544 return resultobj;
18545 fail:
18546 return NULL;
18547 }
18548
18549
18550 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18551 PyObject *resultobj;
18552 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18553 wxSize result;
18554 PyObject * obj0 = 0 ;
18555 char *kwnames[] = {
18556 (char *) "self", NULL
18557 };
18558
18559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
18560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18562 {
18563 PyThreadState* __tstate = wxPyBeginAllowThreads();
18564 result = (arg1)->GetMargins();
18565
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 {
18570 wxSize * resultptr;
18571 resultptr = new wxSize((wxSize &) result);
18572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18573 }
18574 return resultobj;
18575 fail:
18576 return NULL;
18577 }
18578
18579
18580 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18583 int result;
18584 PyObject * obj0 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (int)(arg1)->GetToolPacking();
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = SWIG_From_int((int)result);
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj;
18608 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18609 int result;
18610 PyObject * obj0 = 0 ;
18611 char *kwnames[] = {
18612 (char *) "self", NULL
18613 };
18614
18615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 result = (int)(arg1)->GetToolSeparation();
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
18625 resultobj = SWIG_From_int((int)result);
18626 return resultobj;
18627 fail:
18628 return NULL;
18629 }
18630
18631
18632 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj;
18634 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18635 int arg2 ;
18636 PyObject * obj0 = 0 ;
18637 PyObject * obj1 = 0 ;
18638 char *kwnames[] = {
18639 (char *) "self",(char *) "nRows", NULL
18640 };
18641
18642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18645 arg2 = (int)SWIG_As_int(obj1);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 {
18648 PyThreadState* __tstate = wxPyBeginAllowThreads();
18649 (arg1)->SetRows(arg2);
18650
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 Py_INCREF(Py_None); resultobj = Py_None;
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18664 int arg2 ;
18665 int arg3 ;
18666 PyObject * obj0 = 0 ;
18667 PyObject * obj1 = 0 ;
18668 PyObject * obj2 = 0 ;
18669 char *kwnames[] = {
18670 (char *) "self",(char *) "rows",(char *) "cols", NULL
18671 };
18672
18673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18676 arg2 = (int)SWIG_As_int(obj1);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 arg3 = (int)SWIG_As_int(obj2);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 (arg1)->SetMaxRowsCols(arg2,arg3);
18683
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 Py_INCREF(Py_None); resultobj = Py_None;
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18697 int result;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (int)(arg1)->GetMaxRows();
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 resultobj = SWIG_From_int((int)result);
18714 return resultobj;
18715 fail:
18716 return NULL;
18717 }
18718
18719
18720 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj;
18722 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18723 int result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (int)(arg1)->GetMaxCols();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 resultobj = SWIG_From_int((int)result);
18740 return resultobj;
18741 fail:
18742 return NULL;
18743 }
18744
18745
18746 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
18747 PyObject *resultobj;
18748 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18749 wxSize *arg2 = 0 ;
18750 wxSize temp2 ;
18751 PyObject * obj0 = 0 ;
18752 PyObject * obj1 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self",(char *) "size", NULL
18755 };
18756
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18760 {
18761 arg2 = &temp2;
18762 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18763 }
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 Py_INCREF(Py_None); resultobj = Py_None;
18772 return resultobj;
18773 fail:
18774 return NULL;
18775 }
18776
18777
18778 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18781 wxSize result;
18782 PyObject * obj0 = 0 ;
18783 char *kwnames[] = {
18784 (char *) "self", NULL
18785 };
18786
18787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
18792 result = (arg1)->GetToolBitmapSize();
18793
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 {
18798 wxSize * resultptr;
18799 resultptr = new wxSize((wxSize &) result);
18800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18801 }
18802 return resultobj;
18803 fail:
18804 return NULL;
18805 }
18806
18807
18808 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18811 wxSize result;
18812 PyObject * obj0 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 result = (arg1)->GetToolSize();
18823
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 {
18828 wxSize * resultptr;
18829 resultptr = new wxSize((wxSize &) result);
18830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18831 }
18832 return resultobj;
18833 fail:
18834 return NULL;
18835 }
18836
18837
18838 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18841 int arg2 ;
18842 int arg3 ;
18843 wxToolBarToolBase *result;
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 PyObject * obj2 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "x",(char *) "y", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18854 arg2 = (int)SWIG_As_int(obj1);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 arg3 = (int)SWIG_As_int(obj2);
18857 if (PyErr_Occurred()) SWIG_fail;
18858 {
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18861
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 {
18866 resultobj = wxPyMake_wxObject(result, 0);
18867 }
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18877 int arg2 ;
18878 wxToolBarToolBase *result;
18879 PyObject * obj0 = 0 ;
18880 PyObject * obj1 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self",(char *) "toolid", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18888 arg2 = (int)SWIG_As_int(obj1);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 {
18891 PyThreadState* __tstate = wxPyBeginAllowThreads();
18892 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18893
18894 wxPyEndAllowThreads(__tstate);
18895 if (PyErr_Occurred()) SWIG_fail;
18896 }
18897 {
18898 resultobj = wxPyMake_wxObject(result, 0);
18899 }
18900 return resultobj;
18901 fail:
18902 return NULL;
18903 }
18904
18905
18906 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18907 PyObject *resultobj;
18908 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18909 bool result;
18910 PyObject * obj0 = 0 ;
18911 char *kwnames[] = {
18912 (char *) "self", NULL
18913 };
18914
18915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 result = (bool)(arg1)->IsVertical();
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 {
18926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18927 }
18928 return resultobj;
18929 fail:
18930 return NULL;
18931 }
18932
18933
18934 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
18935 PyObject *obj;
18936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18937 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18938 Py_INCREF(obj);
18939 return Py_BuildValue((char *)"");
18940 }
18941 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18942 PyObject *resultobj;
18943 wxWindow *arg1 = (wxWindow *) 0 ;
18944 int arg2 = (int) -1 ;
18945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18947 wxSize const &arg4_defvalue = wxDefaultSize ;
18948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18949 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18950 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18951 wxString *arg6 = (wxString *) &arg6_defvalue ;
18952 wxToolBar *result;
18953 wxPoint temp3 ;
18954 wxSize temp4 ;
18955 bool temp6 = false ;
18956 PyObject * obj0 = 0 ;
18957 PyObject * obj1 = 0 ;
18958 PyObject * obj2 = 0 ;
18959 PyObject * obj3 = 0 ;
18960 PyObject * obj4 = 0 ;
18961 PyObject * obj5 = 0 ;
18962 char *kwnames[] = {
18963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18964 };
18965
18966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18969 if (obj1) {
18970 arg2 = (int)SWIG_As_int(obj1);
18971 if (PyErr_Occurred()) SWIG_fail;
18972 }
18973 if (obj2) {
18974 {
18975 arg3 = &temp3;
18976 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18977 }
18978 }
18979 if (obj3) {
18980 {
18981 arg4 = &temp4;
18982 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18983 }
18984 }
18985 if (obj4) {
18986 arg5 = (long)SWIG_As_long(obj4);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 if (obj5) {
18990 {
18991 arg6 = wxString_in_helper(obj5);
18992 if (arg6 == NULL) SWIG_fail;
18993 temp6 = true;
18994 }
18995 }
18996 {
18997 if (!wxPyCheckForApp()) SWIG_fail;
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
19005 {
19006 if (temp6)
19007 delete arg6;
19008 }
19009 return resultobj;
19010 fail:
19011 {
19012 if (temp6)
19013 delete arg6;
19014 }
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxToolBar *result;
19022 char *kwnames[] = {
19023 NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
19027 {
19028 if (!wxPyCheckForApp()) SWIG_fail;
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 result = (wxToolBar *)new wxToolBar();
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
19036 return resultobj;
19037 fail:
19038 return NULL;
19039 }
19040
19041
19042 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
19043 PyObject *resultobj;
19044 wxToolBar *arg1 = (wxToolBar *) 0 ;
19045 wxWindow *arg2 = (wxWindow *) 0 ;
19046 int arg3 = (int) -1 ;
19047 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19048 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19049 wxSize const &arg5_defvalue = wxDefaultSize ;
19050 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19051 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
19052 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
19053 wxString *arg7 = (wxString *) &arg7_defvalue ;
19054 bool result;
19055 wxPoint temp4 ;
19056 wxSize temp5 ;
19057 bool temp7 = false ;
19058 PyObject * obj0 = 0 ;
19059 PyObject * obj1 = 0 ;
19060 PyObject * obj2 = 0 ;
19061 PyObject * obj3 = 0 ;
19062 PyObject * obj4 = 0 ;
19063 PyObject * obj5 = 0 ;
19064 PyObject * obj6 = 0 ;
19065 char *kwnames[] = {
19066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19067 };
19068
19069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
19071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19074 if (obj2) {
19075 arg3 = (int)SWIG_As_int(obj2);
19076 if (PyErr_Occurred()) SWIG_fail;
19077 }
19078 if (obj3) {
19079 {
19080 arg4 = &temp4;
19081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19082 }
19083 }
19084 if (obj4) {
19085 {
19086 arg5 = &temp5;
19087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19088 }
19089 }
19090 if (obj5) {
19091 arg6 = (long)SWIG_As_long(obj5);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 if (obj6) {
19095 {
19096 arg7 = wxString_in_helper(obj6);
19097 if (arg7 == NULL) SWIG_fail;
19098 temp7 = true;
19099 }
19100 }
19101 {
19102 PyThreadState* __tstate = wxPyBeginAllowThreads();
19103 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19104
19105 wxPyEndAllowThreads(__tstate);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 {
19109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19110 }
19111 {
19112 if (temp7)
19113 delete arg7;
19114 }
19115 return resultobj;
19116 fail:
19117 {
19118 if (temp7)
19119 delete arg7;
19120 }
19121 return NULL;
19122 }
19123
19124
19125 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19126 PyObject *resultobj;
19127 wxToolBar *arg1 = (wxToolBar *) 0 ;
19128 int arg2 ;
19129 int arg3 ;
19130 wxToolBarToolBase *result;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 PyObject * obj2 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self",(char *) "x",(char *) "y", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
19139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
19140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19141 arg2 = (int)SWIG_As_int(obj1);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 arg3 = (int)SWIG_As_int(obj2);
19144 if (PyErr_Occurred()) SWIG_fail;
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 {
19153 resultobj = wxPyMake_wxObject(result, 0);
19154 }
19155 return resultobj;
19156 fail:
19157 return NULL;
19158 }
19159
19160
19161 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19162 PyObject *resultobj;
19163 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
19164 wxVisualAttributes result;
19165 PyObject * obj0 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "variant", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
19171 if (obj0) {
19172 arg1 = (int)SWIG_As_int(obj0);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 }
19175 {
19176 if (!wxPyCheckForApp()) SWIG_fail;
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 {
19184 wxVisualAttributes * resultptr;
19185 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
19186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19187 }
19188 return resultobj;
19189 fail:
19190 return NULL;
19191 }
19192
19193
19194 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
19195 PyObject *obj;
19196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19197 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
19198 Py_INCREF(obj);
19199 return Py_BuildValue((char *)"");
19200 }
19201 static int _wrap_ListCtrlNameStr_set(PyObject *) {
19202 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
19203 return 1;
19204 }
19205
19206
19207 static PyObject *_wrap_ListCtrlNameStr_get() {
19208 PyObject *pyobj;
19209
19210 {
19211 #if wxUSE_UNICODE
19212 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19213 #else
19214 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19215 #endif
19216 }
19217 return pyobj;
19218 }
19219
19220
19221 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
19222 PyObject *resultobj;
19223 wxColour const &arg1_defvalue = wxNullColour ;
19224 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
19225 wxColour const &arg2_defvalue = wxNullColour ;
19226 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19227 wxFont const &arg3_defvalue = wxNullFont ;
19228 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
19229 wxListItemAttr *result;
19230 wxColour temp1 ;
19231 wxColour temp2 ;
19232 PyObject * obj0 = 0 ;
19233 PyObject * obj1 = 0 ;
19234 PyObject * obj2 = 0 ;
19235 char *kwnames[] = {
19236 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19237 };
19238
19239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
19240 if (obj0) {
19241 {
19242 arg1 = &temp1;
19243 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
19244 }
19245 }
19246 if (obj1) {
19247 {
19248 arg2 = &temp2;
19249 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19250 }
19251 }
19252 if (obj2) {
19253 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
19254 SWIG_POINTER_EXCEPTION | 0)) == -1)
19255 SWIG_fail;
19256 if (arg3 == NULL) {
19257 PyErr_SetString(PyExc_TypeError,"null reference");
19258 SWIG_fail;
19259 }
19260 }
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
19269 return resultobj;
19270 fail:
19271 return NULL;
19272 }
19273
19274
19275 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19278 wxColour *arg2 = 0 ;
19279 wxColour temp2 ;
19280 PyObject * obj0 = 0 ;
19281 PyObject * obj1 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self",(char *) "colText", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19289 {
19290 arg2 = &temp2;
19291 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19292 }
19293 {
19294 PyThreadState* __tstate = wxPyBeginAllowThreads();
19295 (arg1)->SetTextColour((wxColour const &)*arg2);
19296
19297 wxPyEndAllowThreads(__tstate);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 }
19300 Py_INCREF(Py_None); resultobj = Py_None;
19301 return resultobj;
19302 fail:
19303 return NULL;
19304 }
19305
19306
19307 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19308 PyObject *resultobj;
19309 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19310 wxColour *arg2 = 0 ;
19311 wxColour temp2 ;
19312 PyObject * obj0 = 0 ;
19313 PyObject * obj1 = 0 ;
19314 char *kwnames[] = {
19315 (char *) "self",(char *) "colBack", NULL
19316 };
19317
19318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19321 {
19322 arg2 = &temp2;
19323 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19324 }
19325 {
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19328
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
19332 Py_INCREF(Py_None); resultobj = Py_None;
19333 return resultobj;
19334 fail:
19335 return NULL;
19336 }
19337
19338
19339 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19340 PyObject *resultobj;
19341 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19342 wxFont *arg2 = 0 ;
19343 PyObject * obj0 = 0 ;
19344 PyObject * obj1 = 0 ;
19345 char *kwnames[] = {
19346 (char *) "self",(char *) "font", NULL
19347 };
19348
19349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
19350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19353 SWIG_POINTER_EXCEPTION | 0)) == -1)
19354 SWIG_fail;
19355 if (arg2 == NULL) {
19356 PyErr_SetString(PyExc_TypeError,"null reference");
19357 SWIG_fail;
19358 }
19359 {
19360 PyThreadState* __tstate = wxPyBeginAllowThreads();
19361 (arg1)->SetFont((wxFont const &)*arg2);
19362
19363 wxPyEndAllowThreads(__tstate);
19364 if (PyErr_Occurred()) SWIG_fail;
19365 }
19366 Py_INCREF(Py_None); resultobj = Py_None;
19367 return resultobj;
19368 fail:
19369 return NULL;
19370 }
19371
19372
19373 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19374 PyObject *resultobj;
19375 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19376 bool result;
19377 PyObject * obj0 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
19383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19385 {
19386 PyThreadState* __tstate = wxPyBeginAllowThreads();
19387 result = (bool)(arg1)->HasTextColour();
19388
19389 wxPyEndAllowThreads(__tstate);
19390 if (PyErr_Occurred()) SWIG_fail;
19391 }
19392 {
19393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19394 }
19395 return resultobj;
19396 fail:
19397 return NULL;
19398 }
19399
19400
19401 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19404 bool result;
19405 PyObject * obj0 = 0 ;
19406 char *kwnames[] = {
19407 (char *) "self", NULL
19408 };
19409
19410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
19411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 result = (bool)(arg1)->HasBackgroundColour();
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 {
19421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19422 }
19423 return resultobj;
19424 fail:
19425 return NULL;
19426 }
19427
19428
19429 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
19430 PyObject *resultobj;
19431 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19432 bool result;
19433 PyObject * obj0 = 0 ;
19434 char *kwnames[] = {
19435 (char *) "self", NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
19439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 result = (bool)(arg1)->HasFont();
19444
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 {
19449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19450 }
19451 return resultobj;
19452 fail:
19453 return NULL;
19454 }
19455
19456
19457 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19458 PyObject *resultobj;
19459 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19460 wxColour result;
19461 PyObject * obj0 = 0 ;
19462 char *kwnames[] = {
19463 (char *) "self", NULL
19464 };
19465
19466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
19467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19469 {
19470 PyThreadState* __tstate = wxPyBeginAllowThreads();
19471 result = (arg1)->GetTextColour();
19472
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 {
19477 wxColour * resultptr;
19478 resultptr = new wxColour((wxColour &) result);
19479 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19480 }
19481 return resultobj;
19482 fail:
19483 return NULL;
19484 }
19485
19486
19487 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19488 PyObject *resultobj;
19489 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19490 wxColour result;
19491 PyObject * obj0 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "self", NULL
19494 };
19495
19496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",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 result = (arg1)->GetBackgroundColour();
19502
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 {
19507 wxColour * resultptr;
19508 resultptr = new wxColour((wxColour &) result);
19509 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19510 }
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19520 wxFont result;
19521 PyObject * obj0 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
19527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 result = (arg1)->GetFont();
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 {
19537 wxFont * resultptr;
19538 resultptr = new wxFont((wxFont &) result);
19539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19540 }
19541 return resultobj;
19542 fail:
19543 return NULL;
19544 }
19545
19546
19547 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19550 PyObject * obj0 = 0 ;
19551 char *kwnames[] = {
19552 (char *) "self", NULL
19553 };
19554
19555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
19556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 wxListItemAttr_Destroy(arg1);
19561
19562 wxPyEndAllowThreads(__tstate);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 }
19565 Py_INCREF(Py_None); resultobj = Py_None;
19566 return resultobj;
19567 fail:
19568 return NULL;
19569 }
19570
19571
19572 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
19573 PyObject *obj;
19574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19575 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19576 Py_INCREF(obj);
19577 return Py_BuildValue((char *)"");
19578 }
19579 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
19580 PyObject *resultobj;
19581 wxListItem *result;
19582 char *kwnames[] = {
19583 NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
19589 result = (wxListItem *)new wxListItem();
19590
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 {
19595 resultobj = wxPyMake_wxObject(result, 1);
19596 }
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj;
19605 wxListItem *arg1 = (wxListItem *) 0 ;
19606 PyObject * obj0 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 delete arg1;
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 Py_INCREF(Py_None); resultobj = Py_None;
19622 return resultobj;
19623 fail:
19624 return NULL;
19625 }
19626
19627
19628 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
19629 PyObject *resultobj;
19630 wxListItem *arg1 = (wxListItem *) 0 ;
19631 PyObject * obj0 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
19641 (arg1)->Clear();
19642
19643 wxPyEndAllowThreads(__tstate);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 }
19646 Py_INCREF(Py_None); resultobj = Py_None;
19647 return resultobj;
19648 fail:
19649 return NULL;
19650 }
19651
19652
19653 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj;
19655 wxListItem *arg1 = (wxListItem *) 0 ;
19656 PyObject * obj0 = 0 ;
19657 char *kwnames[] = {
19658 (char *) "self", NULL
19659 };
19660
19661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 (arg1)->ClearAttributes();
19667
19668 wxPyEndAllowThreads(__tstate);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 }
19671 Py_INCREF(Py_None); resultobj = Py_None;
19672 return resultobj;
19673 fail:
19674 return NULL;
19675 }
19676
19677
19678 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxListItem *arg1 = (wxListItem *) 0 ;
19681 long arg2 ;
19682 PyObject * obj0 = 0 ;
19683 PyObject * obj1 = 0 ;
19684 char *kwnames[] = {
19685 (char *) "self",(char *) "mask", NULL
19686 };
19687
19688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19691 arg2 = (long)SWIG_As_long(obj1);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 (arg1)->SetMask(arg2);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 Py_INCREF(Py_None); resultobj = Py_None;
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj;
19709 wxListItem *arg1 = (wxListItem *) 0 ;
19710 long arg2 ;
19711 PyObject * obj0 = 0 ;
19712 PyObject * obj1 = 0 ;
19713 char *kwnames[] = {
19714 (char *) "self",(char *) "id", NULL
19715 };
19716
19717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19720 arg2 = (long)SWIG_As_long(obj1);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 (arg1)->SetId(arg2);
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 Py_INCREF(Py_None); resultobj = Py_None;
19730 return resultobj;
19731 fail:
19732 return NULL;
19733 }
19734
19735
19736 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj;
19738 wxListItem *arg1 = (wxListItem *) 0 ;
19739 int arg2 ;
19740 PyObject * obj0 = 0 ;
19741 PyObject * obj1 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self",(char *) "col", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19749 arg2 = (int)SWIG_As_int(obj1);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 {
19752 PyThreadState* __tstate = wxPyBeginAllowThreads();
19753 (arg1)->SetColumn(arg2);
19754
19755 wxPyEndAllowThreads(__tstate);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
19758 Py_INCREF(Py_None); resultobj = Py_None;
19759 return resultobj;
19760 fail:
19761 return NULL;
19762 }
19763
19764
19765 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 wxListItem *arg1 = (wxListItem *) 0 ;
19768 long arg2 ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self",(char *) "state", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19778 arg2 = (long)SWIG_As_long(obj1);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 (arg1)->SetState(arg2);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 Py_INCREF(Py_None); resultobj = Py_None;
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxListItem *arg1 = (wxListItem *) 0 ;
19797 long arg2 ;
19798 PyObject * obj0 = 0 ;
19799 PyObject * obj1 = 0 ;
19800 char *kwnames[] = {
19801 (char *) "self",(char *) "stateMask", NULL
19802 };
19803
19804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19807 arg2 = (long)SWIG_As_long(obj1);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 (arg1)->SetStateMask(arg2);
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 Py_INCREF(Py_None); resultobj = Py_None;
19817 return resultobj;
19818 fail:
19819 return NULL;
19820 }
19821
19822
19823 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
19824 PyObject *resultobj;
19825 wxListItem *arg1 = (wxListItem *) 0 ;
19826 wxString *arg2 = 0 ;
19827 bool temp2 = false ;
19828 PyObject * obj0 = 0 ;
19829 PyObject * obj1 = 0 ;
19830 char *kwnames[] = {
19831 (char *) "self",(char *) "text", NULL
19832 };
19833
19834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19837 {
19838 arg2 = wxString_in_helper(obj1);
19839 if (arg2 == NULL) SWIG_fail;
19840 temp2 = true;
19841 }
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 (arg1)->SetText((wxString const &)*arg2);
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 Py_INCREF(Py_None); resultobj = Py_None;
19850 {
19851 if (temp2)
19852 delete arg2;
19853 }
19854 return resultobj;
19855 fail:
19856 {
19857 if (temp2)
19858 delete arg2;
19859 }
19860 return NULL;
19861 }
19862
19863
19864 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxListItem *arg1 = (wxListItem *) 0 ;
19867 int arg2 ;
19868 PyObject * obj0 = 0 ;
19869 PyObject * obj1 = 0 ;
19870 char *kwnames[] = {
19871 (char *) "self",(char *) "image", NULL
19872 };
19873
19874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19877 arg2 = (int)SWIG_As_int(obj1);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 {
19880 PyThreadState* __tstate = wxPyBeginAllowThreads();
19881 (arg1)->SetImage(arg2);
19882
19883 wxPyEndAllowThreads(__tstate);
19884 if (PyErr_Occurred()) SWIG_fail;
19885 }
19886 Py_INCREF(Py_None); resultobj = Py_None;
19887 return resultobj;
19888 fail:
19889 return NULL;
19890 }
19891
19892
19893 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
19894 PyObject *resultobj;
19895 wxListItem *arg1 = (wxListItem *) 0 ;
19896 long arg2 ;
19897 PyObject * obj0 = 0 ;
19898 PyObject * obj1 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self",(char *) "data", NULL
19901 };
19902
19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19906 arg2 = (long)SWIG_As_long(obj1);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 {
19909 PyThreadState* __tstate = wxPyBeginAllowThreads();
19910 (arg1)->SetData(arg2);
19911
19912 wxPyEndAllowThreads(__tstate);
19913 if (PyErr_Occurred()) SWIG_fail;
19914 }
19915 Py_INCREF(Py_None); resultobj = Py_None;
19916 return resultobj;
19917 fail:
19918 return NULL;
19919 }
19920
19921
19922 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
19923 PyObject *resultobj;
19924 wxListItem *arg1 = (wxListItem *) 0 ;
19925 int arg2 ;
19926 PyObject * obj0 = 0 ;
19927 PyObject * obj1 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self",(char *) "width", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19935 arg2 = (int)SWIG_As_int(obj1);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 {
19938 PyThreadState* __tstate = wxPyBeginAllowThreads();
19939 (arg1)->SetWidth(arg2);
19940
19941 wxPyEndAllowThreads(__tstate);
19942 if (PyErr_Occurred()) SWIG_fail;
19943 }
19944 Py_INCREF(Py_None); resultobj = Py_None;
19945 return resultobj;
19946 fail:
19947 return NULL;
19948 }
19949
19950
19951 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj;
19953 wxListItem *arg1 = (wxListItem *) 0 ;
19954 int arg2 ;
19955 PyObject * obj0 = 0 ;
19956 PyObject * obj1 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self",(char *) "align", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19964 arg2 = (int)SWIG_As_int(obj1);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 (arg1)->SetAlign((wxListColumnFormat )arg2);
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 Py_INCREF(Py_None); resultobj = Py_None;
19974 return resultobj;
19975 fail:
19976 return NULL;
19977 }
19978
19979
19980 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj;
19982 wxListItem *arg1 = (wxListItem *) 0 ;
19983 wxColour *arg2 = 0 ;
19984 wxColour temp2 ;
19985 PyObject * obj0 = 0 ;
19986 PyObject * obj1 = 0 ;
19987 char *kwnames[] = {
19988 (char *) "self",(char *) "colText", NULL
19989 };
19990
19991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19994 {
19995 arg2 = &temp2;
19996 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19997 }
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 (arg1)->SetTextColour((wxColour const &)*arg2);
20001
20002 wxPyEndAllowThreads(__tstate);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 Py_INCREF(Py_None); resultobj = Py_None;
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxListItem *arg1 = (wxListItem *) 0 ;
20015 wxColour *arg2 = 0 ;
20016 wxColour temp2 ;
20017 PyObject * obj0 = 0 ;
20018 PyObject * obj1 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "self",(char *) "colBack", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20026 {
20027 arg2 = &temp2;
20028 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20029 }
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
20032 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
20033
20034 wxPyEndAllowThreads(__tstate);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 }
20037 Py_INCREF(Py_None); resultobj = Py_None;
20038 return resultobj;
20039 fail:
20040 return NULL;
20041 }
20042
20043
20044 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
20045 PyObject *resultobj;
20046 wxListItem *arg1 = (wxListItem *) 0 ;
20047 wxFont *arg2 = 0 ;
20048 PyObject * obj0 = 0 ;
20049 PyObject * obj1 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self",(char *) "font", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
20055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
20058 SWIG_POINTER_EXCEPTION | 0)) == -1)
20059 SWIG_fail;
20060 if (arg2 == NULL) {
20061 PyErr_SetString(PyExc_TypeError,"null reference");
20062 SWIG_fail;
20063 }
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 (arg1)->SetFont((wxFont const &)*arg2);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 Py_INCREF(Py_None); resultobj = Py_None;
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj;
20080 wxListItem *arg1 = (wxListItem *) 0 ;
20081 long result;
20082 PyObject * obj0 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
20088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (long)(arg1)->GetMask();
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 resultobj = SWIG_From_long((long)result);
20098 return resultobj;
20099 fail:
20100 return NULL;
20101 }
20102
20103
20104 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
20105 PyObject *resultobj;
20106 wxListItem *arg1 = (wxListItem *) 0 ;
20107 long result;
20108 PyObject * obj0 = 0 ;
20109 char *kwnames[] = {
20110 (char *) "self", NULL
20111 };
20112
20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
20114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20116 {
20117 PyThreadState* __tstate = wxPyBeginAllowThreads();
20118 result = (long)(arg1)->GetId();
20119
20120 wxPyEndAllowThreads(__tstate);
20121 if (PyErr_Occurred()) SWIG_fail;
20122 }
20123 resultobj = SWIG_From_long((long)result);
20124 return resultobj;
20125 fail:
20126 return NULL;
20127 }
20128
20129
20130 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20131 PyObject *resultobj;
20132 wxListItem *arg1 = (wxListItem *) 0 ;
20133 int result;
20134 PyObject * obj0 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self", NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
20140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = (int)(arg1)->GetColumn();
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 resultobj = SWIG_From_int((int)result);
20150 return resultobj;
20151 fail:
20152 return NULL;
20153 }
20154
20155
20156 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
20157 PyObject *resultobj;
20158 wxListItem *arg1 = (wxListItem *) 0 ;
20159 long result;
20160 PyObject * obj0 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
20166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 result = (long)(arg1)->GetState();
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 resultobj = SWIG_From_long((long)result);
20176 return resultobj;
20177 fail:
20178 return NULL;
20179 }
20180
20181
20182 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
20183 PyObject *resultobj;
20184 wxListItem *arg1 = (wxListItem *) 0 ;
20185 wxString *result;
20186 PyObject * obj0 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 {
20197 wxString const &_result_ref = (arg1)->GetText();
20198 result = (wxString *) &_result_ref;
20199 }
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 {
20205 #if wxUSE_UNICODE
20206 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20207 #else
20208 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20209 #endif
20210 }
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxListItem *arg1 = (wxListItem *) 0 ;
20220 int result;
20221 PyObject * obj0 = 0 ;
20222 char *kwnames[] = {
20223 (char *) "self", NULL
20224 };
20225
20226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
20227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 result = (int)(arg1)->GetImage();
20232
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 resultobj = SWIG_From_int((int)result);
20237 return resultobj;
20238 fail:
20239 return NULL;
20240 }
20241
20242
20243 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
20244 PyObject *resultobj;
20245 wxListItem *arg1 = (wxListItem *) 0 ;
20246 long result;
20247 PyObject * obj0 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
20253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 result = (long)(arg1)->GetData();
20258
20259 wxPyEndAllowThreads(__tstate);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 resultobj = SWIG_From_long((long)result);
20263 return resultobj;
20264 fail:
20265 return NULL;
20266 }
20267
20268
20269 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20270 PyObject *resultobj;
20271 wxListItem *arg1 = (wxListItem *) 0 ;
20272 int result;
20273 PyObject * obj0 = 0 ;
20274 char *kwnames[] = {
20275 (char *) "self", NULL
20276 };
20277
20278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
20279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = (int)(arg1)->GetWidth();
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 resultobj = SWIG_From_int((int)result);
20289 return resultobj;
20290 fail:
20291 return NULL;
20292 }
20293
20294
20295 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxListItem *arg1 = (wxListItem *) 0 ;
20298 int result;
20299 PyObject * obj0 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
20305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 result = (int)(arg1)->GetAlign();
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 resultobj = SWIG_From_int((int)result);
20315 return resultobj;
20316 fail:
20317 return NULL;
20318 }
20319
20320
20321 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20322 PyObject *resultobj;
20323 wxListItem *arg1 = (wxListItem *) 0 ;
20324 wxListItemAttr *result;
20325 PyObject * obj0 = 0 ;
20326 char *kwnames[] = {
20327 (char *) "self", NULL
20328 };
20329
20330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
20331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 result = (wxListItemAttr *)(arg1)->GetAttributes();
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxListItem *arg1 = (wxListItem *) 0 ;
20350 bool result;
20351 PyObject * obj0 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20359 {
20360 PyThreadState* __tstate = wxPyBeginAllowThreads();
20361 result = (bool)(arg1)->HasAttributes();
20362
20363 wxPyEndAllowThreads(__tstate);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
20366 {
20367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20368 }
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxListItem *arg1 = (wxListItem *) 0 ;
20378 wxColour result;
20379 PyObject * obj0 = 0 ;
20380 char *kwnames[] = {
20381 (char *) "self", NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
20385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 result = ((wxListItem const *)arg1)->GetTextColour();
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 {
20395 wxColour * resultptr;
20396 resultptr = new wxColour((wxColour &) result);
20397 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20398 }
20399 return resultobj;
20400 fail:
20401 return NULL;
20402 }
20403
20404
20405 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20406 PyObject *resultobj;
20407 wxListItem *arg1 = (wxListItem *) 0 ;
20408 wxColour result;
20409 PyObject * obj0 = 0 ;
20410 char *kwnames[] = {
20411 (char *) "self", NULL
20412 };
20413
20414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
20415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 result = ((wxListItem const *)arg1)->GetBackgroundColour();
20420
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 {
20425 wxColour * resultptr;
20426 resultptr = new wxColour((wxColour &) result);
20427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20428 }
20429 return resultobj;
20430 fail:
20431 return NULL;
20432 }
20433
20434
20435 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
20436 PyObject *resultobj;
20437 wxListItem *arg1 = (wxListItem *) 0 ;
20438 wxFont result;
20439 PyObject * obj0 = 0 ;
20440 char *kwnames[] = {
20441 (char *) "self", NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
20445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20447 {
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 result = ((wxListItem const *)arg1)->GetFont();
20450
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 {
20455 wxFont * resultptr;
20456 resultptr = new wxFont((wxFont &) result);
20457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
20458 }
20459 return resultobj;
20460 fail:
20461 return NULL;
20462 }
20463
20464
20465 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
20466 PyObject *resultobj;
20467 wxListItem *arg1 = (wxListItem *) 0 ;
20468 long arg2 ;
20469 PyObject * obj0 = 0 ;
20470 PyObject * obj1 = 0 ;
20471 char *kwnames[] = {
20472 (char *) "self",(char *) "m_mask", NULL
20473 };
20474
20475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
20476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20478 arg2 = (long)SWIG_As_long(obj1);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 if (arg1) (arg1)->m_mask = arg2;
20481
20482 Py_INCREF(Py_None); resultobj = Py_None;
20483 return resultobj;
20484 fail:
20485 return NULL;
20486 }
20487
20488
20489 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxListItem *arg1 = (wxListItem *) 0 ;
20492 long result;
20493 PyObject * obj0 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
20499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20501 result = (long) ((arg1)->m_mask);
20502
20503 resultobj = SWIG_From_long((long)result);
20504 return resultobj;
20505 fail:
20506 return NULL;
20507 }
20508
20509
20510 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj;
20512 wxListItem *arg1 = (wxListItem *) 0 ;
20513 long arg2 ;
20514 PyObject * obj0 = 0 ;
20515 PyObject * obj1 = 0 ;
20516 char *kwnames[] = {
20517 (char *) "self",(char *) "m_itemId", NULL
20518 };
20519
20520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
20521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20523 arg2 = (long)SWIG_As_long(obj1);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 if (arg1) (arg1)->m_itemId = arg2;
20526
20527 Py_INCREF(Py_None); resultobj = Py_None;
20528 return resultobj;
20529 fail:
20530 return NULL;
20531 }
20532
20533
20534 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
20535 PyObject *resultobj;
20536 wxListItem *arg1 = (wxListItem *) 0 ;
20537 long result;
20538 PyObject * obj0 = 0 ;
20539 char *kwnames[] = {
20540 (char *) "self", NULL
20541 };
20542
20543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
20544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20546 result = (long) ((arg1)->m_itemId);
20547
20548 resultobj = SWIG_From_long((long)result);
20549 return resultobj;
20550 fail:
20551 return NULL;
20552 }
20553
20554
20555 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
20556 PyObject *resultobj;
20557 wxListItem *arg1 = (wxListItem *) 0 ;
20558 int arg2 ;
20559 PyObject * obj0 = 0 ;
20560 PyObject * obj1 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self",(char *) "m_col", NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20568 arg2 = (int)SWIG_As_int(obj1);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 if (arg1) (arg1)->m_col = arg2;
20571
20572 Py_INCREF(Py_None); resultobj = Py_None;
20573 return resultobj;
20574 fail:
20575 return NULL;
20576 }
20577
20578
20579 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj;
20581 wxListItem *arg1 = (wxListItem *) 0 ;
20582 int result;
20583 PyObject * obj0 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "self", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20591 result = (int) ((arg1)->m_col);
20592
20593 resultobj = SWIG_From_int((int)result);
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxListItem *arg1 = (wxListItem *) 0 ;
20603 long arg2 ;
20604 PyObject * obj0 = 0 ;
20605 PyObject * obj1 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self",(char *) "m_state", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20613 arg2 = (long)SWIG_As_long(obj1);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 if (arg1) (arg1)->m_state = arg2;
20616
20617 Py_INCREF(Py_None); resultobj = Py_None;
20618 return resultobj;
20619 fail:
20620 return NULL;
20621 }
20622
20623
20624 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxListItem *arg1 = (wxListItem *) 0 ;
20627 long result;
20628 PyObject * obj0 = 0 ;
20629 char *kwnames[] = {
20630 (char *) "self", NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20636 result = (long) ((arg1)->m_state);
20637
20638 resultobj = SWIG_From_long((long)result);
20639 return resultobj;
20640 fail:
20641 return NULL;
20642 }
20643
20644
20645 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
20646 PyObject *resultobj;
20647 wxListItem *arg1 = (wxListItem *) 0 ;
20648 long arg2 ;
20649 PyObject * obj0 = 0 ;
20650 PyObject * obj1 = 0 ;
20651 char *kwnames[] = {
20652 (char *) "self",(char *) "m_stateMask", NULL
20653 };
20654
20655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20658 arg2 = (long)SWIG_As_long(obj1);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 if (arg1) (arg1)->m_stateMask = arg2;
20661
20662 Py_INCREF(Py_None); resultobj = Py_None;
20663 return resultobj;
20664 fail:
20665 return NULL;
20666 }
20667
20668
20669 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
20670 PyObject *resultobj;
20671 wxListItem *arg1 = (wxListItem *) 0 ;
20672 long result;
20673 PyObject * obj0 = 0 ;
20674 char *kwnames[] = {
20675 (char *) "self", NULL
20676 };
20677
20678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20681 result = (long) ((arg1)->m_stateMask);
20682
20683 resultobj = SWIG_From_long((long)result);
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxListItem *arg1 = (wxListItem *) 0 ;
20693 wxString *arg2 = (wxString *) 0 ;
20694 bool temp2 = false ;
20695 PyObject * obj0 = 0 ;
20696 PyObject * obj1 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self",(char *) "m_text", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20704 {
20705 arg2 = wxString_in_helper(obj1);
20706 if (arg2 == NULL) SWIG_fail;
20707 temp2 = true;
20708 }
20709 if (arg1) (arg1)->m_text = *arg2;
20710
20711 Py_INCREF(Py_None); resultobj = Py_None;
20712 {
20713 if (temp2)
20714 delete arg2;
20715 }
20716 return resultobj;
20717 fail:
20718 {
20719 if (temp2)
20720 delete arg2;
20721 }
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxListItem *arg1 = (wxListItem *) 0 ;
20729 wxString *result;
20730 PyObject * obj0 = 0 ;
20731 char *kwnames[] = {
20732 (char *) "self", NULL
20733 };
20734
20735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20738 result = (wxString *)& ((arg1)->m_text);
20739
20740 {
20741 #if wxUSE_UNICODE
20742 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20743 #else
20744 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20745 #endif
20746 }
20747 return resultobj;
20748 fail:
20749 return NULL;
20750 }
20751
20752
20753 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj;
20755 wxListItem *arg1 = (wxListItem *) 0 ;
20756 int arg2 ;
20757 PyObject * obj0 = 0 ;
20758 PyObject * obj1 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self",(char *) "m_image", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20766 arg2 = (int)SWIG_As_int(obj1);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 if (arg1) (arg1)->m_image = arg2;
20769
20770 Py_INCREF(Py_None); resultobj = Py_None;
20771 return resultobj;
20772 fail:
20773 return NULL;
20774 }
20775
20776
20777 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
20778 PyObject *resultobj;
20779 wxListItem *arg1 = (wxListItem *) 0 ;
20780 int result;
20781 PyObject * obj0 = 0 ;
20782 char *kwnames[] = {
20783 (char *) "self", NULL
20784 };
20785
20786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20789 result = (int) ((arg1)->m_image);
20790
20791 resultobj = SWIG_From_int((int)result);
20792 return resultobj;
20793 fail:
20794 return NULL;
20795 }
20796
20797
20798 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
20799 PyObject *resultobj;
20800 wxListItem *arg1 = (wxListItem *) 0 ;
20801 long arg2 ;
20802 PyObject * obj0 = 0 ;
20803 PyObject * obj1 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self",(char *) "m_data", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20811 arg2 = (long)SWIG_As_long(obj1);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 if (arg1) (arg1)->m_data = arg2;
20814
20815 Py_INCREF(Py_None); resultobj = Py_None;
20816 return resultobj;
20817 fail:
20818 return NULL;
20819 }
20820
20821
20822 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
20823 PyObject *resultobj;
20824 wxListItem *arg1 = (wxListItem *) 0 ;
20825 long result;
20826 PyObject * obj0 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "self", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20834 result = (long) ((arg1)->m_data);
20835
20836 resultobj = SWIG_From_long((long)result);
20837 return resultobj;
20838 fail:
20839 return NULL;
20840 }
20841
20842
20843 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
20844 PyObject *resultobj;
20845 wxListItem *arg1 = (wxListItem *) 0 ;
20846 int arg2 ;
20847 PyObject * obj0 = 0 ;
20848 PyObject * obj1 = 0 ;
20849 char *kwnames[] = {
20850 (char *) "self",(char *) "m_format", NULL
20851 };
20852
20853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20856 arg2 = (int)SWIG_As_int(obj1);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 if (arg1) (arg1)->m_format = arg2;
20859
20860 Py_INCREF(Py_None); resultobj = Py_None;
20861 return resultobj;
20862 fail:
20863 return NULL;
20864 }
20865
20866
20867 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
20868 PyObject *resultobj;
20869 wxListItem *arg1 = (wxListItem *) 0 ;
20870 int result;
20871 PyObject * obj0 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20879 result = (int) ((arg1)->m_format);
20880
20881 resultobj = SWIG_From_int((int)result);
20882 return resultobj;
20883 fail:
20884 return NULL;
20885 }
20886
20887
20888 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
20889 PyObject *resultobj;
20890 wxListItem *arg1 = (wxListItem *) 0 ;
20891 int arg2 ;
20892 PyObject * obj0 = 0 ;
20893 PyObject * obj1 = 0 ;
20894 char *kwnames[] = {
20895 (char *) "self",(char *) "m_width", NULL
20896 };
20897
20898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20901 arg2 = (int)SWIG_As_int(obj1);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 if (arg1) (arg1)->m_width = arg2;
20904
20905 Py_INCREF(Py_None); resultobj = Py_None;
20906 return resultobj;
20907 fail:
20908 return NULL;
20909 }
20910
20911
20912 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
20913 PyObject *resultobj;
20914 wxListItem *arg1 = (wxListItem *) 0 ;
20915 int result;
20916 PyObject * obj0 = 0 ;
20917 char *kwnames[] = {
20918 (char *) "self", NULL
20919 };
20920
20921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20924 result = (int) ((arg1)->m_width);
20925
20926 resultobj = SWIG_From_int((int)result);
20927 return resultobj;
20928 fail:
20929 return NULL;
20930 }
20931
20932
20933 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
20934 PyObject *obj;
20935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20936 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20937 Py_INCREF(obj);
20938 return Py_BuildValue((char *)"");
20939 }
20940 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20941 PyObject *resultobj;
20942 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20943 int arg2 = (int) 0 ;
20944 wxListEvent *result;
20945 PyObject * obj0 = 0 ;
20946 PyObject * obj1 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "commandType",(char *) "id", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20952 if (obj0) {
20953 arg1 = (wxEventType)SWIG_As_int(obj0);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
20956 if (obj1) {
20957 arg2 = (int)SWIG_As_int(obj1);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20963
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20968 return resultobj;
20969 fail:
20970 return NULL;
20971 }
20972
20973
20974 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
20975 PyObject *resultobj;
20976 wxListEvent *arg1 = (wxListEvent *) 0 ;
20977 int arg2 ;
20978 PyObject * obj0 = 0 ;
20979 PyObject * obj1 = 0 ;
20980 char *kwnames[] = {
20981 (char *) "self",(char *) "m_code", NULL
20982 };
20983
20984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20987 arg2 = (int)SWIG_As_int(obj1);
20988 if (PyErr_Occurred()) SWIG_fail;
20989 if (arg1) (arg1)->m_code = arg2;
20990
20991 Py_INCREF(Py_None); resultobj = Py_None;
20992 return resultobj;
20993 fail:
20994 return NULL;
20995 }
20996
20997
20998 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
20999 PyObject *resultobj;
21000 wxListEvent *arg1 = (wxListEvent *) 0 ;
21001 int result;
21002 PyObject * obj0 = 0 ;
21003 char *kwnames[] = {
21004 (char *) "self", NULL
21005 };
21006
21007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
21008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21010 result = (int) ((arg1)->m_code);
21011
21012 resultobj = SWIG_From_int((int)result);
21013 return resultobj;
21014 fail:
21015 return NULL;
21016 }
21017
21018
21019 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
21020 PyObject *resultobj;
21021 wxListEvent *arg1 = (wxListEvent *) 0 ;
21022 long arg2 ;
21023 PyObject * obj0 = 0 ;
21024 PyObject * obj1 = 0 ;
21025 char *kwnames[] = {
21026 (char *) "self",(char *) "m_oldItemIndex", NULL
21027 };
21028
21029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
21030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21032 arg2 = (long)SWIG_As_long(obj1);
21033 if (PyErr_Occurred()) SWIG_fail;
21034 if (arg1) (arg1)->m_oldItemIndex = arg2;
21035
21036 Py_INCREF(Py_None); resultobj = Py_None;
21037 return resultobj;
21038 fail:
21039 return NULL;
21040 }
21041
21042
21043 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
21044 PyObject *resultobj;
21045 wxListEvent *arg1 = (wxListEvent *) 0 ;
21046 long result;
21047 PyObject * obj0 = 0 ;
21048 char *kwnames[] = {
21049 (char *) "self", NULL
21050 };
21051
21052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
21053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21055 result = (long) ((arg1)->m_oldItemIndex);
21056
21057 resultobj = SWIG_From_long((long)result);
21058 return resultobj;
21059 fail:
21060 return NULL;
21061 }
21062
21063
21064 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
21065 PyObject *resultobj;
21066 wxListEvent *arg1 = (wxListEvent *) 0 ;
21067 long arg2 ;
21068 PyObject * obj0 = 0 ;
21069 PyObject * obj1 = 0 ;
21070 char *kwnames[] = {
21071 (char *) "self",(char *) "m_itemIndex", NULL
21072 };
21073
21074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
21075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21077 arg2 = (long)SWIG_As_long(obj1);
21078 if (PyErr_Occurred()) SWIG_fail;
21079 if (arg1) (arg1)->m_itemIndex = arg2;
21080
21081 Py_INCREF(Py_None); resultobj = Py_None;
21082 return resultobj;
21083 fail:
21084 return NULL;
21085 }
21086
21087
21088 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
21089 PyObject *resultobj;
21090 wxListEvent *arg1 = (wxListEvent *) 0 ;
21091 long result;
21092 PyObject * obj0 = 0 ;
21093 char *kwnames[] = {
21094 (char *) "self", NULL
21095 };
21096
21097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
21098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21100 result = (long) ((arg1)->m_itemIndex);
21101
21102 resultobj = SWIG_From_long((long)result);
21103 return resultobj;
21104 fail:
21105 return NULL;
21106 }
21107
21108
21109 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
21110 PyObject *resultobj;
21111 wxListEvent *arg1 = (wxListEvent *) 0 ;
21112 int arg2 ;
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115 char *kwnames[] = {
21116 (char *) "self",(char *) "m_col", NULL
21117 };
21118
21119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
21120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21122 arg2 = (int)SWIG_As_int(obj1);
21123 if (PyErr_Occurred()) SWIG_fail;
21124 if (arg1) (arg1)->m_col = arg2;
21125
21126 Py_INCREF(Py_None); resultobj = Py_None;
21127 return resultobj;
21128 fail:
21129 return NULL;
21130 }
21131
21132
21133 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
21134 PyObject *resultobj;
21135 wxListEvent *arg1 = (wxListEvent *) 0 ;
21136 int result;
21137 PyObject * obj0 = 0 ;
21138 char *kwnames[] = {
21139 (char *) "self", NULL
21140 };
21141
21142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
21143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21145 result = (int) ((arg1)->m_col);
21146
21147 resultobj = SWIG_From_int((int)result);
21148 return resultobj;
21149 fail:
21150 return NULL;
21151 }
21152
21153
21154 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 wxListEvent *arg1 = (wxListEvent *) 0 ;
21157 wxPoint *arg2 = (wxPoint *) 0 ;
21158 PyObject * obj0 = 0 ;
21159 PyObject * obj1 = 0 ;
21160 char *kwnames[] = {
21161 (char *) "self",(char *) "m_pointDrag", NULL
21162 };
21163
21164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
21165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
21168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21169 if (arg1) (arg1)->m_pointDrag = *arg2;
21170
21171 Py_INCREF(Py_None); resultobj = Py_None;
21172 return resultobj;
21173 fail:
21174 return NULL;
21175 }
21176
21177
21178 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxListEvent *arg1 = (wxListEvent *) 0 ;
21181 wxPoint *result;
21182 PyObject * obj0 = 0 ;
21183 char *kwnames[] = {
21184 (char *) "self", NULL
21185 };
21186
21187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
21188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21190 result = (wxPoint *)& ((arg1)->m_pointDrag);
21191
21192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
21193 return resultobj;
21194 fail:
21195 return NULL;
21196 }
21197
21198
21199 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
21200 PyObject *resultobj;
21201 wxListEvent *arg1 = (wxListEvent *) 0 ;
21202 wxListItem *result;
21203 PyObject * obj0 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
21209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21211 result = (wxListItem *)& ((arg1)->m_item);
21212
21213 {
21214 resultobj = wxPyMake_wxObject(result, 0);
21215 }
21216 return resultobj;
21217 fail:
21218 return NULL;
21219 }
21220
21221
21222 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj;
21224 wxListEvent *arg1 = (wxListEvent *) 0 ;
21225 int result;
21226 PyObject * obj0 = 0 ;
21227 char *kwnames[] = {
21228 (char *) "self", NULL
21229 };
21230
21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
21232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21234 {
21235 PyThreadState* __tstate = wxPyBeginAllowThreads();
21236 result = (int)(arg1)->GetKeyCode();
21237
21238 wxPyEndAllowThreads(__tstate);
21239 if (PyErr_Occurred()) SWIG_fail;
21240 }
21241 resultobj = SWIG_From_int((int)result);
21242 return resultobj;
21243 fail:
21244 return NULL;
21245 }
21246
21247
21248 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
21249 PyObject *resultobj;
21250 wxListEvent *arg1 = (wxListEvent *) 0 ;
21251 long result;
21252 PyObject * obj0 = 0 ;
21253 char *kwnames[] = {
21254 (char *) "self", NULL
21255 };
21256
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
21258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21260 {
21261 PyThreadState* __tstate = wxPyBeginAllowThreads();
21262 result = (long)(arg1)->GetIndex();
21263
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 resultobj = SWIG_From_long((long)result);
21268 return resultobj;
21269 fail:
21270 return NULL;
21271 }
21272
21273
21274 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj;
21276 wxListEvent *arg1 = (wxListEvent *) 0 ;
21277 int result;
21278 PyObject * obj0 = 0 ;
21279 char *kwnames[] = {
21280 (char *) "self", NULL
21281 };
21282
21283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
21284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 result = (int)(arg1)->GetColumn();
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 resultobj = SWIG_From_int((int)result);
21294 return resultobj;
21295 fail:
21296 return NULL;
21297 }
21298
21299
21300 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
21301 PyObject *resultobj;
21302 wxListEvent *arg1 = (wxListEvent *) 0 ;
21303 wxPoint result;
21304 PyObject * obj0 = 0 ;
21305 char *kwnames[] = {
21306 (char *) "self", NULL
21307 };
21308
21309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
21310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21312 {
21313 PyThreadState* __tstate = wxPyBeginAllowThreads();
21314 result = (arg1)->GetPoint();
21315
21316 wxPyEndAllowThreads(__tstate);
21317 if (PyErr_Occurred()) SWIG_fail;
21318 }
21319 {
21320 wxPoint * resultptr;
21321 resultptr = new wxPoint((wxPoint &) result);
21322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21323 }
21324 return resultobj;
21325 fail:
21326 return NULL;
21327 }
21328
21329
21330 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21331 PyObject *resultobj;
21332 wxListEvent *arg1 = (wxListEvent *) 0 ;
21333 wxString *result;
21334 PyObject * obj0 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
21340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21342 {
21343 PyThreadState* __tstate = wxPyBeginAllowThreads();
21344 {
21345 wxString const &_result_ref = (arg1)->GetLabel();
21346 result = (wxString *) &_result_ref;
21347 }
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 {
21353 #if wxUSE_UNICODE
21354 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21355 #else
21356 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21357 #endif
21358 }
21359 return resultobj;
21360 fail:
21361 return NULL;
21362 }
21363
21364
21365 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
21366 PyObject *resultobj;
21367 wxListEvent *arg1 = (wxListEvent *) 0 ;
21368 wxString *result;
21369 PyObject * obj0 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
21375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 {
21380 wxString const &_result_ref = (arg1)->GetText();
21381 result = (wxString *) &_result_ref;
21382 }
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 {
21388 #if wxUSE_UNICODE
21389 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21390 #else
21391 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21392 #endif
21393 }
21394 return resultobj;
21395 fail:
21396 return NULL;
21397 }
21398
21399
21400 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21401 PyObject *resultobj;
21402 wxListEvent *arg1 = (wxListEvent *) 0 ;
21403 int result;
21404 PyObject * obj0 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
21410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 result = (int)(arg1)->GetImage();
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 resultobj = SWIG_From_int((int)result);
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj;
21428 wxListEvent *arg1 = (wxListEvent *) 0 ;
21429 long result;
21430 PyObject * obj0 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "self", NULL
21433 };
21434
21435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
21436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 result = (long)(arg1)->GetData();
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 resultobj = SWIG_From_long((long)result);
21446 return resultobj;
21447 fail:
21448 return NULL;
21449 }
21450
21451
21452 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21453 PyObject *resultobj;
21454 wxListEvent *arg1 = (wxListEvent *) 0 ;
21455 long result;
21456 PyObject * obj0 = 0 ;
21457 char *kwnames[] = {
21458 (char *) "self", NULL
21459 };
21460
21461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
21462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 result = (long)(arg1)->GetMask();
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
21471 resultobj = SWIG_From_long((long)result);
21472 return resultobj;
21473 fail:
21474 return NULL;
21475 }
21476
21477
21478 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
21479 PyObject *resultobj;
21480 wxListEvent *arg1 = (wxListEvent *) 0 ;
21481 wxListItem *result;
21482 PyObject * obj0 = 0 ;
21483 char *kwnames[] = {
21484 (char *) "self", NULL
21485 };
21486
21487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
21488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21490 {
21491 PyThreadState* __tstate = wxPyBeginAllowThreads();
21492 {
21493 wxListItem const &_result_ref = (arg1)->GetItem();
21494 result = (wxListItem *) &_result_ref;
21495 }
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
21501 return resultobj;
21502 fail:
21503 return NULL;
21504 }
21505
21506
21507 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
21508 PyObject *resultobj;
21509 wxListEvent *arg1 = (wxListEvent *) 0 ;
21510 long result;
21511 PyObject * obj0 = 0 ;
21512 char *kwnames[] = {
21513 (char *) "self", NULL
21514 };
21515
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
21517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21519 {
21520 PyThreadState* __tstate = wxPyBeginAllowThreads();
21521 result = (long)(arg1)->GetCacheFrom();
21522
21523 wxPyEndAllowThreads(__tstate);
21524 if (PyErr_Occurred()) SWIG_fail;
21525 }
21526 resultobj = SWIG_From_long((long)result);
21527 return resultobj;
21528 fail:
21529 return NULL;
21530 }
21531
21532
21533 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
21534 PyObject *resultobj;
21535 wxListEvent *arg1 = (wxListEvent *) 0 ;
21536 long result;
21537 PyObject * obj0 = 0 ;
21538 char *kwnames[] = {
21539 (char *) "self", NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
21543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21545 {
21546 PyThreadState* __tstate = wxPyBeginAllowThreads();
21547 result = (long)(arg1)->GetCacheTo();
21548
21549 wxPyEndAllowThreads(__tstate);
21550 if (PyErr_Occurred()) SWIG_fail;
21551 }
21552 resultobj = SWIG_From_long((long)result);
21553 return resultobj;
21554 fail:
21555 return NULL;
21556 }
21557
21558
21559 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
21560 PyObject *resultobj;
21561 wxListEvent *arg1 = (wxListEvent *) 0 ;
21562 bool result;
21563 PyObject * obj0 = 0 ;
21564 char *kwnames[] = {
21565 (char *) "self", NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21571 {
21572 PyThreadState* __tstate = wxPyBeginAllowThreads();
21573 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21574
21575 wxPyEndAllowThreads(__tstate);
21576 if (PyErr_Occurred()) SWIG_fail;
21577 }
21578 {
21579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21580 }
21581 return resultobj;
21582 fail:
21583 return NULL;
21584 }
21585
21586
21587 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
21588 PyObject *resultobj;
21589 wxListEvent *arg1 = (wxListEvent *) 0 ;
21590 bool arg2 ;
21591 PyObject * obj0 = 0 ;
21592 PyObject * obj1 = 0 ;
21593 char *kwnames[] = {
21594 (char *) "self",(char *) "editCancelled", NULL
21595 };
21596
21597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21600 arg2 = (bool)SWIG_As_bool(obj1);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 {
21603 PyThreadState* __tstate = wxPyBeginAllowThreads();
21604 (arg1)->SetEditCanceled(arg2);
21605
21606 wxPyEndAllowThreads(__tstate);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 }
21609 Py_INCREF(Py_None); resultobj = Py_None;
21610 return resultobj;
21611 fail:
21612 return NULL;
21613 }
21614
21615
21616 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
21617 PyObject *obj;
21618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21619 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21620 Py_INCREF(obj);
21621 return Py_BuildValue((char *)"");
21622 }
21623 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj;
21625 wxWindow *arg1 = (wxWindow *) 0 ;
21626 int arg2 = (int) -1 ;
21627 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21628 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21629 wxSize const &arg4_defvalue = wxDefaultSize ;
21630 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21631 long arg5 = (long) wxLC_ICON ;
21632 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21633 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21634 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21635 wxString *arg7 = (wxString *) &arg7_defvalue ;
21636 wxPyListCtrl *result;
21637 wxPoint temp3 ;
21638 wxSize temp4 ;
21639 bool temp7 = false ;
21640 PyObject * obj0 = 0 ;
21641 PyObject * obj1 = 0 ;
21642 PyObject * obj2 = 0 ;
21643 PyObject * obj3 = 0 ;
21644 PyObject * obj4 = 0 ;
21645 PyObject * obj5 = 0 ;
21646 PyObject * obj6 = 0 ;
21647 char *kwnames[] = {
21648 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21649 };
21650
21651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21654 if (obj1) {
21655 arg2 = (int)SWIG_As_int(obj1);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 }
21658 if (obj2) {
21659 {
21660 arg3 = &temp3;
21661 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21662 }
21663 }
21664 if (obj3) {
21665 {
21666 arg4 = &temp4;
21667 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21668 }
21669 }
21670 if (obj4) {
21671 arg5 = (long)SWIG_As_long(obj4);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 if (obj5) {
21675 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21676 SWIG_POINTER_EXCEPTION | 0)) == -1)
21677 SWIG_fail;
21678 if (arg6 == NULL) {
21679 PyErr_SetString(PyExc_TypeError,"null reference");
21680 SWIG_fail;
21681 }
21682 }
21683 if (obj6) {
21684 {
21685 arg7 = wxString_in_helper(obj6);
21686 if (arg7 == NULL) SWIG_fail;
21687 temp7 = true;
21688 }
21689 }
21690 {
21691 if (!wxPyCheckForApp()) SWIG_fail;
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21699 {
21700 if (temp7)
21701 delete arg7;
21702 }
21703 return resultobj;
21704 fail:
21705 {
21706 if (temp7)
21707 delete arg7;
21708 }
21709 return NULL;
21710 }
21711
21712
21713 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxPyListCtrl *result;
21716 char *kwnames[] = {
21717 NULL
21718 };
21719
21720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21721 {
21722 if (!wxPyCheckForApp()) SWIG_fail;
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (wxPyListCtrl *)new wxPyListCtrl();
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21730 return resultobj;
21731 fail:
21732 return NULL;
21733 }
21734
21735
21736 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21737 PyObject *resultobj;
21738 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21739 wxWindow *arg2 = (wxWindow *) 0 ;
21740 int arg3 = (int) -1 ;
21741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21743 wxSize const &arg5_defvalue = wxDefaultSize ;
21744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21745 long arg6 = (long) wxLC_ICON ;
21746 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21747 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21748 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21749 wxString *arg8 = (wxString *) &arg8_defvalue ;
21750 bool result;
21751 wxPoint temp4 ;
21752 wxSize temp5 ;
21753 bool temp8 = false ;
21754 PyObject * obj0 = 0 ;
21755 PyObject * obj1 = 0 ;
21756 PyObject * obj2 = 0 ;
21757 PyObject * obj3 = 0 ;
21758 PyObject * obj4 = 0 ;
21759 PyObject * obj5 = 0 ;
21760 PyObject * obj6 = 0 ;
21761 PyObject * obj7 = 0 ;
21762 char *kwnames[] = {
21763 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21764 };
21765
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21771 if (obj2) {
21772 arg3 = (int)SWIG_As_int(obj2);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 if (obj3) {
21776 {
21777 arg4 = &temp4;
21778 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21779 }
21780 }
21781 if (obj4) {
21782 {
21783 arg5 = &temp5;
21784 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21785 }
21786 }
21787 if (obj5) {
21788 arg6 = (long)SWIG_As_long(obj5);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 if (obj6) {
21792 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21793 SWIG_POINTER_EXCEPTION | 0)) == -1)
21794 SWIG_fail;
21795 if (arg7 == NULL) {
21796 PyErr_SetString(PyExc_TypeError,"null reference");
21797 SWIG_fail;
21798 }
21799 }
21800 if (obj7) {
21801 {
21802 arg8 = wxString_in_helper(obj7);
21803 if (arg8 == NULL) SWIG_fail;
21804 temp8 = true;
21805 }
21806 }
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 {
21815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21816 }
21817 {
21818 if (temp8)
21819 delete arg8;
21820 }
21821 return resultobj;
21822 fail:
21823 {
21824 if (temp8)
21825 delete arg8;
21826 }
21827 return NULL;
21828 }
21829
21830
21831 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21832 PyObject *resultobj;
21833 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21834 PyObject *arg2 = (PyObject *) 0 ;
21835 PyObject *arg3 = (PyObject *) 0 ;
21836 PyObject * obj0 = 0 ;
21837 PyObject * obj1 = 0 ;
21838 PyObject * obj2 = 0 ;
21839 char *kwnames[] = {
21840 (char *) "self",(char *) "self",(char *) "_class", NULL
21841 };
21842
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21846 arg2 = obj1;
21847 arg3 = obj2;
21848 {
21849 PyThreadState* __tstate = wxPyBeginAllowThreads();
21850 (arg1)->_setCallbackInfo(arg2,arg3);
21851
21852 wxPyEndAllowThreads(__tstate);
21853 if (PyErr_Occurred()) SWIG_fail;
21854 }
21855 Py_INCREF(Py_None); resultobj = Py_None;
21856 return resultobj;
21857 fail:
21858 return NULL;
21859 }
21860
21861
21862 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj;
21864 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21865 wxColour *arg2 = 0 ;
21866 bool result;
21867 wxColour temp2 ;
21868 PyObject * obj0 = 0 ;
21869 PyObject * obj1 = 0 ;
21870 char *kwnames[] = {
21871 (char *) "self",(char *) "col", NULL
21872 };
21873
21874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21877 {
21878 arg2 = &temp2;
21879 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21880 }
21881 {
21882 PyThreadState* __tstate = wxPyBeginAllowThreads();
21883 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21884
21885 wxPyEndAllowThreads(__tstate);
21886 if (PyErr_Occurred()) SWIG_fail;
21887 }
21888 {
21889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21890 }
21891 return resultobj;
21892 fail:
21893 return NULL;
21894 }
21895
21896
21897 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21898 PyObject *resultobj;
21899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21900 wxColour *arg2 = 0 ;
21901 bool result;
21902 wxColour temp2 ;
21903 PyObject * obj0 = 0 ;
21904 PyObject * obj1 = 0 ;
21905 char *kwnames[] = {
21906 (char *) "self",(char *) "col", NULL
21907 };
21908
21909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21912 {
21913 arg2 = &temp2;
21914 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21915 }
21916 {
21917 PyThreadState* __tstate = wxPyBeginAllowThreads();
21918 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21919
21920 wxPyEndAllowThreads(__tstate);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 }
21923 {
21924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21925 }
21926 return resultobj;
21927 fail:
21928 return NULL;
21929 }
21930
21931
21932 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21933 PyObject *resultobj;
21934 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21935 int arg2 ;
21936 wxListItem *result;
21937 PyObject * obj0 = 0 ;
21938 PyObject * obj1 = 0 ;
21939 char *kwnames[] = {
21940 (char *) "self",(char *) "col", NULL
21941 };
21942
21943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21946 arg2 = (int)SWIG_As_int(obj1);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 {
21949 PyThreadState* __tstate = wxPyBeginAllowThreads();
21950 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21951
21952 wxPyEndAllowThreads(__tstate);
21953 if (PyErr_Occurred()) SWIG_fail;
21954 }
21955 {
21956 resultobj = wxPyMake_wxObject(result, 0);
21957 }
21958 return resultobj;
21959 fail:
21960 return NULL;
21961 }
21962
21963
21964 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21965 PyObject *resultobj;
21966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21967 int arg2 ;
21968 wxListItem *arg3 = 0 ;
21969 bool result;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 PyObject * obj2 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self",(char *) "col",(char *) "item", NULL
21975 };
21976
21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21980 arg2 = (int)SWIG_As_int(obj1);
21981 if (PyErr_Occurred()) SWIG_fail;
21982 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21983 SWIG_POINTER_EXCEPTION | 0)) == -1)
21984 SWIG_fail;
21985 if (arg3 == NULL) {
21986 PyErr_SetString(PyExc_TypeError,"null reference");
21987 SWIG_fail;
21988 }
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21992
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 {
21997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21998 }
21999 return resultobj;
22000 fail:
22001 return NULL;
22002 }
22003
22004
22005 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22006 PyObject *resultobj;
22007 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22008 int arg2 ;
22009 int result;
22010 PyObject * obj0 = 0 ;
22011 PyObject * obj1 = 0 ;
22012 char *kwnames[] = {
22013 (char *) "self",(char *) "col", NULL
22014 };
22015
22016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
22017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22019 arg2 = (int)SWIG_As_int(obj1);
22020 if (PyErr_Occurred()) SWIG_fail;
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
22024
22025 wxPyEndAllowThreads(__tstate);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 }
22028 resultobj = SWIG_From_int((int)result);
22029 return resultobj;
22030 fail:
22031 return NULL;
22032 }
22033
22034
22035 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22036 PyObject *resultobj;
22037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22038 int arg2 ;
22039 int arg3 ;
22040 bool result;
22041 PyObject * obj0 = 0 ;
22042 PyObject * obj1 = 0 ;
22043 PyObject * obj2 = 0 ;
22044 char *kwnames[] = {
22045 (char *) "self",(char *) "col",(char *) "width", NULL
22046 };
22047
22048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
22049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22051 arg2 = (int)SWIG_As_int(obj1);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 arg3 = (int)SWIG_As_int(obj2);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 {
22056 PyThreadState* __tstate = wxPyBeginAllowThreads();
22057 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
22058
22059 wxPyEndAllowThreads(__tstate);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 }
22062 {
22063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22064 }
22065 return resultobj;
22066 fail:
22067 return NULL;
22068 }
22069
22070
22071 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
22072 PyObject *resultobj;
22073 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22074 int result;
22075 PyObject * obj0 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = SWIG_From_int((int)result);
22091 return resultobj;
22092 fail:
22093 return NULL;
22094 }
22095
22096
22097 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj;
22099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22100 wxRect result;
22101 PyObject * obj0 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self", NULL
22104 };
22105
22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
22107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22109 {
22110 PyThreadState* __tstate = wxPyBeginAllowThreads();
22111 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
22112
22113 wxPyEndAllowThreads(__tstate);
22114 if (PyErr_Occurred()) SWIG_fail;
22115 }
22116 {
22117 wxRect * resultptr;
22118 resultptr = new wxRect((wxRect &) result);
22119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22120 }
22121 return resultobj;
22122 fail:
22123 return NULL;
22124 }
22125
22126
22127 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
22128 PyObject *resultobj;
22129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22130 wxTextCtrl *result;
22131 PyObject * obj0 = 0 ;
22132 char *kwnames[] = {
22133 (char *) "self", NULL
22134 };
22135
22136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 {
22147 resultobj = wxPyMake_wxObject(result, 0);
22148 }
22149 return resultobj;
22150 fail:
22151 return NULL;
22152 }
22153
22154
22155 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj;
22157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22158 long arg2 ;
22159 int arg3 = (int) 0 ;
22160 wxListItem *result;
22161 PyObject * obj0 = 0 ;
22162 PyObject * obj1 = 0 ;
22163 PyObject * obj2 = 0 ;
22164 char *kwnames[] = {
22165 (char *) "self",(char *) "itemId",(char *) "col", NULL
22166 };
22167
22168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22171 arg2 = (long)SWIG_As_long(obj1);
22172 if (PyErr_Occurred()) SWIG_fail;
22173 if (obj2) {
22174 arg3 = (int)SWIG_As_int(obj2);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
22180
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 {
22185 resultobj = wxPyMake_wxObject(result, 0);
22186 }
22187 return resultobj;
22188 fail:
22189 return NULL;
22190 }
22191
22192
22193 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
22194 PyObject *resultobj;
22195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22196 wxListItem *arg2 = 0 ;
22197 bool result;
22198 PyObject * obj0 = 0 ;
22199 PyObject * obj1 = 0 ;
22200 char *kwnames[] = {
22201 (char *) "self",(char *) "info", NULL
22202 };
22203
22204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
22205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22208 SWIG_POINTER_EXCEPTION | 0)) == -1)
22209 SWIG_fail;
22210 if (arg2 == NULL) {
22211 PyErr_SetString(PyExc_TypeError,"null reference");
22212 SWIG_fail;
22213 }
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 result = (bool)(arg1)->SetItem(*arg2);
22217
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 {
22222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22223 }
22224 return resultobj;
22225 fail:
22226 return NULL;
22227 }
22228
22229
22230 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22233 long arg2 ;
22234 int arg3 ;
22235 wxString *arg4 = 0 ;
22236 int arg5 = (int) -1 ;
22237 long result;
22238 bool temp4 = false ;
22239 PyObject * obj0 = 0 ;
22240 PyObject * obj1 = 0 ;
22241 PyObject * obj2 = 0 ;
22242 PyObject * obj3 = 0 ;
22243 PyObject * obj4 = 0 ;
22244 char *kwnames[] = {
22245 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22246 };
22247
22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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 = (int)SWIG_As_int(obj2);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 {
22256 arg4 = wxString_in_helper(obj3);
22257 if (arg4 == NULL) SWIG_fail;
22258 temp4 = true;
22259 }
22260 if (obj4) {
22261 arg5 = (int)SWIG_As_int(obj4);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
22264 {
22265 PyThreadState* __tstate = wxPyBeginAllowThreads();
22266 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
22267
22268 wxPyEndAllowThreads(__tstate);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 resultobj = SWIG_From_long((long)result);
22272 {
22273 if (temp4)
22274 delete arg4;
22275 }
22276 return resultobj;
22277 fail:
22278 {
22279 if (temp4)
22280 delete arg4;
22281 }
22282 return NULL;
22283 }
22284
22285
22286 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22289 long arg2 ;
22290 long arg3 ;
22291 int result;
22292 PyObject * obj0 = 0 ;
22293 PyObject * obj1 = 0 ;
22294 PyObject * obj2 = 0 ;
22295 char *kwnames[] = {
22296 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22297 };
22298
22299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
22300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22302 arg2 = (long)SWIG_As_long(obj1);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 arg3 = (long)SWIG_As_long(obj2);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 resultobj = SWIG_From_int((int)result);
22314 return resultobj;
22315 fail:
22316 return NULL;
22317 }
22318
22319
22320 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj;
22322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22323 long arg2 ;
22324 long arg3 ;
22325 long arg4 ;
22326 bool result;
22327 PyObject * obj0 = 0 ;
22328 PyObject * obj1 = 0 ;
22329 PyObject * obj2 = 0 ;
22330 PyObject * obj3 = 0 ;
22331 char *kwnames[] = {
22332 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22333 };
22334
22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22338 arg2 = (long)SWIG_As_long(obj1);
22339 if (PyErr_Occurred()) SWIG_fail;
22340 arg3 = (long)SWIG_As_long(obj2);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 arg4 = (long)SWIG_As_long(obj3);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 {
22352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22353 }
22354 return resultobj;
22355 fail:
22356 return NULL;
22357 }
22358
22359
22360 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
22361 PyObject *resultobj;
22362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22363 long arg2 ;
22364 int arg3 ;
22365 int arg4 = (int) -1 ;
22366 bool result;
22367 PyObject * obj0 = 0 ;
22368 PyObject * obj1 = 0 ;
22369 PyObject * obj2 = 0 ;
22370 PyObject * obj3 = 0 ;
22371 char *kwnames[] = {
22372 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22373 };
22374
22375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22378 arg2 = (long)SWIG_As_long(obj1);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 arg3 = (int)SWIG_As_int(obj2);
22381 if (PyErr_Occurred()) SWIG_fail;
22382 if (obj3) {
22383 arg4 = (int)SWIG_As_int(obj3);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 {
22394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22395 }
22396 return resultobj;
22397 fail:
22398 return NULL;
22399 }
22400
22401
22402 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj;
22404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22405 long arg2 ;
22406 wxString result;
22407 PyObject * obj0 = 0 ;
22408 PyObject * obj1 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self",(char *) "item", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
22414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22416 arg2 = (long)SWIG_As_long(obj1);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 {
22426 #if wxUSE_UNICODE
22427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22428 #else
22429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22430 #endif
22431 }
22432 return resultobj;
22433 fail:
22434 return NULL;
22435 }
22436
22437
22438 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
22439 PyObject *resultobj;
22440 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22441 long arg2 ;
22442 wxString *arg3 = 0 ;
22443 bool temp3 = false ;
22444 PyObject * obj0 = 0 ;
22445 PyObject * obj1 = 0 ;
22446 PyObject * obj2 = 0 ;
22447 char *kwnames[] = {
22448 (char *) "self",(char *) "item",(char *) "str", NULL
22449 };
22450
22451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
22452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22454 arg2 = (long)SWIG_As_long(obj1);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 {
22457 arg3 = wxString_in_helper(obj2);
22458 if (arg3 == NULL) SWIG_fail;
22459 temp3 = true;
22460 }
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 Py_INCREF(Py_None); resultobj = Py_None;
22469 {
22470 if (temp3)
22471 delete arg3;
22472 }
22473 return resultobj;
22474 fail:
22475 {
22476 if (temp3)
22477 delete arg3;
22478 }
22479 return NULL;
22480 }
22481
22482
22483 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22484 PyObject *resultobj;
22485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22486 long arg2 ;
22487 long result;
22488 PyObject * obj0 = 0 ;
22489 PyObject * obj1 = 0 ;
22490 char *kwnames[] = {
22491 (char *) "self",(char *) "item", NULL
22492 };
22493
22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22497 arg2 = (long)SWIG_As_long(obj1);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 {
22500 PyThreadState* __tstate = wxPyBeginAllowThreads();
22501 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
22502
22503 wxPyEndAllowThreads(__tstate);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 }
22506 resultobj = SWIG_From_long((long)result);
22507 return resultobj;
22508 fail:
22509 return NULL;
22510 }
22511
22512
22513 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22514 PyObject *resultobj;
22515 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22516 long arg2 ;
22517 long arg3 ;
22518 bool result;
22519 PyObject * obj0 = 0 ;
22520 PyObject * obj1 = 0 ;
22521 PyObject * obj2 = 0 ;
22522 char *kwnames[] = {
22523 (char *) "self",(char *) "item",(char *) "data", NULL
22524 };
22525
22526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22529 arg2 = (long)SWIG_As_long(obj1);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 arg3 = (long)SWIG_As_long(obj2);
22532 if (PyErr_Occurred()) SWIG_fail;
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 result = (bool)(arg1)->SetItemData(arg2,arg3);
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 {
22541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22542 }
22543 return resultobj;
22544 fail:
22545 return NULL;
22546 }
22547
22548
22549 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22550 PyObject *resultobj;
22551 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22552 long arg2 ;
22553 wxPoint result;
22554 PyObject * obj0 = 0 ;
22555 PyObject * obj1 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self",(char *) "item", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22563 arg2 = (long)SWIG_As_long(obj1);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 {
22566 PyThreadState* __tstate = wxPyBeginAllowThreads();
22567 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22568
22569 wxPyEndAllowThreads(__tstate);
22570 if (PyErr_Occurred()) SWIG_fail;
22571 }
22572 {
22573 wxPoint * resultptr;
22574 resultptr = new wxPoint((wxPoint &) result);
22575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22576 }
22577 return resultobj;
22578 fail:
22579 return NULL;
22580 }
22581
22582
22583 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
22584 PyObject *resultobj;
22585 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22586 long arg2 ;
22587 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22588 wxRect result;
22589 PyObject * obj0 = 0 ;
22590 PyObject * obj1 = 0 ;
22591 PyObject * obj2 = 0 ;
22592 char *kwnames[] = {
22593 (char *) "self",(char *) "item",(char *) "code", NULL
22594 };
22595
22596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22599 arg2 = (long)SWIG_As_long(obj1);
22600 if (PyErr_Occurred()) SWIG_fail;
22601 if (obj2) {
22602 arg3 = (int)SWIG_As_int(obj2);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22608
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 {
22613 wxRect * resultptr;
22614 resultptr = new wxRect((wxRect &) result);
22615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22616 }
22617 return resultobj;
22618 fail:
22619 return NULL;
22620 }
22621
22622
22623 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22624 PyObject *resultobj;
22625 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22626 long arg2 ;
22627 wxPoint *arg3 = 0 ;
22628 bool result;
22629 wxPoint temp3 ;
22630 PyObject * obj0 = 0 ;
22631 PyObject * obj1 = 0 ;
22632 PyObject * obj2 = 0 ;
22633 char *kwnames[] = {
22634 (char *) "self",(char *) "item",(char *) "pos", NULL
22635 };
22636
22637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22640 arg2 = (long)SWIG_As_long(obj1);
22641 if (PyErr_Occurred()) SWIG_fail;
22642 {
22643 arg3 = &temp3;
22644 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22645 }
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 {
22654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22655 }
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22665 int result;
22666 PyObject * obj0 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22674 {
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22677
22678 wxPyEndAllowThreads(__tstate);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 }
22681 resultobj = SWIG_From_int((int)result);
22682 return resultobj;
22683 fail:
22684 return NULL;
22685 }
22686
22687
22688 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj;
22690 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22691 int result;
22692 PyObject * obj0 = 0 ;
22693 char *kwnames[] = {
22694 (char *) "self", NULL
22695 };
22696
22697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 resultobj = SWIG_From_int((int)result);
22708 return resultobj;
22709 fail:
22710 return NULL;
22711 }
22712
22713
22714 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
22715 PyObject *resultobj;
22716 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22717 wxSize result;
22718 PyObject * obj0 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22726 {
22727 PyThreadState* __tstate = wxPyBeginAllowThreads();
22728 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22729
22730 wxPyEndAllowThreads(__tstate);
22731 if (PyErr_Occurred()) SWIG_fail;
22732 }
22733 {
22734 wxSize * resultptr;
22735 resultptr = new wxSize((wxSize &) result);
22736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22737 }
22738 return resultobj;
22739 fail:
22740 return NULL;
22741 }
22742
22743
22744 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22745 PyObject *resultobj;
22746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22747 int result;
22748 PyObject * obj0 = 0 ;
22749 char *kwnames[] = {
22750 (char *) "self", NULL
22751 };
22752
22753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22756 {
22757 PyThreadState* __tstate = wxPyBeginAllowThreads();
22758 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22759
22760 wxPyEndAllowThreads(__tstate);
22761 if (PyErr_Occurred()) SWIG_fail;
22762 }
22763 resultobj = SWIG_From_int((int)result);
22764 return resultobj;
22765 fail:
22766 return NULL;
22767 }
22768
22769
22770 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22771 PyObject *resultobj;
22772 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22773 wxColour result;
22774 PyObject * obj0 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "self", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22782 {
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22784 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 {
22790 wxColour * resultptr;
22791 resultptr = new wxColour((wxColour &) result);
22792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22793 }
22794 return resultobj;
22795 fail:
22796 return NULL;
22797 }
22798
22799
22800 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22801 PyObject *resultobj;
22802 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22803 wxColour *arg2 = 0 ;
22804 wxColour temp2 ;
22805 PyObject * obj0 = 0 ;
22806 PyObject * obj1 = 0 ;
22807 char *kwnames[] = {
22808 (char *) "self",(char *) "col", NULL
22809 };
22810
22811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22814 {
22815 arg2 = &temp2;
22816 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22817 }
22818 {
22819 PyThreadState* __tstate = wxPyBeginAllowThreads();
22820 (arg1)->SetTextColour((wxColour const &)*arg2);
22821
22822 wxPyEndAllowThreads(__tstate);
22823 if (PyErr_Occurred()) SWIG_fail;
22824 }
22825 Py_INCREF(Py_None); resultobj = Py_None;
22826 return resultobj;
22827 fail:
22828 return NULL;
22829 }
22830
22831
22832 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
22833 PyObject *resultobj;
22834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22835 long result;
22836 PyObject * obj0 = 0 ;
22837 char *kwnames[] = {
22838 (char *) "self", NULL
22839 };
22840
22841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22847
22848 wxPyEndAllowThreads(__tstate);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
22851 resultobj = SWIG_From_long((long)result);
22852 return resultobj;
22853 fail:
22854 return NULL;
22855 }
22856
22857
22858 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
22859 PyObject *resultobj;
22860 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22861 long arg2 ;
22862 bool arg3 = (bool) true ;
22863 PyObject * obj0 = 0 ;
22864 PyObject * obj1 = 0 ;
22865 PyObject * obj2 = 0 ;
22866 char *kwnames[] = {
22867 (char *) "self",(char *) "style",(char *) "add", NULL
22868 };
22869
22870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22873 arg2 = (long)SWIG_As_long(obj1);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 if (obj2) {
22876 arg3 = (bool)SWIG_As_bool(obj2);
22877 if (PyErr_Occurred()) SWIG_fail;
22878 }
22879 {
22880 PyThreadState* __tstate = wxPyBeginAllowThreads();
22881 (arg1)->SetSingleStyle(arg2,arg3);
22882
22883 wxPyEndAllowThreads(__tstate);
22884 if (PyErr_Occurred()) SWIG_fail;
22885 }
22886 Py_INCREF(Py_None); resultobj = Py_None;
22887 return resultobj;
22888 fail:
22889 return NULL;
22890 }
22891
22892
22893 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
22894 PyObject *resultobj;
22895 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22896 long arg2 ;
22897 PyObject * obj0 = 0 ;
22898 PyObject * obj1 = 0 ;
22899 char *kwnames[] = {
22900 (char *) "self",(char *) "style", NULL
22901 };
22902
22903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22906 arg2 = (long)SWIG_As_long(obj1);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 {
22909 PyThreadState* __tstate = wxPyBeginAllowThreads();
22910 (arg1)->SetWindowStyleFlag(arg2);
22911
22912 wxPyEndAllowThreads(__tstate);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 }
22915 Py_INCREF(Py_None); resultobj = Py_None;
22916 return resultobj;
22917 fail:
22918 return NULL;
22919 }
22920
22921
22922 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22925 long arg2 ;
22926 int arg3 = (int) wxLIST_NEXT_ALL ;
22927 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22928 long result;
22929 PyObject * obj0 = 0 ;
22930 PyObject * obj1 = 0 ;
22931 PyObject * obj2 = 0 ;
22932 PyObject * obj3 = 0 ;
22933 char *kwnames[] = {
22934 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22935 };
22936
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22940 arg2 = (long)SWIG_As_long(obj1);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 if (obj2) {
22943 arg3 = (int)SWIG_As_int(obj2);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 if (obj3) {
22947 arg4 = (int)SWIG_As_int(obj3);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 }
22950 {
22951 PyThreadState* __tstate = wxPyBeginAllowThreads();
22952 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22953
22954 wxPyEndAllowThreads(__tstate);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 resultobj = SWIG_From_long((long)result);
22958 return resultobj;
22959 fail:
22960 return NULL;
22961 }
22962
22963
22964 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
22965 PyObject *resultobj;
22966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22967 int arg2 ;
22968 wxImageList *result;
22969 PyObject * obj0 = 0 ;
22970 PyObject * obj1 = 0 ;
22971 char *kwnames[] = {
22972 (char *) "self",(char *) "which", NULL
22973 };
22974
22975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22978 arg2 = (int)SWIG_As_int(obj1);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 {
22981 PyThreadState* __tstate = wxPyBeginAllowThreads();
22982 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22983
22984 wxPyEndAllowThreads(__tstate);
22985 if (PyErr_Occurred()) SWIG_fail;
22986 }
22987 {
22988 resultobj = wxPyMake_wxObject(result, 0);
22989 }
22990 return resultobj;
22991 fail:
22992 return NULL;
22993 }
22994
22995
22996 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
22997 PyObject *resultobj;
22998 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22999 wxImageList *arg2 = (wxImageList *) 0 ;
23000 int arg3 ;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 PyObject * obj2 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "imageList",(char *) "which", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23013 arg3 = (int)SWIG_As_int(obj2);
23014 if (PyErr_Occurred()) SWIG_fail;
23015 {
23016 PyThreadState* __tstate = wxPyBeginAllowThreads();
23017 (arg1)->SetImageList(arg2,arg3);
23018
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 Py_INCREF(Py_None); resultobj = Py_None;
23023 return resultobj;
23024 fail:
23025 return NULL;
23026 }
23027
23028
23029 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23032 wxImageList *arg2 = (wxImageList *) 0 ;
23033 int arg3 ;
23034 PyObject * obj0 = 0 ;
23035 PyObject * obj1 = 0 ;
23036 PyObject * obj2 = 0 ;
23037 char *kwnames[] = {
23038 (char *) "self",(char *) "imageList",(char *) "which", NULL
23039 };
23040
23041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23045 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23046 arg3 = (int)SWIG_As_int(obj2);
23047 if (PyErr_Occurred()) SWIG_fail;
23048 {
23049 PyThreadState* __tstate = wxPyBeginAllowThreads();
23050 (arg1)->AssignImageList(arg2,arg3);
23051
23052 wxPyEndAllowThreads(__tstate);
23053 if (PyErr_Occurred()) SWIG_fail;
23054 }
23055 Py_INCREF(Py_None); resultobj = Py_None;
23056 return resultobj;
23057 fail:
23058 return NULL;
23059 }
23060
23061
23062 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
23063 PyObject *resultobj;
23064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23065 bool result;
23066 PyObject * obj0 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
23072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
23077
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 {
23082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23083 }
23084 return resultobj;
23085 fail:
23086 return NULL;
23087 }
23088
23089
23090 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
23091 PyObject *resultobj;
23092 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23093 bool result;
23094 PyObject * obj0 = 0 ;
23095 char *kwnames[] = {
23096 (char *) "self", NULL
23097 };
23098
23099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
23100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23102 {
23103 PyThreadState* __tstate = wxPyBeginAllowThreads();
23104 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
23105
23106 wxPyEndAllowThreads(__tstate);
23107 if (PyErr_Occurred()) SWIG_fail;
23108 }
23109 {
23110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23111 }
23112 return resultobj;
23113 fail:
23114 return NULL;
23115 }
23116
23117
23118 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
23119 PyObject *resultobj;
23120 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23121 long arg2 ;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "item", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
23129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23131 arg2 = (long)SWIG_As_long(obj1);
23132 if (PyErr_Occurred()) SWIG_fail;
23133 {
23134 PyThreadState* __tstate = wxPyBeginAllowThreads();
23135 (arg1)->RefreshItem(arg2);
23136
23137 wxPyEndAllowThreads(__tstate);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 }
23140 Py_INCREF(Py_None); resultobj = Py_None;
23141 return resultobj;
23142 fail:
23143 return NULL;
23144 }
23145
23146
23147 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
23148 PyObject *resultobj;
23149 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23150 long arg2 ;
23151 long arg3 ;
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj1 = 0 ;
23154 PyObject * obj2 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
23160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23162 arg2 = (long)SWIG_As_long(obj1);
23163 if (PyErr_Occurred()) SWIG_fail;
23164 arg3 = (long)SWIG_As_long(obj2);
23165 if (PyErr_Occurred()) SWIG_fail;
23166 {
23167 PyThreadState* __tstate = wxPyBeginAllowThreads();
23168 (arg1)->RefreshItems(arg2,arg3);
23169
23170 wxPyEndAllowThreads(__tstate);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 }
23173 Py_INCREF(Py_None); resultobj = Py_None;
23174 return resultobj;
23175 fail:
23176 return NULL;
23177 }
23178
23179
23180 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
23181 PyObject *resultobj;
23182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23183 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
23184 bool result;
23185 PyObject * obj0 = 0 ;
23186 PyObject * obj1 = 0 ;
23187 char *kwnames[] = {
23188 (char *) "self",(char *) "flag", NULL
23189 };
23190
23191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
23192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23194 if (obj1) {
23195 arg2 = (int)SWIG_As_int(obj1);
23196 if (PyErr_Occurred()) SWIG_fail;
23197 }
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 result = (bool)(arg1)->Arrange(arg2);
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 {
23206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23207 }
23208 return resultobj;
23209 fail:
23210 return NULL;
23211 }
23212
23213
23214 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
23215 PyObject *resultobj;
23216 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23217 long arg2 ;
23218 bool result;
23219 PyObject * obj0 = 0 ;
23220 PyObject * obj1 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self",(char *) "item", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
23226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23228 arg2 = (long)SWIG_As_long(obj1);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 {
23231 PyThreadState* __tstate = wxPyBeginAllowThreads();
23232 result = (bool)(arg1)->DeleteItem(arg2);
23233
23234 wxPyEndAllowThreads(__tstate);
23235 if (PyErr_Occurred()) SWIG_fail;
23236 }
23237 {
23238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23239 }
23240 return resultobj;
23241 fail:
23242 return NULL;
23243 }
23244
23245
23246 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
23247 PyObject *resultobj;
23248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23249 bool result;
23250 PyObject * obj0 = 0 ;
23251 char *kwnames[] = {
23252 (char *) "self", NULL
23253 };
23254
23255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 result = (bool)(arg1)->DeleteAllItems();
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 {
23266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23267 }
23268 return resultobj;
23269 fail:
23270 return NULL;
23271 }
23272
23273
23274 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23275 PyObject *resultobj;
23276 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23277 int arg2 ;
23278 bool result;
23279 PyObject * obj0 = 0 ;
23280 PyObject * obj1 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self",(char *) "col", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
23286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23288 arg2 = (int)SWIG_As_int(obj1);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 {
23291 PyThreadState* __tstate = wxPyBeginAllowThreads();
23292 result = (bool)(arg1)->DeleteColumn(arg2);
23293
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 {
23298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23299 }
23300 return resultobj;
23301 fail:
23302 return NULL;
23303 }
23304
23305
23306 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
23307 PyObject *resultobj;
23308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23309 bool result;
23310 PyObject * obj0 = 0 ;
23311 char *kwnames[] = {
23312 (char *) "self", NULL
23313 };
23314
23315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
23316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 result = (bool)(arg1)->DeleteAllColumns();
23321
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 {
23326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23327 }
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
23335 PyObject *resultobj;
23336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23337 PyObject * obj0 = 0 ;
23338 char *kwnames[] = {
23339 (char *) "self", NULL
23340 };
23341
23342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
23343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23345 {
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 (arg1)->ClearAll();
23348
23349 wxPyEndAllowThreads(__tstate);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
23352 Py_INCREF(Py_None); resultobj = Py_None;
23353 return resultobj;
23354 fail:
23355 return NULL;
23356 }
23357
23358
23359 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23360 PyObject *resultobj;
23361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23362 long arg2 ;
23363 wxTextCtrl *result;
23364 PyObject * obj0 = 0 ;
23365 PyObject * obj1 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self",(char *) "item", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23373 arg2 = (long)SWIG_As_long(obj1);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 {
23376 PyThreadState* __tstate = wxPyBeginAllowThreads();
23377 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
23378
23379 wxPyEndAllowThreads(__tstate);
23380 if (PyErr_Occurred()) SWIG_fail;
23381 }
23382 {
23383 resultobj = wxPyMake_wxObject(result, 0);
23384 }
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj;
23393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23394 bool arg2 ;
23395 bool result;
23396 PyObject * obj0 = 0 ;
23397 PyObject * obj1 = 0 ;
23398 char *kwnames[] = {
23399 (char *) "self",(char *) "cancel", NULL
23400 };
23401
23402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
23403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23405 arg2 = (bool)SWIG_As_bool(obj1);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = (bool)(arg1)->EndEditLabel(arg2);
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 {
23415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23416 }
23417 return resultobj;
23418 fail:
23419 return NULL;
23420 }
23421
23422
23423 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
23424 PyObject *resultobj;
23425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23426 long arg2 ;
23427 bool result;
23428 PyObject * obj0 = 0 ;
23429 PyObject * obj1 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "self",(char *) "item", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 arg2 = (long)SWIG_As_long(obj1);
23438 if (PyErr_Occurred()) SWIG_fail;
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 result = (bool)(arg1)->EnsureVisible(arg2);
23442
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 {
23447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23448 }
23449 return resultobj;
23450 fail:
23451 return NULL;
23452 }
23453
23454
23455 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
23456 PyObject *resultobj;
23457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23458 long arg2 ;
23459 wxString *arg3 = 0 ;
23460 bool arg4 = (bool) false ;
23461 long result;
23462 bool temp3 = false ;
23463 PyObject * obj0 = 0 ;
23464 PyObject * obj1 = 0 ;
23465 PyObject * obj2 = 0 ;
23466 PyObject * obj3 = 0 ;
23467 char *kwnames[] = {
23468 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23469 };
23470
23471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23474 arg2 = (long)SWIG_As_long(obj1);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 {
23477 arg3 = wxString_in_helper(obj2);
23478 if (arg3 == NULL) SWIG_fail;
23479 temp3 = true;
23480 }
23481 if (obj3) {
23482 arg4 = (bool)SWIG_As_bool(obj3);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 {
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
23488
23489 wxPyEndAllowThreads(__tstate);
23490 if (PyErr_Occurred()) SWIG_fail;
23491 }
23492 resultobj = SWIG_From_long((long)result);
23493 {
23494 if (temp3)
23495 delete arg3;
23496 }
23497 return resultobj;
23498 fail:
23499 {
23500 if (temp3)
23501 delete arg3;
23502 }
23503 return NULL;
23504 }
23505
23506
23507 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj;
23509 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23510 long arg2 ;
23511 long arg3 ;
23512 long result;
23513 PyObject * obj0 = 0 ;
23514 PyObject * obj1 = 0 ;
23515 PyObject * obj2 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self",(char *) "start",(char *) "data", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
23521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23523 arg2 = (long)SWIG_As_long(obj1);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 arg3 = (long)SWIG_As_long(obj2);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 result = (long)(arg1)->FindItem(arg2,arg3);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 resultobj = SWIG_From_long((long)result);
23535 return resultobj;
23536 fail:
23537 return NULL;
23538 }
23539
23540
23541 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj;
23543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23544 long arg2 ;
23545 wxPoint *arg3 = 0 ;
23546 int arg4 ;
23547 long result;
23548 wxPoint temp3 ;
23549 PyObject * obj0 = 0 ;
23550 PyObject * obj1 = 0 ;
23551 PyObject * obj2 = 0 ;
23552 PyObject * obj3 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23560 arg2 = (long)SWIG_As_long(obj1);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 {
23563 arg3 = &temp3;
23564 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23565 }
23566 arg4 = (int)SWIG_As_int(obj3);
23567 if (PyErr_Occurred()) SWIG_fail;
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23571
23572 wxPyEndAllowThreads(__tstate);
23573 if (PyErr_Occurred()) SWIG_fail;
23574 }
23575 resultobj = SWIG_From_long((long)result);
23576 return resultobj;
23577 fail:
23578 return NULL;
23579 }
23580
23581
23582 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj;
23584 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23585 wxPoint *arg2 = 0 ;
23586 int *arg3 = 0 ;
23587 long result;
23588 wxPoint temp2 ;
23589 int temp3 ;
23590 int res3 = 0 ;
23591 PyObject * obj0 = 0 ;
23592 PyObject * obj1 = 0 ;
23593 char *kwnames[] = {
23594 (char *) "self",(char *) "point", NULL
23595 };
23596
23597 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23601 {
23602 arg2 = &temp2;
23603 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23604 }
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 resultobj = SWIG_From_long((long)result);
23613 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23614 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23615 return resultobj;
23616 fail:
23617 return NULL;
23618 }
23619
23620
23621 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
23622 PyObject *resultobj;
23623 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23624 wxListItem *arg2 = 0 ;
23625 long result;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "info", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23636 SWIG_POINTER_EXCEPTION | 0)) == -1)
23637 SWIG_fail;
23638 if (arg2 == NULL) {
23639 PyErr_SetString(PyExc_TypeError,"null reference");
23640 SWIG_fail;
23641 }
23642 {
23643 PyThreadState* __tstate = wxPyBeginAllowThreads();
23644 result = (long)(arg1)->InsertItem(*arg2);
23645
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 resultobj = SWIG_From_long((long)result);
23650 return resultobj;
23651 fail:
23652 return NULL;
23653 }
23654
23655
23656 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
23657 PyObject *resultobj;
23658 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23659 long arg2 ;
23660 wxString *arg3 = 0 ;
23661 long result;
23662 bool temp3 = false ;
23663 PyObject * obj0 = 0 ;
23664 PyObject * obj1 = 0 ;
23665 PyObject * obj2 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self",(char *) "index",(char *) "label", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23673 arg2 = (long)SWIG_As_long(obj1);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 {
23676 arg3 = wxString_in_helper(obj2);
23677 if (arg3 == NULL) SWIG_fail;
23678 temp3 = true;
23679 }
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23683
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 resultobj = SWIG_From_long((long)result);
23688 {
23689 if (temp3)
23690 delete arg3;
23691 }
23692 return resultobj;
23693 fail:
23694 {
23695 if (temp3)
23696 delete arg3;
23697 }
23698 return NULL;
23699 }
23700
23701
23702 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
23703 PyObject *resultobj;
23704 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23705 long arg2 ;
23706 int arg3 ;
23707 long result;
23708 PyObject * obj0 = 0 ;
23709 PyObject * obj1 = 0 ;
23710 PyObject * obj2 = 0 ;
23711 char *kwnames[] = {
23712 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23713 };
23714
23715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23718 arg2 = (long)SWIG_As_long(obj1);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 arg3 = (int)SWIG_As_int(obj2);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 {
23723 PyThreadState* __tstate = wxPyBeginAllowThreads();
23724 result = (long)(arg1)->InsertItem(arg2,arg3);
23725
23726 wxPyEndAllowThreads(__tstate);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 resultobj = SWIG_From_long((long)result);
23730 return resultobj;
23731 fail:
23732 return NULL;
23733 }
23734
23735
23736 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
23737 PyObject *resultobj;
23738 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23739 long arg2 ;
23740 wxString *arg3 = 0 ;
23741 int arg4 ;
23742 long result;
23743 bool temp3 = false ;
23744 PyObject * obj0 = 0 ;
23745 PyObject * obj1 = 0 ;
23746 PyObject * obj2 = 0 ;
23747 PyObject * obj3 = 0 ;
23748 char *kwnames[] = {
23749 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23750 };
23751
23752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23755 arg2 = (long)SWIG_As_long(obj1);
23756 if (PyErr_Occurred()) SWIG_fail;
23757 {
23758 arg3 = wxString_in_helper(obj2);
23759 if (arg3 == NULL) SWIG_fail;
23760 temp3 = true;
23761 }
23762 arg4 = (int)SWIG_As_int(obj3);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23767
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 resultobj = SWIG_From_long((long)result);
23772 {
23773 if (temp3)
23774 delete arg3;
23775 }
23776 return resultobj;
23777 fail:
23778 {
23779 if (temp3)
23780 delete arg3;
23781 }
23782 return NULL;
23783 }
23784
23785
23786 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23789 long arg2 ;
23790 wxListItem *arg3 = 0 ;
23791 long result;
23792 PyObject * obj0 = 0 ;
23793 PyObject * obj1 = 0 ;
23794 PyObject * obj2 = 0 ;
23795 char *kwnames[] = {
23796 (char *) "self",(char *) "col",(char *) "info", NULL
23797 };
23798
23799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23802 arg2 = (long)SWIG_As_long(obj1);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23805 SWIG_POINTER_EXCEPTION | 0)) == -1)
23806 SWIG_fail;
23807 if (arg3 == NULL) {
23808 PyErr_SetString(PyExc_TypeError,"null reference");
23809 SWIG_fail;
23810 }
23811 {
23812 PyThreadState* __tstate = wxPyBeginAllowThreads();
23813 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23814
23815 wxPyEndAllowThreads(__tstate);
23816 if (PyErr_Occurred()) SWIG_fail;
23817 }
23818 resultobj = SWIG_From_long((long)result);
23819 return resultobj;
23820 fail:
23821 return NULL;
23822 }
23823
23824
23825 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23826 PyObject *resultobj;
23827 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23828 long arg2 ;
23829 wxString *arg3 = 0 ;
23830 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23831 int arg5 = (int) -1 ;
23832 long result;
23833 bool temp3 = false ;
23834 PyObject * obj0 = 0 ;
23835 PyObject * obj1 = 0 ;
23836 PyObject * obj2 = 0 ;
23837 PyObject * obj3 = 0 ;
23838 PyObject * obj4 = 0 ;
23839 char *kwnames[] = {
23840 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23841 };
23842
23843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23846 arg2 = (long)SWIG_As_long(obj1);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 {
23849 arg3 = wxString_in_helper(obj2);
23850 if (arg3 == NULL) SWIG_fail;
23851 temp3 = true;
23852 }
23853 if (obj3) {
23854 arg4 = (int)SWIG_As_int(obj3);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 if (obj4) {
23858 arg5 = (int)SWIG_As_int(obj4);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 resultobj = SWIG_From_long((long)result);
23869 {
23870 if (temp3)
23871 delete arg3;
23872 }
23873 return resultobj;
23874 fail:
23875 {
23876 if (temp3)
23877 delete arg3;
23878 }
23879 return NULL;
23880 }
23881
23882
23883 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
23884 PyObject *resultobj;
23885 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23886 long arg2 ;
23887 PyObject * obj0 = 0 ;
23888 PyObject * obj1 = 0 ;
23889 char *kwnames[] = {
23890 (char *) "self",(char *) "count", NULL
23891 };
23892
23893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23896 arg2 = (long)SWIG_As_long(obj1);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 {
23899 PyThreadState* __tstate = wxPyBeginAllowThreads();
23900 (arg1)->SetItemCount(arg2);
23901
23902 wxPyEndAllowThreads(__tstate);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 Py_INCREF(Py_None); resultobj = Py_None;
23906 return resultobj;
23907 fail:
23908 return NULL;
23909 }
23910
23911
23912 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
23913 PyObject *resultobj;
23914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23915 int arg2 ;
23916 int arg3 ;
23917 bool result;
23918 PyObject * obj0 = 0 ;
23919 PyObject * obj1 = 0 ;
23920 PyObject * obj2 = 0 ;
23921 char *kwnames[] = {
23922 (char *) "self",(char *) "dx",(char *) "dy", NULL
23923 };
23924
23925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23928 arg2 = (int)SWIG_As_int(obj1);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 arg3 = (int)SWIG_As_int(obj2);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 {
23933 PyThreadState* __tstate = wxPyBeginAllowThreads();
23934 result = (bool)(arg1)->ScrollList(arg2,arg3);
23935
23936 wxPyEndAllowThreads(__tstate);
23937 if (PyErr_Occurred()) SWIG_fail;
23938 }
23939 {
23940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23941 }
23942 return resultobj;
23943 fail:
23944 return NULL;
23945 }
23946
23947
23948 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23949 PyObject *resultobj;
23950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23951 long arg2 ;
23952 wxColour *arg3 = 0 ;
23953 wxColour temp3 ;
23954 PyObject * obj0 = 0 ;
23955 PyObject * obj1 = 0 ;
23956 PyObject * obj2 = 0 ;
23957 char *kwnames[] = {
23958 (char *) "self",(char *) "item",(char *) "col", NULL
23959 };
23960
23961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23964 arg2 = (long)SWIG_As_long(obj1);
23965 if (PyErr_Occurred()) SWIG_fail;
23966 {
23967 arg3 = &temp3;
23968 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23969 }
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23973
23974 wxPyEndAllowThreads(__tstate);
23975 if (PyErr_Occurred()) SWIG_fail;
23976 }
23977 Py_INCREF(Py_None); resultobj = Py_None;
23978 return resultobj;
23979 fail:
23980 return NULL;
23981 }
23982
23983
23984 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23985 PyObject *resultobj;
23986 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23987 long arg2 ;
23988 wxColour result;
23989 PyObject * obj0 = 0 ;
23990 PyObject * obj1 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self",(char *) "item", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23998 arg2 = (long)SWIG_As_long(obj1);
23999 if (PyErr_Occurred()) SWIG_fail;
24000 {
24001 PyThreadState* __tstate = wxPyBeginAllowThreads();
24002 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 {
24008 wxColour * resultptr;
24009 resultptr = new wxColour((wxColour &) result);
24010 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24011 }
24012 return resultobj;
24013 fail:
24014 return NULL;
24015 }
24016
24017
24018 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj;
24020 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24021 long arg2 ;
24022 wxColour *arg3 = 0 ;
24023 wxColour temp3 ;
24024 PyObject * obj0 = 0 ;
24025 PyObject * obj1 = 0 ;
24026 PyObject * obj2 = 0 ;
24027 char *kwnames[] = {
24028 (char *) "self",(char *) "item",(char *) "col", NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24034 arg2 = (long)SWIG_As_long(obj1);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 {
24037 arg3 = &temp3;
24038 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24039 }
24040 {
24041 PyThreadState* __tstate = wxPyBeginAllowThreads();
24042 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
24043
24044 wxPyEndAllowThreads(__tstate);
24045 if (PyErr_Occurred()) SWIG_fail;
24046 }
24047 Py_INCREF(Py_None); resultobj = Py_None;
24048 return resultobj;
24049 fail:
24050 return NULL;
24051 }
24052
24053
24054 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24055 PyObject *resultobj;
24056 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24057 long arg2 ;
24058 wxColour result;
24059 PyObject * obj0 = 0 ;
24060 PyObject * obj1 = 0 ;
24061 char *kwnames[] = {
24062 (char *) "self",(char *) "item", NULL
24063 };
24064
24065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24068 arg2 = (long)SWIG_As_long(obj1);
24069 if (PyErr_Occurred()) SWIG_fail;
24070 {
24071 PyThreadState* __tstate = wxPyBeginAllowThreads();
24072 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
24073
24074 wxPyEndAllowThreads(__tstate);
24075 if (PyErr_Occurred()) SWIG_fail;
24076 }
24077 {
24078 wxColour * resultptr;
24079 resultptr = new wxColour((wxColour &) result);
24080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24081 }
24082 return resultobj;
24083 fail:
24084 return NULL;
24085 }
24086
24087
24088 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
24089 PyObject *resultobj;
24090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24091 PyObject *arg2 = (PyObject *) 0 ;
24092 bool result;
24093 PyObject * obj0 = 0 ;
24094 PyObject * obj1 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "self",(char *) "func", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
24100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24102 arg2 = obj1;
24103 {
24104 PyThreadState* __tstate = wxPyBeginAllowThreads();
24105 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
24106
24107 wxPyEndAllowThreads(__tstate);
24108 if (PyErr_Occurred()) SWIG_fail;
24109 }
24110 {
24111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24112 }
24113 return resultobj;
24114 fail:
24115 return NULL;
24116 }
24117
24118
24119 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24120 PyObject *resultobj;
24121 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24122 wxWindow *result;
24123 PyObject * obj0 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "self", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
24129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
24134
24135 wxPyEndAllowThreads(__tstate);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 {
24139 resultobj = wxPyMake_wxObject(result, 0);
24140 }
24141 return resultobj;
24142 fail:
24143 return NULL;
24144 }
24145
24146
24147 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
24148 PyObject *resultobj;
24149 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
24150 wxVisualAttributes result;
24151 PyObject * obj0 = 0 ;
24152 char *kwnames[] = {
24153 (char *) "variant", NULL
24154 };
24155
24156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
24157 if (obj0) {
24158 arg1 = (int)SWIG_As_int(obj0);
24159 if (PyErr_Occurred()) SWIG_fail;
24160 }
24161 {
24162 if (!wxPyCheckForApp()) SWIG_fail;
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
24165
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 {
24170 wxVisualAttributes * resultptr;
24171 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
24172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
24173 }
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
24181 PyObject *obj;
24182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24183 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
24184 Py_INCREF(obj);
24185 return Py_BuildValue((char *)"");
24186 }
24187 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj;
24189 wxWindow *arg1 = (wxWindow *) 0 ;
24190 int arg2 = (int) -1 ;
24191 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24192 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24193 wxSize const &arg4_defvalue = wxDefaultSize ;
24194 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24195 long arg5 = (long) wxLC_REPORT ;
24196 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24197 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24198 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
24199 wxString *arg7 = (wxString *) &arg7_defvalue ;
24200 wxListView *result;
24201 wxPoint temp3 ;
24202 wxSize temp4 ;
24203 bool temp7 = false ;
24204 PyObject * obj0 = 0 ;
24205 PyObject * obj1 = 0 ;
24206 PyObject * obj2 = 0 ;
24207 PyObject * obj3 = 0 ;
24208 PyObject * obj4 = 0 ;
24209 PyObject * obj5 = 0 ;
24210 PyObject * obj6 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24218 if (obj1) {
24219 arg2 = (int)SWIG_As_int(obj1);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 }
24222 if (obj2) {
24223 {
24224 arg3 = &temp3;
24225 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24226 }
24227 }
24228 if (obj3) {
24229 {
24230 arg4 = &temp4;
24231 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24232 }
24233 }
24234 if (obj4) {
24235 arg5 = (long)SWIG_As_long(obj4);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 if (obj5) {
24239 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24240 SWIG_POINTER_EXCEPTION | 0)) == -1)
24241 SWIG_fail;
24242 if (arg6 == NULL) {
24243 PyErr_SetString(PyExc_TypeError,"null reference");
24244 SWIG_fail;
24245 }
24246 }
24247 if (obj6) {
24248 {
24249 arg7 = wxString_in_helper(obj6);
24250 if (arg7 == NULL) SWIG_fail;
24251 temp7 = true;
24252 }
24253 }
24254 {
24255 if (!wxPyCheckForApp()) SWIG_fail;
24256 PyThreadState* __tstate = wxPyBeginAllowThreads();
24257 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24258
24259 wxPyEndAllowThreads(__tstate);
24260 if (PyErr_Occurred()) SWIG_fail;
24261 }
24262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24263 {
24264 if (temp7)
24265 delete arg7;
24266 }
24267 return resultobj;
24268 fail:
24269 {
24270 if (temp7)
24271 delete arg7;
24272 }
24273 return NULL;
24274 }
24275
24276
24277 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
24278 PyObject *resultobj;
24279 wxListView *result;
24280 char *kwnames[] = {
24281 NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
24285 {
24286 if (!wxPyCheckForApp()) SWIG_fail;
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 result = (wxListView *)new wxListView();
24289
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24294 return resultobj;
24295 fail:
24296 return NULL;
24297 }
24298
24299
24300 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
24301 PyObject *resultobj;
24302 wxListView *arg1 = (wxListView *) 0 ;
24303 wxWindow *arg2 = (wxWindow *) 0 ;
24304 int arg3 = (int) -1 ;
24305 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24306 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24307 wxSize const &arg5_defvalue = wxDefaultSize ;
24308 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24309 long arg6 = (long) wxLC_REPORT ;
24310 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24311 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24312 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
24313 wxString *arg8 = (wxString *) &arg8_defvalue ;
24314 bool result;
24315 wxPoint temp4 ;
24316 wxSize temp5 ;
24317 bool temp8 = false ;
24318 PyObject * obj0 = 0 ;
24319 PyObject * obj1 = 0 ;
24320 PyObject * obj2 = 0 ;
24321 PyObject * obj3 = 0 ;
24322 PyObject * obj4 = 0 ;
24323 PyObject * obj5 = 0 ;
24324 PyObject * obj6 = 0 ;
24325 PyObject * obj7 = 0 ;
24326 char *kwnames[] = {
24327 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24328 };
24329
24330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24335 if (obj2) {
24336 arg3 = (int)SWIG_As_int(obj2);
24337 if (PyErr_Occurred()) SWIG_fail;
24338 }
24339 if (obj3) {
24340 {
24341 arg4 = &temp4;
24342 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24343 }
24344 }
24345 if (obj4) {
24346 {
24347 arg5 = &temp5;
24348 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24349 }
24350 }
24351 if (obj5) {
24352 arg6 = (long)SWIG_As_long(obj5);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 if (obj6) {
24356 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24357 SWIG_POINTER_EXCEPTION | 0)) == -1)
24358 SWIG_fail;
24359 if (arg7 == NULL) {
24360 PyErr_SetString(PyExc_TypeError,"null reference");
24361 SWIG_fail;
24362 }
24363 }
24364 if (obj7) {
24365 {
24366 arg8 = wxString_in_helper(obj7);
24367 if (arg8 == NULL) SWIG_fail;
24368 temp8 = true;
24369 }
24370 }
24371 {
24372 PyThreadState* __tstate = wxPyBeginAllowThreads();
24373 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24374
24375 wxPyEndAllowThreads(__tstate);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 {
24379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24380 }
24381 {
24382 if (temp8)
24383 delete arg8;
24384 }
24385 return resultobj;
24386 fail:
24387 {
24388 if (temp8)
24389 delete arg8;
24390 }
24391 return NULL;
24392 }
24393
24394
24395 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
24396 PyObject *resultobj;
24397 wxListView *arg1 = (wxListView *) 0 ;
24398 long arg2 ;
24399 bool arg3 = (bool) true ;
24400 PyObject * obj0 = 0 ;
24401 PyObject * obj1 = 0 ;
24402 PyObject * obj2 = 0 ;
24403 char *kwnames[] = {
24404 (char *) "self",(char *) "n",(char *) "on", NULL
24405 };
24406
24407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
24408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24410 arg2 = (long)SWIG_As_long(obj1);
24411 if (PyErr_Occurred()) SWIG_fail;
24412 if (obj2) {
24413 arg3 = (bool)SWIG_As_bool(obj2);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 (arg1)->Select(arg2,arg3);
24419
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 Py_INCREF(Py_None); resultobj = Py_None;
24424 return resultobj;
24425 fail:
24426 return NULL;
24427 }
24428
24429
24430 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxListView *arg1 = (wxListView *) 0 ;
24433 long arg2 ;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 char *kwnames[] = {
24437 (char *) "self",(char *) "index", NULL
24438 };
24439
24440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
24441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24443 arg2 = (long)SWIG_As_long(obj1);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 {
24446 PyThreadState* __tstate = wxPyBeginAllowThreads();
24447 (arg1)->Focus(arg2);
24448
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 Py_INCREF(Py_None); resultobj = Py_None;
24453 return resultobj;
24454 fail:
24455 return NULL;
24456 }
24457
24458
24459 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
24460 PyObject *resultobj;
24461 wxListView *arg1 = (wxListView *) 0 ;
24462 long result;
24463 PyObject * obj0 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
24469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 result = (long)((wxListView const *)arg1)->GetFocusedItem();
24474
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 resultobj = SWIG_From_long((long)result);
24479 return resultobj;
24480 fail:
24481 return NULL;
24482 }
24483
24484
24485 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24486 PyObject *resultobj;
24487 wxListView *arg1 = (wxListView *) 0 ;
24488 long arg2 ;
24489 long result;
24490 PyObject * obj0 = 0 ;
24491 PyObject * obj1 = 0 ;
24492 char *kwnames[] = {
24493 (char *) "self",(char *) "item", NULL
24494 };
24495
24496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
24497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24499 arg2 = (long)SWIG_As_long(obj1);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
24504
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 resultobj = SWIG_From_long((long)result);
24509 return resultobj;
24510 fail:
24511 return NULL;
24512 }
24513
24514
24515 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24516 PyObject *resultobj;
24517 wxListView *arg1 = (wxListView *) 0 ;
24518 long result;
24519 PyObject * obj0 = 0 ;
24520 char *kwnames[] = {
24521 (char *) "self", NULL
24522 };
24523
24524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
24525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24527 {
24528 PyThreadState* __tstate = wxPyBeginAllowThreads();
24529 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24530
24531 wxPyEndAllowThreads(__tstate);
24532 if (PyErr_Occurred()) SWIG_fail;
24533 }
24534 resultobj = SWIG_From_long((long)result);
24535 return resultobj;
24536 fail:
24537 return NULL;
24538 }
24539
24540
24541 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24542 PyObject *resultobj;
24543 wxListView *arg1 = (wxListView *) 0 ;
24544 long arg2 ;
24545 bool result;
24546 PyObject * obj0 = 0 ;
24547 PyObject * obj1 = 0 ;
24548 char *kwnames[] = {
24549 (char *) "self",(char *) "index", NULL
24550 };
24551
24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24555 arg2 = (long)SWIG_As_long(obj1);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 result = (bool)(arg1)->IsSelected(arg2);
24560
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 {
24565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24566 }
24567 return resultobj;
24568 fail:
24569 return NULL;
24570 }
24571
24572
24573 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxListView *arg1 = (wxListView *) 0 ;
24576 int arg2 ;
24577 int arg3 ;
24578 PyObject * obj0 = 0 ;
24579 PyObject * obj1 = 0 ;
24580 PyObject * obj2 = 0 ;
24581 char *kwnames[] = {
24582 (char *) "self",(char *) "col",(char *) "image", NULL
24583 };
24584
24585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24588 arg2 = (int)SWIG_As_int(obj1);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 arg3 = (int)SWIG_As_int(obj2);
24591 if (PyErr_Occurred()) SWIG_fail;
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
24594 (arg1)->SetColumnImage(arg2,arg3);
24595
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 Py_INCREF(Py_None); resultobj = Py_None;
24600 return resultobj;
24601 fail:
24602 return NULL;
24603 }
24604
24605
24606 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
24607 PyObject *resultobj;
24608 wxListView *arg1 = (wxListView *) 0 ;
24609 int arg2 ;
24610 PyObject * obj0 = 0 ;
24611 PyObject * obj1 = 0 ;
24612 char *kwnames[] = {
24613 (char *) "self",(char *) "col", NULL
24614 };
24615
24616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24619 arg2 = (int)SWIG_As_int(obj1);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 (arg1)->ClearColumnImage(arg2);
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
24628 Py_INCREF(Py_None); resultobj = Py_None;
24629 return resultobj;
24630 fail:
24631 return NULL;
24632 }
24633
24634
24635 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
24636 PyObject *obj;
24637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24638 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24639 Py_INCREF(obj);
24640 return Py_BuildValue((char *)"");
24641 }
24642 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
24643 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24644 return 1;
24645 }
24646
24647
24648 static PyObject *_wrap_TreeCtrlNameStr_get() {
24649 PyObject *pyobj;
24650
24651 {
24652 #if wxUSE_UNICODE
24653 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24654 #else
24655 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24656 #endif
24657 }
24658 return pyobj;
24659 }
24660
24661
24662 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
24663 PyObject *resultobj;
24664 wxTreeItemId *result;
24665 char *kwnames[] = {
24666 NULL
24667 };
24668
24669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
24672 result = (wxTreeItemId *)new wxTreeItemId();
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24678 return resultobj;
24679 fail:
24680 return NULL;
24681 }
24682
24683
24684 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
24685 PyObject *resultobj;
24686 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24687 PyObject * obj0 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24695 {
24696 PyThreadState* __tstate = wxPyBeginAllowThreads();
24697 delete arg1;
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 Py_INCREF(Py_None); resultobj = Py_None;
24703 return resultobj;
24704 fail:
24705 return NULL;
24706 }
24707
24708
24709 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
24710 PyObject *resultobj;
24711 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24712 bool result;
24713 PyObject * obj0 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24724
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 {
24729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24730 }
24731 return resultobj;
24732 fail:
24733 return NULL;
24734 }
24735
24736
24737 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
24738 PyObject *resultobj;
24739 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24740 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24741 bool result;
24742 PyObject * obj0 = 0 ;
24743 PyObject * obj1 = 0 ;
24744 char *kwnames[] = {
24745 (char *) "self",(char *) "other", NULL
24746 };
24747
24748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24751 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24753 {
24754 PyThreadState* __tstate = wxPyBeginAllowThreads();
24755 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24756
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 {
24761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24762 }
24763 return resultobj;
24764 fail:
24765 return NULL;
24766 }
24767
24768
24769 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
24770 PyObject *resultobj;
24771 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24772 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24773 bool result;
24774 PyObject * obj0 = 0 ;
24775 PyObject * obj1 = 0 ;
24776 char *kwnames[] = {
24777 (char *) "self",(char *) "other", NULL
24778 };
24779
24780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24785 {
24786 PyThreadState* __tstate = wxPyBeginAllowThreads();
24787 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24788
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
24792 {
24793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24794 }
24795 return resultobj;
24796 fail:
24797 return NULL;
24798 }
24799
24800
24801 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
24802 PyObject *resultobj;
24803 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24804 void *arg2 = (void *) 0 ;
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self",(char *) "m_pItem", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24814 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24815 if (arg1) (arg1)->m_pItem = arg2;
24816
24817 Py_INCREF(Py_None); resultobj = Py_None;
24818 return resultobj;
24819 fail:
24820 return NULL;
24821 }
24822
24823
24824 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
24825 PyObject *resultobj;
24826 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24827 void *result;
24828 PyObject * obj0 = 0 ;
24829 char *kwnames[] = {
24830 (char *) "self", NULL
24831 };
24832
24833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24836 result = (void *) ((arg1)->m_pItem);
24837
24838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24839 return resultobj;
24840 fail:
24841 return NULL;
24842 }
24843
24844
24845 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
24846 PyObject *obj;
24847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24848 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24849 Py_INCREF(obj);
24850 return Py_BuildValue((char *)"");
24851 }
24852 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24853 PyObject *resultobj;
24854 PyObject *arg1 = (PyObject *) NULL ;
24855 wxPyTreeItemData *result;
24856 PyObject * obj0 = 0 ;
24857 char *kwnames[] = {
24858 (char *) "obj", NULL
24859 };
24860
24861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24862 if (obj0) {
24863 arg1 = obj0;
24864 }
24865 {
24866 PyThreadState* __tstate = wxPyBeginAllowThreads();
24867 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24868
24869 wxPyEndAllowThreads(__tstate);
24870 if (PyErr_Occurred()) SWIG_fail;
24871 }
24872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24873 return resultobj;
24874 fail:
24875 return NULL;
24876 }
24877
24878
24879 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
24880 PyObject *resultobj;
24881 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24882 PyObject *result;
24883 PyObject * obj0 = 0 ;
24884 char *kwnames[] = {
24885 (char *) "self", NULL
24886 };
24887
24888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24891 {
24892 PyThreadState* __tstate = wxPyBeginAllowThreads();
24893 result = (PyObject *)(arg1)->GetData();
24894
24895 wxPyEndAllowThreads(__tstate);
24896 if (PyErr_Occurred()) SWIG_fail;
24897 }
24898 resultobj = result;
24899 return resultobj;
24900 fail:
24901 return NULL;
24902 }
24903
24904
24905 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
24906 PyObject *resultobj;
24907 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24908 PyObject *arg2 = (PyObject *) 0 ;
24909 PyObject * obj0 = 0 ;
24910 PyObject * obj1 = 0 ;
24911 char *kwnames[] = {
24912 (char *) "self",(char *) "obj", NULL
24913 };
24914
24915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24918 arg2 = obj1;
24919 {
24920 PyThreadState* __tstate = wxPyBeginAllowThreads();
24921 (arg1)->SetData(arg2);
24922
24923 wxPyEndAllowThreads(__tstate);
24924 if (PyErr_Occurred()) SWIG_fail;
24925 }
24926 Py_INCREF(Py_None); resultobj = Py_None;
24927 return resultobj;
24928 fail:
24929 return NULL;
24930 }
24931
24932
24933 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
24934 PyObject *resultobj;
24935 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24936 wxTreeItemId *result;
24937 PyObject * obj0 = 0 ;
24938 char *kwnames[] = {
24939 (char *) "self", NULL
24940 };
24941
24942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24945 {
24946 PyThreadState* __tstate = wxPyBeginAllowThreads();
24947 {
24948 wxTreeItemId const &_result_ref = (arg1)->GetId();
24949 result = (wxTreeItemId *) &_result_ref;
24950 }
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24956 return resultobj;
24957 fail:
24958 return NULL;
24959 }
24960
24961
24962 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
24963 PyObject *resultobj;
24964 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24965 wxTreeItemId *arg2 = 0 ;
24966 PyObject * obj0 = 0 ;
24967 PyObject * obj1 = 0 ;
24968 char *kwnames[] = {
24969 (char *) "self",(char *) "id", NULL
24970 };
24971
24972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24976 SWIG_POINTER_EXCEPTION | 0)) == -1)
24977 SWIG_fail;
24978 if (arg2 == NULL) {
24979 PyErr_SetString(PyExc_TypeError,"null reference");
24980 SWIG_fail;
24981 }
24982 {
24983 PyThreadState* __tstate = wxPyBeginAllowThreads();
24984 (arg1)->SetId((wxTreeItemId const &)*arg2);
24985
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 Py_INCREF(Py_None); resultobj = Py_None;
24990 return resultobj;
24991 fail:
24992 return NULL;
24993 }
24994
24995
24996 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
24997 PyObject *resultobj;
24998 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24999 PyObject * obj0 = 0 ;
25000 char *kwnames[] = {
25001 (char *) "self", NULL
25002 };
25003
25004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
25005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
25006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25007 {
25008 PyThreadState* __tstate = wxPyBeginAllowThreads();
25009 wxPyTreeItemData_Destroy(arg1);
25010
25011 wxPyEndAllowThreads(__tstate);
25012 if (PyErr_Occurred()) SWIG_fail;
25013 }
25014 Py_INCREF(Py_None); resultobj = Py_None;
25015 return resultobj;
25016 fail:
25017 return NULL;
25018 }
25019
25020
25021 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
25022 PyObject *obj;
25023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25024 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
25025 Py_INCREF(obj);
25026 return Py_BuildValue((char *)"");
25027 }
25028 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25029 PyObject *resultobj;
25030 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25031 int arg2 = (int) 0 ;
25032 wxTreeEvent *result;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 char *kwnames[] = {
25036 (char *) "commandType",(char *) "id", NULL
25037 };
25038
25039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
25040 if (obj0) {
25041 arg1 = (wxEventType)SWIG_As_int(obj0);
25042 if (PyErr_Occurred()) SWIG_fail;
25043 }
25044 if (obj1) {
25045 arg2 = (int)SWIG_As_int(obj1);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
25048 {
25049 PyThreadState* __tstate = wxPyBeginAllowThreads();
25050 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
25051
25052 wxPyEndAllowThreads(__tstate);
25053 if (PyErr_Occurred()) SWIG_fail;
25054 }
25055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
25056 return resultobj;
25057 fail:
25058 return NULL;
25059 }
25060
25061
25062 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25063 PyObject *resultobj;
25064 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25065 wxTreeItemId result;
25066 PyObject * obj0 = 0 ;
25067 char *kwnames[] = {
25068 (char *) "self", NULL
25069 };
25070
25071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
25072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25074 {
25075 PyThreadState* __tstate = wxPyBeginAllowThreads();
25076 result = ((wxTreeEvent const *)arg1)->GetItem();
25077
25078 wxPyEndAllowThreads(__tstate);
25079 if (PyErr_Occurred()) SWIG_fail;
25080 }
25081 {
25082 wxTreeItemId * resultptr;
25083 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25085 }
25086 return resultobj;
25087 fail:
25088 return NULL;
25089 }
25090
25091
25092 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25093 PyObject *resultobj;
25094 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25095 wxTreeItemId *arg2 = 0 ;
25096 PyObject * obj0 = 0 ;
25097 PyObject * obj1 = 0 ;
25098 char *kwnames[] = {
25099 (char *) "self",(char *) "item", NULL
25100 };
25101
25102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
25103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25106 SWIG_POINTER_EXCEPTION | 0)) == -1)
25107 SWIG_fail;
25108 if (arg2 == NULL) {
25109 PyErr_SetString(PyExc_TypeError,"null reference");
25110 SWIG_fail;
25111 }
25112 {
25113 PyThreadState* __tstate = wxPyBeginAllowThreads();
25114 (arg1)->SetItem((wxTreeItemId const &)*arg2);
25115
25116 wxPyEndAllowThreads(__tstate);
25117 if (PyErr_Occurred()) SWIG_fail;
25118 }
25119 Py_INCREF(Py_None); resultobj = Py_None;
25120 return resultobj;
25121 fail:
25122 return NULL;
25123 }
25124
25125
25126 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
25127 PyObject *resultobj;
25128 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25129 wxTreeItemId result;
25130 PyObject * obj0 = 0 ;
25131 char *kwnames[] = {
25132 (char *) "self", NULL
25133 };
25134
25135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
25136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25138 {
25139 PyThreadState* __tstate = wxPyBeginAllowThreads();
25140 result = ((wxTreeEvent const *)arg1)->GetOldItem();
25141
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
25145 {
25146 wxTreeItemId * resultptr;
25147 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25148 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25149 }
25150 return resultobj;
25151 fail:
25152 return NULL;
25153 }
25154
25155
25156 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
25157 PyObject *resultobj;
25158 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25159 wxTreeItemId *arg2 = 0 ;
25160 PyObject * obj0 = 0 ;
25161 PyObject * obj1 = 0 ;
25162 char *kwnames[] = {
25163 (char *) "self",(char *) "item", NULL
25164 };
25165
25166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
25167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25170 SWIG_POINTER_EXCEPTION | 0)) == -1)
25171 SWIG_fail;
25172 if (arg2 == NULL) {
25173 PyErr_SetString(PyExc_TypeError,"null reference");
25174 SWIG_fail;
25175 }
25176 {
25177 PyThreadState* __tstate = wxPyBeginAllowThreads();
25178 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
25179
25180 wxPyEndAllowThreads(__tstate);
25181 if (PyErr_Occurred()) SWIG_fail;
25182 }
25183 Py_INCREF(Py_None); resultobj = Py_None;
25184 return resultobj;
25185 fail:
25186 return NULL;
25187 }
25188
25189
25190 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
25191 PyObject *resultobj;
25192 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25193 wxPoint result;
25194 PyObject * obj0 = 0 ;
25195 char *kwnames[] = {
25196 (char *) "self", NULL
25197 };
25198
25199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
25200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25202 {
25203 PyThreadState* __tstate = wxPyBeginAllowThreads();
25204 result = ((wxTreeEvent const *)arg1)->GetPoint();
25205
25206 wxPyEndAllowThreads(__tstate);
25207 if (PyErr_Occurred()) SWIG_fail;
25208 }
25209 {
25210 wxPoint * resultptr;
25211 resultptr = new wxPoint((wxPoint &) result);
25212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25213 }
25214 return resultobj;
25215 fail:
25216 return NULL;
25217 }
25218
25219
25220 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
25221 PyObject *resultobj;
25222 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25223 wxPoint *arg2 = 0 ;
25224 wxPoint temp2 ;
25225 PyObject * obj0 = 0 ;
25226 PyObject * obj1 = 0 ;
25227 char *kwnames[] = {
25228 (char *) "self",(char *) "pt", NULL
25229 };
25230
25231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
25232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25234 {
25235 arg2 = &temp2;
25236 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25237 }
25238 {
25239 PyThreadState* __tstate = wxPyBeginAllowThreads();
25240 (arg1)->SetPoint((wxPoint const &)*arg2);
25241
25242 wxPyEndAllowThreads(__tstate);
25243 if (PyErr_Occurred()) SWIG_fail;
25244 }
25245 Py_INCREF(Py_None); resultobj = Py_None;
25246 return resultobj;
25247 fail:
25248 return NULL;
25249 }
25250
25251
25252 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25253 PyObject *resultobj;
25254 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25255 wxKeyEvent *result;
25256 PyObject * obj0 = 0 ;
25257 char *kwnames[] = {
25258 (char *) "self", NULL
25259 };
25260
25261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
25262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25264 {
25265 PyThreadState* __tstate = wxPyBeginAllowThreads();
25266 {
25267 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
25268 result = (wxKeyEvent *) &_result_ref;
25269 }
25270
25271 wxPyEndAllowThreads(__tstate);
25272 if (PyErr_Occurred()) SWIG_fail;
25273 }
25274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
25275 return resultobj;
25276 fail:
25277 return NULL;
25278 }
25279
25280
25281 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
25282 PyObject *resultobj;
25283 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25284 int result;
25285 PyObject * obj0 = 0 ;
25286 char *kwnames[] = {
25287 (char *) "self", NULL
25288 };
25289
25290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
25291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25293 {
25294 PyThreadState* __tstate = wxPyBeginAllowThreads();
25295 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
25296
25297 wxPyEndAllowThreads(__tstate);
25298 if (PyErr_Occurred()) SWIG_fail;
25299 }
25300 resultobj = SWIG_From_int((int)result);
25301 return resultobj;
25302 fail:
25303 return NULL;
25304 }
25305
25306
25307 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25308 PyObject *resultobj;
25309 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25310 wxKeyEvent *arg2 = 0 ;
25311 PyObject * obj0 = 0 ;
25312 PyObject * obj1 = 0 ;
25313 char *kwnames[] = {
25314 (char *) "self",(char *) "evt", NULL
25315 };
25316
25317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
25318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
25321 SWIG_POINTER_EXCEPTION | 0)) == -1)
25322 SWIG_fail;
25323 if (arg2 == NULL) {
25324 PyErr_SetString(PyExc_TypeError,"null reference");
25325 SWIG_fail;
25326 }
25327 {
25328 PyThreadState* __tstate = wxPyBeginAllowThreads();
25329 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
25330
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
25334 Py_INCREF(Py_None); resultobj = Py_None;
25335 return resultobj;
25336 fail:
25337 return NULL;
25338 }
25339
25340
25341 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25342 PyObject *resultobj;
25343 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25344 wxString *result;
25345 PyObject * obj0 = 0 ;
25346 char *kwnames[] = {
25347 (char *) "self", NULL
25348 };
25349
25350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
25351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25353 {
25354 PyThreadState* __tstate = wxPyBeginAllowThreads();
25355 {
25356 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
25357 result = (wxString *) &_result_ref;
25358 }
25359
25360 wxPyEndAllowThreads(__tstate);
25361 if (PyErr_Occurred()) SWIG_fail;
25362 }
25363 {
25364 #if wxUSE_UNICODE
25365 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25366 #else
25367 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25368 #endif
25369 }
25370 return resultobj;
25371 fail:
25372 return NULL;
25373 }
25374
25375
25376 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25377 PyObject *resultobj;
25378 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25379 wxString *arg2 = 0 ;
25380 bool temp2 = false ;
25381 PyObject * obj0 = 0 ;
25382 PyObject * obj1 = 0 ;
25383 char *kwnames[] = {
25384 (char *) "self",(char *) "label", NULL
25385 };
25386
25387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
25388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25390 {
25391 arg2 = wxString_in_helper(obj1);
25392 if (arg2 == NULL) SWIG_fail;
25393 temp2 = true;
25394 }
25395 {
25396 PyThreadState* __tstate = wxPyBeginAllowThreads();
25397 (arg1)->SetLabel((wxString const &)*arg2);
25398
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 Py_INCREF(Py_None); resultobj = Py_None;
25403 {
25404 if (temp2)
25405 delete arg2;
25406 }
25407 return resultobj;
25408 fail:
25409 {
25410 if (temp2)
25411 delete arg2;
25412 }
25413 return NULL;
25414 }
25415
25416
25417 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj;
25419 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25420 bool result;
25421 PyObject * obj0 = 0 ;
25422 char *kwnames[] = {
25423 (char *) "self", NULL
25424 };
25425
25426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
25427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25429 {
25430 PyThreadState* __tstate = wxPyBeginAllowThreads();
25431 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
25432
25433 wxPyEndAllowThreads(__tstate);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
25436 {
25437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25438 }
25439 return resultobj;
25440 fail:
25441 return NULL;
25442 }
25443
25444
25445 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
25446 PyObject *resultobj;
25447 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25448 bool arg2 ;
25449 PyObject * obj0 = 0 ;
25450 PyObject * obj1 = 0 ;
25451 char *kwnames[] = {
25452 (char *) "self",(char *) "editCancelled", NULL
25453 };
25454
25455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
25456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25458 arg2 = (bool)SWIG_As_bool(obj1);
25459 if (PyErr_Occurred()) SWIG_fail;
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 (arg1)->SetEditCanceled(arg2);
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
25467 Py_INCREF(Py_None); resultobj = Py_None;
25468 return resultobj;
25469 fail:
25470 return NULL;
25471 }
25472
25473
25474 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj;
25476 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25477 wxString *arg2 = 0 ;
25478 bool temp2 = false ;
25479 PyObject * obj0 = 0 ;
25480 PyObject * obj1 = 0 ;
25481 char *kwnames[] = {
25482 (char *) "self",(char *) "toolTip", NULL
25483 };
25484
25485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
25486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25488 {
25489 arg2 = wxString_in_helper(obj1);
25490 if (arg2 == NULL) SWIG_fail;
25491 temp2 = true;
25492 }
25493 {
25494 PyThreadState* __tstate = wxPyBeginAllowThreads();
25495 (arg1)->SetToolTip((wxString const &)*arg2);
25496
25497 wxPyEndAllowThreads(__tstate);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 Py_INCREF(Py_None); resultobj = Py_None;
25501 {
25502 if (temp2)
25503 delete arg2;
25504 }
25505 return resultobj;
25506 fail:
25507 {
25508 if (temp2)
25509 delete arg2;
25510 }
25511 return NULL;
25512 }
25513
25514
25515 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
25516 PyObject *obj;
25517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25518 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25519 Py_INCREF(obj);
25520 return Py_BuildValue((char *)"");
25521 }
25522 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25523 PyObject *resultobj;
25524 wxWindow *arg1 = (wxWindow *) 0 ;
25525 int arg2 = (int) -1 ;
25526 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25527 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25528 wxSize const &arg4_defvalue = wxDefaultSize ;
25529 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25530 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25531 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25532 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25533 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
25534 wxString *arg7 = (wxString *) &arg7_defvalue ;
25535 wxPyTreeCtrl *result;
25536 wxPoint temp3 ;
25537 wxSize temp4 ;
25538 bool temp7 = false ;
25539 PyObject * obj0 = 0 ;
25540 PyObject * obj1 = 0 ;
25541 PyObject * obj2 = 0 ;
25542 PyObject * obj3 = 0 ;
25543 PyObject * obj4 = 0 ;
25544 PyObject * obj5 = 0 ;
25545 PyObject * obj6 = 0 ;
25546 char *kwnames[] = {
25547 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25548 };
25549
25550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25553 if (obj1) {
25554 arg2 = (int)SWIG_As_int(obj1);
25555 if (PyErr_Occurred()) SWIG_fail;
25556 }
25557 if (obj2) {
25558 {
25559 arg3 = &temp3;
25560 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25561 }
25562 }
25563 if (obj3) {
25564 {
25565 arg4 = &temp4;
25566 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25567 }
25568 }
25569 if (obj4) {
25570 arg5 = (long)SWIG_As_long(obj4);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 if (obj5) {
25574 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25575 SWIG_POINTER_EXCEPTION | 0)) == -1)
25576 SWIG_fail;
25577 if (arg6 == NULL) {
25578 PyErr_SetString(PyExc_TypeError,"null reference");
25579 SWIG_fail;
25580 }
25581 }
25582 if (obj6) {
25583 {
25584 arg7 = wxString_in_helper(obj6);
25585 if (arg7 == NULL) SWIG_fail;
25586 temp7 = true;
25587 }
25588 }
25589 {
25590 if (!wxPyCheckForApp()) SWIG_fail;
25591 PyThreadState* __tstate = wxPyBeginAllowThreads();
25592 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25593
25594 wxPyEndAllowThreads(__tstate);
25595 if (PyErr_Occurred()) SWIG_fail;
25596 }
25597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25598 {
25599 if (temp7)
25600 delete arg7;
25601 }
25602 return resultobj;
25603 fail:
25604 {
25605 if (temp7)
25606 delete arg7;
25607 }
25608 return NULL;
25609 }
25610
25611
25612 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj;
25614 wxPyTreeCtrl *result;
25615 char *kwnames[] = {
25616 NULL
25617 };
25618
25619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25620 {
25621 if (!wxPyCheckForApp()) SWIG_fail;
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25629 return resultobj;
25630 fail:
25631 return NULL;
25632 }
25633
25634
25635 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
25636 PyObject *resultobj;
25637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25638 wxWindow *arg2 = (wxWindow *) 0 ;
25639 int arg3 = (int) -1 ;
25640 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25641 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25642 wxSize const &arg5_defvalue = wxDefaultSize ;
25643 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25644 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25645 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25646 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25647 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25648 wxString *arg8 = (wxString *) &arg8_defvalue ;
25649 bool result;
25650 wxPoint temp4 ;
25651 wxSize temp5 ;
25652 bool temp8 = false ;
25653 PyObject * obj0 = 0 ;
25654 PyObject * obj1 = 0 ;
25655 PyObject * obj2 = 0 ;
25656 PyObject * obj3 = 0 ;
25657 PyObject * obj4 = 0 ;
25658 PyObject * obj5 = 0 ;
25659 PyObject * obj6 = 0 ;
25660 PyObject * obj7 = 0 ;
25661 char *kwnames[] = {
25662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25663 };
25664
25665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25670 if (obj2) {
25671 arg3 = (int)SWIG_As_int(obj2);
25672 if (PyErr_Occurred()) SWIG_fail;
25673 }
25674 if (obj3) {
25675 {
25676 arg4 = &temp4;
25677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25678 }
25679 }
25680 if (obj4) {
25681 {
25682 arg5 = &temp5;
25683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25684 }
25685 }
25686 if (obj5) {
25687 arg6 = (long)SWIG_As_long(obj5);
25688 if (PyErr_Occurred()) SWIG_fail;
25689 }
25690 if (obj6) {
25691 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25692 SWIG_POINTER_EXCEPTION | 0)) == -1)
25693 SWIG_fail;
25694 if (arg7 == NULL) {
25695 PyErr_SetString(PyExc_TypeError,"null reference");
25696 SWIG_fail;
25697 }
25698 }
25699 if (obj7) {
25700 {
25701 arg8 = wxString_in_helper(obj7);
25702 if (arg8 == NULL) SWIG_fail;
25703 temp8 = true;
25704 }
25705 }
25706 {
25707 PyThreadState* __tstate = wxPyBeginAllowThreads();
25708 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25709
25710 wxPyEndAllowThreads(__tstate);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 }
25713 {
25714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25715 }
25716 {
25717 if (temp8)
25718 delete arg8;
25719 }
25720 return resultobj;
25721 fail:
25722 {
25723 if (temp8)
25724 delete arg8;
25725 }
25726 return NULL;
25727 }
25728
25729
25730 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25731 PyObject *resultobj;
25732 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25733 PyObject *arg2 = (PyObject *) 0 ;
25734 PyObject *arg3 = (PyObject *) 0 ;
25735 PyObject * obj0 = 0 ;
25736 PyObject * obj1 = 0 ;
25737 PyObject * obj2 = 0 ;
25738 char *kwnames[] = {
25739 (char *) "self",(char *) "self",(char *) "_class", NULL
25740 };
25741
25742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25745 arg2 = obj1;
25746 arg3 = obj2;
25747 {
25748 PyThreadState* __tstate = wxPyBeginAllowThreads();
25749 (arg1)->_setCallbackInfo(arg2,arg3);
25750
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 Py_INCREF(Py_None); resultobj = Py_None;
25755 return resultobj;
25756 fail:
25757 return NULL;
25758 }
25759
25760
25761 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj;
25763 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25764 size_t result;
25765 PyObject * obj0 = 0 ;
25766 char *kwnames[] = {
25767 (char *) "self", NULL
25768 };
25769
25770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25773 {
25774 PyThreadState* __tstate = wxPyBeginAllowThreads();
25775 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25776
25777 wxPyEndAllowThreads(__tstate);
25778 if (PyErr_Occurred()) SWIG_fail;
25779 }
25780 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25781 return resultobj;
25782 fail:
25783 return NULL;
25784 }
25785
25786
25787 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
25788 PyObject *resultobj;
25789 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25790 unsigned int result;
25791 PyObject * obj0 = 0 ;
25792 char *kwnames[] = {
25793 (char *) "self", NULL
25794 };
25795
25796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25799 {
25800 PyThreadState* __tstate = wxPyBeginAllowThreads();
25801 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25802
25803 wxPyEndAllowThreads(__tstate);
25804 if (PyErr_Occurred()) SWIG_fail;
25805 }
25806 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
25807 return resultobj;
25808 fail:
25809 return NULL;
25810 }
25811
25812
25813 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
25814 PyObject *resultobj;
25815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25816 unsigned int arg2 ;
25817 PyObject * obj0 = 0 ;
25818 PyObject * obj1 = 0 ;
25819 char *kwnames[] = {
25820 (char *) "self",(char *) "indent", NULL
25821 };
25822
25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25826 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 {
25829 PyThreadState* __tstate = wxPyBeginAllowThreads();
25830 (arg1)->SetIndent(arg2);
25831
25832 wxPyEndAllowThreads(__tstate);
25833 if (PyErr_Occurred()) SWIG_fail;
25834 }
25835 Py_INCREF(Py_None); resultobj = Py_None;
25836 return resultobj;
25837 fail:
25838 return NULL;
25839 }
25840
25841
25842 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25843 PyObject *resultobj;
25844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25845 unsigned int result;
25846 PyObject * obj0 = 0 ;
25847 char *kwnames[] = {
25848 (char *) "self", NULL
25849 };
25850
25851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25854 {
25855 PyThreadState* __tstate = wxPyBeginAllowThreads();
25856 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25857
25858 wxPyEndAllowThreads(__tstate);
25859 if (PyErr_Occurred()) SWIG_fail;
25860 }
25861 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
25862 return resultobj;
25863 fail:
25864 return NULL;
25865 }
25866
25867
25868 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25869 PyObject *resultobj;
25870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25871 unsigned int arg2 ;
25872 PyObject * obj0 = 0 ;
25873 PyObject * obj1 = 0 ;
25874 char *kwnames[] = {
25875 (char *) "self",(char *) "spacing", NULL
25876 };
25877
25878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25881 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 {
25884 PyThreadState* __tstate = wxPyBeginAllowThreads();
25885 (arg1)->SetSpacing(arg2);
25886
25887 wxPyEndAllowThreads(__tstate);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
25890 Py_INCREF(Py_None); resultobj = Py_None;
25891 return resultobj;
25892 fail:
25893 return NULL;
25894 }
25895
25896
25897 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25898 PyObject *resultobj;
25899 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25900 wxImageList *result;
25901 PyObject * obj0 = 0 ;
25902 char *kwnames[] = {
25903 (char *) "self", NULL
25904 };
25905
25906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25909 {
25910 PyThreadState* __tstate = wxPyBeginAllowThreads();
25911 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25912
25913 wxPyEndAllowThreads(__tstate);
25914 if (PyErr_Occurred()) SWIG_fail;
25915 }
25916 {
25917 resultobj = wxPyMake_wxObject(result, 0);
25918 }
25919 return resultobj;
25920 fail:
25921 return NULL;
25922 }
25923
25924
25925 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25926 PyObject *resultobj;
25927 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25928 wxImageList *result;
25929 PyObject * obj0 = 0 ;
25930 char *kwnames[] = {
25931 (char *) "self", NULL
25932 };
25933
25934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25940
25941 wxPyEndAllowThreads(__tstate);
25942 if (PyErr_Occurred()) SWIG_fail;
25943 }
25944 {
25945 resultobj = wxPyMake_wxObject(result, 0);
25946 }
25947 return resultobj;
25948 fail:
25949 return NULL;
25950 }
25951
25952
25953 static PyObject *_wrap_TreeCtrl_SetImageList(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_SetImageList",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 | 0)) == -1) SWIG_fail;
25968 {
25969 PyThreadState* __tstate = wxPyBeginAllowThreads();
25970 (arg1)->SetImageList(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_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25983 PyObject *resultobj;
25984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25985 wxImageList *arg2 = (wxImageList *) 0 ;
25986 PyObject * obj0 = 0 ;
25987 PyObject * obj1 = 0 ;
25988 char *kwnames[] = {
25989 (char *) "self",(char *) "imageList", NULL
25990 };
25991
25992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25995 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25997 {
25998 PyThreadState* __tstate = wxPyBeginAllowThreads();
25999 (arg1)->SetStateImageList(arg2);
26000
26001 wxPyEndAllowThreads(__tstate);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 Py_INCREF(Py_None); resultobj = Py_None;
26005 return resultobj;
26006 fail:
26007 return NULL;
26008 }
26009
26010
26011 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26012 PyObject *resultobj;
26013 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26014 wxImageList *arg2 = (wxImageList *) 0 ;
26015 PyObject * obj0 = 0 ;
26016 PyObject * obj1 = 0 ;
26017 char *kwnames[] = {
26018 (char *) "self",(char *) "imageList", NULL
26019 };
26020
26021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
26022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
26025 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26026 {
26027 PyThreadState* __tstate = wxPyBeginAllowThreads();
26028 (arg1)->AssignImageList(arg2);
26029
26030 wxPyEndAllowThreads(__tstate);
26031 if (PyErr_Occurred()) SWIG_fail;
26032 }
26033 Py_INCREF(Py_None); resultobj = Py_None;
26034 return resultobj;
26035 fail:
26036 return NULL;
26037 }
26038
26039
26040 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26041 PyObject *resultobj;
26042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26043 wxImageList *arg2 = (wxImageList *) 0 ;
26044 PyObject * obj0 = 0 ;
26045 PyObject * obj1 = 0 ;
26046 char *kwnames[] = {
26047 (char *) "self",(char *) "imageList", NULL
26048 };
26049
26050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
26051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
26054 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26055 {
26056 PyThreadState* __tstate = wxPyBeginAllowThreads();
26057 (arg1)->AssignStateImageList(arg2);
26058
26059 wxPyEndAllowThreads(__tstate);
26060 if (PyErr_Occurred()) SWIG_fail;
26061 }
26062 Py_INCREF(Py_None); resultobj = Py_None;
26063 return resultobj;
26064 fail:
26065 return NULL;
26066 }
26067
26068
26069 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
26070 PyObject *resultobj;
26071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26072 wxTreeItemId *arg2 = 0 ;
26073 wxString result;
26074 PyObject * obj0 = 0 ;
26075 PyObject * obj1 = 0 ;
26076 char *kwnames[] = {
26077 (char *) "self",(char *) "item", NULL
26078 };
26079
26080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
26081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26084 SWIG_POINTER_EXCEPTION | 0)) == -1)
26085 SWIG_fail;
26086 if (arg2 == NULL) {
26087 PyErr_SetString(PyExc_TypeError,"null reference");
26088 SWIG_fail;
26089 }
26090 {
26091 PyThreadState* __tstate = wxPyBeginAllowThreads();
26092 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
26093
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 {
26098 #if wxUSE_UNICODE
26099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26100 #else
26101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26102 #endif
26103 }
26104 return resultobj;
26105 fail:
26106 return NULL;
26107 }
26108
26109
26110 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
26111 PyObject *resultobj;
26112 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26113 wxTreeItemId *arg2 = 0 ;
26114 int arg3 = (int) wxTreeItemIcon_Normal ;
26115 int result;
26116 PyObject * obj0 = 0 ;
26117 PyObject * obj1 = 0 ;
26118 PyObject * obj2 = 0 ;
26119 char *kwnames[] = {
26120 (char *) "self",(char *) "item",(char *) "which", NULL
26121 };
26122
26123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26127 SWIG_POINTER_EXCEPTION | 0)) == -1)
26128 SWIG_fail;
26129 if (arg2 == NULL) {
26130 PyErr_SetString(PyExc_TypeError,"null reference");
26131 SWIG_fail;
26132 }
26133 if (obj2) {
26134 arg3 = (int)SWIG_As_int(obj2);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
26140
26141 wxPyEndAllowThreads(__tstate);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 resultobj = SWIG_From_int((int)result);
26145 return resultobj;
26146 fail:
26147 return NULL;
26148 }
26149
26150
26151 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26152 PyObject *resultobj;
26153 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26154 wxTreeItemId *arg2 = 0 ;
26155 wxPyTreeItemData *result;
26156 PyObject * obj0 = 0 ;
26157 PyObject * obj1 = 0 ;
26158 char *kwnames[] = {
26159 (char *) "self",(char *) "item", NULL
26160 };
26161
26162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
26163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26166 SWIG_POINTER_EXCEPTION | 0)) == -1)
26167 SWIG_fail;
26168 if (arg2 == NULL) {
26169 PyErr_SetString(PyExc_TypeError,"null reference");
26170 SWIG_fail;
26171 }
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
26180 return resultobj;
26181 fail:
26182 return NULL;
26183 }
26184
26185
26186 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
26187 PyObject *resultobj;
26188 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26189 wxTreeItemId *arg2 = 0 ;
26190 PyObject *result;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self",(char *) "item", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
26198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26201 SWIG_POINTER_EXCEPTION | 0)) == -1)
26202 SWIG_fail;
26203 if (arg2 == NULL) {
26204 PyErr_SetString(PyExc_TypeError,"null reference");
26205 SWIG_fail;
26206 }
26207 {
26208 PyThreadState* __tstate = wxPyBeginAllowThreads();
26209 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
26210
26211 wxPyEndAllowThreads(__tstate);
26212 if (PyErr_Occurred()) SWIG_fail;
26213 }
26214 resultobj = result;
26215 return resultobj;
26216 fail:
26217 return NULL;
26218 }
26219
26220
26221 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26222 PyObject *resultobj;
26223 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26224 wxTreeItemId *arg2 = 0 ;
26225 wxColour result;
26226 PyObject * obj0 = 0 ;
26227 PyObject * obj1 = 0 ;
26228 char *kwnames[] = {
26229 (char *) "self",(char *) "item", NULL
26230 };
26231
26232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26236 SWIG_POINTER_EXCEPTION | 0)) == -1)
26237 SWIG_fail;
26238 if (arg2 == NULL) {
26239 PyErr_SetString(PyExc_TypeError,"null reference");
26240 SWIG_fail;
26241 }
26242 {
26243 PyThreadState* __tstate = wxPyBeginAllowThreads();
26244 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
26245
26246 wxPyEndAllowThreads(__tstate);
26247 if (PyErr_Occurred()) SWIG_fail;
26248 }
26249 {
26250 wxColour * resultptr;
26251 resultptr = new wxColour((wxColour &) result);
26252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26253 }
26254 return resultobj;
26255 fail:
26256 return NULL;
26257 }
26258
26259
26260 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj;
26262 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26263 wxTreeItemId *arg2 = 0 ;
26264 wxColour result;
26265 PyObject * obj0 = 0 ;
26266 PyObject * obj1 = 0 ;
26267 char *kwnames[] = {
26268 (char *) "self",(char *) "item", NULL
26269 };
26270
26271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26275 SWIG_POINTER_EXCEPTION | 0)) == -1)
26276 SWIG_fail;
26277 if (arg2 == NULL) {
26278 PyErr_SetString(PyExc_TypeError,"null reference");
26279 SWIG_fail;
26280 }
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
26284
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 {
26289 wxColour * resultptr;
26290 resultptr = new wxColour((wxColour &) result);
26291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26292 }
26293 return resultobj;
26294 fail:
26295 return NULL;
26296 }
26297
26298
26299 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26300 PyObject *resultobj;
26301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26302 wxTreeItemId *arg2 = 0 ;
26303 wxFont result;
26304 PyObject * obj0 = 0 ;
26305 PyObject * obj1 = 0 ;
26306 char *kwnames[] = {
26307 (char *) "self",(char *) "item", NULL
26308 };
26309
26310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
26311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26314 SWIG_POINTER_EXCEPTION | 0)) == -1)
26315 SWIG_fail;
26316 if (arg2 == NULL) {
26317 PyErr_SetString(PyExc_TypeError,"null reference");
26318 SWIG_fail;
26319 }
26320 {
26321 PyThreadState* __tstate = wxPyBeginAllowThreads();
26322 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
26323
26324 wxPyEndAllowThreads(__tstate);
26325 if (PyErr_Occurred()) SWIG_fail;
26326 }
26327 {
26328 wxFont * resultptr;
26329 resultptr = new wxFont((wxFont &) result);
26330 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
26331 }
26332 return resultobj;
26333 fail:
26334 return NULL;
26335 }
26336
26337
26338 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
26339 PyObject *resultobj;
26340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26341 wxTreeItemId *arg2 = 0 ;
26342 wxString *arg3 = 0 ;
26343 bool temp3 = false ;
26344 PyObject * obj0 = 0 ;
26345 PyObject * obj1 = 0 ;
26346 PyObject * obj2 = 0 ;
26347 char *kwnames[] = {
26348 (char *) "self",(char *) "item",(char *) "text", NULL
26349 };
26350
26351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
26352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26355 SWIG_POINTER_EXCEPTION | 0)) == -1)
26356 SWIG_fail;
26357 if (arg2 == NULL) {
26358 PyErr_SetString(PyExc_TypeError,"null reference");
26359 SWIG_fail;
26360 }
26361 {
26362 arg3 = wxString_in_helper(obj2);
26363 if (arg3 == NULL) SWIG_fail;
26364 temp3 = true;
26365 }
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
26369
26370 wxPyEndAllowThreads(__tstate);
26371 if (PyErr_Occurred()) SWIG_fail;
26372 }
26373 Py_INCREF(Py_None); resultobj = Py_None;
26374 {
26375 if (temp3)
26376 delete arg3;
26377 }
26378 return resultobj;
26379 fail:
26380 {
26381 if (temp3)
26382 delete arg3;
26383 }
26384 return NULL;
26385 }
26386
26387
26388 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
26389 PyObject *resultobj;
26390 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26391 wxTreeItemId *arg2 = 0 ;
26392 int arg3 ;
26393 int arg4 = (int) wxTreeItemIcon_Normal ;
26394 PyObject * obj0 = 0 ;
26395 PyObject * obj1 = 0 ;
26396 PyObject * obj2 = 0 ;
26397 PyObject * obj3 = 0 ;
26398 char *kwnames[] = {
26399 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26400 };
26401
26402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26406 SWIG_POINTER_EXCEPTION | 0)) == -1)
26407 SWIG_fail;
26408 if (arg2 == NULL) {
26409 PyErr_SetString(PyExc_TypeError,"null reference");
26410 SWIG_fail;
26411 }
26412 arg3 = (int)SWIG_As_int(obj2);
26413 if (PyErr_Occurred()) SWIG_fail;
26414 if (obj3) {
26415 arg4 = (int)SWIG_As_int(obj3);
26416 if (PyErr_Occurred()) SWIG_fail;
26417 }
26418 {
26419 PyThreadState* __tstate = wxPyBeginAllowThreads();
26420 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
26421
26422 wxPyEndAllowThreads(__tstate);
26423 if (PyErr_Occurred()) SWIG_fail;
26424 }
26425 Py_INCREF(Py_None); resultobj = Py_None;
26426 return resultobj;
26427 fail:
26428 return NULL;
26429 }
26430
26431
26432 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26433 PyObject *resultobj;
26434 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26435 wxTreeItemId *arg2 = 0 ;
26436 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
26437 PyObject * obj0 = 0 ;
26438 PyObject * obj1 = 0 ;
26439 PyObject * obj2 = 0 ;
26440 char *kwnames[] = {
26441 (char *) "self",(char *) "item",(char *) "data", NULL
26442 };
26443
26444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26448 SWIG_POINTER_EXCEPTION | 0)) == -1)
26449 SWIG_fail;
26450 if (arg2 == NULL) {
26451 PyErr_SetString(PyExc_TypeError,"null reference");
26452 SWIG_fail;
26453 }
26454 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
26455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26456 {
26457 PyThreadState* __tstate = wxPyBeginAllowThreads();
26458 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
26459
26460 wxPyEndAllowThreads(__tstate);
26461 if (PyErr_Occurred()) SWIG_fail;
26462 }
26463 Py_INCREF(Py_None); resultobj = Py_None;
26464 return resultobj;
26465 fail:
26466 return NULL;
26467 }
26468
26469
26470 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
26471 PyObject *resultobj;
26472 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26473 wxTreeItemId *arg2 = 0 ;
26474 PyObject *arg3 = (PyObject *) 0 ;
26475 PyObject * obj0 = 0 ;
26476 PyObject * obj1 = 0 ;
26477 PyObject * obj2 = 0 ;
26478 char *kwnames[] = {
26479 (char *) "self",(char *) "item",(char *) "obj", NULL
26480 };
26481
26482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26486 SWIG_POINTER_EXCEPTION | 0)) == -1)
26487 SWIG_fail;
26488 if (arg2 == NULL) {
26489 PyErr_SetString(PyExc_TypeError,"null reference");
26490 SWIG_fail;
26491 }
26492 arg3 = obj2;
26493 {
26494 PyThreadState* __tstate = wxPyBeginAllowThreads();
26495 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
26496
26497 wxPyEndAllowThreads(__tstate);
26498 if (PyErr_Occurred()) SWIG_fail;
26499 }
26500 Py_INCREF(Py_None); resultobj = Py_None;
26501 return resultobj;
26502 fail:
26503 return NULL;
26504 }
26505
26506
26507 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26508 PyObject *resultobj;
26509 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26510 wxTreeItemId *arg2 = 0 ;
26511 bool arg3 = (bool) true ;
26512 PyObject * obj0 = 0 ;
26513 PyObject * obj1 = 0 ;
26514 PyObject * obj2 = 0 ;
26515 char *kwnames[] = {
26516 (char *) "self",(char *) "item",(char *) "has", NULL
26517 };
26518
26519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
26520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26523 SWIG_POINTER_EXCEPTION | 0)) == -1)
26524 SWIG_fail;
26525 if (arg2 == NULL) {
26526 PyErr_SetString(PyExc_TypeError,"null reference");
26527 SWIG_fail;
26528 }
26529 if (obj2) {
26530 arg3 = (bool)SWIG_As_bool(obj2);
26531 if (PyErr_Occurred()) SWIG_fail;
26532 }
26533 {
26534 PyThreadState* __tstate = wxPyBeginAllowThreads();
26535 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26536
26537 wxPyEndAllowThreads(__tstate);
26538 if (PyErr_Occurred()) SWIG_fail;
26539 }
26540 Py_INCREF(Py_None); resultobj = Py_None;
26541 return resultobj;
26542 fail:
26543 return NULL;
26544 }
26545
26546
26547 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
26548 PyObject *resultobj;
26549 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26550 wxTreeItemId *arg2 = 0 ;
26551 bool arg3 = (bool) true ;
26552 PyObject * obj0 = 0 ;
26553 PyObject * obj1 = 0 ;
26554 PyObject * obj2 = 0 ;
26555 char *kwnames[] = {
26556 (char *) "self",(char *) "item",(char *) "bold", NULL
26557 };
26558
26559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
26560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26563 SWIG_POINTER_EXCEPTION | 0)) == -1)
26564 SWIG_fail;
26565 if (arg2 == NULL) {
26566 PyErr_SetString(PyExc_TypeError,"null reference");
26567 SWIG_fail;
26568 }
26569 if (obj2) {
26570 arg3 = (bool)SWIG_As_bool(obj2);
26571 if (PyErr_Occurred()) SWIG_fail;
26572 }
26573 {
26574 PyThreadState* __tstate = wxPyBeginAllowThreads();
26575 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26576
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 Py_INCREF(Py_None); resultobj = Py_None;
26581 return resultobj;
26582 fail:
26583 return NULL;
26584 }
26585
26586
26587 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
26588 PyObject *resultobj;
26589 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26590 wxTreeItemId *arg2 = 0 ;
26591 bool arg3 = (bool) true ;
26592 PyObject * obj0 = 0 ;
26593 PyObject * obj1 = 0 ;
26594 PyObject * obj2 = 0 ;
26595 char *kwnames[] = {
26596 (char *) "self",(char *) "item",(char *) "highlight", NULL
26597 };
26598
26599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
26600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26603 SWIG_POINTER_EXCEPTION | 0)) == -1)
26604 SWIG_fail;
26605 if (arg2 == NULL) {
26606 PyErr_SetString(PyExc_TypeError,"null reference");
26607 SWIG_fail;
26608 }
26609 if (obj2) {
26610 arg3 = (bool)SWIG_As_bool(obj2);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 {
26614 PyThreadState* __tstate = wxPyBeginAllowThreads();
26615 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
26616
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 Py_INCREF(Py_None); resultobj = Py_None;
26621 return resultobj;
26622 fail:
26623 return NULL;
26624 }
26625
26626
26627 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26628 PyObject *resultobj;
26629 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26630 wxTreeItemId *arg2 = 0 ;
26631 wxColour *arg3 = 0 ;
26632 wxColour temp3 ;
26633 PyObject * obj0 = 0 ;
26634 PyObject * obj1 = 0 ;
26635 PyObject * obj2 = 0 ;
26636 char *kwnames[] = {
26637 (char *) "self",(char *) "item",(char *) "col", NULL
26638 };
26639
26640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26644 SWIG_POINTER_EXCEPTION | 0)) == -1)
26645 SWIG_fail;
26646 if (arg2 == NULL) {
26647 PyErr_SetString(PyExc_TypeError,"null reference");
26648 SWIG_fail;
26649 }
26650 {
26651 arg3 = &temp3;
26652 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26653 }
26654 {
26655 PyThreadState* __tstate = wxPyBeginAllowThreads();
26656 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26657
26658 wxPyEndAllowThreads(__tstate);
26659 if (PyErr_Occurred()) SWIG_fail;
26660 }
26661 Py_INCREF(Py_None); resultobj = Py_None;
26662 return resultobj;
26663 fail:
26664 return NULL;
26665 }
26666
26667
26668 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26669 PyObject *resultobj;
26670 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26671 wxTreeItemId *arg2 = 0 ;
26672 wxColour *arg3 = 0 ;
26673 wxColour temp3 ;
26674 PyObject * obj0 = 0 ;
26675 PyObject * obj1 = 0 ;
26676 PyObject * obj2 = 0 ;
26677 char *kwnames[] = {
26678 (char *) "self",(char *) "item",(char *) "col", NULL
26679 };
26680
26681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26685 SWIG_POINTER_EXCEPTION | 0)) == -1)
26686 SWIG_fail;
26687 if (arg2 == NULL) {
26688 PyErr_SetString(PyExc_TypeError,"null reference");
26689 SWIG_fail;
26690 }
26691 {
26692 arg3 = &temp3;
26693 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26694 }
26695 {
26696 PyThreadState* __tstate = wxPyBeginAllowThreads();
26697 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26698
26699 wxPyEndAllowThreads(__tstate);
26700 if (PyErr_Occurred()) SWIG_fail;
26701 }
26702 Py_INCREF(Py_None); resultobj = Py_None;
26703 return resultobj;
26704 fail:
26705 return NULL;
26706 }
26707
26708
26709 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26710 PyObject *resultobj;
26711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26712 wxTreeItemId *arg2 = 0 ;
26713 wxFont *arg3 = 0 ;
26714 PyObject * obj0 = 0 ;
26715 PyObject * obj1 = 0 ;
26716 PyObject * obj2 = 0 ;
26717 char *kwnames[] = {
26718 (char *) "self",(char *) "item",(char *) "font", NULL
26719 };
26720
26721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26725 SWIG_POINTER_EXCEPTION | 0)) == -1)
26726 SWIG_fail;
26727 if (arg2 == NULL) {
26728 PyErr_SetString(PyExc_TypeError,"null reference");
26729 SWIG_fail;
26730 }
26731 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26732 SWIG_POINTER_EXCEPTION | 0)) == -1)
26733 SWIG_fail;
26734 if (arg3 == NULL) {
26735 PyErr_SetString(PyExc_TypeError,"null reference");
26736 SWIG_fail;
26737 }
26738 {
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
26740 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26741
26742 wxPyEndAllowThreads(__tstate);
26743 if (PyErr_Occurred()) SWIG_fail;
26744 }
26745 Py_INCREF(Py_None); resultobj = Py_None;
26746 return resultobj;
26747 fail:
26748 return NULL;
26749 }
26750
26751
26752 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26753 PyObject *resultobj;
26754 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26755 wxTreeItemId *arg2 = 0 ;
26756 bool result;
26757 PyObject * obj0 = 0 ;
26758 PyObject * obj1 = 0 ;
26759 char *kwnames[] = {
26760 (char *) "self",(char *) "item", NULL
26761 };
26762
26763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26767 SWIG_POINTER_EXCEPTION | 0)) == -1)
26768 SWIG_fail;
26769 if (arg2 == NULL) {
26770 PyErr_SetString(PyExc_TypeError,"null reference");
26771 SWIG_fail;
26772 }
26773 {
26774 PyThreadState* __tstate = wxPyBeginAllowThreads();
26775 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26776
26777 wxPyEndAllowThreads(__tstate);
26778 if (PyErr_Occurred()) SWIG_fail;
26779 }
26780 {
26781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26782 }
26783 return resultobj;
26784 fail:
26785 return NULL;
26786 }
26787
26788
26789 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26790 PyObject *resultobj;
26791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26792 wxTreeItemId *arg2 = 0 ;
26793 bool result;
26794 PyObject * obj0 = 0 ;
26795 PyObject * obj1 = 0 ;
26796 char *kwnames[] = {
26797 (char *) "self",(char *) "item", NULL
26798 };
26799
26800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26804 SWIG_POINTER_EXCEPTION | 0)) == -1)
26805 SWIG_fail;
26806 if (arg2 == NULL) {
26807 PyErr_SetString(PyExc_TypeError,"null reference");
26808 SWIG_fail;
26809 }
26810 {
26811 PyThreadState* __tstate = wxPyBeginAllowThreads();
26812 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26813
26814 wxPyEndAllowThreads(__tstate);
26815 if (PyErr_Occurred()) SWIG_fail;
26816 }
26817 {
26818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26819 }
26820 return resultobj;
26821 fail:
26822 return NULL;
26823 }
26824
26825
26826 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
26827 PyObject *resultobj;
26828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26829 wxTreeItemId *arg2 = 0 ;
26830 bool result;
26831 PyObject * obj0 = 0 ;
26832 PyObject * obj1 = 0 ;
26833 char *kwnames[] = {
26834 (char *) "self",(char *) "item", NULL
26835 };
26836
26837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26841 SWIG_POINTER_EXCEPTION | 0)) == -1)
26842 SWIG_fail;
26843 if (arg2 == NULL) {
26844 PyErr_SetString(PyExc_TypeError,"null reference");
26845 SWIG_fail;
26846 }
26847 {
26848 PyThreadState* __tstate = wxPyBeginAllowThreads();
26849 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26850
26851 wxPyEndAllowThreads(__tstate);
26852 if (PyErr_Occurred()) SWIG_fail;
26853 }
26854 {
26855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26856 }
26857 return resultobj;
26858 fail:
26859 return NULL;
26860 }
26861
26862
26863 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26864 PyObject *resultobj;
26865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26866 wxTreeItemId *arg2 = 0 ;
26867 bool result;
26868 PyObject * obj0 = 0 ;
26869 PyObject * obj1 = 0 ;
26870 char *kwnames[] = {
26871 (char *) "self",(char *) "item", NULL
26872 };
26873
26874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26878 SWIG_POINTER_EXCEPTION | 0)) == -1)
26879 SWIG_fail;
26880 if (arg2 == NULL) {
26881 PyErr_SetString(PyExc_TypeError,"null reference");
26882 SWIG_fail;
26883 }
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26887
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 {
26892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26893 }
26894 return resultobj;
26895 fail:
26896 return NULL;
26897 }
26898
26899
26900 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
26901 PyObject *resultobj;
26902 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26903 wxTreeItemId *arg2 = 0 ;
26904 bool result;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 char *kwnames[] = {
26908 (char *) "self",(char *) "item", NULL
26909 };
26910
26911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26915 SWIG_POINTER_EXCEPTION | 0)) == -1)
26916 SWIG_fail;
26917 if (arg2 == NULL) {
26918 PyErr_SetString(PyExc_TypeError,"null reference");
26919 SWIG_fail;
26920 }
26921 {
26922 PyThreadState* __tstate = wxPyBeginAllowThreads();
26923 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26924
26925 wxPyEndAllowThreads(__tstate);
26926 if (PyErr_Occurred()) SWIG_fail;
26927 }
26928 {
26929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26930 }
26931 return resultobj;
26932 fail:
26933 return NULL;
26934 }
26935
26936
26937 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
26938 PyObject *resultobj;
26939 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26940 wxTreeItemId *arg2 = 0 ;
26941 bool arg3 = (bool) true ;
26942 size_t result;
26943 PyObject * obj0 = 0 ;
26944 PyObject * obj1 = 0 ;
26945 PyObject * obj2 = 0 ;
26946 char *kwnames[] = {
26947 (char *) "self",(char *) "item",(char *) "recursively", NULL
26948 };
26949
26950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26954 SWIG_POINTER_EXCEPTION | 0)) == -1)
26955 SWIG_fail;
26956 if (arg2 == NULL) {
26957 PyErr_SetString(PyExc_TypeError,"null reference");
26958 SWIG_fail;
26959 }
26960 if (obj2) {
26961 arg3 = (bool)SWIG_As_bool(obj2);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 {
26965 PyThreadState* __tstate = wxPyBeginAllowThreads();
26966 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26967
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
26972 return resultobj;
26973 fail:
26974 return NULL;
26975 }
26976
26977
26978 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
26979 PyObject *resultobj;
26980 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26981 wxTreeItemId result;
26982 PyObject * obj0 = 0 ;
26983 char *kwnames[] = {
26984 (char *) "self", NULL
26985 };
26986
26987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26990 {
26991 PyThreadState* __tstate = wxPyBeginAllowThreads();
26992 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26993
26994 wxPyEndAllowThreads(__tstate);
26995 if (PyErr_Occurred()) SWIG_fail;
26996 }
26997 {
26998 wxTreeItemId * resultptr;
26999 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27000 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27001 }
27002 return resultobj;
27003 fail:
27004 return NULL;
27005 }
27006
27007
27008 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
27009 PyObject *resultobj;
27010 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27011 wxTreeItemId result;
27012 PyObject * obj0 = 0 ;
27013 char *kwnames[] = {
27014 (char *) "self", NULL
27015 };
27016
27017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
27018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
27022 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
27023
27024 wxPyEndAllowThreads(__tstate);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
27027 {
27028 wxTreeItemId * resultptr;
27029 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27031 }
27032 return resultobj;
27033 fail:
27034 return NULL;
27035 }
27036
27037
27038 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
27039 PyObject *resultobj;
27040 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27041 PyObject *result;
27042 PyObject * obj0 = 0 ;
27043 char *kwnames[] = {
27044 (char *) "self", NULL
27045 };
27046
27047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
27048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27050 {
27051 PyThreadState* __tstate = wxPyBeginAllowThreads();
27052 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
27053
27054 wxPyEndAllowThreads(__tstate);
27055 if (PyErr_Occurred()) SWIG_fail;
27056 }
27057 resultobj = result;
27058 return resultobj;
27059 fail:
27060 return NULL;
27061 }
27062
27063
27064 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
27065 PyObject *resultobj;
27066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27067 wxTreeItemId *arg2 = 0 ;
27068 wxTreeItemId result;
27069 PyObject * obj0 = 0 ;
27070 PyObject * obj1 = 0 ;
27071 char *kwnames[] = {
27072 (char *) "self",(char *) "item", NULL
27073 };
27074
27075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
27076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27079 SWIG_POINTER_EXCEPTION | 0)) == -1)
27080 SWIG_fail;
27081 if (arg2 == NULL) {
27082 PyErr_SetString(PyExc_TypeError,"null reference");
27083 SWIG_fail;
27084 }
27085 {
27086 PyThreadState* __tstate = wxPyBeginAllowThreads();
27087 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
27088
27089 wxPyEndAllowThreads(__tstate);
27090 if (PyErr_Occurred()) SWIG_fail;
27091 }
27092 {
27093 wxTreeItemId * resultptr;
27094 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27096 }
27097 return resultobj;
27098 fail:
27099 return NULL;
27100 }
27101
27102
27103 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
27104 PyObject *resultobj;
27105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27106 wxTreeItemId *arg2 = 0 ;
27107 PyObject *result;
27108 PyObject * obj0 = 0 ;
27109 PyObject * obj1 = 0 ;
27110 char *kwnames[] = {
27111 (char *) "self",(char *) "item", NULL
27112 };
27113
27114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
27115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27118 SWIG_POINTER_EXCEPTION | 0)) == -1)
27119 SWIG_fail;
27120 if (arg2 == NULL) {
27121 PyErr_SetString(PyExc_TypeError,"null reference");
27122 SWIG_fail;
27123 }
27124 {
27125 PyThreadState* __tstate = wxPyBeginAllowThreads();
27126 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
27127
27128 wxPyEndAllowThreads(__tstate);
27129 if (PyErr_Occurred()) SWIG_fail;
27130 }
27131 resultobj = result;
27132 return resultobj;
27133 fail:
27134 return NULL;
27135 }
27136
27137
27138 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
27139 PyObject *resultobj;
27140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27141 wxTreeItemId *arg2 = 0 ;
27142 void *arg3 = (void *) 0 ;
27143 PyObject *result;
27144 PyObject * obj0 = 0 ;
27145 PyObject * obj1 = 0 ;
27146 PyObject * obj2 = 0 ;
27147 char *kwnames[] = {
27148 (char *) "self",(char *) "item",(char *) "cookie", NULL
27149 };
27150
27151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27155 SWIG_POINTER_EXCEPTION | 0)) == -1)
27156 SWIG_fail;
27157 if (arg2 == NULL) {
27158 PyErr_SetString(PyExc_TypeError,"null reference");
27159 SWIG_fail;
27160 }
27161 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27162 {
27163 PyThreadState* __tstate = wxPyBeginAllowThreads();
27164 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
27165
27166 wxPyEndAllowThreads(__tstate);
27167 if (PyErr_Occurred()) SWIG_fail;
27168 }
27169 resultobj = result;
27170 return resultobj;
27171 fail:
27172 return NULL;
27173 }
27174
27175
27176 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
27177 PyObject *resultobj;
27178 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27179 wxTreeItemId *arg2 = 0 ;
27180 wxTreeItemId result;
27181 PyObject * obj0 = 0 ;
27182 PyObject * obj1 = 0 ;
27183 char *kwnames[] = {
27184 (char *) "self",(char *) "item", NULL
27185 };
27186
27187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
27188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27191 SWIG_POINTER_EXCEPTION | 0)) == -1)
27192 SWIG_fail;
27193 if (arg2 == NULL) {
27194 PyErr_SetString(PyExc_TypeError,"null reference");
27195 SWIG_fail;
27196 }
27197 {
27198 PyThreadState* __tstate = wxPyBeginAllowThreads();
27199 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
27200
27201 wxPyEndAllowThreads(__tstate);
27202 if (PyErr_Occurred()) SWIG_fail;
27203 }
27204 {
27205 wxTreeItemId * resultptr;
27206 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27208 }
27209 return resultobj;
27210 fail:
27211 return NULL;
27212 }
27213
27214
27215 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
27216 PyObject *resultobj;
27217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27218 wxTreeItemId *arg2 = 0 ;
27219 wxTreeItemId result;
27220 PyObject * obj0 = 0 ;
27221 PyObject * obj1 = 0 ;
27222 char *kwnames[] = {
27223 (char *) "self",(char *) "item", NULL
27224 };
27225
27226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
27227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27230 SWIG_POINTER_EXCEPTION | 0)) == -1)
27231 SWIG_fail;
27232 if (arg2 == NULL) {
27233 PyErr_SetString(PyExc_TypeError,"null reference");
27234 SWIG_fail;
27235 }
27236 {
27237 PyThreadState* __tstate = wxPyBeginAllowThreads();
27238 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
27239
27240 wxPyEndAllowThreads(__tstate);
27241 if (PyErr_Occurred()) SWIG_fail;
27242 }
27243 {
27244 wxTreeItemId * resultptr;
27245 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27247 }
27248 return resultobj;
27249 fail:
27250 return NULL;
27251 }
27252
27253
27254 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
27255 PyObject *resultobj;
27256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27257 wxTreeItemId *arg2 = 0 ;
27258 wxTreeItemId result;
27259 PyObject * obj0 = 0 ;
27260 PyObject * obj1 = 0 ;
27261 char *kwnames[] = {
27262 (char *) "self",(char *) "item", NULL
27263 };
27264
27265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
27266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27269 SWIG_POINTER_EXCEPTION | 0)) == -1)
27270 SWIG_fail;
27271 if (arg2 == NULL) {
27272 PyErr_SetString(PyExc_TypeError,"null reference");
27273 SWIG_fail;
27274 }
27275 {
27276 PyThreadState* __tstate = wxPyBeginAllowThreads();
27277 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
27278
27279 wxPyEndAllowThreads(__tstate);
27280 if (PyErr_Occurred()) SWIG_fail;
27281 }
27282 {
27283 wxTreeItemId * resultptr;
27284 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27286 }
27287 return resultobj;
27288 fail:
27289 return NULL;
27290 }
27291
27292
27293 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
27294 PyObject *resultobj;
27295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27296 wxTreeItemId result;
27297 PyObject * obj0 = 0 ;
27298 char *kwnames[] = {
27299 (char *) "self", NULL
27300 };
27301
27302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
27303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27305 {
27306 PyThreadState* __tstate = wxPyBeginAllowThreads();
27307 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
27308
27309 wxPyEndAllowThreads(__tstate);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 }
27312 {
27313 wxTreeItemId * resultptr;
27314 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27316 }
27317 return resultobj;
27318 fail:
27319 return NULL;
27320 }
27321
27322
27323 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
27324 PyObject *resultobj;
27325 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27326 wxTreeItemId *arg2 = 0 ;
27327 wxTreeItemId result;
27328 PyObject * obj0 = 0 ;
27329 PyObject * obj1 = 0 ;
27330 char *kwnames[] = {
27331 (char *) "self",(char *) "item", NULL
27332 };
27333
27334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
27335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27338 SWIG_POINTER_EXCEPTION | 0)) == -1)
27339 SWIG_fail;
27340 if (arg2 == NULL) {
27341 PyErr_SetString(PyExc_TypeError,"null reference");
27342 SWIG_fail;
27343 }
27344 {
27345 PyThreadState* __tstate = wxPyBeginAllowThreads();
27346 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
27347
27348 wxPyEndAllowThreads(__tstate);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 }
27351 {
27352 wxTreeItemId * resultptr;
27353 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27355 }
27356 return resultobj;
27357 fail:
27358 return NULL;
27359 }
27360
27361
27362 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
27363 PyObject *resultobj;
27364 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27365 wxTreeItemId *arg2 = 0 ;
27366 wxTreeItemId result;
27367 PyObject * obj0 = 0 ;
27368 PyObject * obj1 = 0 ;
27369 char *kwnames[] = {
27370 (char *) "self",(char *) "item", NULL
27371 };
27372
27373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
27374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27377 SWIG_POINTER_EXCEPTION | 0)) == -1)
27378 SWIG_fail;
27379 if (arg2 == NULL) {
27380 PyErr_SetString(PyExc_TypeError,"null reference");
27381 SWIG_fail;
27382 }
27383 {
27384 PyThreadState* __tstate = wxPyBeginAllowThreads();
27385 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
27386
27387 wxPyEndAllowThreads(__tstate);
27388 if (PyErr_Occurred()) SWIG_fail;
27389 }
27390 {
27391 wxTreeItemId * resultptr;
27392 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27393 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27394 }
27395 return resultobj;
27396 fail:
27397 return NULL;
27398 }
27399
27400
27401 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
27402 PyObject *resultobj;
27403 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27404 wxString *arg2 = 0 ;
27405 int arg3 = (int) -1 ;
27406 int arg4 = (int) -1 ;
27407 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
27408 wxTreeItemId result;
27409 bool temp2 = false ;
27410 PyObject * obj0 = 0 ;
27411 PyObject * obj1 = 0 ;
27412 PyObject * obj2 = 0 ;
27413 PyObject * obj3 = 0 ;
27414 PyObject * obj4 = 0 ;
27415 char *kwnames[] = {
27416 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27417 };
27418
27419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27422 {
27423 arg2 = wxString_in_helper(obj1);
27424 if (arg2 == NULL) SWIG_fail;
27425 temp2 = true;
27426 }
27427 if (obj2) {
27428 arg3 = (int)SWIG_As_int(obj2);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 }
27431 if (obj3) {
27432 arg4 = (int)SWIG_As_int(obj3);
27433 if (PyErr_Occurred()) SWIG_fail;
27434 }
27435 if (obj4) {
27436 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
27437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27438 }
27439 {
27440 PyThreadState* __tstate = wxPyBeginAllowThreads();
27441 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
27442
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 {
27447 wxTreeItemId * resultptr;
27448 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27450 }
27451 {
27452 if (temp2)
27453 delete arg2;
27454 }
27455 return resultobj;
27456 fail:
27457 {
27458 if (temp2)
27459 delete arg2;
27460 }
27461 return NULL;
27462 }
27463
27464
27465 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
27466 PyObject *resultobj;
27467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27468 wxTreeItemId *arg2 = 0 ;
27469 wxString *arg3 = 0 ;
27470 int arg4 = (int) -1 ;
27471 int arg5 = (int) -1 ;
27472 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27473 wxTreeItemId result;
27474 bool temp3 = false ;
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 PyObject * obj2 = 0 ;
27478 PyObject * obj3 = 0 ;
27479 PyObject * obj4 = 0 ;
27480 PyObject * obj5 = 0 ;
27481 char *kwnames[] = {
27482 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27483 };
27484
27485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27489 SWIG_POINTER_EXCEPTION | 0)) == -1)
27490 SWIG_fail;
27491 if (arg2 == NULL) {
27492 PyErr_SetString(PyExc_TypeError,"null reference");
27493 SWIG_fail;
27494 }
27495 {
27496 arg3 = wxString_in_helper(obj2);
27497 if (arg3 == NULL) SWIG_fail;
27498 temp3 = true;
27499 }
27500 if (obj3) {
27501 arg4 = (int)SWIG_As_int(obj3);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 if (obj4) {
27505 arg5 = (int)SWIG_As_int(obj4);
27506 if (PyErr_Occurred()) SWIG_fail;
27507 }
27508 if (obj5) {
27509 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27511 }
27512 {
27513 PyThreadState* __tstate = wxPyBeginAllowThreads();
27514 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27515
27516 wxPyEndAllowThreads(__tstate);
27517 if (PyErr_Occurred()) SWIG_fail;
27518 }
27519 {
27520 wxTreeItemId * resultptr;
27521 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27523 }
27524 {
27525 if (temp3)
27526 delete arg3;
27527 }
27528 return resultobj;
27529 fail:
27530 {
27531 if (temp3)
27532 delete arg3;
27533 }
27534 return NULL;
27535 }
27536
27537
27538 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
27539 PyObject *resultobj;
27540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27541 wxTreeItemId *arg2 = 0 ;
27542 wxTreeItemId *arg3 = 0 ;
27543 wxString *arg4 = 0 ;
27544 int arg5 = (int) -1 ;
27545 int arg6 = (int) -1 ;
27546 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27547 wxTreeItemId result;
27548 bool temp4 = false ;
27549 PyObject * obj0 = 0 ;
27550 PyObject * obj1 = 0 ;
27551 PyObject * obj2 = 0 ;
27552 PyObject * obj3 = 0 ;
27553 PyObject * obj4 = 0 ;
27554 PyObject * obj5 = 0 ;
27555 PyObject * obj6 = 0 ;
27556 char *kwnames[] = {
27557 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27558 };
27559
27560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27564 SWIG_POINTER_EXCEPTION | 0)) == -1)
27565 SWIG_fail;
27566 if (arg2 == NULL) {
27567 PyErr_SetString(PyExc_TypeError,"null reference");
27568 SWIG_fail;
27569 }
27570 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27571 SWIG_POINTER_EXCEPTION | 0)) == -1)
27572 SWIG_fail;
27573 if (arg3 == NULL) {
27574 PyErr_SetString(PyExc_TypeError,"null reference");
27575 SWIG_fail;
27576 }
27577 {
27578 arg4 = wxString_in_helper(obj3);
27579 if (arg4 == NULL) SWIG_fail;
27580 temp4 = true;
27581 }
27582 if (obj4) {
27583 arg5 = (int)SWIG_As_int(obj4);
27584 if (PyErr_Occurred()) SWIG_fail;
27585 }
27586 if (obj5) {
27587 arg6 = (int)SWIG_As_int(obj5);
27588 if (PyErr_Occurred()) SWIG_fail;
27589 }
27590 if (obj6) {
27591 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27593 }
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 {
27602 wxTreeItemId * resultptr;
27603 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27605 }
27606 {
27607 if (temp4)
27608 delete arg4;
27609 }
27610 return resultobj;
27611 fail:
27612 {
27613 if (temp4)
27614 delete arg4;
27615 }
27616 return NULL;
27617 }
27618
27619
27620 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
27621 PyObject *resultobj;
27622 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27623 wxTreeItemId *arg2 = 0 ;
27624 size_t arg3 ;
27625 wxString *arg4 = 0 ;
27626 int arg5 = (int) -1 ;
27627 int arg6 = (int) -1 ;
27628 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27629 wxTreeItemId result;
27630 bool temp4 = false ;
27631 PyObject * obj0 = 0 ;
27632 PyObject * obj1 = 0 ;
27633 PyObject * obj2 = 0 ;
27634 PyObject * obj3 = 0 ;
27635 PyObject * obj4 = 0 ;
27636 PyObject * obj5 = 0 ;
27637 PyObject * obj6 = 0 ;
27638 char *kwnames[] = {
27639 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27640 };
27641
27642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27646 SWIG_POINTER_EXCEPTION | 0)) == -1)
27647 SWIG_fail;
27648 if (arg2 == NULL) {
27649 PyErr_SetString(PyExc_TypeError,"null reference");
27650 SWIG_fail;
27651 }
27652 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
27653 if (PyErr_Occurred()) SWIG_fail;
27654 {
27655 arg4 = wxString_in_helper(obj3);
27656 if (arg4 == NULL) SWIG_fail;
27657 temp4 = true;
27658 }
27659 if (obj4) {
27660 arg5 = (int)SWIG_As_int(obj4);
27661 if (PyErr_Occurred()) SWIG_fail;
27662 }
27663 if (obj5) {
27664 arg6 = (int)SWIG_As_int(obj5);
27665 if (PyErr_Occurred()) SWIG_fail;
27666 }
27667 if (obj6) {
27668 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27670 }
27671 {
27672 PyThreadState* __tstate = wxPyBeginAllowThreads();
27673 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27674
27675 wxPyEndAllowThreads(__tstate);
27676 if (PyErr_Occurred()) SWIG_fail;
27677 }
27678 {
27679 wxTreeItemId * resultptr;
27680 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27682 }
27683 {
27684 if (temp4)
27685 delete arg4;
27686 }
27687 return resultobj;
27688 fail:
27689 {
27690 if (temp4)
27691 delete arg4;
27692 }
27693 return NULL;
27694 }
27695
27696
27697 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
27698 PyObject *resultobj;
27699 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27700 wxTreeItemId *arg2 = 0 ;
27701 wxString *arg3 = 0 ;
27702 int arg4 = (int) -1 ;
27703 int arg5 = (int) -1 ;
27704 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27705 wxTreeItemId result;
27706 bool temp3 = false ;
27707 PyObject * obj0 = 0 ;
27708 PyObject * obj1 = 0 ;
27709 PyObject * obj2 = 0 ;
27710 PyObject * obj3 = 0 ;
27711 PyObject * obj4 = 0 ;
27712 PyObject * obj5 = 0 ;
27713 char *kwnames[] = {
27714 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27715 };
27716
27717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27721 SWIG_POINTER_EXCEPTION | 0)) == -1)
27722 SWIG_fail;
27723 if (arg2 == NULL) {
27724 PyErr_SetString(PyExc_TypeError,"null reference");
27725 SWIG_fail;
27726 }
27727 {
27728 arg3 = wxString_in_helper(obj2);
27729 if (arg3 == NULL) SWIG_fail;
27730 temp3 = true;
27731 }
27732 if (obj3) {
27733 arg4 = (int)SWIG_As_int(obj3);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
27736 if (obj4) {
27737 arg5 = (int)SWIG_As_int(obj4);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 if (obj5) {
27741 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27743 }
27744 {
27745 PyThreadState* __tstate = wxPyBeginAllowThreads();
27746 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27747
27748 wxPyEndAllowThreads(__tstate);
27749 if (PyErr_Occurred()) SWIG_fail;
27750 }
27751 {
27752 wxTreeItemId * resultptr;
27753 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27754 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27755 }
27756 {
27757 if (temp3)
27758 delete arg3;
27759 }
27760 return resultobj;
27761 fail:
27762 {
27763 if (temp3)
27764 delete arg3;
27765 }
27766 return NULL;
27767 }
27768
27769
27770 static PyObject *_wrap_TreeCtrl_Delete(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_Delete",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)->Delete((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_DeleteChildren(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_DeleteChildren",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)->DeleteChildren((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_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
27839 PyObject *resultobj;
27840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27841 PyObject * obj0 = 0 ;
27842 char *kwnames[] = {
27843 (char *) "self", NULL
27844 };
27845
27846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27849 {
27850 PyThreadState* __tstate = wxPyBeginAllowThreads();
27851 (arg1)->DeleteAllItems();
27852
27853 wxPyEndAllowThreads(__tstate);
27854 if (PyErr_Occurred()) SWIG_fail;
27855 }
27856 Py_INCREF(Py_None); resultobj = Py_None;
27857 return resultobj;
27858 fail:
27859 return NULL;
27860 }
27861
27862
27863 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
27864 PyObject *resultobj;
27865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27866 wxTreeItemId *arg2 = 0 ;
27867 PyObject * obj0 = 0 ;
27868 PyObject * obj1 = 0 ;
27869 char *kwnames[] = {
27870 (char *) "self",(char *) "item", NULL
27871 };
27872
27873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27877 SWIG_POINTER_EXCEPTION | 0)) == -1)
27878 SWIG_fail;
27879 if (arg2 == NULL) {
27880 PyErr_SetString(PyExc_TypeError,"null reference");
27881 SWIG_fail;
27882 }
27883 {
27884 PyThreadState* __tstate = wxPyBeginAllowThreads();
27885 (arg1)->Expand((wxTreeItemId const &)*arg2);
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_Collapse(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_Collapse",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)->Collapse((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_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
27932 PyObject *resultobj;
27933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27934 wxTreeItemId *arg2 = 0 ;
27935 PyObject * obj0 = 0 ;
27936 PyObject * obj1 = 0 ;
27937 char *kwnames[] = {
27938 (char *) "self",(char *) "item", NULL
27939 };
27940
27941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27945 SWIG_POINTER_EXCEPTION | 0)) == -1)
27946 SWIG_fail;
27947 if (arg2 == NULL) {
27948 PyErr_SetString(PyExc_TypeError,"null reference");
27949 SWIG_fail;
27950 }
27951 {
27952 PyThreadState* __tstate = wxPyBeginAllowThreads();
27953 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27954
27955 wxPyEndAllowThreads(__tstate);
27956 if (PyErr_Occurred()) SWIG_fail;
27957 }
27958 Py_INCREF(Py_None); resultobj = Py_None;
27959 return resultobj;
27960 fail:
27961 return NULL;
27962 }
27963
27964
27965 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
27966 PyObject *resultobj;
27967 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27968 wxTreeItemId *arg2 = 0 ;
27969 PyObject * obj0 = 0 ;
27970 PyObject * obj1 = 0 ;
27971 char *kwnames[] = {
27972 (char *) "self",(char *) "item", NULL
27973 };
27974
27975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27979 SWIG_POINTER_EXCEPTION | 0)) == -1)
27980 SWIG_fail;
27981 if (arg2 == NULL) {
27982 PyErr_SetString(PyExc_TypeError,"null reference");
27983 SWIG_fail;
27984 }
27985 {
27986 PyThreadState* __tstate = wxPyBeginAllowThreads();
27987 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27988
27989 wxPyEndAllowThreads(__tstate);
27990 if (PyErr_Occurred()) SWIG_fail;
27991 }
27992 Py_INCREF(Py_None); resultobj = Py_None;
27993 return resultobj;
27994 fail:
27995 return NULL;
27996 }
27997
27998
27999 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
28000 PyObject *resultobj;
28001 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28002 PyObject * obj0 = 0 ;
28003 char *kwnames[] = {
28004 (char *) "self", NULL
28005 };
28006
28007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
28008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28010 {
28011 PyThreadState* __tstate = wxPyBeginAllowThreads();
28012 (arg1)->Unselect();
28013
28014 wxPyEndAllowThreads(__tstate);
28015 if (PyErr_Occurred()) SWIG_fail;
28016 }
28017 Py_INCREF(Py_None); resultobj = Py_None;
28018 return resultobj;
28019 fail:
28020 return NULL;
28021 }
28022
28023
28024 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
28025 PyObject *resultobj;
28026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28027 wxTreeItemId *arg2 = 0 ;
28028 PyObject * obj0 = 0 ;
28029 PyObject * obj1 = 0 ;
28030 char *kwnames[] = {
28031 (char *) "self",(char *) "item", NULL
28032 };
28033
28034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
28035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28038 SWIG_POINTER_EXCEPTION | 0)) == -1)
28039 SWIG_fail;
28040 if (arg2 == NULL) {
28041 PyErr_SetString(PyExc_TypeError,"null reference");
28042 SWIG_fail;
28043 }
28044 {
28045 PyThreadState* __tstate = wxPyBeginAllowThreads();
28046 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
28047
28048 wxPyEndAllowThreads(__tstate);
28049 if (PyErr_Occurred()) SWIG_fail;
28050 }
28051 Py_INCREF(Py_None); resultobj = Py_None;
28052 return resultobj;
28053 fail:
28054 return NULL;
28055 }
28056
28057
28058 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
28059 PyObject *resultobj;
28060 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28061 PyObject * obj0 = 0 ;
28062 char *kwnames[] = {
28063 (char *) "self", NULL
28064 };
28065
28066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
28067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28069 {
28070 PyThreadState* __tstate = wxPyBeginAllowThreads();
28071 (arg1)->UnselectAll();
28072
28073 wxPyEndAllowThreads(__tstate);
28074 if (PyErr_Occurred()) SWIG_fail;
28075 }
28076 Py_INCREF(Py_None); resultobj = Py_None;
28077 return resultobj;
28078 fail:
28079 return NULL;
28080 }
28081
28082
28083 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
28084 PyObject *resultobj;
28085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28086 wxTreeItemId *arg2 = 0 ;
28087 bool arg3 = (bool) true ;
28088 PyObject * obj0 = 0 ;
28089 PyObject * obj1 = 0 ;
28090 PyObject * obj2 = 0 ;
28091 char *kwnames[] = {
28092 (char *) "self",(char *) "item",(char *) "select", NULL
28093 };
28094
28095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
28096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28099 SWIG_POINTER_EXCEPTION | 0)) == -1)
28100 SWIG_fail;
28101 if (arg2 == NULL) {
28102 PyErr_SetString(PyExc_TypeError,"null reference");
28103 SWIG_fail;
28104 }
28105 if (obj2) {
28106 arg3 = (bool)SWIG_As_bool(obj2);
28107 if (PyErr_Occurred()) SWIG_fail;
28108 }
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
28112
28113 wxPyEndAllowThreads(__tstate);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
28116 Py_INCREF(Py_None); resultobj = Py_None;
28117 return resultobj;
28118 fail:
28119 return NULL;
28120 }
28121
28122
28123 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
28124 PyObject *resultobj;
28125 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28126 wxTreeItemId *arg2 = 0 ;
28127 PyObject * obj0 = 0 ;
28128 PyObject * obj1 = 0 ;
28129 char *kwnames[] = {
28130 (char *) "self",(char *) "item", NULL
28131 };
28132
28133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
28134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28137 SWIG_POINTER_EXCEPTION | 0)) == -1)
28138 SWIG_fail;
28139 if (arg2 == NULL) {
28140 PyErr_SetString(PyExc_TypeError,"null reference");
28141 SWIG_fail;
28142 }
28143 {
28144 PyThreadState* __tstate = wxPyBeginAllowThreads();
28145 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
28146
28147 wxPyEndAllowThreads(__tstate);
28148 if (PyErr_Occurred()) SWIG_fail;
28149 }
28150 Py_INCREF(Py_None); resultobj = Py_None;
28151 return resultobj;
28152 fail:
28153 return NULL;
28154 }
28155
28156
28157 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
28158 PyObject *resultobj;
28159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28160 wxTreeItemId *arg2 = 0 ;
28161 PyObject * obj0 = 0 ;
28162 PyObject * obj1 = 0 ;
28163 char *kwnames[] = {
28164 (char *) "self",(char *) "item", NULL
28165 };
28166
28167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
28168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28171 SWIG_POINTER_EXCEPTION | 0)) == -1)
28172 SWIG_fail;
28173 if (arg2 == NULL) {
28174 PyErr_SetString(PyExc_TypeError,"null reference");
28175 SWIG_fail;
28176 }
28177 {
28178 PyThreadState* __tstate = wxPyBeginAllowThreads();
28179 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
28180
28181 wxPyEndAllowThreads(__tstate);
28182 if (PyErr_Occurred()) SWIG_fail;
28183 }
28184 Py_INCREF(Py_None); resultobj = Py_None;
28185 return resultobj;
28186 fail:
28187 return NULL;
28188 }
28189
28190
28191 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
28192 PyObject *resultobj;
28193 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28194 wxTreeItemId *arg2 = 0 ;
28195 PyObject * obj0 = 0 ;
28196 PyObject * obj1 = 0 ;
28197 char *kwnames[] = {
28198 (char *) "self",(char *) "item", NULL
28199 };
28200
28201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
28202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28205 SWIG_POINTER_EXCEPTION | 0)) == -1)
28206 SWIG_fail;
28207 if (arg2 == NULL) {
28208 PyErr_SetString(PyExc_TypeError,"null reference");
28209 SWIG_fail;
28210 }
28211 {
28212 PyThreadState* __tstate = wxPyBeginAllowThreads();
28213 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
28214
28215 wxPyEndAllowThreads(__tstate);
28216 if (PyErr_Occurred()) SWIG_fail;
28217 }
28218 Py_INCREF(Py_None); resultobj = Py_None;
28219 return resultobj;
28220 fail:
28221 return NULL;
28222 }
28223
28224
28225 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj;
28227 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28228 wxTreeItemId *arg2 = 0 ;
28229 PyObject * obj0 = 0 ;
28230 PyObject * obj1 = 0 ;
28231 char *kwnames[] = {
28232 (char *) "self",(char *) "item", NULL
28233 };
28234
28235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
28236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28239 SWIG_POINTER_EXCEPTION | 0)) == -1)
28240 SWIG_fail;
28241 if (arg2 == NULL) {
28242 PyErr_SetString(PyExc_TypeError,"null reference");
28243 SWIG_fail;
28244 }
28245 {
28246 PyThreadState* __tstate = wxPyBeginAllowThreads();
28247 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
28248
28249 wxPyEndAllowThreads(__tstate);
28250 if (PyErr_Occurred()) SWIG_fail;
28251 }
28252 Py_INCREF(Py_None); resultobj = Py_None;
28253 return resultobj;
28254 fail:
28255 return NULL;
28256 }
28257
28258
28259 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
28260 PyObject *resultobj;
28261 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28262 wxTextCtrl *result;
28263 PyObject * obj0 = 0 ;
28264 char *kwnames[] = {
28265 (char *) "self", NULL
28266 };
28267
28268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
28269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28271 {
28272 PyThreadState* __tstate = wxPyBeginAllowThreads();
28273 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
28274
28275 wxPyEndAllowThreads(__tstate);
28276 if (PyErr_Occurred()) SWIG_fail;
28277 }
28278 {
28279 resultobj = wxPyMake_wxObject(result, 0);
28280 }
28281 return resultobj;
28282 fail:
28283 return NULL;
28284 }
28285
28286
28287 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
28288 PyObject *resultobj;
28289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28290 wxTreeItemId *arg2 = 0 ;
28291 bool arg3 = (bool) false ;
28292 PyObject * obj0 = 0 ;
28293 PyObject * obj1 = 0 ;
28294 PyObject * obj2 = 0 ;
28295 char *kwnames[] = {
28296 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
28297 };
28298
28299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
28300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28302 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28303 SWIG_POINTER_EXCEPTION | 0)) == -1)
28304 SWIG_fail;
28305 if (arg2 == NULL) {
28306 PyErr_SetString(PyExc_TypeError,"null reference");
28307 SWIG_fail;
28308 }
28309 if (obj2) {
28310 arg3 = (bool)SWIG_As_bool(obj2);
28311 if (PyErr_Occurred()) SWIG_fail;
28312 }
28313 {
28314 PyThreadState* __tstate = wxPyBeginAllowThreads();
28315 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
28316
28317 wxPyEndAllowThreads(__tstate);
28318 if (PyErr_Occurred()) SWIG_fail;
28319 }
28320 Py_INCREF(Py_None); resultobj = Py_None;
28321 return resultobj;
28322 fail:
28323 return NULL;
28324 }
28325
28326
28327 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28328 PyObject *resultobj;
28329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28330 wxTreeItemId *arg2 = 0 ;
28331 PyObject * obj0 = 0 ;
28332 PyObject * obj1 = 0 ;
28333 char *kwnames[] = {
28334 (char *) "self",(char *) "item", NULL
28335 };
28336
28337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
28338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28341 SWIG_POINTER_EXCEPTION | 0)) == -1)
28342 SWIG_fail;
28343 if (arg2 == NULL) {
28344 PyErr_SetString(PyExc_TypeError,"null reference");
28345 SWIG_fail;
28346 }
28347 {
28348 PyThreadState* __tstate = wxPyBeginAllowThreads();
28349 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
28350
28351 wxPyEndAllowThreads(__tstate);
28352 if (PyErr_Occurred()) SWIG_fail;
28353 }
28354 Py_INCREF(Py_None); resultobj = Py_None;
28355 return resultobj;
28356 fail:
28357 return NULL;
28358 }
28359
28360
28361 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
28362 PyObject *resultobj;
28363 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28364 wxPoint *arg2 = 0 ;
28365 int *arg3 = 0 ;
28366 wxTreeItemId result;
28367 wxPoint temp2 ;
28368 int temp3 ;
28369 int res3 = 0 ;
28370 PyObject * obj0 = 0 ;
28371 PyObject * obj1 = 0 ;
28372 char *kwnames[] = {
28373 (char *) "self",(char *) "point", NULL
28374 };
28375
28376 arg3 = &temp3; res3 = SWIG_NEWOBJ;
28377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
28378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28380 {
28381 arg2 = &temp2;
28382 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28383 }
28384 {
28385 PyThreadState* __tstate = wxPyBeginAllowThreads();
28386 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
28387
28388 wxPyEndAllowThreads(__tstate);
28389 if (PyErr_Occurred()) SWIG_fail;
28390 }
28391 {
28392 wxTreeItemId * resultptr;
28393 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28395 }
28396 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
28397 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
28398 return resultobj;
28399 fail:
28400 return NULL;
28401 }
28402
28403
28404 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
28405 PyObject *resultobj;
28406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28407 wxTreeItemId *arg2 = 0 ;
28408 bool arg3 = (bool) false ;
28409 PyObject *result;
28410 PyObject * obj0 = 0 ;
28411 PyObject * obj1 = 0 ;
28412 PyObject * obj2 = 0 ;
28413 char *kwnames[] = {
28414 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28415 };
28416
28417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
28418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28421 SWIG_POINTER_EXCEPTION | 0)) == -1)
28422 SWIG_fail;
28423 if (arg2 == NULL) {
28424 PyErr_SetString(PyExc_TypeError,"null reference");
28425 SWIG_fail;
28426 }
28427 if (obj2) {
28428 arg3 = (bool)SWIG_As_bool(obj2);
28429 if (PyErr_Occurred()) SWIG_fail;
28430 }
28431 {
28432 PyThreadState* __tstate = wxPyBeginAllowThreads();
28433 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
28434
28435 wxPyEndAllowThreads(__tstate);
28436 if (PyErr_Occurred()) SWIG_fail;
28437 }
28438 resultobj = result;
28439 return resultobj;
28440 fail:
28441 return NULL;
28442 }
28443
28444
28445 static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
28446 PyObject *resultobj;
28447 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28448 wxTreeItemId *arg2 = 0 ;
28449 int arg3 ;
28450 PyObject * obj0 = 0 ;
28451 PyObject * obj1 = 0 ;
28452 PyObject * obj2 = 0 ;
28453 char *kwnames[] = {
28454 (char *) "self",(char *) "node",(char *) "state", NULL
28455 };
28456
28457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
28458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28461 SWIG_POINTER_EXCEPTION | 0)) == -1)
28462 SWIG_fail;
28463 if (arg2 == NULL) {
28464 PyErr_SetString(PyExc_TypeError,"null reference");
28465 SWIG_fail;
28466 }
28467 arg3 = (int)SWIG_As_int(obj2);
28468 if (PyErr_Occurred()) SWIG_fail;
28469 {
28470 PyThreadState* __tstate = wxPyBeginAllowThreads();
28471 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
28472
28473 wxPyEndAllowThreads(__tstate);
28474 if (PyErr_Occurred()) SWIG_fail;
28475 }
28476 Py_INCREF(Py_None); resultobj = Py_None;
28477 return resultobj;
28478 fail:
28479 return NULL;
28480 }
28481
28482
28483 static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
28484 PyObject *resultobj;
28485 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28486 wxTreeItemId *arg2 = 0 ;
28487 int result;
28488 PyObject * obj0 = 0 ;
28489 PyObject * obj1 = 0 ;
28490 char *kwnames[] = {
28491 (char *) "self",(char *) "node", NULL
28492 };
28493
28494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
28495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28498 SWIG_POINTER_EXCEPTION | 0)) == -1)
28499 SWIG_fail;
28500 if (arg2 == NULL) {
28501 PyErr_SetString(PyExc_TypeError,"null reference");
28502 SWIG_fail;
28503 }
28504 {
28505 PyThreadState* __tstate = wxPyBeginAllowThreads();
28506 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
28507
28508 wxPyEndAllowThreads(__tstate);
28509 if (PyErr_Occurred()) SWIG_fail;
28510 }
28511 resultobj = SWIG_From_int((int)result);
28512 return resultobj;
28513 fail:
28514 return NULL;
28515 }
28516
28517
28518 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
28519 PyObject *resultobj;
28520 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
28521 wxVisualAttributes result;
28522 PyObject * obj0 = 0 ;
28523 char *kwnames[] = {
28524 (char *) "variant", NULL
28525 };
28526
28527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
28528 if (obj0) {
28529 arg1 = (int)SWIG_As_int(obj0);
28530 if (PyErr_Occurred()) SWIG_fail;
28531 }
28532 {
28533 if (!wxPyCheckForApp()) SWIG_fail;
28534 PyThreadState* __tstate = wxPyBeginAllowThreads();
28535 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
28536
28537 wxPyEndAllowThreads(__tstate);
28538 if (PyErr_Occurred()) SWIG_fail;
28539 }
28540 {
28541 wxVisualAttributes * resultptr;
28542 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
28543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
28544 }
28545 return resultobj;
28546 fail:
28547 return NULL;
28548 }
28549
28550
28551 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
28552 PyObject *obj;
28553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28554 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
28555 Py_INCREF(obj);
28556 return Py_BuildValue((char *)"");
28557 }
28558 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
28559 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
28560 return 1;
28561 }
28562
28563
28564 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
28565 PyObject *pyobj;
28566
28567 {
28568 #if wxUSE_UNICODE
28569 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28570 #else
28571 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28572 #endif
28573 }
28574 return pyobj;
28575 }
28576
28577
28578 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28579 PyObject *resultobj;
28580 wxWindow *arg1 = (wxWindow *) 0 ;
28581 int arg2 = (int) (int)-1 ;
28582 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
28583 wxString *arg3 = (wxString *) &arg3_defvalue ;
28584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28586 wxSize const &arg5_defvalue = wxDefaultSize ;
28587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28588 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28589 wxString const &arg7_defvalue = wxPyEmptyString ;
28590 wxString *arg7 = (wxString *) &arg7_defvalue ;
28591 int arg8 = (int) 0 ;
28592 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
28593 wxString *arg9 = (wxString *) &arg9_defvalue ;
28594 wxGenericDirCtrl *result;
28595 bool temp3 = false ;
28596 wxPoint temp4 ;
28597 wxSize temp5 ;
28598 bool temp7 = false ;
28599 bool temp9 = false ;
28600 PyObject * obj0 = 0 ;
28601 PyObject * obj1 = 0 ;
28602 PyObject * obj2 = 0 ;
28603 PyObject * obj3 = 0 ;
28604 PyObject * obj4 = 0 ;
28605 PyObject * obj5 = 0 ;
28606 PyObject * obj6 = 0 ;
28607 PyObject * obj7 = 0 ;
28608 PyObject * obj8 = 0 ;
28609 char *kwnames[] = {
28610 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28611 };
28612
28613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
28614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28616 if (obj1) {
28617 arg2 = (int)SWIG_As_int(obj1);
28618 if (PyErr_Occurred()) SWIG_fail;
28619 }
28620 if (obj2) {
28621 {
28622 arg3 = wxString_in_helper(obj2);
28623 if (arg3 == NULL) SWIG_fail;
28624 temp3 = true;
28625 }
28626 }
28627 if (obj3) {
28628 {
28629 arg4 = &temp4;
28630 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28631 }
28632 }
28633 if (obj4) {
28634 {
28635 arg5 = &temp5;
28636 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28637 }
28638 }
28639 if (obj5) {
28640 arg6 = (long)SWIG_As_long(obj5);
28641 if (PyErr_Occurred()) SWIG_fail;
28642 }
28643 if (obj6) {
28644 {
28645 arg7 = wxString_in_helper(obj6);
28646 if (arg7 == NULL) SWIG_fail;
28647 temp7 = true;
28648 }
28649 }
28650 if (obj7) {
28651 arg8 = (int)SWIG_As_int(obj7);
28652 if (PyErr_Occurred()) SWIG_fail;
28653 }
28654 if (obj8) {
28655 {
28656 arg9 = wxString_in_helper(obj8);
28657 if (arg9 == NULL) SWIG_fail;
28658 temp9 = true;
28659 }
28660 }
28661 {
28662 if (!wxPyCheckForApp()) SWIG_fail;
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
28665
28666 wxPyEndAllowThreads(__tstate);
28667 if (PyErr_Occurred()) SWIG_fail;
28668 }
28669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28670 {
28671 if (temp3)
28672 delete arg3;
28673 }
28674 {
28675 if (temp7)
28676 delete arg7;
28677 }
28678 {
28679 if (temp9)
28680 delete arg9;
28681 }
28682 return resultobj;
28683 fail:
28684 {
28685 if (temp3)
28686 delete arg3;
28687 }
28688 {
28689 if (temp7)
28690 delete arg7;
28691 }
28692 {
28693 if (temp9)
28694 delete arg9;
28695 }
28696 return NULL;
28697 }
28698
28699
28700 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28701 PyObject *resultobj;
28702 wxGenericDirCtrl *result;
28703 char *kwnames[] = {
28704 NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28708 {
28709 if (!wxPyCheckForApp()) SWIG_fail;
28710 PyThreadState* __tstate = wxPyBeginAllowThreads();
28711 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28712
28713 wxPyEndAllowThreads(__tstate);
28714 if (PyErr_Occurred()) SWIG_fail;
28715 }
28716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28717 return resultobj;
28718 fail:
28719 return NULL;
28720 }
28721
28722
28723 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28724 PyObject *resultobj;
28725 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28726 wxWindow *arg2 = (wxWindow *) 0 ;
28727 int arg3 = (int) (int)-1 ;
28728 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28729 wxString *arg4 = (wxString *) &arg4_defvalue ;
28730 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28731 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28732 wxSize const &arg6_defvalue = wxDefaultSize ;
28733 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28734 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28735 wxString const &arg8_defvalue = wxPyEmptyString ;
28736 wxString *arg8 = (wxString *) &arg8_defvalue ;
28737 int arg9 = (int) 0 ;
28738 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28739 wxString *arg10 = (wxString *) &arg10_defvalue ;
28740 bool result;
28741 bool temp4 = false ;
28742 wxPoint temp5 ;
28743 wxSize temp6 ;
28744 bool temp8 = false ;
28745 bool temp10 = false ;
28746 PyObject * obj0 = 0 ;
28747 PyObject * obj1 = 0 ;
28748 PyObject * obj2 = 0 ;
28749 PyObject * obj3 = 0 ;
28750 PyObject * obj4 = 0 ;
28751 PyObject * obj5 = 0 ;
28752 PyObject * obj6 = 0 ;
28753 PyObject * obj7 = 0 ;
28754 PyObject * obj8 = 0 ;
28755 PyObject * obj9 = 0 ;
28756 char *kwnames[] = {
28757 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28758 };
28759
28760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28765 if (obj2) {
28766 arg3 = (int)SWIG_As_int(obj2);
28767 if (PyErr_Occurred()) SWIG_fail;
28768 }
28769 if (obj3) {
28770 {
28771 arg4 = wxString_in_helper(obj3);
28772 if (arg4 == NULL) SWIG_fail;
28773 temp4 = true;
28774 }
28775 }
28776 if (obj4) {
28777 {
28778 arg5 = &temp5;
28779 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28780 }
28781 }
28782 if (obj5) {
28783 {
28784 arg6 = &temp6;
28785 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28786 }
28787 }
28788 if (obj6) {
28789 arg7 = (long)SWIG_As_long(obj6);
28790 if (PyErr_Occurred()) SWIG_fail;
28791 }
28792 if (obj7) {
28793 {
28794 arg8 = wxString_in_helper(obj7);
28795 if (arg8 == NULL) SWIG_fail;
28796 temp8 = true;
28797 }
28798 }
28799 if (obj8) {
28800 arg9 = (int)SWIG_As_int(obj8);
28801 if (PyErr_Occurred()) SWIG_fail;
28802 }
28803 if (obj9) {
28804 {
28805 arg10 = wxString_in_helper(obj9);
28806 if (arg10 == NULL) SWIG_fail;
28807 temp10 = true;
28808 }
28809 }
28810 {
28811 PyThreadState* __tstate = wxPyBeginAllowThreads();
28812 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28813
28814 wxPyEndAllowThreads(__tstate);
28815 if (PyErr_Occurred()) SWIG_fail;
28816 }
28817 {
28818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28819 }
28820 {
28821 if (temp4)
28822 delete arg4;
28823 }
28824 {
28825 if (temp8)
28826 delete arg8;
28827 }
28828 {
28829 if (temp10)
28830 delete arg10;
28831 }
28832 return resultobj;
28833 fail:
28834 {
28835 if (temp4)
28836 delete arg4;
28837 }
28838 {
28839 if (temp8)
28840 delete arg8;
28841 }
28842 {
28843 if (temp10)
28844 delete arg10;
28845 }
28846 return NULL;
28847 }
28848
28849
28850 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
28851 PyObject *resultobj;
28852 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28853 wxString *arg2 = 0 ;
28854 bool result;
28855 bool temp2 = false ;
28856 PyObject * obj0 = 0 ;
28857 PyObject * obj1 = 0 ;
28858 char *kwnames[] = {
28859 (char *) "self",(char *) "path", NULL
28860 };
28861
28862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28865 {
28866 arg2 = wxString_in_helper(obj1);
28867 if (arg2 == NULL) SWIG_fail;
28868 temp2 = true;
28869 }
28870 {
28871 PyThreadState* __tstate = wxPyBeginAllowThreads();
28872 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28873
28874 wxPyEndAllowThreads(__tstate);
28875 if (PyErr_Occurred()) SWIG_fail;
28876 }
28877 {
28878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28879 }
28880 {
28881 if (temp2)
28882 delete arg2;
28883 }
28884 return resultobj;
28885 fail:
28886 {
28887 if (temp2)
28888 delete arg2;
28889 }
28890 return NULL;
28891 }
28892
28893
28894 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
28895 PyObject *resultobj;
28896 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28897 wxString result;
28898 PyObject * obj0 = 0 ;
28899 char *kwnames[] = {
28900 (char *) "self", NULL
28901 };
28902
28903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28906 {
28907 PyThreadState* __tstate = wxPyBeginAllowThreads();
28908 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28909
28910 wxPyEndAllowThreads(__tstate);
28911 if (PyErr_Occurred()) SWIG_fail;
28912 }
28913 {
28914 #if wxUSE_UNICODE
28915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28916 #else
28917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28918 #endif
28919 }
28920 return resultobj;
28921 fail:
28922 return NULL;
28923 }
28924
28925
28926 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
28927 PyObject *resultobj;
28928 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28929 wxString *arg2 = 0 ;
28930 bool temp2 = false ;
28931 PyObject * obj0 = 0 ;
28932 PyObject * obj1 = 0 ;
28933 char *kwnames[] = {
28934 (char *) "self",(char *) "path", NULL
28935 };
28936
28937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28940 {
28941 arg2 = wxString_in_helper(obj1);
28942 if (arg2 == NULL) SWIG_fail;
28943 temp2 = true;
28944 }
28945 {
28946 PyThreadState* __tstate = wxPyBeginAllowThreads();
28947 (arg1)->SetDefaultPath((wxString const &)*arg2);
28948
28949 wxPyEndAllowThreads(__tstate);
28950 if (PyErr_Occurred()) SWIG_fail;
28951 }
28952 Py_INCREF(Py_None); resultobj = Py_None;
28953 {
28954 if (temp2)
28955 delete arg2;
28956 }
28957 return resultobj;
28958 fail:
28959 {
28960 if (temp2)
28961 delete arg2;
28962 }
28963 return NULL;
28964 }
28965
28966
28967 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
28968 PyObject *resultobj;
28969 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28970 wxString result;
28971 PyObject * obj0 = 0 ;
28972 char *kwnames[] = {
28973 (char *) "self", NULL
28974 };
28975
28976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28982
28983 wxPyEndAllowThreads(__tstate);
28984 if (PyErr_Occurred()) SWIG_fail;
28985 }
28986 {
28987 #if wxUSE_UNICODE
28988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28989 #else
28990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28991 #endif
28992 }
28993 return resultobj;
28994 fail:
28995 return NULL;
28996 }
28997
28998
28999 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
29000 PyObject *resultobj;
29001 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29002 wxString result;
29003 PyObject * obj0 = 0 ;
29004 char *kwnames[] = {
29005 (char *) "self", NULL
29006 };
29007
29008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
29009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29011 {
29012 PyThreadState* __tstate = wxPyBeginAllowThreads();
29013 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
29014
29015 wxPyEndAllowThreads(__tstate);
29016 if (PyErr_Occurred()) SWIG_fail;
29017 }
29018 {
29019 #if wxUSE_UNICODE
29020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29021 #else
29022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29023 #endif
29024 }
29025 return resultobj;
29026 fail:
29027 return NULL;
29028 }
29029
29030
29031 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
29032 PyObject *resultobj;
29033 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29034 wxString *arg2 = 0 ;
29035 bool temp2 = false ;
29036 PyObject * obj0 = 0 ;
29037 PyObject * obj1 = 0 ;
29038 char *kwnames[] = {
29039 (char *) "self",(char *) "path", NULL
29040 };
29041
29042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
29043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29045 {
29046 arg2 = wxString_in_helper(obj1);
29047 if (arg2 == NULL) SWIG_fail;
29048 temp2 = true;
29049 }
29050 {
29051 PyThreadState* __tstate = wxPyBeginAllowThreads();
29052 (arg1)->SetPath((wxString const &)*arg2);
29053
29054 wxPyEndAllowThreads(__tstate);
29055 if (PyErr_Occurred()) SWIG_fail;
29056 }
29057 Py_INCREF(Py_None); resultobj = Py_None;
29058 {
29059 if (temp2)
29060 delete arg2;
29061 }
29062 return resultobj;
29063 fail:
29064 {
29065 if (temp2)
29066 delete arg2;
29067 }
29068 return NULL;
29069 }
29070
29071
29072 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
29073 PyObject *resultobj;
29074 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29075 bool arg2 ;
29076 PyObject * obj0 = 0 ;
29077 PyObject * obj1 = 0 ;
29078 char *kwnames[] = {
29079 (char *) "self",(char *) "show", NULL
29080 };
29081
29082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
29083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29085 arg2 = (bool)SWIG_As_bool(obj1);
29086 if (PyErr_Occurred()) SWIG_fail;
29087 {
29088 PyThreadState* __tstate = wxPyBeginAllowThreads();
29089 (arg1)->ShowHidden(arg2);
29090
29091 wxPyEndAllowThreads(__tstate);
29092 if (PyErr_Occurred()) SWIG_fail;
29093 }
29094 Py_INCREF(Py_None); resultobj = Py_None;
29095 return resultobj;
29096 fail:
29097 return NULL;
29098 }
29099
29100
29101 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
29102 PyObject *resultobj;
29103 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29104 bool result;
29105 PyObject * obj0 = 0 ;
29106 char *kwnames[] = {
29107 (char *) "self", NULL
29108 };
29109
29110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
29111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29113 {
29114 PyThreadState* __tstate = wxPyBeginAllowThreads();
29115 result = (bool)(arg1)->GetShowHidden();
29116
29117 wxPyEndAllowThreads(__tstate);
29118 if (PyErr_Occurred()) SWIG_fail;
29119 }
29120 {
29121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29122 }
29123 return resultobj;
29124 fail:
29125 return NULL;
29126 }
29127
29128
29129 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
29130 PyObject *resultobj;
29131 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29132 wxString result;
29133 PyObject * obj0 = 0 ;
29134 char *kwnames[] = {
29135 (char *) "self", NULL
29136 };
29137
29138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
29139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29141 {
29142 PyThreadState* __tstate = wxPyBeginAllowThreads();
29143 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
29144
29145 wxPyEndAllowThreads(__tstate);
29146 if (PyErr_Occurred()) SWIG_fail;
29147 }
29148 {
29149 #if wxUSE_UNICODE
29150 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29151 #else
29152 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29153 #endif
29154 }
29155 return resultobj;
29156 fail:
29157 return NULL;
29158 }
29159
29160
29161 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
29162 PyObject *resultobj;
29163 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29164 wxString *arg2 = 0 ;
29165 bool temp2 = false ;
29166 PyObject * obj0 = 0 ;
29167 PyObject * obj1 = 0 ;
29168 char *kwnames[] = {
29169 (char *) "self",(char *) "filter", NULL
29170 };
29171
29172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
29173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29175 {
29176 arg2 = wxString_in_helper(obj1);
29177 if (arg2 == NULL) SWIG_fail;
29178 temp2 = true;
29179 }
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 (arg1)->SetFilter((wxString const &)*arg2);
29183
29184 wxPyEndAllowThreads(__tstate);
29185 if (PyErr_Occurred()) SWIG_fail;
29186 }
29187 Py_INCREF(Py_None); resultobj = Py_None;
29188 {
29189 if (temp2)
29190 delete arg2;
29191 }
29192 return resultobj;
29193 fail:
29194 {
29195 if (temp2)
29196 delete arg2;
29197 }
29198 return NULL;
29199 }
29200
29201
29202 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
29203 PyObject *resultobj;
29204 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29205 int result;
29206 PyObject * obj0 = 0 ;
29207 char *kwnames[] = {
29208 (char *) "self", NULL
29209 };
29210
29211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
29212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29214 {
29215 PyThreadState* __tstate = wxPyBeginAllowThreads();
29216 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
29217
29218 wxPyEndAllowThreads(__tstate);
29219 if (PyErr_Occurred()) SWIG_fail;
29220 }
29221 resultobj = SWIG_From_int((int)result);
29222 return resultobj;
29223 fail:
29224 return NULL;
29225 }
29226
29227
29228 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
29229 PyObject *resultobj;
29230 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29231 int arg2 ;
29232 PyObject * obj0 = 0 ;
29233 PyObject * obj1 = 0 ;
29234 char *kwnames[] = {
29235 (char *) "self",(char *) "n", NULL
29236 };
29237
29238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
29239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29241 arg2 = (int)SWIG_As_int(obj1);
29242 if (PyErr_Occurred()) SWIG_fail;
29243 {
29244 PyThreadState* __tstate = wxPyBeginAllowThreads();
29245 (arg1)->SetFilterIndex(arg2);
29246
29247 wxPyEndAllowThreads(__tstate);
29248 if (PyErr_Occurred()) SWIG_fail;
29249 }
29250 Py_INCREF(Py_None); resultobj = Py_None;
29251 return resultobj;
29252 fail:
29253 return NULL;
29254 }
29255
29256
29257 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
29258 PyObject *resultobj;
29259 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29260 wxTreeItemId result;
29261 PyObject * obj0 = 0 ;
29262 char *kwnames[] = {
29263 (char *) "self", NULL
29264 };
29265
29266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
29267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29269 {
29270 PyThreadState* __tstate = wxPyBeginAllowThreads();
29271 result = (arg1)->GetRootId();
29272
29273 wxPyEndAllowThreads(__tstate);
29274 if (PyErr_Occurred()) SWIG_fail;
29275 }
29276 {
29277 wxTreeItemId * resultptr;
29278 resultptr = new wxTreeItemId((wxTreeItemId &) result);
29279 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29280 }
29281 return resultobj;
29282 fail:
29283 return NULL;
29284 }
29285
29286
29287 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29288 PyObject *resultobj;
29289 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29290 wxPyTreeCtrl *result;
29291 PyObject * obj0 = 0 ;
29292 char *kwnames[] = {
29293 (char *) "self", NULL
29294 };
29295
29296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
29297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29299 {
29300 PyThreadState* __tstate = wxPyBeginAllowThreads();
29301 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
29302
29303 wxPyEndAllowThreads(__tstate);
29304 if (PyErr_Occurred()) SWIG_fail;
29305 }
29306 {
29307 resultobj = wxPyMake_wxObject(result, 0);
29308 }
29309 return resultobj;
29310 fail:
29311 return NULL;
29312 }
29313
29314
29315 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29316 PyObject *resultobj;
29317 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29318 wxDirFilterListCtrl *result;
29319 PyObject * obj0 = 0 ;
29320 char *kwnames[] = {
29321 (char *) "self", NULL
29322 };
29323
29324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
29325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29327 {
29328 PyThreadState* __tstate = wxPyBeginAllowThreads();
29329 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
29330
29331 wxPyEndAllowThreads(__tstate);
29332 if (PyErr_Occurred()) SWIG_fail;
29333 }
29334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
29335 return resultobj;
29336 fail:
29337 return NULL;
29338 }
29339
29340
29341 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
29342 PyObject *resultobj;
29343 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29344 wxTreeItemId arg2 ;
29345 wxString *arg3 = 0 ;
29346 bool *arg4 = 0 ;
29347 wxTreeItemId result;
29348 wxTreeItemId *argp2 ;
29349 bool temp3 = false ;
29350 bool temp4 ;
29351 int res4 = 0 ;
29352 PyObject * obj0 = 0 ;
29353 PyObject * obj1 = 0 ;
29354 PyObject * obj2 = 0 ;
29355 char *kwnames[] = {
29356 (char *) "self",(char *) "parentId",(char *) "path", NULL
29357 };
29358
29359 arg4 = &temp4; res4 = SWIG_NEWOBJ;
29360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29363 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
29364 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29365 arg2 = *argp2;
29366 {
29367 arg3 = wxString_in_helper(obj2);
29368 if (arg3 == NULL) SWIG_fail;
29369 temp3 = true;
29370 }
29371 {
29372 PyThreadState* __tstate = wxPyBeginAllowThreads();
29373 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
29374
29375 wxPyEndAllowThreads(__tstate);
29376 if (PyErr_Occurred()) SWIG_fail;
29377 }
29378 {
29379 wxTreeItemId * resultptr;
29380 resultptr = new wxTreeItemId((wxTreeItemId &) result);
29381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29382 }
29383 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29384 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
29385 {
29386 if (temp3)
29387 delete arg3;
29388 }
29389 return resultobj;
29390 fail:
29391 {
29392 if (temp3)
29393 delete arg3;
29394 }
29395 return NULL;
29396 }
29397
29398
29399 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
29400 PyObject *resultobj;
29401 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29402 PyObject * obj0 = 0 ;
29403 char *kwnames[] = {
29404 (char *) "self", NULL
29405 };
29406
29407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
29408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29410 {
29411 PyThreadState* __tstate = wxPyBeginAllowThreads();
29412 (arg1)->DoResize();
29413
29414 wxPyEndAllowThreads(__tstate);
29415 if (PyErr_Occurred()) SWIG_fail;
29416 }
29417 Py_INCREF(Py_None); resultobj = Py_None;
29418 return resultobj;
29419 fail:
29420 return NULL;
29421 }
29422
29423
29424 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
29425 PyObject *resultobj;
29426 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29427 PyObject * obj0 = 0 ;
29428 char *kwnames[] = {
29429 (char *) "self", NULL
29430 };
29431
29432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
29433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29435 {
29436 PyThreadState* __tstate = wxPyBeginAllowThreads();
29437 (arg1)->ReCreateTree();
29438
29439 wxPyEndAllowThreads(__tstate);
29440 if (PyErr_Occurred()) SWIG_fail;
29441 }
29442 Py_INCREF(Py_None); resultobj = Py_None;
29443 return resultobj;
29444 fail:
29445 return NULL;
29446 }
29447
29448
29449 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
29450 PyObject *obj;
29451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29452 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
29453 Py_INCREF(obj);
29454 return Py_BuildValue((char *)"");
29455 }
29456 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29457 PyObject *resultobj;
29458 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29459 int arg2 = (int) (int)-1 ;
29460 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29461 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29462 wxSize const &arg4_defvalue = wxDefaultSize ;
29463 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29464 long arg5 = (long) 0 ;
29465 wxDirFilterListCtrl *result;
29466 wxPoint temp3 ;
29467 wxSize temp4 ;
29468 PyObject * obj0 = 0 ;
29469 PyObject * obj1 = 0 ;
29470 PyObject * obj2 = 0 ;
29471 PyObject * obj3 = 0 ;
29472 PyObject * obj4 = 0 ;
29473 char *kwnames[] = {
29474 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29475 };
29476
29477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29480 if (obj1) {
29481 arg2 = (int)SWIG_As_int(obj1);
29482 if (PyErr_Occurred()) SWIG_fail;
29483 }
29484 if (obj2) {
29485 {
29486 arg3 = &temp3;
29487 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29488 }
29489 }
29490 if (obj3) {
29491 {
29492 arg4 = &temp4;
29493 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29494 }
29495 }
29496 if (obj4) {
29497 arg5 = (long)SWIG_As_long(obj4);
29498 if (PyErr_Occurred()) SWIG_fail;
29499 }
29500 {
29501 if (!wxPyCheckForApp()) SWIG_fail;
29502 PyThreadState* __tstate = wxPyBeginAllowThreads();
29503 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29504
29505 wxPyEndAllowThreads(__tstate);
29506 if (PyErr_Occurred()) SWIG_fail;
29507 }
29508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29509 return resultobj;
29510 fail:
29511 return NULL;
29512 }
29513
29514
29515 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29516 PyObject *resultobj;
29517 wxDirFilterListCtrl *result;
29518 char *kwnames[] = {
29519 NULL
29520 };
29521
29522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
29523 {
29524 if (!wxPyCheckForApp()) SWIG_fail;
29525 PyThreadState* __tstate = wxPyBeginAllowThreads();
29526 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
29527
29528 wxPyEndAllowThreads(__tstate);
29529 if (PyErr_Occurred()) SWIG_fail;
29530 }
29531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29532 return resultobj;
29533 fail:
29534 return NULL;
29535 }
29536
29537
29538 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
29539 PyObject *resultobj;
29540 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29541 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
29542 int arg3 = (int) (int)-1 ;
29543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29545 wxSize const &arg5_defvalue = wxDefaultSize ;
29546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29547 long arg6 = (long) 0 ;
29548 bool result;
29549 wxPoint temp4 ;
29550 wxSize temp5 ;
29551 PyObject * obj0 = 0 ;
29552 PyObject * obj1 = 0 ;
29553 PyObject * obj2 = 0 ;
29554 PyObject * obj3 = 0 ;
29555 PyObject * obj4 = 0 ;
29556 PyObject * obj5 = 0 ;
29557 char *kwnames[] = {
29558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29559 };
29560
29561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
29565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29566 if (obj2) {
29567 arg3 = (int)SWIG_As_int(obj2);
29568 if (PyErr_Occurred()) SWIG_fail;
29569 }
29570 if (obj3) {
29571 {
29572 arg4 = &temp4;
29573 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29574 }
29575 }
29576 if (obj4) {
29577 {
29578 arg5 = &temp5;
29579 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29580 }
29581 }
29582 if (obj5) {
29583 arg6 = (long)SWIG_As_long(obj5);
29584 if (PyErr_Occurred()) SWIG_fail;
29585 }
29586 {
29587 PyThreadState* __tstate = wxPyBeginAllowThreads();
29588 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
29589
29590 wxPyEndAllowThreads(__tstate);
29591 if (PyErr_Occurred()) SWIG_fail;
29592 }
29593 {
29594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29595 }
29596 return resultobj;
29597 fail:
29598 return NULL;
29599 }
29600
29601
29602 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
29603 PyObject *resultobj;
29604 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29605 wxString *arg2 = 0 ;
29606 int arg3 ;
29607 bool temp2 = false ;
29608 PyObject * obj0 = 0 ;
29609 PyObject * obj1 = 0 ;
29610 PyObject * obj2 = 0 ;
29611 char *kwnames[] = {
29612 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29613 };
29614
29615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
29616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29618 {
29619 arg2 = wxString_in_helper(obj1);
29620 if (arg2 == NULL) SWIG_fail;
29621 temp2 = true;
29622 }
29623 arg3 = (int)SWIG_As_int(obj2);
29624 if (PyErr_Occurred()) SWIG_fail;
29625 {
29626 PyThreadState* __tstate = wxPyBeginAllowThreads();
29627 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
29628
29629 wxPyEndAllowThreads(__tstate);
29630 if (PyErr_Occurred()) SWIG_fail;
29631 }
29632 Py_INCREF(Py_None); resultobj = Py_None;
29633 {
29634 if (temp2)
29635 delete arg2;
29636 }
29637 return resultobj;
29638 fail:
29639 {
29640 if (temp2)
29641 delete arg2;
29642 }
29643 return NULL;
29644 }
29645
29646
29647 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
29648 PyObject *obj;
29649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29650 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
29651 Py_INCREF(obj);
29652 return Py_BuildValue((char *)"");
29653 }
29654 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
29655 PyObject *resultobj;
29656 wxWindow *arg1 = (wxWindow *) 0 ;
29657 int arg2 = (int) (int)-1 ;
29658 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29659 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29660 wxSize const &arg4_defvalue = wxDefaultSize ;
29661 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29662 long arg5 = (long) 0 ;
29663 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29664 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29665 wxString const &arg7_defvalue = wxPyControlNameStr ;
29666 wxString *arg7 = (wxString *) &arg7_defvalue ;
29667 wxPyControl *result;
29668 wxPoint temp3 ;
29669 wxSize temp4 ;
29670 bool temp7 = false ;
29671 PyObject * obj0 = 0 ;
29672 PyObject * obj1 = 0 ;
29673 PyObject * obj2 = 0 ;
29674 PyObject * obj3 = 0 ;
29675 PyObject * obj4 = 0 ;
29676 PyObject * obj5 = 0 ;
29677 PyObject * obj6 = 0 ;
29678 char *kwnames[] = {
29679 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29680 };
29681
29682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29685 if (obj1) {
29686 arg2 = (int)SWIG_As_int(obj1);
29687 if (PyErr_Occurred()) SWIG_fail;
29688 }
29689 if (obj2) {
29690 {
29691 arg3 = &temp3;
29692 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29693 }
29694 }
29695 if (obj3) {
29696 {
29697 arg4 = &temp4;
29698 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29699 }
29700 }
29701 if (obj4) {
29702 arg5 = (long)SWIG_As_long(obj4);
29703 if (PyErr_Occurred()) SWIG_fail;
29704 }
29705 if (obj5) {
29706 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29707 SWIG_POINTER_EXCEPTION | 0)) == -1)
29708 SWIG_fail;
29709 if (arg6 == NULL) {
29710 PyErr_SetString(PyExc_TypeError,"null reference");
29711 SWIG_fail;
29712 }
29713 }
29714 if (obj6) {
29715 {
29716 arg7 = wxString_in_helper(obj6);
29717 if (arg7 == NULL) SWIG_fail;
29718 temp7 = true;
29719 }
29720 }
29721 {
29722 if (!wxPyCheckForApp()) SWIG_fail;
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29725
29726 wxPyEndAllowThreads(__tstate);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 }
29729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29730 {
29731 if (temp7)
29732 delete arg7;
29733 }
29734 return resultobj;
29735 fail:
29736 {
29737 if (temp7)
29738 delete arg7;
29739 }
29740 return NULL;
29741 }
29742
29743
29744 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
29745 PyObject *resultobj;
29746 wxPyControl *result;
29747 char *kwnames[] = {
29748 NULL
29749 };
29750
29751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29752 {
29753 if (!wxPyCheckForApp()) SWIG_fail;
29754 PyThreadState* __tstate = wxPyBeginAllowThreads();
29755 result = (wxPyControl *)new wxPyControl();
29756
29757 wxPyEndAllowThreads(__tstate);
29758 if (PyErr_Occurred()) SWIG_fail;
29759 }
29760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29761 return resultobj;
29762 fail:
29763 return NULL;
29764 }
29765
29766
29767 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
29768 PyObject *resultobj;
29769 wxPyControl *arg1 = (wxPyControl *) 0 ;
29770 PyObject *arg2 = (PyObject *) 0 ;
29771 PyObject *arg3 = (PyObject *) 0 ;
29772 PyObject * obj0 = 0 ;
29773 PyObject * obj1 = 0 ;
29774 PyObject * obj2 = 0 ;
29775 char *kwnames[] = {
29776 (char *) "self",(char *) "self",(char *) "_class", NULL
29777 };
29778
29779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29782 arg2 = obj1;
29783 arg3 = obj2;
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 (arg1)->_setCallbackInfo(arg2,arg3);
29787
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 Py_INCREF(Py_None); resultobj = Py_None;
29792 return resultobj;
29793 fail:
29794 return NULL;
29795 }
29796
29797
29798 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
29799 PyObject *resultobj;
29800 wxPyControl *arg1 = (wxPyControl *) 0 ;
29801 wxSize *arg2 = 0 ;
29802 wxSize temp2 ;
29803 PyObject * obj0 = 0 ;
29804 PyObject * obj1 = 0 ;
29805 char *kwnames[] = {
29806 (char *) "self",(char *) "size", NULL
29807 };
29808
29809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29812 {
29813 arg2 = &temp2;
29814 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29815 }
29816 {
29817 PyThreadState* __tstate = wxPyBeginAllowThreads();
29818 (arg1)->SetBestSize((wxSize const &)*arg2);
29819
29820 wxPyEndAllowThreads(__tstate);
29821 if (PyErr_Occurred()) SWIG_fail;
29822 }
29823 Py_INCREF(Py_None); resultobj = Py_None;
29824 return resultobj;
29825 fail:
29826 return NULL;
29827 }
29828
29829
29830 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29831 PyObject *resultobj;
29832 wxPyControl *arg1 = (wxPyControl *) 0 ;
29833 int arg2 ;
29834 int arg3 ;
29835 int arg4 ;
29836 int arg5 ;
29837 PyObject * obj0 = 0 ;
29838 PyObject * obj1 = 0 ;
29839 PyObject * obj2 = 0 ;
29840 PyObject * obj3 = 0 ;
29841 PyObject * obj4 = 0 ;
29842 char *kwnames[] = {
29843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29844 };
29845
29846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29849 arg2 = (int)SWIG_As_int(obj1);
29850 if (PyErr_Occurred()) SWIG_fail;
29851 arg3 = (int)SWIG_As_int(obj2);
29852 if (PyErr_Occurred()) SWIG_fail;
29853 arg4 = (int)SWIG_As_int(obj3);
29854 if (PyErr_Occurred()) SWIG_fail;
29855 arg5 = (int)SWIG_As_int(obj4);
29856 if (PyErr_Occurred()) SWIG_fail;
29857 {
29858 PyThreadState* __tstate = wxPyBeginAllowThreads();
29859 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29860
29861 wxPyEndAllowThreads(__tstate);
29862 if (PyErr_Occurred()) SWIG_fail;
29863 }
29864 Py_INCREF(Py_None); resultobj = Py_None;
29865 return resultobj;
29866 fail:
29867 return NULL;
29868 }
29869
29870
29871 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
29872 PyObject *resultobj;
29873 wxPyControl *arg1 = (wxPyControl *) 0 ;
29874 int arg2 ;
29875 int arg3 ;
29876 int arg4 ;
29877 int arg5 ;
29878 int arg6 = (int) wxSIZE_AUTO ;
29879 PyObject * obj0 = 0 ;
29880 PyObject * obj1 = 0 ;
29881 PyObject * obj2 = 0 ;
29882 PyObject * obj3 = 0 ;
29883 PyObject * obj4 = 0 ;
29884 PyObject * obj5 = 0 ;
29885 char *kwnames[] = {
29886 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29887 };
29888
29889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29892 arg2 = (int)SWIG_As_int(obj1);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 arg3 = (int)SWIG_As_int(obj2);
29895 if (PyErr_Occurred()) SWIG_fail;
29896 arg4 = (int)SWIG_As_int(obj3);
29897 if (PyErr_Occurred()) SWIG_fail;
29898 arg5 = (int)SWIG_As_int(obj4);
29899 if (PyErr_Occurred()) SWIG_fail;
29900 if (obj5) {
29901 arg6 = (int)SWIG_As_int(obj5);
29902 if (PyErr_Occurred()) SWIG_fail;
29903 }
29904 {
29905 PyThreadState* __tstate = wxPyBeginAllowThreads();
29906 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29907
29908 wxPyEndAllowThreads(__tstate);
29909 if (PyErr_Occurred()) SWIG_fail;
29910 }
29911 Py_INCREF(Py_None); resultobj = Py_None;
29912 return resultobj;
29913 fail:
29914 return NULL;
29915 }
29916
29917
29918 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
29919 PyObject *resultobj;
29920 wxPyControl *arg1 = (wxPyControl *) 0 ;
29921 int arg2 ;
29922 int arg3 ;
29923 PyObject * obj0 = 0 ;
29924 PyObject * obj1 = 0 ;
29925 PyObject * obj2 = 0 ;
29926 char *kwnames[] = {
29927 (char *) "self",(char *) "width",(char *) "height", NULL
29928 };
29929
29930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29933 arg2 = (int)SWIG_As_int(obj1);
29934 if (PyErr_Occurred()) SWIG_fail;
29935 arg3 = (int)SWIG_As_int(obj2);
29936 if (PyErr_Occurred()) SWIG_fail;
29937 {
29938 PyThreadState* __tstate = wxPyBeginAllowThreads();
29939 (arg1)->base_DoSetClientSize(arg2,arg3);
29940
29941 wxPyEndAllowThreads(__tstate);
29942 if (PyErr_Occurred()) SWIG_fail;
29943 }
29944 Py_INCREF(Py_None); resultobj = Py_None;
29945 return resultobj;
29946 fail:
29947 return NULL;
29948 }
29949
29950
29951 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
29952 PyObject *resultobj;
29953 wxPyControl *arg1 = (wxPyControl *) 0 ;
29954 int arg2 ;
29955 int arg3 ;
29956 PyObject * obj0 = 0 ;
29957 PyObject * obj1 = 0 ;
29958 PyObject * obj2 = 0 ;
29959 char *kwnames[] = {
29960 (char *) "self",(char *) "x",(char *) "y", NULL
29961 };
29962
29963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29966 arg2 = (int)SWIG_As_int(obj1);
29967 if (PyErr_Occurred()) SWIG_fail;
29968 arg3 = (int)SWIG_As_int(obj2);
29969 if (PyErr_Occurred()) SWIG_fail;
29970 {
29971 PyThreadState* __tstate = wxPyBeginAllowThreads();
29972 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29973
29974 wxPyEndAllowThreads(__tstate);
29975 if (PyErr_Occurred()) SWIG_fail;
29976 }
29977 Py_INCREF(Py_None); resultobj = Py_None;
29978 return resultobj;
29979 fail:
29980 return NULL;
29981 }
29982
29983
29984 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
29985 PyObject *resultobj;
29986 wxPyControl *arg1 = (wxPyControl *) 0 ;
29987 int *arg2 = (int *) 0 ;
29988 int *arg3 = (int *) 0 ;
29989 int temp2 ;
29990 int res2 = 0 ;
29991 int temp3 ;
29992 int res3 = 0 ;
29993 PyObject * obj0 = 0 ;
29994 char *kwnames[] = {
29995 (char *) "self", NULL
29996 };
29997
29998 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29999 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
30001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30003 {
30004 PyThreadState* __tstate = wxPyBeginAllowThreads();
30005 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
30006
30007 wxPyEndAllowThreads(__tstate);
30008 if (PyErr_Occurred()) SWIG_fail;
30009 }
30010 Py_INCREF(Py_None); resultobj = Py_None;
30011 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30012 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30013 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30014 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30015 return resultobj;
30016 fail:
30017 return NULL;
30018 }
30019
30020
30021 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
30022 PyObject *resultobj;
30023 wxPyControl *arg1 = (wxPyControl *) 0 ;
30024 int *arg2 = (int *) 0 ;
30025 int *arg3 = (int *) 0 ;
30026 int temp2 ;
30027 int res2 = 0 ;
30028 int temp3 ;
30029 int res3 = 0 ;
30030 PyObject * obj0 = 0 ;
30031 char *kwnames[] = {
30032 (char *) "self", NULL
30033 };
30034
30035 arg2 = &temp2; res2 = SWIG_NEWOBJ;
30036 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
30038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30040 {
30041 PyThreadState* __tstate = wxPyBeginAllowThreads();
30042 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
30043
30044 wxPyEndAllowThreads(__tstate);
30045 if (PyErr_Occurred()) SWIG_fail;
30046 }
30047 Py_INCREF(Py_None); resultobj = Py_None;
30048 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30049 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30050 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30051 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30052 return resultobj;
30053 fail:
30054 return NULL;
30055 }
30056
30057
30058 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30059 PyObject *resultobj;
30060 wxPyControl *arg1 = (wxPyControl *) 0 ;
30061 int *arg2 = (int *) 0 ;
30062 int *arg3 = (int *) 0 ;
30063 int temp2 ;
30064 int res2 = 0 ;
30065 int temp3 ;
30066 int res3 = 0 ;
30067 PyObject * obj0 = 0 ;
30068 char *kwnames[] = {
30069 (char *) "self", NULL
30070 };
30071
30072 arg2 = &temp2; res2 = SWIG_NEWOBJ;
30073 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
30075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30077 {
30078 PyThreadState* __tstate = wxPyBeginAllowThreads();
30079 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
30080
30081 wxPyEndAllowThreads(__tstate);
30082 if (PyErr_Occurred()) SWIG_fail;
30083 }
30084 Py_INCREF(Py_None); resultobj = Py_None;
30085 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30086 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30087 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30088 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30089 return resultobj;
30090 fail:
30091 return NULL;
30092 }
30093
30094
30095 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
30096 PyObject *resultobj;
30097 wxPyControl *arg1 = (wxPyControl *) 0 ;
30098 wxSize result;
30099 PyObject * obj0 = 0 ;
30100 char *kwnames[] = {
30101 (char *) "self", NULL
30102 };
30103
30104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
30105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30107 {
30108 PyThreadState* __tstate = wxPyBeginAllowThreads();
30109 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
30110
30111 wxPyEndAllowThreads(__tstate);
30112 if (PyErr_Occurred()) SWIG_fail;
30113 }
30114 {
30115 wxSize * resultptr;
30116 resultptr = new wxSize((wxSize &) result);
30117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
30118 }
30119 return resultobj;
30120 fail:
30121 return NULL;
30122 }
30123
30124
30125 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
30126 PyObject *resultobj;
30127 wxPyControl *arg1 = (wxPyControl *) 0 ;
30128 wxSize result;
30129 PyObject * obj0 = 0 ;
30130 char *kwnames[] = {
30131 (char *) "self", NULL
30132 };
30133
30134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
30135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30137 {
30138 PyThreadState* __tstate = wxPyBeginAllowThreads();
30139 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
30140
30141 wxPyEndAllowThreads(__tstate);
30142 if (PyErr_Occurred()) SWIG_fail;
30143 }
30144 {
30145 wxSize * resultptr;
30146 resultptr = new wxSize((wxSize &) result);
30147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
30148 }
30149 return resultobj;
30150 fail:
30151 return NULL;
30152 }
30153
30154
30155 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
30156 PyObject *resultobj;
30157 wxPyControl *arg1 = (wxPyControl *) 0 ;
30158 PyObject * obj0 = 0 ;
30159 char *kwnames[] = {
30160 (char *) "self", NULL
30161 };
30162
30163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
30164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30166 {
30167 PyThreadState* __tstate = wxPyBeginAllowThreads();
30168 (arg1)->base_InitDialog();
30169
30170 wxPyEndAllowThreads(__tstate);
30171 if (PyErr_Occurred()) SWIG_fail;
30172 }
30173 Py_INCREF(Py_None); resultobj = Py_None;
30174 return resultobj;
30175 fail:
30176 return NULL;
30177 }
30178
30179
30180 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
30181 PyObject *resultobj;
30182 wxPyControl *arg1 = (wxPyControl *) 0 ;
30183 bool result;
30184 PyObject * obj0 = 0 ;
30185 char *kwnames[] = {
30186 (char *) "self", NULL
30187 };
30188
30189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
30190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30192 {
30193 PyThreadState* __tstate = wxPyBeginAllowThreads();
30194 result = (bool)(arg1)->base_TransferDataToWindow();
30195
30196 wxPyEndAllowThreads(__tstate);
30197 if (PyErr_Occurred()) SWIG_fail;
30198 }
30199 {
30200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30201 }
30202 return resultobj;
30203 fail:
30204 return NULL;
30205 }
30206
30207
30208 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
30209 PyObject *resultobj;
30210 wxPyControl *arg1 = (wxPyControl *) 0 ;
30211 bool result;
30212 PyObject * obj0 = 0 ;
30213 char *kwnames[] = {
30214 (char *) "self", NULL
30215 };
30216
30217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
30218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30220 {
30221 PyThreadState* __tstate = wxPyBeginAllowThreads();
30222 result = (bool)(arg1)->base_TransferDataFromWindow();
30223
30224 wxPyEndAllowThreads(__tstate);
30225 if (PyErr_Occurred()) SWIG_fail;
30226 }
30227 {
30228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30229 }
30230 return resultobj;
30231 fail:
30232 return NULL;
30233 }
30234
30235
30236 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
30237 PyObject *resultobj;
30238 wxPyControl *arg1 = (wxPyControl *) 0 ;
30239 bool result;
30240 PyObject * obj0 = 0 ;
30241 char *kwnames[] = {
30242 (char *) "self", NULL
30243 };
30244
30245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
30246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30248 {
30249 PyThreadState* __tstate = wxPyBeginAllowThreads();
30250 result = (bool)(arg1)->base_Validate();
30251
30252 wxPyEndAllowThreads(__tstate);
30253 if (PyErr_Occurred()) SWIG_fail;
30254 }
30255 {
30256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30257 }
30258 return resultobj;
30259 fail:
30260 return NULL;
30261 }
30262
30263
30264 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
30265 PyObject *resultobj;
30266 wxPyControl *arg1 = (wxPyControl *) 0 ;
30267 bool result;
30268 PyObject * obj0 = 0 ;
30269 char *kwnames[] = {
30270 (char *) "self", NULL
30271 };
30272
30273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
30274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30276 {
30277 PyThreadState* __tstate = wxPyBeginAllowThreads();
30278 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
30279
30280 wxPyEndAllowThreads(__tstate);
30281 if (PyErr_Occurred()) SWIG_fail;
30282 }
30283 {
30284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30285 }
30286 return resultobj;
30287 fail:
30288 return NULL;
30289 }
30290
30291
30292 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
30293 PyObject *resultobj;
30294 wxPyControl *arg1 = (wxPyControl *) 0 ;
30295 bool result;
30296 PyObject * obj0 = 0 ;
30297 char *kwnames[] = {
30298 (char *) "self", NULL
30299 };
30300
30301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
30302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30304 {
30305 PyThreadState* __tstate = wxPyBeginAllowThreads();
30306 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
30307
30308 wxPyEndAllowThreads(__tstate);
30309 if (PyErr_Occurred()) SWIG_fail;
30310 }
30311 {
30312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30313 }
30314 return resultobj;
30315 fail:
30316 return NULL;
30317 }
30318
30319
30320 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
30321 PyObject *resultobj;
30322 wxPyControl *arg1 = (wxPyControl *) 0 ;
30323 wxSize result;
30324 PyObject * obj0 = 0 ;
30325 char *kwnames[] = {
30326 (char *) "self", NULL
30327 };
30328
30329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
30330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30332 {
30333 PyThreadState* __tstate = wxPyBeginAllowThreads();
30334 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
30335
30336 wxPyEndAllowThreads(__tstate);
30337 if (PyErr_Occurred()) SWIG_fail;
30338 }
30339 {
30340 wxSize * resultptr;
30341 resultptr = new wxSize((wxSize &) result);
30342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
30343 }
30344 return resultobj;
30345 fail:
30346 return NULL;
30347 }
30348
30349
30350 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
30351 PyObject *resultobj;
30352 wxPyControl *arg1 = (wxPyControl *) 0 ;
30353 wxWindow *arg2 = (wxWindow *) 0 ;
30354 PyObject * obj0 = 0 ;
30355 PyObject * obj1 = 0 ;
30356 char *kwnames[] = {
30357 (char *) "self",(char *) "child", NULL
30358 };
30359
30360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
30361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30365 {
30366 PyThreadState* __tstate = wxPyBeginAllowThreads();
30367 (arg1)->base_AddChild(arg2);
30368
30369 wxPyEndAllowThreads(__tstate);
30370 if (PyErr_Occurred()) SWIG_fail;
30371 }
30372 Py_INCREF(Py_None); resultobj = Py_None;
30373 return resultobj;
30374 fail:
30375 return NULL;
30376 }
30377
30378
30379 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
30380 PyObject *resultobj;
30381 wxPyControl *arg1 = (wxPyControl *) 0 ;
30382 wxWindow *arg2 = (wxWindow *) 0 ;
30383 PyObject * obj0 = 0 ;
30384 PyObject * obj1 = 0 ;
30385 char *kwnames[] = {
30386 (char *) "self",(char *) "child", NULL
30387 };
30388
30389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
30390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30394 {
30395 PyThreadState* __tstate = wxPyBeginAllowThreads();
30396 (arg1)->base_RemoveChild(arg2);
30397
30398 wxPyEndAllowThreads(__tstate);
30399 if (PyErr_Occurred()) SWIG_fail;
30400 }
30401 Py_INCREF(Py_None); resultobj = Py_None;
30402 return resultobj;
30403 fail:
30404 return NULL;
30405 }
30406
30407
30408 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
30409 PyObject *resultobj;
30410 wxPyControl *arg1 = (wxPyControl *) 0 ;
30411 bool result;
30412 PyObject * obj0 = 0 ;
30413 char *kwnames[] = {
30414 (char *) "self", NULL
30415 };
30416
30417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
30418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30420 {
30421 PyThreadState* __tstate = wxPyBeginAllowThreads();
30422 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
30423
30424 wxPyEndAllowThreads(__tstate);
30425 if (PyErr_Occurred()) SWIG_fail;
30426 }
30427 {
30428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30429 }
30430 return resultobj;
30431 fail:
30432 return NULL;
30433 }
30434
30435
30436 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
30437 PyObject *resultobj;
30438 wxPyControl *arg1 = (wxPyControl *) 0 ;
30439 wxColour *arg2 = 0 ;
30440 wxColour temp2 ;
30441 PyObject * obj0 = 0 ;
30442 PyObject * obj1 = 0 ;
30443 char *kwnames[] = {
30444 (char *) "self",(char *) "c", NULL
30445 };
30446
30447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
30448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30450 {
30451 arg2 = &temp2;
30452 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30453 }
30454 {
30455 PyThreadState* __tstate = wxPyBeginAllowThreads();
30456 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
30457
30458 wxPyEndAllowThreads(__tstate);
30459 if (PyErr_Occurred()) SWIG_fail;
30460 }
30461 Py_INCREF(Py_None); resultobj = Py_None;
30462 return resultobj;
30463 fail:
30464 return NULL;
30465 }
30466
30467
30468 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30469 PyObject *resultobj;
30470 wxPyControl *arg1 = (wxPyControl *) 0 ;
30471 wxVisualAttributes result;
30472 PyObject * obj0 = 0 ;
30473 char *kwnames[] = {
30474 (char *) "self", NULL
30475 };
30476
30477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
30478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30480 {
30481 PyThreadState* __tstate = wxPyBeginAllowThreads();
30482 result = (arg1)->base_GetDefaultAttributes();
30483
30484 wxPyEndAllowThreads(__tstate);
30485 if (PyErr_Occurred()) SWIG_fail;
30486 }
30487 {
30488 wxVisualAttributes * resultptr;
30489 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
30490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30491 }
30492 return resultobj;
30493 fail:
30494 return NULL;
30495 }
30496
30497
30498 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
30499 PyObject *obj;
30500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30501 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
30502 Py_INCREF(obj);
30503 return Py_BuildValue((char *)"");
30504 }
30505 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
30506 PyObject *resultobj;
30507 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
30508 int arg2 = (int) 0 ;
30509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30511 wxHelpEvent *result;
30512 wxPoint temp3 ;
30513 PyObject * obj0 = 0 ;
30514 PyObject * obj1 = 0 ;
30515 PyObject * obj2 = 0 ;
30516 char *kwnames[] = {
30517 (char *) "type",(char *) "winid",(char *) "pt", NULL
30518 };
30519
30520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30521 if (obj0) {
30522 arg1 = (wxEventType)SWIG_As_int(obj0);
30523 if (PyErr_Occurred()) SWIG_fail;
30524 }
30525 if (obj1) {
30526 arg2 = (int)SWIG_As_int(obj1);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 }
30529 if (obj2) {
30530 {
30531 arg3 = &temp3;
30532 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30533 }
30534 }
30535 {
30536 PyThreadState* __tstate = wxPyBeginAllowThreads();
30537 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
30538
30539 wxPyEndAllowThreads(__tstate);
30540 if (PyErr_Occurred()) SWIG_fail;
30541 }
30542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
30543 return resultobj;
30544 fail:
30545 return NULL;
30546 }
30547
30548
30549 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30550 PyObject *resultobj;
30551 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30552 wxPoint result;
30553 PyObject * obj0 = 0 ;
30554 char *kwnames[] = {
30555 (char *) "self", NULL
30556 };
30557
30558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
30559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30561 {
30562 PyThreadState* __tstate = wxPyBeginAllowThreads();
30563 result = ((wxHelpEvent const *)arg1)->GetPosition();
30564
30565 wxPyEndAllowThreads(__tstate);
30566 if (PyErr_Occurred()) SWIG_fail;
30567 }
30568 {
30569 wxPoint * resultptr;
30570 resultptr = new wxPoint((wxPoint &) result);
30571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30572 }
30573 return resultobj;
30574 fail:
30575 return NULL;
30576 }
30577
30578
30579 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30580 PyObject *resultobj;
30581 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30582 wxPoint *arg2 = 0 ;
30583 wxPoint temp2 ;
30584 PyObject * obj0 = 0 ;
30585 PyObject * obj1 = 0 ;
30586 char *kwnames[] = {
30587 (char *) "self",(char *) "pos", NULL
30588 };
30589
30590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
30591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30593 {
30594 arg2 = &temp2;
30595 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30596 }
30597 {
30598 PyThreadState* __tstate = wxPyBeginAllowThreads();
30599 (arg1)->SetPosition((wxPoint const &)*arg2);
30600
30601 wxPyEndAllowThreads(__tstate);
30602 if (PyErr_Occurred()) SWIG_fail;
30603 }
30604 Py_INCREF(Py_None); resultobj = Py_None;
30605 return resultobj;
30606 fail:
30607 return NULL;
30608 }
30609
30610
30611 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
30612 PyObject *resultobj;
30613 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30614 wxString *result;
30615 PyObject * obj0 = 0 ;
30616 char *kwnames[] = {
30617 (char *) "self", NULL
30618 };
30619
30620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
30621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30623 {
30624 PyThreadState* __tstate = wxPyBeginAllowThreads();
30625 {
30626 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
30627 result = (wxString *) &_result_ref;
30628 }
30629
30630 wxPyEndAllowThreads(__tstate);
30631 if (PyErr_Occurred()) SWIG_fail;
30632 }
30633 {
30634 #if wxUSE_UNICODE
30635 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30636 #else
30637 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30638 #endif
30639 }
30640 return resultobj;
30641 fail:
30642 return NULL;
30643 }
30644
30645
30646 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
30647 PyObject *resultobj;
30648 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30649 wxString *arg2 = 0 ;
30650 bool temp2 = false ;
30651 PyObject * obj0 = 0 ;
30652 PyObject * obj1 = 0 ;
30653 char *kwnames[] = {
30654 (char *) "self",(char *) "link", NULL
30655 };
30656
30657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
30658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30660 {
30661 arg2 = wxString_in_helper(obj1);
30662 if (arg2 == NULL) SWIG_fail;
30663 temp2 = true;
30664 }
30665 {
30666 PyThreadState* __tstate = wxPyBeginAllowThreads();
30667 (arg1)->SetLink((wxString const &)*arg2);
30668
30669 wxPyEndAllowThreads(__tstate);
30670 if (PyErr_Occurred()) SWIG_fail;
30671 }
30672 Py_INCREF(Py_None); resultobj = Py_None;
30673 {
30674 if (temp2)
30675 delete arg2;
30676 }
30677 return resultobj;
30678 fail:
30679 {
30680 if (temp2)
30681 delete arg2;
30682 }
30683 return NULL;
30684 }
30685
30686
30687 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
30688 PyObject *resultobj;
30689 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30690 wxString *result;
30691 PyObject * obj0 = 0 ;
30692 char *kwnames[] = {
30693 (char *) "self", NULL
30694 };
30695
30696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
30697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30699 {
30700 PyThreadState* __tstate = wxPyBeginAllowThreads();
30701 {
30702 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30703 result = (wxString *) &_result_ref;
30704 }
30705
30706 wxPyEndAllowThreads(__tstate);
30707 if (PyErr_Occurred()) SWIG_fail;
30708 }
30709 {
30710 #if wxUSE_UNICODE
30711 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30712 #else
30713 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30714 #endif
30715 }
30716 return resultobj;
30717 fail:
30718 return NULL;
30719 }
30720
30721
30722 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
30723 PyObject *resultobj;
30724 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30725 wxString *arg2 = 0 ;
30726 bool temp2 = false ;
30727 PyObject * obj0 = 0 ;
30728 PyObject * obj1 = 0 ;
30729 char *kwnames[] = {
30730 (char *) "self",(char *) "target", NULL
30731 };
30732
30733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30736 {
30737 arg2 = wxString_in_helper(obj1);
30738 if (arg2 == NULL) SWIG_fail;
30739 temp2 = true;
30740 }
30741 {
30742 PyThreadState* __tstate = wxPyBeginAllowThreads();
30743 (arg1)->SetTarget((wxString const &)*arg2);
30744
30745 wxPyEndAllowThreads(__tstate);
30746 if (PyErr_Occurred()) SWIG_fail;
30747 }
30748 Py_INCREF(Py_None); resultobj = Py_None;
30749 {
30750 if (temp2)
30751 delete arg2;
30752 }
30753 return resultobj;
30754 fail:
30755 {
30756 if (temp2)
30757 delete arg2;
30758 }
30759 return NULL;
30760 }
30761
30762
30763 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
30764 PyObject *obj;
30765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30766 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30767 Py_INCREF(obj);
30768 return Py_BuildValue((char *)"");
30769 }
30770 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30771 PyObject *resultobj;
30772 wxWindow *arg1 = (wxWindow *) NULL ;
30773 bool arg2 = (bool) true ;
30774 wxContextHelp *result;
30775 PyObject * obj0 = 0 ;
30776 PyObject * obj1 = 0 ;
30777 char *kwnames[] = {
30778 (char *) "window",(char *) "doNow", NULL
30779 };
30780
30781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30782 if (obj0) {
30783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30785 }
30786 if (obj1) {
30787 arg2 = (bool)SWIG_As_bool(obj1);
30788 if (PyErr_Occurred()) SWIG_fail;
30789 }
30790 {
30791 if (!wxPyCheckForApp()) SWIG_fail;
30792 PyThreadState* __tstate = wxPyBeginAllowThreads();
30793 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30794
30795 wxPyEndAllowThreads(__tstate);
30796 if (PyErr_Occurred()) SWIG_fail;
30797 }
30798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30799 return resultobj;
30800 fail:
30801 return NULL;
30802 }
30803
30804
30805 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30806 PyObject *resultobj;
30807 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30808 PyObject * obj0 = 0 ;
30809 char *kwnames[] = {
30810 (char *) "self", NULL
30811 };
30812
30813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30816 {
30817 PyThreadState* __tstate = wxPyBeginAllowThreads();
30818 delete arg1;
30819
30820 wxPyEndAllowThreads(__tstate);
30821 if (PyErr_Occurred()) SWIG_fail;
30822 }
30823 Py_INCREF(Py_None); resultobj = Py_None;
30824 return resultobj;
30825 fail:
30826 return NULL;
30827 }
30828
30829
30830 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30831 PyObject *resultobj;
30832 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30833 wxWindow *arg2 = (wxWindow *) NULL ;
30834 bool result;
30835 PyObject * obj0 = 0 ;
30836 PyObject * obj1 = 0 ;
30837 char *kwnames[] = {
30838 (char *) "self",(char *) "window", NULL
30839 };
30840
30841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30844 if (obj1) {
30845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30847 }
30848 {
30849 PyThreadState* __tstate = wxPyBeginAllowThreads();
30850 result = (bool)(arg1)->BeginContextHelp(arg2);
30851
30852 wxPyEndAllowThreads(__tstate);
30853 if (PyErr_Occurred()) SWIG_fail;
30854 }
30855 {
30856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30857 }
30858 return resultobj;
30859 fail:
30860 return NULL;
30861 }
30862
30863
30864 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30865 PyObject *resultobj;
30866 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30867 bool result;
30868 PyObject * obj0 = 0 ;
30869 char *kwnames[] = {
30870 (char *) "self", NULL
30871 };
30872
30873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30876 {
30877 PyThreadState* __tstate = wxPyBeginAllowThreads();
30878 result = (bool)(arg1)->EndContextHelp();
30879
30880 wxPyEndAllowThreads(__tstate);
30881 if (PyErr_Occurred()) SWIG_fail;
30882 }
30883 {
30884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30885 }
30886 return resultobj;
30887 fail:
30888 return NULL;
30889 }
30890
30891
30892 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
30893 PyObject *obj;
30894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30895 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30896 Py_INCREF(obj);
30897 return Py_BuildValue((char *)"");
30898 }
30899 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
30900 PyObject *resultobj;
30901 wxWindow *arg1 = (wxWindow *) 0 ;
30902 int arg2 = (int) wxID_CONTEXT_HELP ;
30903 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30904 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30905 wxSize const &arg4_defvalue = wxDefaultSize ;
30906 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30907 long arg5 = (long) wxBU_AUTODRAW ;
30908 wxContextHelpButton *result;
30909 wxPoint temp3 ;
30910 wxSize temp4 ;
30911 PyObject * obj0 = 0 ;
30912 PyObject * obj1 = 0 ;
30913 PyObject * obj2 = 0 ;
30914 PyObject * obj3 = 0 ;
30915 PyObject * obj4 = 0 ;
30916 char *kwnames[] = {
30917 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30918 };
30919
30920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30923 if (obj1) {
30924 arg2 = (int)SWIG_As_int(obj1);
30925 if (PyErr_Occurred()) SWIG_fail;
30926 }
30927 if (obj2) {
30928 {
30929 arg3 = &temp3;
30930 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30931 }
30932 }
30933 if (obj3) {
30934 {
30935 arg4 = &temp4;
30936 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30937 }
30938 }
30939 if (obj4) {
30940 arg5 = (long)SWIG_As_long(obj4);
30941 if (PyErr_Occurred()) SWIG_fail;
30942 }
30943 {
30944 if (!wxPyCheckForApp()) SWIG_fail;
30945 PyThreadState* __tstate = wxPyBeginAllowThreads();
30946 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30947
30948 wxPyEndAllowThreads(__tstate);
30949 if (PyErr_Occurred()) SWIG_fail;
30950 }
30951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30952 return resultobj;
30953 fail:
30954 return NULL;
30955 }
30956
30957
30958 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
30959 PyObject *obj;
30960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30961 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30962 Py_INCREF(obj);
30963 return Py_BuildValue((char *)"");
30964 }
30965 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
30966 PyObject *resultobj;
30967 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30968 wxHelpProvider *result;
30969 PyObject * obj0 = 0 ;
30970 char *kwnames[] = {
30971 (char *) "helpProvider", NULL
30972 };
30973
30974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30977 {
30978 PyThreadState* __tstate = wxPyBeginAllowThreads();
30979 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30980
30981 wxPyEndAllowThreads(__tstate);
30982 if (PyErr_Occurred()) SWIG_fail;
30983 }
30984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30985 return resultobj;
30986 fail:
30987 return NULL;
30988 }
30989
30990
30991 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
30992 PyObject *resultobj;
30993 wxHelpProvider *result;
30994 char *kwnames[] = {
30995 NULL
30996 };
30997
30998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30999 {
31000 PyThreadState* __tstate = wxPyBeginAllowThreads();
31001 result = (wxHelpProvider *)wxHelpProvider::Get();
31002
31003 wxPyEndAllowThreads(__tstate);
31004 if (PyErr_Occurred()) SWIG_fail;
31005 }
31006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
31007 return resultobj;
31008 fail:
31009 return NULL;
31010 }
31011
31012
31013 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31014 PyObject *resultobj;
31015 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31016 wxWindow *arg2 = (wxWindow *) 0 ;
31017 wxString result;
31018 PyObject * obj0 = 0 ;
31019 PyObject * obj1 = 0 ;
31020 char *kwnames[] = {
31021 (char *) "self",(char *) "window", NULL
31022 };
31023
31024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
31025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31029 {
31030 PyThreadState* __tstate = wxPyBeginAllowThreads();
31031 result = (arg1)->GetHelp((wxWindow const *)arg2);
31032
31033 wxPyEndAllowThreads(__tstate);
31034 if (PyErr_Occurred()) SWIG_fail;
31035 }
31036 {
31037 #if wxUSE_UNICODE
31038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31039 #else
31040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31041 #endif
31042 }
31043 return resultobj;
31044 fail:
31045 return NULL;
31046 }
31047
31048
31049 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31050 PyObject *resultobj;
31051 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31052 wxWindow *arg2 = (wxWindow *) 0 ;
31053 bool result;
31054 PyObject * obj0 = 0 ;
31055 PyObject * obj1 = 0 ;
31056 char *kwnames[] = {
31057 (char *) "self",(char *) "window", NULL
31058 };
31059
31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
31061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31065 {
31066 PyThreadState* __tstate = wxPyBeginAllowThreads();
31067 result = (bool)(arg1)->ShowHelp(arg2);
31068
31069 wxPyEndAllowThreads(__tstate);
31070 if (PyErr_Occurred()) SWIG_fail;
31071 }
31072 {
31073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31074 }
31075 return resultobj;
31076 fail:
31077 return NULL;
31078 }
31079
31080
31081 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31082 PyObject *resultobj;
31083 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31084 wxWindow *arg2 = (wxWindow *) 0 ;
31085 wxString *arg3 = 0 ;
31086 bool temp3 = false ;
31087 PyObject * obj0 = 0 ;
31088 PyObject * obj1 = 0 ;
31089 PyObject * obj2 = 0 ;
31090 char *kwnames[] = {
31091 (char *) "self",(char *) "window",(char *) "text", NULL
31092 };
31093
31094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
31095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31099 {
31100 arg3 = wxString_in_helper(obj2);
31101 if (arg3 == NULL) SWIG_fail;
31102 temp3 = true;
31103 }
31104 {
31105 PyThreadState* __tstate = wxPyBeginAllowThreads();
31106 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
31107
31108 wxPyEndAllowThreads(__tstate);
31109 if (PyErr_Occurred()) SWIG_fail;
31110 }
31111 Py_INCREF(Py_None); resultobj = Py_None;
31112 {
31113 if (temp3)
31114 delete arg3;
31115 }
31116 return resultobj;
31117 fail:
31118 {
31119 if (temp3)
31120 delete arg3;
31121 }
31122 return NULL;
31123 }
31124
31125
31126 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
31127 PyObject *resultobj;
31128 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31129 int arg2 ;
31130 wxString *arg3 = 0 ;
31131 bool temp3 = false ;
31132 PyObject * obj0 = 0 ;
31133 PyObject * obj1 = 0 ;
31134 PyObject * obj2 = 0 ;
31135 char *kwnames[] = {
31136 (char *) "self",(char *) "id",(char *) "text", NULL
31137 };
31138
31139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
31140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31142 arg2 = (int)SWIG_As_int(obj1);
31143 if (PyErr_Occurred()) SWIG_fail;
31144 {
31145 arg3 = wxString_in_helper(obj2);
31146 if (arg3 == NULL) SWIG_fail;
31147 temp3 = true;
31148 }
31149 {
31150 PyThreadState* __tstate = wxPyBeginAllowThreads();
31151 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
31152
31153 wxPyEndAllowThreads(__tstate);
31154 if (PyErr_Occurred()) SWIG_fail;
31155 }
31156 Py_INCREF(Py_None); resultobj = Py_None;
31157 {
31158 if (temp3)
31159 delete arg3;
31160 }
31161 return resultobj;
31162 fail:
31163 {
31164 if (temp3)
31165 delete arg3;
31166 }
31167 return NULL;
31168 }
31169
31170
31171 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31172 PyObject *resultobj;
31173 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31174 wxWindow *arg2 = (wxWindow *) 0 ;
31175 PyObject * obj0 = 0 ;
31176 PyObject * obj1 = 0 ;
31177 char *kwnames[] = {
31178 (char *) "self",(char *) "window", NULL
31179 };
31180
31181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
31182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31186 {
31187 PyThreadState* __tstate = wxPyBeginAllowThreads();
31188 (arg1)->RemoveHelp(arg2);
31189
31190 wxPyEndAllowThreads(__tstate);
31191 if (PyErr_Occurred()) SWIG_fail;
31192 }
31193 Py_INCREF(Py_None); resultobj = Py_None;
31194 return resultobj;
31195 fail:
31196 return NULL;
31197 }
31198
31199
31200 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
31201 PyObject *resultobj;
31202 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31203 PyObject * obj0 = 0 ;
31204 char *kwnames[] = {
31205 (char *) "self", NULL
31206 };
31207
31208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
31209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31211 {
31212 PyThreadState* __tstate = wxPyBeginAllowThreads();
31213 wxHelpProvider_Destroy(arg1);
31214
31215 wxPyEndAllowThreads(__tstate);
31216 if (PyErr_Occurred()) SWIG_fail;
31217 }
31218 Py_INCREF(Py_None); resultobj = Py_None;
31219 return resultobj;
31220 fail:
31221 return NULL;
31222 }
31223
31224
31225 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
31226 PyObject *obj;
31227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31228 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
31229 Py_INCREF(obj);
31230 return Py_BuildValue((char *)"");
31231 }
31232 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
31233 PyObject *resultobj;
31234 wxSimpleHelpProvider *result;
31235 char *kwnames[] = {
31236 NULL
31237 };
31238
31239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
31240 {
31241 PyThreadState* __tstate = wxPyBeginAllowThreads();
31242 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
31243
31244 wxPyEndAllowThreads(__tstate);
31245 if (PyErr_Occurred()) SWIG_fail;
31246 }
31247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
31248 return resultobj;
31249 fail:
31250 return NULL;
31251 }
31252
31253
31254 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
31255 PyObject *obj;
31256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31257 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
31258 Py_INCREF(obj);
31259 return Py_BuildValue((char *)"");
31260 }
31261 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
31262 PyObject *resultobj;
31263 wxBitmap *arg1 = 0 ;
31264 wxCursor const &arg2_defvalue = wxNullCursor ;
31265 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31266 wxGenericDragImage *result;
31267 PyObject * obj0 = 0 ;
31268 PyObject * obj1 = 0 ;
31269 char *kwnames[] = {
31270 (char *) "image",(char *) "cursor", NULL
31271 };
31272
31273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
31274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
31275 SWIG_POINTER_EXCEPTION | 0)) == -1)
31276 SWIG_fail;
31277 if (arg1 == NULL) {
31278 PyErr_SetString(PyExc_TypeError,"null reference");
31279 SWIG_fail;
31280 }
31281 if (obj1) {
31282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31283 SWIG_POINTER_EXCEPTION | 0)) == -1)
31284 SWIG_fail;
31285 if (arg2 == NULL) {
31286 PyErr_SetString(PyExc_TypeError,"null reference");
31287 SWIG_fail;
31288 }
31289 }
31290 {
31291 if (!wxPyCheckForApp()) SWIG_fail;
31292 PyThreadState* __tstate = wxPyBeginAllowThreads();
31293 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
31294
31295 wxPyEndAllowThreads(__tstate);
31296 if (PyErr_Occurred()) SWIG_fail;
31297 }
31298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31299 return resultobj;
31300 fail:
31301 return NULL;
31302 }
31303
31304
31305 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
31306 PyObject *resultobj;
31307 wxIcon *arg1 = 0 ;
31308 wxCursor const &arg2_defvalue = wxNullCursor ;
31309 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31310 wxGenericDragImage *result;
31311 PyObject * obj0 = 0 ;
31312 PyObject * obj1 = 0 ;
31313 char *kwnames[] = {
31314 (char *) "image",(char *) "cursor", NULL
31315 };
31316
31317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
31318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
31319 SWIG_POINTER_EXCEPTION | 0)) == -1)
31320 SWIG_fail;
31321 if (arg1 == NULL) {
31322 PyErr_SetString(PyExc_TypeError,"null reference");
31323 SWIG_fail;
31324 }
31325 if (obj1) {
31326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31327 SWIG_POINTER_EXCEPTION | 0)) == -1)
31328 SWIG_fail;
31329 if (arg2 == NULL) {
31330 PyErr_SetString(PyExc_TypeError,"null reference");
31331 SWIG_fail;
31332 }
31333 }
31334 {
31335 if (!wxPyCheckForApp()) SWIG_fail;
31336 PyThreadState* __tstate = wxPyBeginAllowThreads();
31337 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
31338
31339 wxPyEndAllowThreads(__tstate);
31340 if (PyErr_Occurred()) SWIG_fail;
31341 }
31342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31343 return resultobj;
31344 fail:
31345 return NULL;
31346 }
31347
31348
31349 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
31350 PyObject *resultobj;
31351 wxString *arg1 = 0 ;
31352 wxCursor const &arg2_defvalue = wxNullCursor ;
31353 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31354 wxGenericDragImage *result;
31355 bool temp1 = false ;
31356 PyObject * obj0 = 0 ;
31357 PyObject * obj1 = 0 ;
31358 char *kwnames[] = {
31359 (char *) "str",(char *) "cursor", NULL
31360 };
31361
31362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
31363 {
31364 arg1 = wxString_in_helper(obj0);
31365 if (arg1 == NULL) SWIG_fail;
31366 temp1 = true;
31367 }
31368 if (obj1) {
31369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31370 SWIG_POINTER_EXCEPTION | 0)) == -1)
31371 SWIG_fail;
31372 if (arg2 == NULL) {
31373 PyErr_SetString(PyExc_TypeError,"null reference");
31374 SWIG_fail;
31375 }
31376 }
31377 {
31378 if (!wxPyCheckForApp()) SWIG_fail;
31379 PyThreadState* __tstate = wxPyBeginAllowThreads();
31380 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
31381
31382 wxPyEndAllowThreads(__tstate);
31383 if (PyErr_Occurred()) SWIG_fail;
31384 }
31385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31386 {
31387 if (temp1)
31388 delete arg1;
31389 }
31390 return resultobj;
31391 fail:
31392 {
31393 if (temp1)
31394 delete arg1;
31395 }
31396 return NULL;
31397 }
31398
31399
31400 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
31401 PyObject *resultobj;
31402 wxPyTreeCtrl *arg1 = 0 ;
31403 wxTreeItemId *arg2 = 0 ;
31404 wxGenericDragImage *result;
31405 PyObject * obj0 = 0 ;
31406 PyObject * obj1 = 0 ;
31407 char *kwnames[] = {
31408 (char *) "treeCtrl",(char *) "id", NULL
31409 };
31410
31411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
31412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
31413 SWIG_POINTER_EXCEPTION | 0)) == -1)
31414 SWIG_fail;
31415 if (arg1 == NULL) {
31416 PyErr_SetString(PyExc_TypeError,"null reference");
31417 SWIG_fail;
31418 }
31419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
31420 SWIG_POINTER_EXCEPTION | 0)) == -1)
31421 SWIG_fail;
31422 if (arg2 == NULL) {
31423 PyErr_SetString(PyExc_TypeError,"null reference");
31424 SWIG_fail;
31425 }
31426 {
31427 if (!wxPyCheckForApp()) SWIG_fail;
31428 PyThreadState* __tstate = wxPyBeginAllowThreads();
31429 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
31430
31431 wxPyEndAllowThreads(__tstate);
31432 if (PyErr_Occurred()) SWIG_fail;
31433 }
31434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31435 return resultobj;
31436 fail:
31437 return NULL;
31438 }
31439
31440
31441 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
31442 PyObject *resultobj;
31443 wxPyListCtrl *arg1 = 0 ;
31444 long arg2 ;
31445 wxGenericDragImage *result;
31446 PyObject * obj0 = 0 ;
31447 PyObject * obj1 = 0 ;
31448 char *kwnames[] = {
31449 (char *) "listCtrl",(char *) "id", NULL
31450 };
31451
31452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
31453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
31454 SWIG_POINTER_EXCEPTION | 0)) == -1)
31455 SWIG_fail;
31456 if (arg1 == NULL) {
31457 PyErr_SetString(PyExc_TypeError,"null reference");
31458 SWIG_fail;
31459 }
31460 arg2 = (long)SWIG_As_long(obj1);
31461 if (PyErr_Occurred()) SWIG_fail;
31462 {
31463 if (!wxPyCheckForApp()) SWIG_fail;
31464 PyThreadState* __tstate = wxPyBeginAllowThreads();
31465 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
31466
31467 wxPyEndAllowThreads(__tstate);
31468 if (PyErr_Occurred()) SWIG_fail;
31469 }
31470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31471 return resultobj;
31472 fail:
31473 return NULL;
31474 }
31475
31476
31477 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
31478 PyObject *resultobj;
31479 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31480 PyObject * obj0 = 0 ;
31481 char *kwnames[] = {
31482 (char *) "self", NULL
31483 };
31484
31485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",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 delete arg1;
31491
31492 wxPyEndAllowThreads(__tstate);
31493 if (PyErr_Occurred()) SWIG_fail;
31494 }
31495 Py_INCREF(Py_None); resultobj = Py_None;
31496 return resultobj;
31497 fail:
31498 return NULL;
31499 }
31500
31501
31502 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
31503 PyObject *resultobj;
31504 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31505 wxBitmap *arg2 = (wxBitmap *) 0 ;
31506 PyObject * obj0 = 0 ;
31507 PyObject * obj1 = 0 ;
31508 char *kwnames[] = {
31509 (char *) "self",(char *) "bitmap", NULL
31510 };
31511
31512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
31513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31517 {
31518 PyThreadState* __tstate = wxPyBeginAllowThreads();
31519 (arg1)->SetBackingBitmap(arg2);
31520
31521 wxPyEndAllowThreads(__tstate);
31522 if (PyErr_Occurred()) SWIG_fail;
31523 }
31524 Py_INCREF(Py_None); resultobj = Py_None;
31525 return resultobj;
31526 fail:
31527 return NULL;
31528 }
31529
31530
31531 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
31532 PyObject *resultobj;
31533 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31534 wxPoint *arg2 = 0 ;
31535 wxWindow *arg3 = (wxWindow *) 0 ;
31536 bool arg4 = (bool) false ;
31537 wxRect *arg5 = (wxRect *) NULL ;
31538 bool result;
31539 wxPoint temp2 ;
31540 PyObject * obj0 = 0 ;
31541 PyObject * obj1 = 0 ;
31542 PyObject * obj2 = 0 ;
31543 PyObject * obj3 = 0 ;
31544 PyObject * obj4 = 0 ;
31545 char *kwnames[] = {
31546 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31547 };
31548
31549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31552 {
31553 arg2 = &temp2;
31554 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31555 }
31556 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31558 if (obj3) {
31559 arg4 = (bool)SWIG_As_bool(obj3);
31560 if (PyErr_Occurred()) SWIG_fail;
31561 }
31562 if (obj4) {
31563 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
31564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31565 }
31566 {
31567 PyThreadState* __tstate = wxPyBeginAllowThreads();
31568 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
31569
31570 wxPyEndAllowThreads(__tstate);
31571 if (PyErr_Occurred()) SWIG_fail;
31572 }
31573 {
31574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31575 }
31576 return resultobj;
31577 fail:
31578 return NULL;
31579 }
31580
31581
31582 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
31583 PyObject *resultobj;
31584 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31585 wxPoint *arg2 = 0 ;
31586 wxWindow *arg3 = (wxWindow *) 0 ;
31587 wxWindow *arg4 = (wxWindow *) 0 ;
31588 bool result;
31589 wxPoint temp2 ;
31590 PyObject * obj0 = 0 ;
31591 PyObject * obj1 = 0 ;
31592 PyObject * obj2 = 0 ;
31593 PyObject * obj3 = 0 ;
31594 char *kwnames[] = {
31595 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31596 };
31597
31598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31601 {
31602 arg2 = &temp2;
31603 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31604 }
31605 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31607 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
31608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31609 {
31610 PyThreadState* __tstate = wxPyBeginAllowThreads();
31611 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
31612
31613 wxPyEndAllowThreads(__tstate);
31614 if (PyErr_Occurred()) SWIG_fail;
31615 }
31616 {
31617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31618 }
31619 return resultobj;
31620 fail:
31621 return NULL;
31622 }
31623
31624
31625 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
31626 PyObject *resultobj;
31627 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31628 bool result;
31629 PyObject * obj0 = 0 ;
31630 char *kwnames[] = {
31631 (char *) "self", NULL
31632 };
31633
31634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
31635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31637 {
31638 PyThreadState* __tstate = wxPyBeginAllowThreads();
31639 result = (bool)(arg1)->EndDrag();
31640
31641 wxPyEndAllowThreads(__tstate);
31642 if (PyErr_Occurred()) SWIG_fail;
31643 }
31644 {
31645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31646 }
31647 return resultobj;
31648 fail:
31649 return NULL;
31650 }
31651
31652
31653 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
31654 PyObject *resultobj;
31655 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31656 wxPoint *arg2 = 0 ;
31657 bool result;
31658 wxPoint temp2 ;
31659 PyObject * obj0 = 0 ;
31660 PyObject * obj1 = 0 ;
31661 char *kwnames[] = {
31662 (char *) "self",(char *) "pt", NULL
31663 };
31664
31665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
31666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31668 {
31669 arg2 = &temp2;
31670 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31671 }
31672 {
31673 PyThreadState* __tstate = wxPyBeginAllowThreads();
31674 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31675
31676 wxPyEndAllowThreads(__tstate);
31677 if (PyErr_Occurred()) SWIG_fail;
31678 }
31679 {
31680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31681 }
31682 return resultobj;
31683 fail:
31684 return NULL;
31685 }
31686
31687
31688 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
31689 PyObject *resultobj;
31690 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31691 bool result;
31692 PyObject * obj0 = 0 ;
31693 char *kwnames[] = {
31694 (char *) "self", NULL
31695 };
31696
31697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
31698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31700 {
31701 PyThreadState* __tstate = wxPyBeginAllowThreads();
31702 result = (bool)(arg1)->Show();
31703
31704 wxPyEndAllowThreads(__tstate);
31705 if (PyErr_Occurred()) SWIG_fail;
31706 }
31707 {
31708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31709 }
31710 return resultobj;
31711 fail:
31712 return NULL;
31713 }
31714
31715
31716 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
31717 PyObject *resultobj;
31718 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31719 bool result;
31720 PyObject * obj0 = 0 ;
31721 char *kwnames[] = {
31722 (char *) "self", NULL
31723 };
31724
31725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
31726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31728 {
31729 PyThreadState* __tstate = wxPyBeginAllowThreads();
31730 result = (bool)(arg1)->Hide();
31731
31732 wxPyEndAllowThreads(__tstate);
31733 if (PyErr_Occurred()) SWIG_fail;
31734 }
31735 {
31736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31737 }
31738 return resultobj;
31739 fail:
31740 return NULL;
31741 }
31742
31743
31744 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
31745 PyObject *resultobj;
31746 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31747 wxPoint *arg2 = 0 ;
31748 wxRect result;
31749 wxPoint temp2 ;
31750 PyObject * obj0 = 0 ;
31751 PyObject * obj1 = 0 ;
31752 char *kwnames[] = {
31753 (char *) "self",(char *) "pos", NULL
31754 };
31755
31756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31759 {
31760 arg2 = &temp2;
31761 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31762 }
31763 {
31764 PyThreadState* __tstate = wxPyBeginAllowThreads();
31765 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31766
31767 wxPyEndAllowThreads(__tstate);
31768 if (PyErr_Occurred()) SWIG_fail;
31769 }
31770 {
31771 wxRect * resultptr;
31772 resultptr = new wxRect((wxRect &) result);
31773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31774 }
31775 return resultobj;
31776 fail:
31777 return NULL;
31778 }
31779
31780
31781 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
31782 PyObject *resultobj;
31783 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31784 wxDC *arg2 = 0 ;
31785 wxPoint *arg3 = 0 ;
31786 bool result;
31787 wxPoint temp3 ;
31788 PyObject * obj0 = 0 ;
31789 PyObject * obj1 = 0 ;
31790 PyObject * obj2 = 0 ;
31791 char *kwnames[] = {
31792 (char *) "self",(char *) "dc",(char *) "pos", NULL
31793 };
31794
31795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31799 SWIG_POINTER_EXCEPTION | 0)) == -1)
31800 SWIG_fail;
31801 if (arg2 == NULL) {
31802 PyErr_SetString(PyExc_TypeError,"null reference");
31803 SWIG_fail;
31804 }
31805 {
31806 arg3 = &temp3;
31807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31808 }
31809 {
31810 PyThreadState* __tstate = wxPyBeginAllowThreads();
31811 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31812
31813 wxPyEndAllowThreads(__tstate);
31814 if (PyErr_Occurred()) SWIG_fail;
31815 }
31816 {
31817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31818 }
31819 return resultobj;
31820 fail:
31821 return NULL;
31822 }
31823
31824
31825 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
31826 PyObject *resultobj;
31827 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31828 wxDC *arg2 = 0 ;
31829 wxMemoryDC *arg3 = 0 ;
31830 wxRect *arg4 = 0 ;
31831 wxRect *arg5 = 0 ;
31832 bool result;
31833 wxRect temp4 ;
31834 wxRect temp5 ;
31835 PyObject * obj0 = 0 ;
31836 PyObject * obj1 = 0 ;
31837 PyObject * obj2 = 0 ;
31838 PyObject * obj3 = 0 ;
31839 PyObject * obj4 = 0 ;
31840 char *kwnames[] = {
31841 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31842 };
31843
31844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31848 SWIG_POINTER_EXCEPTION | 0)) == -1)
31849 SWIG_fail;
31850 if (arg2 == NULL) {
31851 PyErr_SetString(PyExc_TypeError,"null reference");
31852 SWIG_fail;
31853 }
31854 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31855 SWIG_POINTER_EXCEPTION | 0)) == -1)
31856 SWIG_fail;
31857 if (arg3 == NULL) {
31858 PyErr_SetString(PyExc_TypeError,"null reference");
31859 SWIG_fail;
31860 }
31861 {
31862 arg4 = &temp4;
31863 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31864 }
31865 {
31866 arg5 = &temp5;
31867 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31868 }
31869 {
31870 PyThreadState* __tstate = wxPyBeginAllowThreads();
31871 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31872
31873 wxPyEndAllowThreads(__tstate);
31874 if (PyErr_Occurred()) SWIG_fail;
31875 }
31876 {
31877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31878 }
31879 return resultobj;
31880 fail:
31881 return NULL;
31882 }
31883
31884
31885 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
31886 PyObject *resultobj;
31887 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31888 wxPoint *arg2 = 0 ;
31889 wxPoint *arg3 = 0 ;
31890 bool arg4 ;
31891 bool arg5 ;
31892 bool result;
31893 wxPoint temp2 ;
31894 wxPoint temp3 ;
31895 PyObject * obj0 = 0 ;
31896 PyObject * obj1 = 0 ;
31897 PyObject * obj2 = 0 ;
31898 PyObject * obj3 = 0 ;
31899 PyObject * obj4 = 0 ;
31900 char *kwnames[] = {
31901 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31902 };
31903
31904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31907 {
31908 arg2 = &temp2;
31909 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31910 }
31911 {
31912 arg3 = &temp3;
31913 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31914 }
31915 arg4 = (bool)SWIG_As_bool(obj3);
31916 if (PyErr_Occurred()) SWIG_fail;
31917 arg5 = (bool)SWIG_As_bool(obj4);
31918 if (PyErr_Occurred()) SWIG_fail;
31919 {
31920 PyThreadState* __tstate = wxPyBeginAllowThreads();
31921 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31922
31923 wxPyEndAllowThreads(__tstate);
31924 if (PyErr_Occurred()) SWIG_fail;
31925 }
31926 {
31927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31928 }
31929 return resultobj;
31930 fail:
31931 return NULL;
31932 }
31933
31934
31935 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
31936 PyObject *obj;
31937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31938 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31939 Py_INCREF(obj);
31940 return Py_BuildValue((char *)"");
31941 }
31942 static PyMethodDef SwigMethods[] = {
31943 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
31944 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
31945 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31946 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31947 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31948 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31949 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
31950 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31951 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31952 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31953 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31954 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31955 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31956 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31957 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31958 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31959 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31960 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31961 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
31962 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
31963 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
31964 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
31965 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31966 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31967 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31968 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31969 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31970 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31971 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31972 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31973 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
31974 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
31975 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31976 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
31977 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
31978 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
31979 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31980 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31981 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31982 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31983 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31984 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
31985 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31986 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31987 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31988 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31989 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31990 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31991 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
31992 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
31993 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31994 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
31995 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
31996 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
31997 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31998 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
31999 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32000 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
32001 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
32002 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
32003 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
32004 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32005 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
32006 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
32007 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
32008 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32009 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32010 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32011 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32012 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32013 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32014 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32015 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32016 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
32017 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
32018 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32019 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
32020 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
32021 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
32022 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32023 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32024 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
32025 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
32026 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
32027 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32028 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32029 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
32030 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32031 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
32032 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
32033 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
32034 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32035 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32036 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
32037 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32038 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32039 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32040 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32041 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32042 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
32043 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32044 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
32045 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
32046 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
32047 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32048 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
32049 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
32050 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
32051 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32052 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32053 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
32054 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
32055 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32056 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32057 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
32058 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
32059 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
32060 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32061 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32062 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
32063 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32064 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32065 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32066 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32067 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
32068 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
32069 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
32070 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32071 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
32072 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
32073 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL },
32074 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32075 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
32076 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
32077 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32078 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32079 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
32080 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32081 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32082 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32083 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
32084 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
32085 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32086 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32087 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
32088 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32089 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32090 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
32091 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
32092 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
32093 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32094 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32095 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
32096 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32097 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32098 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32099 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
32100 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
32101 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32102 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32103 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32104 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
32105 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
32106 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
32107 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
32108 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32109 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32110 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32111 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32112 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32113 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32114 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
32115 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
32116 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
32117 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
32118 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
32119 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
32120 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
32121 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32122 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32123 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
32124 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
32125 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
32126 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
32127 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
32128 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
32129 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
32130 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
32131 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
32132 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
32133 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
32134 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32135 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32136 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32137 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32138 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32139 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
32140 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32141 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32142 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL },
32143 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
32144 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
32145 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
32146 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
32147 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
32148 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
32149 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
32150 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
32151 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
32152 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
32153 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32154 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
32155 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32156 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32157 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32158 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32159 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
32160 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL },
32161 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL },
32162 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
32163 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
32164 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32165 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
32166 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32167 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32168 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
32169 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
32170 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
32171 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
32172 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
32173 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32174 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32175 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
32176 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32177 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32178 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32179 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32180 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
32181 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32182 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
32183 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
32184 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
32185 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32186 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32187 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32188 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32189 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32190 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32191 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32192 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32193 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32194 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32195 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
32196 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32197 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32198 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32199 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32200 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32201 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
32202 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32203 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32204 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32205 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32206 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32207 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
32208 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32209 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32210 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32211 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
32212 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
32213 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
32214 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32215 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32216 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32217 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32218 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32219 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
32220 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
32221 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
32222 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
32223 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
32224 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
32225 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
32226 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
32227 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
32228 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32229 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
32230 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
32231 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
32232 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32233 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32234 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32235 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32236 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
32237 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
32238 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
32239 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32240 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32241 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32242 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32243 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32244 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32245 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32246 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32247 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
32248 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32249 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
32250 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32251 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
32252 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
32253 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
32254 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
32255 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
32256 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
32257 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
32258 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
32259 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
32260 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32261 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32262 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
32263 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
32264 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
32265 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32266 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32267 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32268 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32269 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32270 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
32271 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
32272 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
32273 { (char *)"BookCtrl_GetCurrentPage", (PyCFunction) _wrap_BookCtrl_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
32274 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32275 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32276 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32277 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32278 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32279 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32280 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32281 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32282 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32283 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32284 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
32285 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
32286 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32287 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
32288 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
32289 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32290 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32291 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32292 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS, NULL },
32293 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32294 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32295 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32296 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32297 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32298 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS, NULL },
32299 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
32300 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32301 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32302 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
32303 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
32304 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
32305 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32306 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32307 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32308 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
32309 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32310 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
32311 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
32312 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
32313 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32314 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32315 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL },
32316 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
32317 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32318 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
32319 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32320 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32321 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32322 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32323 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32324 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL },
32325 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32326 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL },
32327 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32328 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32329 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32330 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32331 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
32332 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32333 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32334 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32335 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32336 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
32337 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32338 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32339 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32340 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
32341 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
32342 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32343 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32344 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
32345 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32346 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32347 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32348 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32349 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32350 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32351 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32352 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32353 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32354 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
32355 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32356 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32357 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32358 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32359 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32360 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32361 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32362 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
32363 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
32364 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32365 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32366 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
32367 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
32368 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
32369 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32370 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32371 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
32372 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
32373 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
32374 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32375 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32376 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
32377 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
32378 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
32379 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
32380 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
32381 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
32382 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
32383 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32384 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32385 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32386 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
32387 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
32388 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32389 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32390 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32391 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32392 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32393 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
32394 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32395 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32396 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32397 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32398 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32399 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32400 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32401 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
32402 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
32403 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
32404 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
32405 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32406 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32407 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
32408 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32409 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
32410 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32411 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
32412 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32413 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32414 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32415 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32416 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32417 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
32418 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32419 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32420 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32421 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32422 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32423 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32424 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
32425 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32426 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32427 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32428 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32429 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
32430 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32431 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32432 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
32433 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32434 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32435 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32436 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32437 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
32438 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
32439 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
32440 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32441 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32442 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32443 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32444 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32445 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32446 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32447 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32448 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32449 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32450 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
32451 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32452 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32453 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32454 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32455 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32456 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32457 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32458 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32459 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32460 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32461 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32462 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32463 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
32464 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
32465 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32466 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32467 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
32468 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
32469 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32470 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32471 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
32472 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
32473 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
32474 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
32475 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
32476 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
32477 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
32478 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
32479 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
32480 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
32481 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
32482 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32483 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
32484 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
32485 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32486 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32487 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32488 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32489 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32490 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32491 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
32492 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
32493 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
32494 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32495 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32496 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32497 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32498 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32499 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32500 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32501 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32502 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32503 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32504 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
32505 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
32506 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32507 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32508 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
32509 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32510 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32511 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32512 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32513 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32514 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32515 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32516 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32517 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32518 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32519 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
32520 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
32521 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
32522 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32523 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32524 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32525 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32526 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32527 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32528 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32529 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32530 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32531 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32532 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32533 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
32534 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32535 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32536 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
32537 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32538 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32539 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32540 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32541 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
32542 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32543 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
32544 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
32545 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32546 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32547 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32548 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
32549 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
32550 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
32551 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
32552 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
32553 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
32554 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32555 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32556 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
32557 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
32558 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32559 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32560 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32561 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
32562 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32563 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
32564 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32565 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32566 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32567 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
32568 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32569 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32570 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32571 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32572 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
32573 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32574 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32575 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32576 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32577 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
32578 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32579 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32580 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
32581 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
32582 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
32583 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32584 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
32585 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
32586 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
32587 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32588 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32589 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32590 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32591 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32592 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
32593 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32594 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32595 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
32596 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
32597 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
32598 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
32599 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
32600 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
32601 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32602 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32603 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32604 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32605 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32606 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32607 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
32608 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32609 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32610 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32611 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32612 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32613 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32614 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32615 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32616 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32617 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32618 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32619 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32620 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32621 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32622 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
32623 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
32624 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32625 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32626 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32627 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32628 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
32629 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32630 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32631 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32632 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32633 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32634 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32635 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32636 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32637 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32638 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32639 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32640 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32641 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32642 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32643 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32644 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32645 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32646 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32647 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32648 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32649 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32650 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32651 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
32652 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
32653 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32654 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32655 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32656 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32657 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32658 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
32659 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32660 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
32661 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
32662 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
32663 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32664 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
32665 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
32666 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
32667 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
32668 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
32669 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32670 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32671 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
32672 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32673 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32674 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
32675 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
32676 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32677 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
32678 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
32679 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
32680 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32681 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32682 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
32683 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
32684 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
32685 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32686 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
32687 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32688 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32689 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32690 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32691 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32692 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
32693 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32694 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
32695 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32696 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32697 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32698 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
32699 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
32700 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
32701 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32702 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
32703 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32704 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32705 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32706 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
32707 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32708 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32709 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32710 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
32711 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32712 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32713 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32714 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32715 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32716 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32717 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32718 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
32719 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32720 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32721 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
32722 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
32723 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
32724 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
32725 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32726 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32727 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32728 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
32729 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
32730 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32731 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32732 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32733 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32734 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32735 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32736 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32737 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32738 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32739 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32740 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32741 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32742 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32743 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
32744 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32745 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32746 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
32747 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
32748 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
32749 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
32750 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
32751 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
32752 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
32753 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
32754 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32755 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
32756 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32757 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32758 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32759 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32760 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32761 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32762 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32763 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
32764 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32765 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32766 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32767 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32768 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
32769 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
32770 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
32771 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
32772 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
32773 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32774 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32775 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32776 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
32777 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32778 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32779 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
32780 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
32781 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
32782 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32783 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
32784 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
32785 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
32786 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32787 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32788 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32789 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32790 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
32791 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32792 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
32793 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
32794 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
32795 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
32796 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32797 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32798 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32799 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
32800 { NULL, NULL, 0, NULL }
32801 };
32802
32803
32804 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32805
32806 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32807 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32808 }
32809 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32810 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32811 }
32812 static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x) {
32813 return (void *)((wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32814 }
32815 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32816 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32817 }
32818 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32819 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32820 }
32821 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32822 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32823 }
32824 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32825 return (void *)((wxSizer *) ((wxGridSizer *) x));
32826 }
32827 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32828 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32829 }
32830 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32831 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32832 }
32833 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32834 return (void *)((wxSizer *) ((wxPySizer *) x));
32835 }
32836 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32837 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32838 }
32839 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32840 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32841 }
32842 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32843 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32844 }
32845 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32846 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32847 }
32848 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32849 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32850 }
32851 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32852 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32853 }
32854 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32855 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32856 }
32857 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32858 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32859 }
32860 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32861 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32862 }
32863 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32864 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32865 }
32866 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32867 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32868 }
32869 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32870 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32871 }
32872 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32873 return (void *)((wxEvent *) ((wxPyEvent *) x));
32874 }
32875 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32876 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32877 }
32878 static void *_p_wxListEventTo_p_wxEvent(void *x) {
32879 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32880 }
32881 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32882 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32883 }
32884 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32885 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32886 }
32887 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
32888 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32889 }
32890 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32891 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32892 }
32893 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32894 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32895 }
32896 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32897 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32898 }
32899 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32900 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32901 }
32902 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32903 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32904 }
32905 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32906 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32907 }
32908 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32909 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32910 }
32911 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32912 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32913 }
32914 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32915 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32916 }
32917 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32918 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32919 }
32920 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32921 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32922 }
32923 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32924 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32925 }
32926 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32927 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32928 }
32929 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32930 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32931 }
32932 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32933 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32934 }
32935 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32936 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32937 }
32938 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32939 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32940 }
32941 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32942 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32943 }
32944 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32945 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32946 }
32947 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32948 return (void *)((wxEvent *) ((wxShowEvent *) x));
32949 }
32950 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32951 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32952 }
32953 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32954 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32955 }
32956 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32957 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32958 }
32959 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32960 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32961 }
32962 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32963 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32964 }
32965 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32966 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32967 }
32968 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32969 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32970 }
32971 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32972 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32973 }
32974 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32975 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32976 }
32977 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32978 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32979 }
32980 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32981 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32982 }
32983 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32984 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32985 }
32986 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32987 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32988 }
32989 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32990 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32991 }
32992 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32993 return (void *)((wxControl *) ((wxBookCtrl *) x));
32994 }
32995 static void *_p_wxToolBarTo_p_wxControl(void *x) {
32996 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32997 }
32998 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32999 return (void *)((wxControl *) ((wxToggleButton *) x));
33000 }
33001 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
33002 return (void *)((wxControl *) ((wxRadioButton *) x));
33003 }
33004 static void *_p_wxPyControlTo_p_wxControl(void *x) {
33005 return (void *)((wxControl *) ((wxPyControl *) x));
33006 }
33007 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
33008 return (void *)((wxControl *) ((wxToolBarBase *) x));
33009 }
33010 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
33011 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33012 }
33013 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
33014 return (void *)((wxControl *) ((wxPyListCtrl *) x));
33015 }
33016 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
33017 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33018 }
33019 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
33020 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
33021 }
33022 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
33023 return (void *)((wxControl *) ((wxScrollBar *) x));
33024 }
33025 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
33026 return (void *)((wxControl *) ((wxControlWithItems *) x));
33027 }
33028 static void *_p_wxGaugeTo_p_wxControl(void *x) {
33029 return (void *)((wxControl *) ((wxGauge *) x));
33030 }
33031 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
33032 return (void *)((wxControl *) ((wxStaticLine *) x));
33033 }
33034 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
33035 return (void *)((wxControl *) (wxBookCtrl *) ((wxChoicebook *) x));
33036 }
33037 static void *_p_wxListbookTo_p_wxControl(void *x) {
33038 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
33039 }
33040 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
33041 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
33042 }
33043 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
33044 return (void *)((wxControl *) ((wxCheckBox *) x));
33045 }
33046 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
33047 return (void *)((wxControl *) ((wxRadioBox *) x));
33048 }
33049 static void *_p_wxChoiceTo_p_wxControl(void *x) {
33050 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
33051 }
33052 static void *_p_wxListBoxTo_p_wxControl(void *x) {
33053 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
33054 }
33055 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
33056 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33057 }
33058 static void *_p_wxListViewTo_p_wxControl(void *x) {
33059 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
33060 }
33061 static void *_p_wxNotebookTo_p_wxControl(void *x) {
33062 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
33063 }
33064 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
33065 return (void *)((wxControl *) ((wxStaticBitmap *) x));
33066 }
33067 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
33068 return (void *)((wxControl *) ((wxSpinCtrl *) x));
33069 }
33070 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
33071 return (void *)((wxControl *) ((wxStaticText *) x));
33072 }
33073 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
33074 return (void *)((wxControl *) ((wxStaticBox *) x));
33075 }
33076 static void *_p_wxSliderTo_p_wxControl(void *x) {
33077 return (void *)((wxControl *) ((wxSlider *) x));
33078 }
33079 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
33080 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33081 }
33082 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
33083 return (void *)((wxControl *) ((wxSpinButton *) x));
33084 }
33085 static void *_p_wxButtonTo_p_wxControl(void *x) {
33086 return (void *)((wxControl *) ((wxButton *) x));
33087 }
33088 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
33089 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
33090 }
33091 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
33092 return (void *)((wxControl *) ((wxTextCtrl *) x));
33093 }
33094 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
33095 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
33096 }
33097 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
33098 return (void *)((wxChoice *) ((wxComboBox *) x));
33099 }
33100 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
33101 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
33102 }
33103 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
33104 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
33105 }
33106 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
33107 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33108 }
33109 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
33110 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
33111 }
33112 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
33113 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
33114 }
33115 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
33116 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33117 }
33118 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
33119 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
33120 }
33121 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
33122 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33123 }
33124 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
33125 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
33126 }
33127 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
33128 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
33129 }
33130 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
33131 return (void *)((wxEvtHandler *) ((wxValidator *) x));
33132 }
33133 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
33134 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
33135 }
33136 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
33137 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33138 }
33139 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
33140 return (void *)((wxEvtHandler *) ((wxMenu *) x));
33141 }
33142 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
33143 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
33144 }
33145 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
33146 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
33147 }
33148 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
33149 return (void *)((wxEvtHandler *) ((wxWindow *) x));
33150 }
33151 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
33152 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
33153 }
33154 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
33155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
33156 }
33157 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
33158 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33159 }
33160 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
33161 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
33162 }
33163 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
33164 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33165 }
33166 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
33167 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
33168 }
33169 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
33170 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
33171 }
33172 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
33173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
33174 }
33175 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
33176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
33177 }
33178 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
33179 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33180 }
33181 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
33182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
33183 }
33184 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
33185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
33186 }
33187 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
33188 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33189 }
33190 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
33191 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33192 }
33193 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
33194 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
33195 }
33196 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
33197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
33198 }
33199 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
33200 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
33201 }
33202 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
33203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33204 }
33205 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
33206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33207 }
33208 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
33209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33210 }
33211 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
33212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33213 }
33214 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
33215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
33216 }
33217 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
33218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33219 }
33220 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
33221 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33222 }
33223 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
33224 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
33225 }
33226 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
33227 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
33228 }
33229 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
33230 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
33231 }
33232 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
33233 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
33234 }
33235 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
33236 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
33237 }
33238 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
33239 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33240 }
33241 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
33242 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33243 }
33244 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
33245 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
33246 }
33247 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
33248 return (void *)((wxListBox *) ((wxCheckListBox *) x));
33249 }
33250 static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x) {
33251 return (void *)((wxBookCtrl *) ((wxChoicebook *) x));
33252 }
33253 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
33254 return (void *)((wxBookCtrl *) ((wxListbook *) x));
33255 }
33256 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
33257 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
33258 }
33259 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
33260 return (void *)((wxButton *) ((wxBitmapButton *) x));
33261 }
33262 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
33263 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
33264 }
33265 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
33266 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
33267 }
33268 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
33269 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
33270 }
33271 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33272 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33273 }
33274 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33275 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33276 }
33277 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33278 return (void *)((wxObject *) ((wxSizerItem *) x));
33279 }
33280 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33281 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33282 }
33283 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33284 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33285 }
33286 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
33287 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
33288 }
33289 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
33290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33291 }
33292 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33293 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33294 }
33295 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33296 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33297 }
33298 static void *_p_wxSizerTo_p_wxObject(void *x) {
33299 return (void *)((wxObject *) ((wxSizer *) x));
33300 }
33301 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33302 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33303 }
33304 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
33305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
33306 }
33307 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
33308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
33309 }
33310 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33312 }
33313 static void *_p_wxEventTo_p_wxObject(void *x) {
33314 return (void *)((wxObject *) ((wxEvent *) x));
33315 }
33316 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33317 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33318 }
33319 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33320 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33321 }
33322 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33323 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33324 }
33325 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
33326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
33327 }
33328 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
33329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
33330 }
33331 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
33332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33333 }
33334 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33335 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33336 }
33337 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33338 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33339 }
33340 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33341 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33342 }
33343 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33344 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33345 }
33346 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33347 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33348 }
33349 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33350 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33351 }
33352 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
33353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
33354 }
33355 static void *_p_wxControlTo_p_wxObject(void *x) {
33356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33357 }
33358 static void *_p_wxPyControlTo_p_wxObject(void *x) {
33359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
33360 }
33361 static void *_p_wxGaugeTo_p_wxObject(void *x) {
33362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
33363 }
33364 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
33365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
33366 }
33367 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
33368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
33369 }
33370 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
33371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
33372 }
33373 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33374 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33375 }
33376 static void *_p_wxChoiceTo_p_wxObject(void *x) {
33377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33378 }
33379 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33380 return (void *)((wxObject *) ((wxFSFile *) x));
33381 }
33382 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33383 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33384 }
33385 static void *_p_wxListViewTo_p_wxObject(void *x) {
33386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33387 }
33388 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
33389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
33390 }
33391 static void *_p_wxNotebookTo_p_wxObject(void *x) {
33392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33393 }
33394 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33395 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33396 }
33397 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33399 }
33400 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
33401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33402 }
33403 static void *_p_wxListbookTo_p_wxObject(void *x) {
33404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33405 }
33406 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33407 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33408 }
33409 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
33410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
33411 }
33412 static void *_p_wxSliderTo_p_wxObject(void *x) {
33413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
33414 }
33415 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33416 return (void *)((wxObject *) ((wxMenuItem *) x));
33417 }
33418 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33419 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33420 }
33421 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33422 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33423 }
33424 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33425 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33426 }
33427 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33428 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33429 }
33430 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33431 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33432 }
33433 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33434 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33435 }
33436 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33437 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33438 }
33439 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33440 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33441 }
33442 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
33443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
33444 }
33445 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
33446 return (void *)((wxObject *) ((wxContextHelp *) x));
33447 }
33448 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33449 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33450 }
33451 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33452 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33453 }
33454 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33455 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33456 }
33457 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33458 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33459 }
33460 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33461 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33462 }
33463 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33464 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33465 }
33466 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33467 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33468 }
33469 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33470 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33471 }
33472 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33473 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33474 }
33475 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33476 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33477 }
33478 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33479 return (void *)((wxObject *) ((wxImageHandler *) x));
33480 }
33481 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33482 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33483 }
33484 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33485 return (void *)((wxObject *) ((wxEvtHandler *) x));
33486 }
33487 static void *_p_wxListEventTo_p_wxObject(void *x) {
33488 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
33489 }
33490 static void *_p_wxListBoxTo_p_wxObject(void *x) {
33491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33492 }
33493 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
33494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33495 }
33496 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
33497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
33498 }
33499 static void *_p_wxButtonTo_p_wxObject(void *x) {
33500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
33501 }
33502 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
33503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33504 }
33505 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
33506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
33507 }
33508 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
33509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33510 }
33511 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33512 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33513 }
33514 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
33515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
33516 }
33517 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
33518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
33519 }
33520 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
33521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33522 }
33523 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
33524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
33525 }
33526 static void *_p_wxListItemTo_p_wxObject(void *x) {
33527 return (void *)((wxObject *) ((wxListItem *) x));
33528 }
33529 static void *_p_wxImageTo_p_wxObject(void *x) {
33530 return (void *)((wxObject *) ((wxImage *) x));
33531 }
33532 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
33533 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
33534 }
33535 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33536 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33537 }
33538 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
33539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
33540 }
33541 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
33542 return (void *)((wxObject *) ((wxGenericDragImage *) x));
33543 }
33544 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
33545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33546 }
33547 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
33548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33549 }
33550 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
33551 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33552 }
33553 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
33554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33555 }
33556 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33557 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33558 }
33559 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33560 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33561 }
33562 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33563 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33564 }
33565 static void *_p_wxWindowTo_p_wxObject(void *x) {
33566 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33567 }
33568 static void *_p_wxMenuTo_p_wxObject(void *x) {
33569 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33570 }
33571 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33573 }
33574 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33575 return (void *)((wxObject *) ((wxFileSystem *) x));
33576 }
33577 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33578 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33579 }
33580 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33581 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33582 }
33583 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33584 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33585 }
33586 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33587 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33588 }
33589 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33590 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33591 }
33592 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33593 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33594 }
33595 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
33596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
33597 }
33598 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33600 }
33601 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33602 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33603 }
33604 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
33605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
33606 }
33607 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33608 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33609 }
33610 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33611 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33612 }
33613 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33614 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33615 }
33616 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33618 }
33619 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
33620 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
33621 }
33622 static void *_p_wxToolBarTo_p_wxObject(void *x) {
33623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33624 }
33625 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33626 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33627 }
33628 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33629 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33630 }
33631 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
33632 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
33633 }
33634 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
33635 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
33636 }
33637 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33638 return (void *)((wxWindow *) ((wxMenuBar *) x));
33639 }
33640 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
33641 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33642 }
33643 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
33644 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
33645 }
33646 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
33647 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
33648 }
33649 static void *_p_wxControlTo_p_wxWindow(void *x) {
33650 return (void *)((wxWindow *) ((wxControl *) x));
33651 }
33652 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
33653 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
33654 }
33655 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
33656 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33657 }
33658 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
33659 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
33660 }
33661 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
33662 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33663 }
33664 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
33665 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
33666 }
33667 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
33668 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
33669 }
33670 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
33671 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
33672 }
33673 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33674 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33675 }
33676 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
33677 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
33678 }
33679 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
33680 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
33681 }
33682 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
33683 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33684 }
33685 static void *_p_wxListbookTo_p_wxWindow(void *x) {
33686 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33687 }
33688 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
33689 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
33690 }
33691 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
33692 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
33693 }
33694 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
33695 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
33696 }
33697 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
33698 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33699 }
33700 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
33701 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33702 }
33703 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
33704 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33705 }
33706 static void *_p_wxListViewTo_p_wxWindow(void *x) {
33707 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33708 }
33709 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
33710 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33711 }
33712 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33713 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33714 }
33715 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33716 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33717 }
33718 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33719 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33720 }
33721 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33722 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33723 }
33724 static void *_p_wxSliderTo_p_wxWindow(void *x) {
33725 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33726 }
33727 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33728 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33729 }
33730 static void *_p_wxButtonTo_p_wxWindow(void *x) {
33731 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33732 }
33733 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33734 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33735 }
33736 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33737 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33738 }
33739 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33740 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33741 }
33742 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33743 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33744 }
33745 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
33746 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33747 }
33748 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33749 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33750 }
33751 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33752 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33753 }
33754 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33755 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33756 }
33757 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33758 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33759 }
33760 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33761 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33762 }
33763 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
33764 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33765 }
33766 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33767 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33768 }
33769 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33770 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33771 }
33772 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33773 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33774 }
33775 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33776 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33777 }
33778 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33779 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33780 }
33781 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33782 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33783 }
33784 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33785 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33786 }
33787 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33788 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33789 }
33790 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33791 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33792 }
33793 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
33794 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
33795 }
33796 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33797 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33798 }
33799 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33800 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33801 }
33802 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33803 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33804 }
33805 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33806 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33807 }
33808 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33809 return (void *)((wxValidator *) ((wxPyValidator *) x));
33810 }
33811 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}};
33812 static swig_type_info _swigt__p_wxBookCtrlEvent[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33813 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}};
33814 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}};
33815 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}};
33816 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33817 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}};
33818 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}};
33819 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}};
33820 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}};
33821 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}};
33822 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}};
33823 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}};
33824 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33825 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}};
33826 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}};
33827 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}};
33828 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}};
33829 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}};
33830 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}};
33831 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 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}};
33832 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}};
33833 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}};
33834 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}};
33835 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}};
33836 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}};
33837 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}};
33838 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}};
33839 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}};
33840 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}};
33841 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}};
33842 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}};
33843 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}};
33844 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33845 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}};
33846 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}};
33847 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}};
33848 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}};
33849 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}};
33850 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}};
33851 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}};
33852 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}};
33853 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33854 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}};
33855 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}};
33856 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}};
33857 static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33858 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}};
33859 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}};
33860 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}};
33861 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}};
33862 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}};
33863 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}};
33864 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}};
33865 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}};
33866 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}};
33867 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}};
33868 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}};
33869 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}};
33870 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}};
33871 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}};
33872 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}};
33873 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}};
33874 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}};
33875 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}};
33876 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}};
33877 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}};
33878 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}};
33879 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}};
33880 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}};
33881 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}};
33882 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33883 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}};
33884 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}};
33885 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33886 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}};
33887 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}};
33888 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}};
33889 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}};
33890 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33891 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}};
33892 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 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}};
33893 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}};
33894 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}};
33895 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}};
33896 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}};
33897 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}};
33898
33899 static swig_type_info *swig_types_initial[] = {
33900 _swigt__p_wxTextUrlEvent,
33901 _swigt__p_wxBookCtrlEvent,
33902 _swigt__p_wxSizer,
33903 _swigt__p_wxCheckBox,
33904 _swigt__p_wxPyTreeCtrl,
33905 _swigt__p_wxEvent,
33906 _swigt__p_wxGenericDirCtrl,
33907 _swigt__p_bool,
33908 _swigt__p_wxPyTreeItemData,
33909 _swigt__p_wxItemContainer,
33910 _swigt__p_wxPyListCtrl,
33911 _swigt__p_wxDirFilterListCtrl,
33912 _swigt__p_wxStaticLine,
33913 _swigt__p_wxControl,
33914 _swigt__p_wxPyControl,
33915 _swigt__p_wxGauge,
33916 _swigt__p_wxToolBarBase,
33917 _swigt__p_wxFont,
33918 _swigt__p_wxToggleButton,
33919 _swigt__p_wxRadioButton,
33920 _swigt__p_wxChoice,
33921 _swigt__p_wxMemoryDC,
33922 _swigt__p_wxListItemAttr,
33923 _swigt__p_void,
33924 _swigt__p_int,
33925 _swigt__p_wxSize,
33926 _swigt__p_wxDC,
33927 _swigt__p_wxListView,
33928 _swigt__p_wxIcon,
33929 _swigt__p_wxVisualAttributes,
33930 _swigt__p_wxTextCtrl,
33931 _swigt__p_wxNotebook,
33932 _swigt__p_wxChoicebook,
33933 _swigt__p_wxNotifyEvent,
33934 _swigt__p_wxArrayString,
33935 _swigt__p_wxListbook,
33936 _swigt__p_wxStaticBitmap,
33937 _swigt__p_wxSlider,
33938 _swigt__p_wxStaticBox,
33939 _swigt__p_wxArrayInt,
33940 _swigt__p_wxContextHelp,
33941 _swigt__p_long,
33942 _swigt__p_wxEvtHandler,
33943 _swigt__p_wxListEvent,
33944 _swigt__p_wxCheckListBox,
33945 _swigt__p_wxListBox,
33946 _swigt__p_wxBookCtrl,
33947 _swigt__p_wxSpinButton,
33948 _swigt__p_wxButton,
33949 _swigt__p_wxBitmapButton,
33950 _swigt__p_wxRect,
33951 _swigt__p_wxContextHelpButton,
33952 _swigt__p_wxRadioBox,
33953 _swigt__p_wxScrollBar,
33954 _swigt__p_char,
33955 _swigt__p_wxTreeItemId,
33956 _swigt__p_wxComboBox,
33957 _swigt__p_wxHelpEvent,
33958 _swigt__p_wxListItem,
33959 _swigt__p_wxNotebookSizer,
33960 _swigt__p_wxSpinEvent,
33961 _swigt__p_wxGenericDragImage,
33962 _swigt__p_wxSpinCtrl,
33963 _swigt__p_wxImageList,
33964 _swigt__p_wxHelpProvider,
33965 _swigt__p_wxTextAttr,
33966 _swigt__p_wxSimpleHelpProvider,
33967 _swigt__p_wxPoint,
33968 _swigt__p_wxChoicebookEvent,
33969 _swigt__p_wxListbookEvent,
33970 _swigt__p_wxNotebookEvent,
33971 _swigt__p_wxObject,
33972 _swigt__p_wxCursor,
33973 _swigt__p_wxKeyEvent,
33974 _swigt__p_wxWindow,
33975 _swigt__p_wxString,
33976 _swigt__p_wxBitmap,
33977 _swigt__p_wxTreeEvent,
33978 _swigt__p_wxMouseEvent,
33979 _swigt__p_wxCommandEvent,
33980 _swigt__p_wxStaticText,
33981 _swigt__p_wxControlWithItems,
33982 _swigt__p_wxToolBarToolBase,
33983 _swigt__p_wxColour,
33984 _swigt__p_wxToolBar,
33985 _swigt__p_wxBookCtrlSizer,
33986 _swigt__p_wxValidator,
33987 0
33988 };
33989
33990
33991 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33992
33993 static swig_const_info swig_const_table[] = {
33994 {0, 0, 0, 0.0, 0, 0}};
33995
33996 #ifdef __cplusplus
33997 }
33998 #endif
33999
34000 #ifdef __cplusplus
34001 extern "C"
34002 #endif
34003 SWIGEXPORT(void) SWIG_init(void) {
34004 static PyObject *SWIG_globals = 0;
34005 static int typeinit = 0;
34006 PyObject *m, *d;
34007 int i;
34008 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34009 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34010 d = PyModule_GetDict(m);
34011
34012 if (!typeinit) {
34013 for (i = 0; swig_types_initial[i]; i++) {
34014 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34015 }
34016 typeinit = 1;
34017 }
34018 SWIG_InstallConstants(d,swig_const_table);
34019
34020 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
34021 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
34022 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT));
34023 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)wxBU_TOP));
34024 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT));
34025 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM));
34026 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)wxBU_ALIGN_MASK));
34027 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT));
34028 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW));
34029 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
34030 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE));
34031 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE));
34032 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
34033 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED));
34034 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED));
34035 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED));
34036 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
34037 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
34038 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
34039 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL));
34040 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL));
34041 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH));
34042 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR));
34043 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
34044 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
34045 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
34046 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
34047 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
34048 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL));
34049 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL));
34050 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY));
34051 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE));
34052 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB));
34053 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT));
34054 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER));
34055 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT));
34056 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE));
34057 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)wxTE_RICH));
34058 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER));
34059 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD));
34060 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL));
34061 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL));
34062 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP));
34063 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP));
34064 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP));
34065 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2));
34066 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT));
34067 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT));
34068 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE));
34069 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER));
34070 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT));
34071 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED));
34072 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR));
34073 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
34074 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE));
34075 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE));
34076 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT));
34077 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC));
34078 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE));
34079 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT));
34080 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT));
34081 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT));
34082 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT));
34083 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS));
34084 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN));
34085 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE));
34086 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT));
34087 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW));
34088 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND));
34089 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
34090 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
34091 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
34092 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
34093 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
34094 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
34095 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
34096 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL));
34097 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL));
34098 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS));
34099 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP));
34100 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
34101 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
34102 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
34103 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
34104 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
34105 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
34106 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
34107 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH));
34108 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)wxNB_TOP));
34109 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT));
34110 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT));
34111 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM));
34112 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE));
34113 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE));
34114 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON));
34115 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL));
34116 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM));
34117 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
34118 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
34119 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT));
34120 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)wxLB_TOP));
34121 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM));
34122 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT));
34123 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT));
34124 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK));
34125 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
34126 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
34127 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT));
34128 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP));
34129 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM));
34130 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT));
34131 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT));
34132 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK));
34133 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
34134 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
34135 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON));
34136 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR));
34137 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL));
34138 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL));
34139 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL));
34140 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS));
34141 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT));
34142 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE));
34143 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS));
34144 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT));
34145 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER));
34146 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN));
34147 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT));
34148 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT));
34149 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
34150 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES));
34151 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES));
34152 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)wxLC_ICON));
34153 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON));
34154 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)wxLC_LIST));
34155 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT));
34156 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP));
34157 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT));
34158 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE));
34159 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL));
34160 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS));
34161 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER));
34162 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER));
34163 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL));
34164 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING));
34165 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING));
34166 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE));
34167 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN));
34168 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT));
34169 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE));
34170 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT));
34171 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE));
34172 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA));
34173 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM));
34174 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH));
34175 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT));
34176 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE));
34177 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED));
34178 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED));
34179 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED));
34180 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT));
34181 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED));
34182 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED));
34183 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE));
34184 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED));
34185 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE));
34186 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE));
34187 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW));
34188 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE));
34189 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON));
34190 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL));
34191 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT));
34192 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON));
34193 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT));
34194 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT));
34195 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM));
34196 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE));
34197 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL));
34198 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW));
34199 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT));
34200 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT));
34201 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT));
34202 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT));
34203 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP));
34204 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID));
34205 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT));
34206 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT));
34207 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE));
34208 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER));
34209 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE));
34210 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER));
34211 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS));
34212 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON));
34213 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL));
34214 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP));
34215 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN));
34216 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT));
34217 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT));
34218 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
34219 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
34220 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
34221 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
34222 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
34223 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
34224 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
34225 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
34226 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
34227 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
34228 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
34229 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
34230 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
34231 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
34232 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
34233 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
34234 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
34235 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
34236 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
34237 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
34238 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
34239 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
34240
34241 // Map renamed classes back to their common name for OOR
34242 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
34243
34244 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
34245 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS));
34246 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS));
34247 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES));
34248 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT));
34249 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE));
34250 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE));
34251 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED));
34252 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
34253 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS));
34254 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT));
34255 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES));
34256 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT));
34257 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE));
34258 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS));
34259 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS));
34260 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS));
34261 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal));
34262 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected));
34263 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded));
34264 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded));
34265 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max));
34266 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE));
34267 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW));
34268 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE));
34269 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON));
34270 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON));
34271 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT));
34272 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL));
34273 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT));
34274 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON));
34275 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT));
34276 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT));
34277 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART));
34278 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART));
34279 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM));
34280 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
34281 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
34282 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
34283 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
34284 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
34285 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
34286 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
34287 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
34288 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
34289 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
34290 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
34291 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
34292 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
34293 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
34294 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
34295 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
34296 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
34297 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
34298 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
34299 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
34300
34301 // Map renamed classes back to their common name for OOR
34302 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34303 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34304
34305 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
34306 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY));
34307 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST));
34308 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS));
34309 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL));
34310 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS));
34311 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP));
34312 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP));
34313 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
34314 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
34315
34316 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
34317
34318 }
34319