]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
reSWIGged
[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_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj;
14372 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14373 int result;
14374 PyObject * obj0 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",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 = (int)((wxBookCtrl const *)arg1)->GetSelection();
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 resultobj = SWIG_From_int((int)result);
14390 return resultobj;
14391 fail:
14392 return NULL;
14393 }
14394
14395
14396 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
14397 PyObject *resultobj;
14398 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14399 size_t arg2 ;
14400 wxString *arg3 = 0 ;
14401 bool result;
14402 bool temp3 = false ;
14403 PyObject * obj0 = 0 ;
14404 PyObject * obj1 = 0 ;
14405 PyObject * obj2 = 0 ;
14406 char *kwnames[] = {
14407 (char *) "self",(char *) "n",(char *) "strText", NULL
14408 };
14409
14410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14413 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 {
14416 arg3 = wxString_in_helper(obj2);
14417 if (arg3 == NULL) SWIG_fail;
14418 temp3 = true;
14419 }
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 {
14428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14429 }
14430 {
14431 if (temp3)
14432 delete arg3;
14433 }
14434 return resultobj;
14435 fail:
14436 {
14437 if (temp3)
14438 delete arg3;
14439 }
14440 return NULL;
14441 }
14442
14443
14444 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
14445 PyObject *resultobj;
14446 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14447 size_t arg2 ;
14448 wxString result;
14449 PyObject * obj0 = 0 ;
14450 PyObject * obj1 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self",(char *) "n", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14458 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 {
14468 #if wxUSE_UNICODE
14469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14470 #else
14471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14472 #endif
14473 }
14474 return resultobj;
14475 fail:
14476 return NULL;
14477 }
14478
14479
14480 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14481 PyObject *resultobj;
14482 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14483 wxImageList *arg2 = (wxImageList *) 0 ;
14484 PyObject * obj0 = 0 ;
14485 PyObject * obj1 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self",(char *) "imageList", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14495 {
14496 PyThreadState* __tstate = wxPyBeginAllowThreads();
14497 (arg1)->SetImageList(arg2);
14498
14499 wxPyEndAllowThreads(__tstate);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 }
14502 Py_INCREF(Py_None); resultobj = Py_None;
14503 return resultobj;
14504 fail:
14505 return NULL;
14506 }
14507
14508
14509 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14510 PyObject *resultobj;
14511 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14512 wxImageList *arg2 = (wxImageList *) 0 ;
14513 PyObject * obj0 = 0 ;
14514 PyObject * obj1 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self",(char *) "imageList", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14523 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14524 {
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 (arg1)->AssignImageList(arg2);
14527
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 Py_INCREF(Py_None); resultobj = Py_None;
14532 return resultobj;
14533 fail:
14534 return NULL;
14535 }
14536
14537
14538 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
14539 PyObject *resultobj;
14540 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14541 wxImageList *result;
14542 PyObject * obj0 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 {
14558 resultobj = wxPyMake_wxObject(result, 0);
14559 }
14560 return resultobj;
14561 fail:
14562 return NULL;
14563 }
14564
14565
14566 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
14567 PyObject *resultobj;
14568 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14569 size_t arg2 ;
14570 int result;
14571 PyObject * obj0 = 0 ;
14572 PyObject * obj1 = 0 ;
14573 char *kwnames[] = {
14574 (char *) "self",(char *) "n", NULL
14575 };
14576
14577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14580 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 {
14583 PyThreadState* __tstate = wxPyBeginAllowThreads();
14584 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14585
14586 wxPyEndAllowThreads(__tstate);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
14589 resultobj = SWIG_From_int((int)result);
14590 return resultobj;
14591 fail:
14592 return NULL;
14593 }
14594
14595
14596 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
14597 PyObject *resultobj;
14598 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14599 size_t arg2 ;
14600 int arg3 ;
14601 bool result;
14602 PyObject * obj0 = 0 ;
14603 PyObject * obj1 = 0 ;
14604 PyObject * obj2 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self",(char *) "n",(char *) "imageId", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14612 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 arg3 = (int)SWIG_As_int(obj2);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14619
14620 wxPyEndAllowThreads(__tstate);
14621 if (PyErr_Occurred()) SWIG_fail;
14622 }
14623 {
14624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14625 }
14626 return resultobj;
14627 fail:
14628 return NULL;
14629 }
14630
14631
14632 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj;
14634 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14635 wxSize *arg2 = 0 ;
14636 wxSize temp2 ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 char *kwnames[] = {
14640 (char *) "self",(char *) "size", NULL
14641 };
14642
14643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14646 {
14647 arg2 = &temp2;
14648 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14649 }
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 (arg1)->SetPageSize((wxSize const &)*arg2);
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 Py_INCREF(Py_None); resultobj = Py_None;
14658 return resultobj;
14659 fail:
14660 return NULL;
14661 }
14662
14663
14664 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj;
14666 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14667 wxSize *arg2 = 0 ;
14668 wxSize result;
14669 wxSize temp2 ;
14670 PyObject * obj0 = 0 ;
14671 PyObject * obj1 = 0 ;
14672 char *kwnames[] = {
14673 (char *) "self",(char *) "sizePage", NULL
14674 };
14675
14676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14679 {
14680 arg2 = &temp2;
14681 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14682 }
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 {
14691 wxSize * resultptr;
14692 resultptr = new wxSize((wxSize &) result);
14693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14694 }
14695 return resultobj;
14696 fail:
14697 return NULL;
14698 }
14699
14700
14701 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
14702 PyObject *resultobj;
14703 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14704 size_t arg2 ;
14705 bool result;
14706 PyObject * obj0 = 0 ;
14707 PyObject * obj1 = 0 ;
14708 char *kwnames[] = {
14709 (char *) "self",(char *) "n", NULL
14710 };
14711
14712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14715 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 {
14718 PyThreadState* __tstate = wxPyBeginAllowThreads();
14719 result = (bool)(arg1)->DeletePage(arg2);
14720
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 {
14725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14726 }
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj;
14735 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14736 size_t arg2 ;
14737 bool result;
14738 PyObject * obj0 = 0 ;
14739 PyObject * obj1 = 0 ;
14740 char *kwnames[] = {
14741 (char *) "self",(char *) "n", NULL
14742 };
14743
14744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14747 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14748 if (PyErr_Occurred()) SWIG_fail;
14749 {
14750 PyThreadState* __tstate = wxPyBeginAllowThreads();
14751 result = (bool)(arg1)->RemovePage(arg2);
14752
14753 wxPyEndAllowThreads(__tstate);
14754 if (PyErr_Occurred()) SWIG_fail;
14755 }
14756 {
14757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14758 }
14759 return resultobj;
14760 fail:
14761 return NULL;
14762 }
14763
14764
14765 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
14766 PyObject *resultobj;
14767 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14768 bool result;
14769 PyObject * obj0 = 0 ;
14770 char *kwnames[] = {
14771 (char *) "self", NULL
14772 };
14773
14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 result = (bool)(arg1)->DeleteAllPages();
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_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14796 wxWindow *arg2 = (wxWindow *) 0 ;
14797 wxString *arg3 = 0 ;
14798 bool arg4 = (bool) false ;
14799 int arg5 = (int) -1 ;
14800 bool result;
14801 bool temp3 = false ;
14802 PyObject * obj0 = 0 ;
14803 PyObject * obj1 = 0 ;
14804 PyObject * obj2 = 0 ;
14805 PyObject * obj3 = 0 ;
14806 PyObject * obj4 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14816 {
14817 arg3 = wxString_in_helper(obj2);
14818 if (arg3 == NULL) SWIG_fail;
14819 temp3 = true;
14820 }
14821 if (obj3) {
14822 arg4 = (bool)SWIG_As_bool(obj3);
14823 if (PyErr_Occurred()) SWIG_fail;
14824 }
14825 if (obj4) {
14826 arg5 = (int)SWIG_As_int(obj4);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14832
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 {
14837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14838 }
14839 {
14840 if (temp3)
14841 delete arg3;
14842 }
14843 return resultobj;
14844 fail:
14845 {
14846 if (temp3)
14847 delete arg3;
14848 }
14849 return NULL;
14850 }
14851
14852
14853 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
14854 PyObject *resultobj;
14855 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14856 size_t arg2 ;
14857 wxWindow *arg3 = (wxWindow *) 0 ;
14858 wxString *arg4 = 0 ;
14859 bool arg5 = (bool) false ;
14860 int arg6 = (int) -1 ;
14861 bool result;
14862 bool temp4 = false ;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 PyObject * obj2 = 0 ;
14866 PyObject * obj3 = 0 ;
14867 PyObject * obj4 = 0 ;
14868 PyObject * obj5 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14876 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14880 {
14881 arg4 = wxString_in_helper(obj3);
14882 if (arg4 == NULL) SWIG_fail;
14883 temp4 = true;
14884 }
14885 if (obj4) {
14886 arg5 = (bool)SWIG_As_bool(obj4);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 if (obj5) {
14890 arg6 = (int)SWIG_As_int(obj5);
14891 if (PyErr_Occurred()) SWIG_fail;
14892 }
14893 {
14894 PyThreadState* __tstate = wxPyBeginAllowThreads();
14895 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14896
14897 wxPyEndAllowThreads(__tstate);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 }
14900 {
14901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14902 }
14903 {
14904 if (temp4)
14905 delete arg4;
14906 }
14907 return resultobj;
14908 fail:
14909 {
14910 if (temp4)
14911 delete arg4;
14912 }
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14920 size_t arg2 ;
14921 int result;
14922 PyObject * obj0 = 0 ;
14923 PyObject * obj1 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self",(char *) "n", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14931 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
14932 if (PyErr_Occurred()) SWIG_fail;
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (int)(arg1)->SetSelection(arg2);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = SWIG_From_int((int)result);
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14950 bool arg2 = (bool) true ;
14951 PyObject * obj0 = 0 ;
14952 PyObject * obj1 = 0 ;
14953 char *kwnames[] = {
14954 (char *) "self",(char *) "forward", NULL
14955 };
14956
14957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14960 if (obj1) {
14961 arg2 = (bool)SWIG_As_bool(obj1);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 (arg1)->AdvanceSelection(arg2);
14967
14968 wxPyEndAllowThreads(__tstate);
14969 if (PyErr_Occurred()) SWIG_fail;
14970 }
14971 Py_INCREF(Py_None); resultobj = Py_None;
14972 return resultobj;
14973 fail:
14974 return NULL;
14975 }
14976
14977
14978 static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj;
14980 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14981 wxVisualAttributes result;
14982 PyObject * obj0 = 0 ;
14983 char *kwnames[] = {
14984 (char *) "variant", NULL
14985 };
14986
14987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14988 if (obj0) {
14989 arg1 = (int)SWIG_As_int(obj0);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 {
14993 if (!wxPyCheckForApp()) SWIG_fail;
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14996
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 {
15001 wxVisualAttributes * resultptr;
15002 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15004 }
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 static PyObject * BookCtrl_swigregister(PyObject *, PyObject *args) {
15012 PyObject *obj;
15013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15014 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
15015 Py_INCREF(obj);
15016 return Py_BuildValue((char *)"");
15017 }
15018 static PyObject *_wrap_new_BookCtrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15019 PyObject *resultobj;
15020 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15021 int arg2 = (int) 0 ;
15022 int arg3 = (int) -1 ;
15023 int arg4 = (int) -1 ;
15024 wxBookCtrlEvent *result;
15025 PyObject * obj0 = 0 ;
15026 PyObject * obj1 = 0 ;
15027 PyObject * obj2 = 0 ;
15028 PyObject * obj3 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15034 if (obj0) {
15035 arg1 = (wxEventType)SWIG_As_int(obj0);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 }
15038 if (obj1) {
15039 arg2 = (int)SWIG_As_int(obj1);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 if (obj2) {
15043 arg3 = (int)SWIG_As_int(obj2);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 if (obj3) {
15047 arg4 = (int)SWIG_As_int(obj3);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 {
15051 PyThreadState* __tstate = wxPyBeginAllowThreads();
15052 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
15053
15054 wxPyEndAllowThreads(__tstate);
15055 if (PyErr_Occurred()) SWIG_fail;
15056 }
15057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
15058 return resultobj;
15059 fail:
15060 return NULL;
15061 }
15062
15063
15064 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15065 PyObject *resultobj;
15066 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15067 int result;
15068 PyObject * obj0 = 0 ;
15069 char *kwnames[] = {
15070 (char *) "self", NULL
15071 };
15072
15073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
15074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 resultobj = SWIG_From_int((int)result);
15084 return resultobj;
15085 fail:
15086 return NULL;
15087 }
15088
15089
15090 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15091 PyObject *resultobj;
15092 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15093 int arg2 ;
15094 PyObject * obj0 = 0 ;
15095 PyObject * obj1 = 0 ;
15096 char *kwnames[] = {
15097 (char *) "self",(char *) "nSel", NULL
15098 };
15099
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15103 arg2 = (int)SWIG_As_int(obj1);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 {
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 (arg1)->SetSelection(arg2);
15108
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 Py_INCREF(Py_None); resultobj = Py_None;
15113 return resultobj;
15114 fail:
15115 return NULL;
15116 }
15117
15118
15119 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15120 PyObject *resultobj;
15121 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15122 int result;
15123 PyObject * obj0 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15131 {
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
15134
15135 wxPyEndAllowThreads(__tstate);
15136 if (PyErr_Occurred()) SWIG_fail;
15137 }
15138 resultobj = SWIG_From_int((int)result);
15139 return resultobj;
15140 fail:
15141 return NULL;
15142 }
15143
15144
15145 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15146 PyObject *resultobj;
15147 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15148 int arg2 ;
15149 PyObject * obj0 = 0 ;
15150 PyObject * obj1 = 0 ;
15151 char *kwnames[] = {
15152 (char *) "self",(char *) "nOldSel", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15158 arg2 = (int)SWIG_As_int(obj1);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 {
15161 PyThreadState* __tstate = wxPyBeginAllowThreads();
15162 (arg1)->SetOldSelection(arg2);
15163
15164 wxPyEndAllowThreads(__tstate);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
15167 Py_INCREF(Py_None); resultobj = Py_None;
15168 return resultobj;
15169 fail:
15170 return NULL;
15171 }
15172
15173
15174 static PyObject * BookCtrlEvent_swigregister(PyObject *, PyObject *args) {
15175 PyObject *obj;
15176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15177 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
15178 Py_INCREF(obj);
15179 return Py_BuildValue((char *)"");
15180 }
15181 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj;
15183 wxWindow *arg1 = (wxWindow *) 0 ;
15184 int arg2 = (int) -1 ;
15185 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15186 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15187 wxSize const &arg4_defvalue = wxDefaultSize ;
15188 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15189 long arg5 = (long) 0 ;
15190 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15191 wxString *arg6 = (wxString *) &arg6_defvalue ;
15192 wxNotebook *result;
15193 wxPoint temp3 ;
15194 wxSize temp4 ;
15195 bool temp6 = false ;
15196 PyObject * obj0 = 0 ;
15197 PyObject * obj1 = 0 ;
15198 PyObject * obj2 = 0 ;
15199 PyObject * obj3 = 0 ;
15200 PyObject * obj4 = 0 ;
15201 PyObject * obj5 = 0 ;
15202 char *kwnames[] = {
15203 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15204 };
15205
15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15209 if (obj1) {
15210 arg2 = (int)SWIG_As_int(obj1);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 if (obj2) {
15214 {
15215 arg3 = &temp3;
15216 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15217 }
15218 }
15219 if (obj3) {
15220 {
15221 arg4 = &temp4;
15222 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15223 }
15224 }
15225 if (obj4) {
15226 arg5 = (long)SWIG_As_long(obj4);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 if (obj5) {
15230 {
15231 arg6 = wxString_in_helper(obj5);
15232 if (arg6 == NULL) SWIG_fail;
15233 temp6 = true;
15234 }
15235 }
15236 {
15237 if (!wxPyCheckForApp()) SWIG_fail;
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15245 {
15246 if (temp6)
15247 delete arg6;
15248 }
15249 return resultobj;
15250 fail:
15251 {
15252 if (temp6)
15253 delete arg6;
15254 }
15255 return NULL;
15256 }
15257
15258
15259 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
15260 PyObject *resultobj;
15261 wxNotebook *result;
15262 char *kwnames[] = {
15263 NULL
15264 };
15265
15266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15267 {
15268 if (!wxPyCheckForApp()) SWIG_fail;
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (wxNotebook *)new wxNotebook();
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj;
15284 wxNotebook *arg1 = (wxNotebook *) 0 ;
15285 wxWindow *arg2 = (wxWindow *) 0 ;
15286 int arg3 = (int) -1 ;
15287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15289 wxSize const &arg5_defvalue = wxDefaultSize ;
15290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15291 long arg6 = (long) 0 ;
15292 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15293 wxString *arg7 = (wxString *) &arg7_defvalue ;
15294 bool result;
15295 wxPoint temp4 ;
15296 wxSize temp5 ;
15297 bool temp7 = false ;
15298 PyObject * obj0 = 0 ;
15299 PyObject * obj1 = 0 ;
15300 PyObject * obj2 = 0 ;
15301 PyObject * obj3 = 0 ;
15302 PyObject * obj4 = 0 ;
15303 PyObject * obj5 = 0 ;
15304 PyObject * obj6 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15314 if (obj2) {
15315 arg3 = (int)SWIG_As_int(obj2);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 if (obj3) {
15319 {
15320 arg4 = &temp4;
15321 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15322 }
15323 }
15324 if (obj4) {
15325 {
15326 arg5 = &temp5;
15327 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15328 }
15329 }
15330 if (obj5) {
15331 arg6 = (long)SWIG_As_long(obj5);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 if (obj6) {
15335 {
15336 arg7 = wxString_in_helper(obj6);
15337 if (arg7 == NULL) SWIG_fail;
15338 temp7 = true;
15339 }
15340 }
15341 {
15342 PyThreadState* __tstate = wxPyBeginAllowThreads();
15343 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15344
15345 wxPyEndAllowThreads(__tstate);
15346 if (PyErr_Occurred()) SWIG_fail;
15347 }
15348 {
15349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15350 }
15351 {
15352 if (temp7)
15353 delete arg7;
15354 }
15355 return resultobj;
15356 fail:
15357 {
15358 if (temp7)
15359 delete arg7;
15360 }
15361 return NULL;
15362 }
15363
15364
15365 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
15366 PyObject *resultobj;
15367 wxNotebook *arg1 = (wxNotebook *) 0 ;
15368 int result;
15369 PyObject * obj0 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 resultobj = SWIG_From_int((int)result);
15385 return resultobj;
15386 fail:
15387 return NULL;
15388 }
15389
15390
15391 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
15392 PyObject *resultobj;
15393 wxNotebook *arg1 = (wxNotebook *) 0 ;
15394 wxSize *arg2 = 0 ;
15395 wxSize temp2 ;
15396 PyObject * obj0 = 0 ;
15397 PyObject * obj1 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self",(char *) "padding", NULL
15400 };
15401
15402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15405 {
15406 arg2 = &temp2;
15407 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15408 }
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 (arg1)->SetPadding((wxSize const &)*arg2);
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 Py_INCREF(Py_None); resultobj = Py_None;
15417 return resultobj;
15418 fail:
15419 return NULL;
15420 }
15421
15422
15423 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
15424 PyObject *resultobj;
15425 wxNotebook *arg1 = (wxNotebook *) 0 ;
15426 wxSize *arg2 = 0 ;
15427 wxSize temp2 ;
15428 PyObject * obj0 = 0 ;
15429 PyObject * obj1 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self",(char *) "sz", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15437 {
15438 arg2 = &temp2;
15439 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15440 }
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 (arg1)->SetTabSize((wxSize const &)*arg2);
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 Py_INCREF(Py_None); resultobj = Py_None;
15449 return resultobj;
15450 fail:
15451 return NULL;
15452 }
15453
15454
15455 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
15456 PyObject *resultobj;
15457 wxNotebook *arg1 = (wxNotebook *) 0 ;
15458 wxPoint *arg2 = 0 ;
15459 long *arg3 = (long *) 0 ;
15460 int result;
15461 wxPoint temp2 ;
15462 long temp3 ;
15463 int res3 = 0 ;
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
15466 char *kwnames[] = {
15467 (char *) "self",(char *) "pt", NULL
15468 };
15469
15470 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15474 {
15475 arg2 = &temp2;
15476 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15477 }
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 resultobj = SWIG_From_int((int)result);
15486 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15487 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
15488 return resultobj;
15489 fail:
15490 return NULL;
15491 }
15492
15493
15494 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj;
15496 wxNotebook *arg1 = (wxNotebook *) 0 ;
15497 wxSize *arg2 = 0 ;
15498 wxSize result;
15499 wxSize temp2 ;
15500 PyObject * obj0 = 0 ;
15501 PyObject * obj1 = 0 ;
15502 char *kwnames[] = {
15503 (char *) "self",(char *) "sizePage", NULL
15504 };
15505
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15509 {
15510 arg2 = &temp2;
15511 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15512 }
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 {
15521 wxSize * resultptr;
15522 resultptr = new wxSize((wxSize &) result);
15523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15524 }
15525 return resultobj;
15526 fail:
15527 return NULL;
15528 }
15529
15530
15531 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxNotebook *arg1 = (wxNotebook *) 0 ;
15534 wxWindow *arg2 = (wxWindow *) 0 ;
15535 wxColour *arg3 = 0 ;
15536 wxColour temp3 ;
15537 PyObject * obj0 = 0 ;
15538 PyObject * obj1 = 0 ;
15539 PyObject * obj2 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self",(char *) "window",(char *) "colour", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15549 {
15550 arg3 = &temp3;
15551 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
15552 }
15553 {
15554 PyThreadState* __tstate = wxPyBeginAllowThreads();
15555 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
15556
15557 wxPyEndAllowThreads(__tstate);
15558 if (PyErr_Occurred()) SWIG_fail;
15559 }
15560 Py_INCREF(Py_None); resultobj = Py_None;
15561 return resultobj;
15562 fail:
15563 return NULL;
15564 }
15565
15566
15567 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15568 PyObject *resultobj;
15569 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15570 wxVisualAttributes result;
15571 PyObject * obj0 = 0 ;
15572 char *kwnames[] = {
15573 (char *) "variant", NULL
15574 };
15575
15576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15577 if (obj0) {
15578 arg1 = (int)SWIG_As_int(obj0);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 {
15582 if (!wxPyCheckForApp()) SWIG_fail;
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 {
15590 wxVisualAttributes * resultptr;
15591 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15593 }
15594 return resultobj;
15595 fail:
15596 return NULL;
15597 }
15598
15599
15600 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
15601 PyObject *obj;
15602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15603 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15604 Py_INCREF(obj);
15605 return Py_BuildValue((char *)"");
15606 }
15607 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15608 PyObject *resultobj;
15609 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15610 int arg2 = (int) 0 ;
15611 int arg3 = (int) -1 ;
15612 int arg4 = (int) -1 ;
15613 wxNotebookEvent *result;
15614 PyObject * obj0 = 0 ;
15615 PyObject * obj1 = 0 ;
15616 PyObject * obj2 = 0 ;
15617 PyObject * obj3 = 0 ;
15618 char *kwnames[] = {
15619 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15620 };
15621
15622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15623 if (obj0) {
15624 arg1 = (wxEventType)SWIG_As_int(obj0);
15625 if (PyErr_Occurred()) SWIG_fail;
15626 }
15627 if (obj1) {
15628 arg2 = (int)SWIG_As_int(obj1);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 if (obj2) {
15632 arg3 = (int)SWIG_As_int(obj2);
15633 if (PyErr_Occurred()) SWIG_fail;
15634 }
15635 if (obj3) {
15636 arg4 = (int)SWIG_As_int(obj3);
15637 if (PyErr_Occurred()) SWIG_fail;
15638 }
15639 {
15640 PyThreadState* __tstate = wxPyBeginAllowThreads();
15641 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15642
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15647 return resultobj;
15648 fail:
15649 return NULL;
15650 }
15651
15652
15653 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
15654 PyObject *obj;
15655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15656 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15657 Py_INCREF(obj);
15658 return Py_BuildValue((char *)"");
15659 }
15660 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
15661 PyObject *resultobj;
15662 wxWindow *arg1 = (wxWindow *) 0 ;
15663 int arg2 = (int) -1 ;
15664 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15665 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15666 wxSize const &arg4_defvalue = wxDefaultSize ;
15667 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15668 long arg5 = (long) 0 ;
15669 wxString const &arg6_defvalue = wxPyEmptyString ;
15670 wxString *arg6 = (wxString *) &arg6_defvalue ;
15671 wxListbook *result;
15672 wxPoint temp3 ;
15673 wxSize temp4 ;
15674 bool temp6 = false ;
15675 PyObject * obj0 = 0 ;
15676 PyObject * obj1 = 0 ;
15677 PyObject * obj2 = 0 ;
15678 PyObject * obj3 = 0 ;
15679 PyObject * obj4 = 0 ;
15680 PyObject * obj5 = 0 ;
15681 char *kwnames[] = {
15682 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15683 };
15684
15685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15688 if (obj1) {
15689 arg2 = (int)SWIG_As_int(obj1);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 if (obj2) {
15693 {
15694 arg3 = &temp3;
15695 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15696 }
15697 }
15698 if (obj3) {
15699 {
15700 arg4 = &temp4;
15701 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15702 }
15703 }
15704 if (obj4) {
15705 arg5 = (long)SWIG_As_long(obj4);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 if (obj5) {
15709 {
15710 arg6 = wxString_in_helper(obj5);
15711 if (arg6 == NULL) SWIG_fail;
15712 temp6 = true;
15713 }
15714 }
15715 {
15716 if (!wxPyCheckForApp()) SWIG_fail;
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15724 {
15725 if (temp6)
15726 delete arg6;
15727 }
15728 return resultobj;
15729 fail:
15730 {
15731 if (temp6)
15732 delete arg6;
15733 }
15734 return NULL;
15735 }
15736
15737
15738 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
15739 PyObject *resultobj;
15740 wxListbook *result;
15741 char *kwnames[] = {
15742 NULL
15743 };
15744
15745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15746 {
15747 if (!wxPyCheckForApp()) SWIG_fail;
15748 PyThreadState* __tstate = wxPyBeginAllowThreads();
15749 result = (wxListbook *)new wxListbook();
15750
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15755 return resultobj;
15756 fail:
15757 return NULL;
15758 }
15759
15760
15761 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15762 PyObject *resultobj;
15763 wxListbook *arg1 = (wxListbook *) 0 ;
15764 wxWindow *arg2 = (wxWindow *) 0 ;
15765 int arg3 = (int) -1 ;
15766 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15767 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15768 wxSize const &arg5_defvalue = wxDefaultSize ;
15769 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15770 long arg6 = (long) 0 ;
15771 wxString const &arg7_defvalue = wxPyEmptyString ;
15772 wxString *arg7 = (wxString *) &arg7_defvalue ;
15773 bool result;
15774 wxPoint temp4 ;
15775 wxSize temp5 ;
15776 bool temp7 = false ;
15777 PyObject * obj0 = 0 ;
15778 PyObject * obj1 = 0 ;
15779 PyObject * obj2 = 0 ;
15780 PyObject * obj3 = 0 ;
15781 PyObject * obj4 = 0 ;
15782 PyObject * obj5 = 0 ;
15783 PyObject * obj6 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15793 if (obj2) {
15794 arg3 = (int)SWIG_As_int(obj2);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 if (obj3) {
15798 {
15799 arg4 = &temp4;
15800 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15801 }
15802 }
15803 if (obj4) {
15804 {
15805 arg5 = &temp5;
15806 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15807 }
15808 }
15809 if (obj5) {
15810 arg6 = (long)SWIG_As_long(obj5);
15811 if (PyErr_Occurred()) SWIG_fail;
15812 }
15813 if (obj6) {
15814 {
15815 arg7 = wxString_in_helper(obj6);
15816 if (arg7 == NULL) SWIG_fail;
15817 temp7 = true;
15818 }
15819 }
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 {
15828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15829 }
15830 {
15831 if (temp7)
15832 delete arg7;
15833 }
15834 return resultobj;
15835 fail:
15836 {
15837 if (temp7)
15838 delete arg7;
15839 }
15840 return NULL;
15841 }
15842
15843
15844 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxListbook *arg1 = (wxListbook *) 0 ;
15847 bool result;
15848 PyObject * obj0 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 result = (bool)((wxListbook const *)arg1)->IsVertical();
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 {
15864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15865 }
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj;
15874 wxListbook *arg1 = (wxListbook *) 0 ;
15875 wxListView *result;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
15882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 result = (wxListView *)(arg1)->GetListView();
15887
15888 wxPyEndAllowThreads(__tstate);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
15892 return resultobj;
15893 fail:
15894 return NULL;
15895 }
15896
15897
15898 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
15899 PyObject *obj;
15900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15901 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15902 Py_INCREF(obj);
15903 return Py_BuildValue((char *)"");
15904 }
15905 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15906 PyObject *resultobj;
15907 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15908 int arg2 = (int) 0 ;
15909 int arg3 = (int) -1 ;
15910 int arg4 = (int) -1 ;
15911 wxListbookEvent *result;
15912 PyObject * obj0 = 0 ;
15913 PyObject * obj1 = 0 ;
15914 PyObject * obj2 = 0 ;
15915 PyObject * obj3 = 0 ;
15916 char *kwnames[] = {
15917 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15918 };
15919
15920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15921 if (obj0) {
15922 arg1 = (wxEventType)SWIG_As_int(obj0);
15923 if (PyErr_Occurred()) SWIG_fail;
15924 }
15925 if (obj1) {
15926 arg2 = (int)SWIG_As_int(obj1);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 if (obj2) {
15930 arg3 = (int)SWIG_As_int(obj2);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 if (obj3) {
15934 arg4 = (int)SWIG_As_int(obj3);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15940
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15945 return resultobj;
15946 fail:
15947 return NULL;
15948 }
15949
15950
15951 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
15952 PyObject *obj;
15953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15954 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15955 Py_INCREF(obj);
15956 return Py_BuildValue((char *)"");
15957 }
15958 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
15959 PyObject *resultobj;
15960 wxWindow *arg1 = (wxWindow *) 0 ;
15961 int arg2 ;
15962 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15963 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15964 wxSize const &arg4_defvalue = wxDefaultSize ;
15965 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15966 long arg5 = (long) 0 ;
15967 wxString const &arg6_defvalue = wxPyEmptyString ;
15968 wxString *arg6 = (wxString *) &arg6_defvalue ;
15969 wxChoicebook *result;
15970 wxPoint temp3 ;
15971 wxSize temp4 ;
15972 bool temp6 = false ;
15973 PyObject * obj0 = 0 ;
15974 PyObject * obj1 = 0 ;
15975 PyObject * obj2 = 0 ;
15976 PyObject * obj3 = 0 ;
15977 PyObject * obj4 = 0 ;
15978 PyObject * obj5 = 0 ;
15979 char *kwnames[] = {
15980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15981 };
15982
15983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15986 arg2 = (int)SWIG_As_int(obj1);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 if (obj2) {
15989 {
15990 arg3 = &temp3;
15991 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15992 }
15993 }
15994 if (obj3) {
15995 {
15996 arg4 = &temp4;
15997 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15998 }
15999 }
16000 if (obj4) {
16001 arg5 = (long)SWIG_As_long(obj4);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 if (obj5) {
16005 {
16006 arg6 = wxString_in_helper(obj5);
16007 if (arg6 == NULL) SWIG_fail;
16008 temp6 = true;
16009 }
16010 }
16011 {
16012 if (!wxPyCheckForApp()) SWIG_fail;
16013 PyThreadState* __tstate = wxPyBeginAllowThreads();
16014 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16015
16016 wxPyEndAllowThreads(__tstate);
16017 if (PyErr_Occurred()) SWIG_fail;
16018 }
16019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
16020 {
16021 if (temp6)
16022 delete arg6;
16023 }
16024 return resultobj;
16025 fail:
16026 {
16027 if (temp6)
16028 delete arg6;
16029 }
16030 return NULL;
16031 }
16032
16033
16034 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
16035 PyObject *resultobj;
16036 wxChoicebook *result;
16037 char *kwnames[] = {
16038 NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
16042 {
16043 if (!wxPyCheckForApp()) SWIG_fail;
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 result = (wxChoicebook *)new wxChoicebook();
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
16051 return resultobj;
16052 fail:
16053 return NULL;
16054 }
16055
16056
16057 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16058 PyObject *resultobj;
16059 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16060 wxWindow *arg2 = (wxWindow *) 0 ;
16061 int arg3 ;
16062 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16063 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16064 wxSize const &arg5_defvalue = wxDefaultSize ;
16065 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16066 long arg6 = (long) 0 ;
16067 wxString const &arg7_defvalue = wxPyEmptyString ;
16068 wxString *arg7 = (wxString *) &arg7_defvalue ;
16069 bool result;
16070 wxPoint temp4 ;
16071 wxSize temp5 ;
16072 bool temp7 = false ;
16073 PyObject * obj0 = 0 ;
16074 PyObject * obj1 = 0 ;
16075 PyObject * obj2 = 0 ;
16076 PyObject * obj3 = 0 ;
16077 PyObject * obj4 = 0 ;
16078 PyObject * obj5 = 0 ;
16079 PyObject * obj6 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16089 arg3 = (int)SWIG_As_int(obj2);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 if (obj3) {
16092 {
16093 arg4 = &temp4;
16094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16095 }
16096 }
16097 if (obj4) {
16098 {
16099 arg5 = &temp5;
16100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16101 }
16102 }
16103 if (obj5) {
16104 arg6 = (long)SWIG_As_long(obj5);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 if (obj6) {
16108 {
16109 arg7 = wxString_in_helper(obj6);
16110 if (arg7 == NULL) SWIG_fail;
16111 temp7 = true;
16112 }
16113 }
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 {
16122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16123 }
16124 {
16125 if (temp7)
16126 delete arg7;
16127 }
16128 return resultobj;
16129 fail:
16130 {
16131 if (temp7)
16132 delete arg7;
16133 }
16134 return NULL;
16135 }
16136
16137
16138 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj;
16140 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16141 bool result;
16142 PyObject * obj0 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self", NULL
16145 };
16146
16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
16148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
16152 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 {
16158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16159 }
16160 return resultobj;
16161 fail:
16162 return NULL;
16163 }
16164
16165
16166 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16167 PyObject *resultobj;
16168 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
16169 bool result;
16170 PyObject * obj0 = 0 ;
16171 char *kwnames[] = {
16172 (char *) "self", NULL
16173 };
16174
16175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
16176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
16177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 result = (bool)(arg1)->DeleteAllPages();
16181
16182 wxPyEndAllowThreads(__tstate);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 }
16185 {
16186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16187 }
16188 return resultobj;
16189 fail:
16190 return NULL;
16191 }
16192
16193
16194 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
16195 PyObject *obj;
16196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16197 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
16198 Py_INCREF(obj);
16199 return Py_BuildValue((char *)"");
16200 }
16201 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16202 PyObject *resultobj;
16203 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16204 int arg2 = (int) 0 ;
16205 int arg3 = (int) -1 ;
16206 int arg4 = (int) -1 ;
16207 wxChoicebookEvent *result;
16208 PyObject * obj0 = 0 ;
16209 PyObject * obj1 = 0 ;
16210 PyObject * obj2 = 0 ;
16211 PyObject * obj3 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16217 if (obj0) {
16218 arg1 = (wxEventType)SWIG_As_int(obj0);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 if (obj1) {
16222 arg2 = (int)SWIG_As_int(obj1);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 if (obj2) {
16226 arg3 = (int)SWIG_As_int(obj2);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 if (obj3) {
16230 arg4 = (int)SWIG_As_int(obj3);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
16241 return resultobj;
16242 fail:
16243 return NULL;
16244 }
16245
16246
16247 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
16248 PyObject *obj;
16249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16250 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
16251 Py_INCREF(obj);
16252 return Py_BuildValue((char *)"");
16253 }
16254 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
16257 wxBookCtrlSizer *result;
16258 PyObject * obj0 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "nb", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
16264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
16265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16266 {
16267 PyThreadState* __tstate = wxPyBeginAllowThreads();
16268 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
16269
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
16274 return resultobj;
16275 fail:
16276 return NULL;
16277 }
16278
16279
16280 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
16281 PyObject *resultobj;
16282 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16283 PyObject * obj0 = 0 ;
16284 char *kwnames[] = {
16285 (char *) "self", NULL
16286 };
16287
16288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 (arg1)->RecalcSizes();
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 Py_INCREF(Py_None); resultobj = Py_None;
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16308 wxSize result;
16309 PyObject * obj0 = 0 ;
16310 char *kwnames[] = {
16311 (char *) "self", NULL
16312 };
16313
16314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
16315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 result = (arg1)->CalcMin();
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 {
16325 wxSize * resultptr;
16326 resultptr = new wxSize((wxSize &) result);
16327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16328 }
16329 return resultobj;
16330 fail:
16331 return NULL;
16332 }
16333
16334
16335 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
16338 wxBookCtrl *result;
16339 PyObject * obj0 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
16345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
16346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (wxBookCtrl *)(arg1)->GetControl();
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
16362 PyObject *obj;
16363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16364 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
16365 Py_INCREF(obj);
16366 return Py_BuildValue((char *)"");
16367 }
16368 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
16369 PyObject *resultobj;
16370 wxNotebook *arg1 = (wxNotebook *) 0 ;
16371 wxNotebookSizer *result;
16372 PyObject * obj0 = 0 ;
16373 char *kwnames[] = {
16374 (char *) "nb", NULL
16375 };
16376
16377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
16378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
16379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16397 PyObject * obj0 = 0 ;
16398 char *kwnames[] = {
16399 (char *) "self", NULL
16400 };
16401
16402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
16403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 (arg1)->RecalcSizes();
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 Py_INCREF(Py_None); resultobj = Py_None;
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16422 wxSize result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16431 {
16432 PyThreadState* __tstate = wxPyBeginAllowThreads();
16433 result = (arg1)->CalcMin();
16434
16435 wxPyEndAllowThreads(__tstate);
16436 if (PyErr_Occurred()) SWIG_fail;
16437 }
16438 {
16439 wxSize * resultptr;
16440 resultptr = new wxSize((wxSize &) result);
16441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16442 }
16443 return resultobj;
16444 fail:
16445 return NULL;
16446 }
16447
16448
16449 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
16450 PyObject *resultobj;
16451 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16452 wxNotebook *result;
16453 PyObject * obj0 = 0 ;
16454 char *kwnames[] = {
16455 (char *) "self", NULL
16456 };
16457
16458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
16459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16461 {
16462 PyThreadState* __tstate = wxPyBeginAllowThreads();
16463 result = (wxNotebook *)(arg1)->GetNotebook();
16464
16465 wxPyEndAllowThreads(__tstate);
16466 if (PyErr_Occurred()) SWIG_fail;
16467 }
16468 {
16469 resultobj = wxPyMake_wxObject(result, 0);
16470 }
16471 return resultobj;
16472 fail:
16473 return NULL;
16474 }
16475
16476
16477 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
16478 PyObject *obj;
16479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16480 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
16481 Py_INCREF(obj);
16482 return Py_BuildValue((char *)"");
16483 }
16484 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
16485 PyObject *resultobj;
16486 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16487 int result;
16488 PyObject * obj0 = 0 ;
16489 char *kwnames[] = {
16490 (char *) "self", NULL
16491 };
16492
16493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
16494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16496 {
16497 PyThreadState* __tstate = wxPyBeginAllowThreads();
16498 result = (int)(arg1)->GetId();
16499
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 resultobj = SWIG_From_int((int)result);
16504 return resultobj;
16505 fail:
16506 return NULL;
16507 }
16508
16509
16510 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16511 PyObject *resultobj;
16512 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16513 wxControl *result;
16514 PyObject * obj0 = 0 ;
16515 char *kwnames[] = {
16516 (char *) "self", NULL
16517 };
16518
16519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
16520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16522 {
16523 PyThreadState* __tstate = wxPyBeginAllowThreads();
16524 result = (wxControl *)(arg1)->GetControl();
16525
16526 wxPyEndAllowThreads(__tstate);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 }
16529 {
16530 resultobj = wxPyMake_wxObject(result, 0);
16531 }
16532 return resultobj;
16533 fail:
16534 return NULL;
16535 }
16536
16537
16538 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
16539 PyObject *resultobj;
16540 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16541 wxToolBarBase *result;
16542 PyObject * obj0 = 0 ;
16543 char *kwnames[] = {
16544 (char *) "self", NULL
16545 };
16546
16547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
16548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16550 {
16551 PyThreadState* __tstate = wxPyBeginAllowThreads();
16552 result = (wxToolBarBase *)(arg1)->GetToolBar();
16553
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 {
16558 resultobj = wxPyMake_wxObject(result, 0);
16559 }
16560 return resultobj;
16561 fail:
16562 return NULL;
16563 }
16564
16565
16566 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
16567 PyObject *resultobj;
16568 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16569 int result;
16570 PyObject * obj0 = 0 ;
16571 char *kwnames[] = {
16572 (char *) "self", NULL
16573 };
16574
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
16576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 result = (int)(arg1)->IsButton();
16581
16582 wxPyEndAllowThreads(__tstate);
16583 if (PyErr_Occurred()) SWIG_fail;
16584 }
16585 resultobj = SWIG_From_int((int)result);
16586 return resultobj;
16587 fail:
16588 return NULL;
16589 }
16590
16591
16592 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj;
16594 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16595 int result;
16596 PyObject * obj0 = 0 ;
16597 char *kwnames[] = {
16598 (char *) "self", NULL
16599 };
16600
16601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16604 {
16605 PyThreadState* __tstate = wxPyBeginAllowThreads();
16606 result = (int)(arg1)->IsControl();
16607
16608 wxPyEndAllowThreads(__tstate);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 }
16611 resultobj = SWIG_From_int((int)result);
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16621 int result;
16622 PyObject * obj0 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 result = (int)(arg1)->IsSeparator();
16633
16634 wxPyEndAllowThreads(__tstate);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 resultobj = SWIG_From_int((int)result);
16638 return resultobj;
16639 fail:
16640 return NULL;
16641 }
16642
16643
16644 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16647 int result;
16648 PyObject * obj0 = 0 ;
16649 char *kwnames[] = {
16650 (char *) "self", NULL
16651 };
16652
16653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 result = (int)(arg1)->GetStyle();
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 resultobj = SWIG_From_int((int)result);
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16673 int result;
16674 PyObject * obj0 = 0 ;
16675 char *kwnames[] = {
16676 (char *) "self", NULL
16677 };
16678
16679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16682 {
16683 PyThreadState* __tstate = wxPyBeginAllowThreads();
16684 result = (int)(arg1)->GetKind();
16685
16686 wxPyEndAllowThreads(__tstate);
16687 if (PyErr_Occurred()) SWIG_fail;
16688 }
16689 resultobj = SWIG_From_int((int)result);
16690 return resultobj;
16691 fail:
16692 return NULL;
16693 }
16694
16695
16696 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
16697 PyObject *resultobj;
16698 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16699 bool result;
16700 PyObject * obj0 = 0 ;
16701 char *kwnames[] = {
16702 (char *) "self", NULL
16703 };
16704
16705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16708 {
16709 PyThreadState* __tstate = wxPyBeginAllowThreads();
16710 result = (bool)(arg1)->IsEnabled();
16711
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 {
16716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16717 }
16718 return resultobj;
16719 fail:
16720 return NULL;
16721 }
16722
16723
16724 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
16725 PyObject *resultobj;
16726 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16727 bool result;
16728 PyObject * obj0 = 0 ;
16729 char *kwnames[] = {
16730 (char *) "self", NULL
16731 };
16732
16733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 result = (bool)(arg1)->IsToggled();
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 {
16744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16745 }
16746 return resultobj;
16747 fail:
16748 return NULL;
16749 }
16750
16751
16752 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
16753 PyObject *resultobj;
16754 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16755 bool result;
16756 PyObject * obj0 = 0 ;
16757 char *kwnames[] = {
16758 (char *) "self", NULL
16759 };
16760
16761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 result = (bool)(arg1)->CanBeToggled();
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 {
16772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16773 }
16774 return resultobj;
16775 fail:
16776 return NULL;
16777 }
16778
16779
16780 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16781 PyObject *resultobj;
16782 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16783 wxBitmap *result;
16784 PyObject * obj0 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 {
16795 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16796 result = (wxBitmap *) &_result_ref;
16797 }
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 {
16803 wxBitmap* resultptr = new wxBitmap(*result);
16804 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16805 }
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16815 wxBitmap *result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 {
16827 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16828 result = (wxBitmap *) &_result_ref;
16829 }
16830
16831 wxPyEndAllowThreads(__tstate);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 {
16835 wxBitmap* resultptr = new wxBitmap(*result);
16836 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16837 }
16838 return resultobj;
16839 fail:
16840 return NULL;
16841 }
16842
16843
16844 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj;
16846 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16847 wxBitmap result;
16848 PyObject * obj0 = 0 ;
16849 char *kwnames[] = {
16850 (char *) "self", NULL
16851 };
16852
16853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16856 {
16857 PyThreadState* __tstate = wxPyBeginAllowThreads();
16858 result = (arg1)->GetBitmap();
16859
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 {
16864 wxBitmap * resultptr;
16865 resultptr = new wxBitmap((wxBitmap &) result);
16866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16867 }
16868 return resultobj;
16869 fail:
16870 return NULL;
16871 }
16872
16873
16874 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16875 PyObject *resultobj;
16876 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16877 wxString result;
16878 PyObject * obj0 = 0 ;
16879 char *kwnames[] = {
16880 (char *) "self", NULL
16881 };
16882
16883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 result = (arg1)->GetLabel();
16889
16890 wxPyEndAllowThreads(__tstate);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
16893 {
16894 #if wxUSE_UNICODE
16895 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16896 #else
16897 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16898 #endif
16899 }
16900 return resultobj;
16901 fail:
16902 return NULL;
16903 }
16904
16905
16906 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16907 PyObject *resultobj;
16908 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16909 wxString result;
16910 PyObject * obj0 = 0 ;
16911 char *kwnames[] = {
16912 (char *) "self", NULL
16913 };
16914
16915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16918 {
16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
16920 result = (arg1)->GetShortHelp();
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 {
16926 #if wxUSE_UNICODE
16927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16928 #else
16929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16930 #endif
16931 }
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16941 wxString result;
16942 PyObject * obj0 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16950 {
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 result = (arg1)->GetLongHelp();
16953
16954 wxPyEndAllowThreads(__tstate);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 {
16958 #if wxUSE_UNICODE
16959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16960 #else
16961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16962 #endif
16963 }
16964 return resultobj;
16965 fail:
16966 return NULL;
16967 }
16968
16969
16970 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj;
16972 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16973 bool arg2 ;
16974 bool result;
16975 PyObject * obj0 = 0 ;
16976 PyObject * obj1 = 0 ;
16977 char *kwnames[] = {
16978 (char *) "self",(char *) "enable", NULL
16979 };
16980
16981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16984 arg2 = (bool)SWIG_As_bool(obj1);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 {
16987 PyThreadState* __tstate = wxPyBeginAllowThreads();
16988 result = (bool)(arg1)->Enable(arg2);
16989
16990 wxPyEndAllowThreads(__tstate);
16991 if (PyErr_Occurred()) SWIG_fail;
16992 }
16993 {
16994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16995 }
16996 return resultobj;
16997 fail:
16998 return NULL;
16999 }
17000
17001
17002 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
17003 PyObject *resultobj;
17004 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17005 PyObject * obj0 = 0 ;
17006 char *kwnames[] = {
17007 (char *) "self", NULL
17008 };
17009
17010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
17011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17013 {
17014 PyThreadState* __tstate = wxPyBeginAllowThreads();
17015 (arg1)->Toggle();
17016
17017 wxPyEndAllowThreads(__tstate);
17018 if (PyErr_Occurred()) SWIG_fail;
17019 }
17020 Py_INCREF(Py_None); resultobj = Py_None;
17021 return resultobj;
17022 fail:
17023 return NULL;
17024 }
17025
17026
17027 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17030 bool arg2 ;
17031 bool result;
17032 PyObject * obj0 = 0 ;
17033 PyObject * obj1 = 0 ;
17034 char *kwnames[] = {
17035 (char *) "self",(char *) "toggle", NULL
17036 };
17037
17038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
17039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17041 arg2 = (bool)SWIG_As_bool(obj1);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 result = (bool)(arg1)->SetToggle(arg2);
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 {
17051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17052 }
17053 return resultobj;
17054 fail:
17055 return NULL;
17056 }
17057
17058
17059 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
17060 PyObject *resultobj;
17061 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17062 wxString *arg2 = 0 ;
17063 bool result;
17064 bool temp2 = false ;
17065 PyObject * obj0 = 0 ;
17066 PyObject * obj1 = 0 ;
17067 char *kwnames[] = {
17068 (char *) "self",(char *) "help", NULL
17069 };
17070
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
17072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17074 {
17075 arg2 = wxString_in_helper(obj1);
17076 if (arg2 == NULL) SWIG_fail;
17077 temp2 = true;
17078 }
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
17082
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 {
17087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17088 }
17089 {
17090 if (temp2)
17091 delete arg2;
17092 }
17093 return resultobj;
17094 fail:
17095 {
17096 if (temp2)
17097 delete arg2;
17098 }
17099 return NULL;
17100 }
17101
17102
17103 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
17104 PyObject *resultobj;
17105 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17106 wxString *arg2 = 0 ;
17107 bool result;
17108 bool temp2 = false ;
17109 PyObject * obj0 = 0 ;
17110 PyObject * obj1 = 0 ;
17111 char *kwnames[] = {
17112 (char *) "self",(char *) "help", NULL
17113 };
17114
17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
17116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17118 {
17119 arg2 = wxString_in_helper(obj1);
17120 if (arg2 == NULL) SWIG_fail;
17121 temp2 = true;
17122 }
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 {
17131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17132 }
17133 {
17134 if (temp2)
17135 delete arg2;
17136 }
17137 return resultobj;
17138 fail:
17139 {
17140 if (temp2)
17141 delete arg2;
17142 }
17143 return NULL;
17144 }
17145
17146
17147 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj;
17149 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17150 wxBitmap *arg2 = 0 ;
17151 PyObject * obj0 = 0 ;
17152 PyObject * obj1 = 0 ;
17153 char *kwnames[] = {
17154 (char *) "self",(char *) "bmp", NULL
17155 };
17156
17157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
17158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17161 SWIG_POINTER_EXCEPTION | 0)) == -1)
17162 SWIG_fail;
17163 if (arg2 == NULL) {
17164 PyErr_SetString(PyExc_TypeError,"null reference");
17165 SWIG_fail;
17166 }
17167 {
17168 PyThreadState* __tstate = wxPyBeginAllowThreads();
17169 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
17170
17171 wxPyEndAllowThreads(__tstate);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 Py_INCREF(Py_None); resultobj = Py_None;
17175 return resultobj;
17176 fail:
17177 return NULL;
17178 }
17179
17180
17181 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
17182 PyObject *resultobj;
17183 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17184 wxBitmap *arg2 = 0 ;
17185 PyObject * obj0 = 0 ;
17186 PyObject * obj1 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self",(char *) "bmp", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
17192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
17195 SWIG_POINTER_EXCEPTION | 0)) == -1)
17196 SWIG_fail;
17197 if (arg2 == NULL) {
17198 PyErr_SetString(PyExc_TypeError,"null reference");
17199 SWIG_fail;
17200 }
17201 {
17202 PyThreadState* __tstate = wxPyBeginAllowThreads();
17203 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
17204
17205 wxPyEndAllowThreads(__tstate);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 Py_INCREF(Py_None); resultobj = Py_None;
17209 return resultobj;
17210 fail:
17211 return NULL;
17212 }
17213
17214
17215 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
17216 PyObject *resultobj;
17217 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17218 wxString *arg2 = 0 ;
17219 bool temp2 = false ;
17220 PyObject * obj0 = 0 ;
17221 PyObject * obj1 = 0 ;
17222 char *kwnames[] = {
17223 (char *) "self",(char *) "label", NULL
17224 };
17225
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
17227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17229 {
17230 arg2 = wxString_in_helper(obj1);
17231 if (arg2 == NULL) SWIG_fail;
17232 temp2 = true;
17233 }
17234 {
17235 PyThreadState* __tstate = wxPyBeginAllowThreads();
17236 (arg1)->SetLabel((wxString const &)*arg2);
17237
17238 wxPyEndAllowThreads(__tstate);
17239 if (PyErr_Occurred()) SWIG_fail;
17240 }
17241 Py_INCREF(Py_None); resultobj = Py_None;
17242 {
17243 if (temp2)
17244 delete arg2;
17245 }
17246 return resultobj;
17247 fail:
17248 {
17249 if (temp2)
17250 delete arg2;
17251 }
17252 return NULL;
17253 }
17254
17255
17256 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj;
17258 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17259 PyObject * obj0 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17267 {
17268 PyThreadState* __tstate = wxPyBeginAllowThreads();
17269 (arg1)->Detach();
17270
17271 wxPyEndAllowThreads(__tstate);
17272 if (PyErr_Occurred()) SWIG_fail;
17273 }
17274 Py_INCREF(Py_None); resultobj = Py_None;
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17284 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
17285 PyObject * obj0 = 0 ;
17286 PyObject * obj1 = 0 ;
17287 char *kwnames[] = {
17288 (char *) "self",(char *) "tbar", NULL
17289 };
17290
17291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
17292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17294 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
17295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->Attach(arg2);
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 return resultobj;
17305 fail:
17306 return NULL;
17307 }
17308
17309
17310 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj;
17312 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17313 PyObject *result;
17314 PyObject * obj0 = 0 ;
17315 char *kwnames[] = {
17316 (char *) "self", NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
17320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 resultobj = result;
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
17339 PyObject *arg2 = (PyObject *) 0 ;
17340 PyObject * obj0 = 0 ;
17341 PyObject * obj1 = 0 ;
17342 char *kwnames[] = {
17343 (char *) "self",(char *) "clientData", NULL
17344 };
17345
17346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
17347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
17348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17349 arg2 = obj1;
17350 {
17351 PyThreadState* __tstate = wxPyBeginAllowThreads();
17352 wxToolBarToolBase_SetClientData(arg1,arg2);
17353
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 Py_INCREF(Py_None); resultobj = Py_None;
17358 return resultobj;
17359 fail:
17360 return NULL;
17361 }
17362
17363
17364 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
17365 PyObject *obj;
17366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17367 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
17368 Py_INCREF(obj);
17369 return Py_BuildValue((char *)"");
17370 }
17371 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17374 int arg2 ;
17375 wxString *arg3 = 0 ;
17376 wxBitmap *arg4 = 0 ;
17377 wxBitmap const &arg5_defvalue = wxNullBitmap ;
17378 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
17379 int arg6 = (int) wxITEM_NORMAL ;
17380 wxString const &arg7_defvalue = wxPyEmptyString ;
17381 wxString *arg7 = (wxString *) &arg7_defvalue ;
17382 wxString const &arg8_defvalue = wxPyEmptyString ;
17383 wxString *arg8 = (wxString *) &arg8_defvalue ;
17384 PyObject *arg9 = (PyObject *) NULL ;
17385 wxToolBarToolBase *result;
17386 bool temp3 = false ;
17387 bool temp7 = false ;
17388 bool temp8 = false ;
17389 PyObject * obj0 = 0 ;
17390 PyObject * obj1 = 0 ;
17391 PyObject * obj2 = 0 ;
17392 PyObject * obj3 = 0 ;
17393 PyObject * obj4 = 0 ;
17394 PyObject * obj5 = 0 ;
17395 PyObject * obj6 = 0 ;
17396 PyObject * obj7 = 0 ;
17397 PyObject * obj8 = 0 ;
17398 char *kwnames[] = {
17399 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17400 };
17401
17402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
17403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17405 arg2 = (int)SWIG_As_int(obj1);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 {
17408 arg3 = wxString_in_helper(obj2);
17409 if (arg3 == NULL) SWIG_fail;
17410 temp3 = true;
17411 }
17412 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
17413 SWIG_POINTER_EXCEPTION | 0)) == -1)
17414 SWIG_fail;
17415 if (arg4 == NULL) {
17416 PyErr_SetString(PyExc_TypeError,"null reference");
17417 SWIG_fail;
17418 }
17419 if (obj4) {
17420 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17421 SWIG_POINTER_EXCEPTION | 0)) == -1)
17422 SWIG_fail;
17423 if (arg5 == NULL) {
17424 PyErr_SetString(PyExc_TypeError,"null reference");
17425 SWIG_fail;
17426 }
17427 }
17428 if (obj5) {
17429 arg6 = (int)SWIG_As_int(obj5);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 }
17432 if (obj6) {
17433 {
17434 arg7 = wxString_in_helper(obj6);
17435 if (arg7 == NULL) SWIG_fail;
17436 temp7 = true;
17437 }
17438 }
17439 if (obj7) {
17440 {
17441 arg8 = wxString_in_helper(obj7);
17442 if (arg8 == NULL) SWIG_fail;
17443 temp8 = true;
17444 }
17445 }
17446 if (obj8) {
17447 arg9 = obj8;
17448 }
17449 {
17450 PyThreadState* __tstate = wxPyBeginAllowThreads();
17451 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
17452
17453 wxPyEndAllowThreads(__tstate);
17454 if (PyErr_Occurred()) SWIG_fail;
17455 }
17456 {
17457 resultobj = wxPyMake_wxObject(result, 0);
17458 }
17459 {
17460 if (temp3)
17461 delete arg3;
17462 }
17463 {
17464 if (temp7)
17465 delete arg7;
17466 }
17467 {
17468 if (temp8)
17469 delete arg8;
17470 }
17471 return resultobj;
17472 fail:
17473 {
17474 if (temp3)
17475 delete arg3;
17476 }
17477 {
17478 if (temp7)
17479 delete arg7;
17480 }
17481 {
17482 if (temp8)
17483 delete arg8;
17484 }
17485 return NULL;
17486 }
17487
17488
17489 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
17490 PyObject *resultobj;
17491 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17492 size_t arg2 ;
17493 int arg3 ;
17494 wxString *arg4 = 0 ;
17495 wxBitmap *arg5 = 0 ;
17496 wxBitmap const &arg6_defvalue = wxNullBitmap ;
17497 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
17498 int arg7 = (int) wxITEM_NORMAL ;
17499 wxString const &arg8_defvalue = wxPyEmptyString ;
17500 wxString *arg8 = (wxString *) &arg8_defvalue ;
17501 wxString const &arg9_defvalue = wxPyEmptyString ;
17502 wxString *arg9 = (wxString *) &arg9_defvalue ;
17503 PyObject *arg10 = (PyObject *) NULL ;
17504 wxToolBarToolBase *result;
17505 bool temp4 = false ;
17506 bool temp8 = false ;
17507 bool temp9 = false ;
17508 PyObject * obj0 = 0 ;
17509 PyObject * obj1 = 0 ;
17510 PyObject * obj2 = 0 ;
17511 PyObject * obj3 = 0 ;
17512 PyObject * obj4 = 0 ;
17513 PyObject * obj5 = 0 ;
17514 PyObject * obj6 = 0 ;
17515 PyObject * obj7 = 0 ;
17516 PyObject * obj8 = 0 ;
17517 PyObject * obj9 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
17523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17525 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17526 if (PyErr_Occurred()) SWIG_fail;
17527 arg3 = (int)SWIG_As_int(obj2);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 {
17530 arg4 = wxString_in_helper(obj3);
17531 if (arg4 == NULL) SWIG_fail;
17532 temp4 = true;
17533 }
17534 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17535 SWIG_POINTER_EXCEPTION | 0)) == -1)
17536 SWIG_fail;
17537 if (arg5 == NULL) {
17538 PyErr_SetString(PyExc_TypeError,"null reference");
17539 SWIG_fail;
17540 }
17541 if (obj5) {
17542 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17543 SWIG_POINTER_EXCEPTION | 0)) == -1)
17544 SWIG_fail;
17545 if (arg6 == NULL) {
17546 PyErr_SetString(PyExc_TypeError,"null reference");
17547 SWIG_fail;
17548 }
17549 }
17550 if (obj6) {
17551 arg7 = (int)SWIG_As_int(obj6);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 if (obj7) {
17555 {
17556 arg8 = wxString_in_helper(obj7);
17557 if (arg8 == NULL) SWIG_fail;
17558 temp8 = true;
17559 }
17560 }
17561 if (obj8) {
17562 {
17563 arg9 = wxString_in_helper(obj8);
17564 if (arg9 == NULL) SWIG_fail;
17565 temp9 = true;
17566 }
17567 }
17568 if (obj9) {
17569 arg10 = obj9;
17570 }
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 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);
17574
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 {
17579 resultobj = wxPyMake_wxObject(result, 0);
17580 }
17581 {
17582 if (temp4)
17583 delete arg4;
17584 }
17585 {
17586 if (temp8)
17587 delete arg8;
17588 }
17589 {
17590 if (temp9)
17591 delete arg9;
17592 }
17593 return resultobj;
17594 fail:
17595 {
17596 if (temp4)
17597 delete arg4;
17598 }
17599 {
17600 if (temp8)
17601 delete arg8;
17602 }
17603 {
17604 if (temp9)
17605 delete arg9;
17606 }
17607 return NULL;
17608 }
17609
17610
17611 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
17612 PyObject *resultobj;
17613 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17614 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17615 wxToolBarToolBase *result;
17616 PyObject * obj0 = 0 ;
17617 PyObject * obj1 = 0 ;
17618 char *kwnames[] = {
17619 (char *) "self",(char *) "tool", NULL
17620 };
17621
17622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 {
17635 resultobj = wxPyMake_wxObject(result, 0);
17636 }
17637 return resultobj;
17638 fail:
17639 return NULL;
17640 }
17641
17642
17643 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
17644 PyObject *resultobj;
17645 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17646 size_t arg2 ;
17647 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17648 wxToolBarToolBase *result;
17649 PyObject * obj0 = 0 ;
17650 PyObject * obj1 = 0 ;
17651 PyObject * obj2 = 0 ;
17652 char *kwnames[] = {
17653 (char *) "self",(char *) "pos",(char *) "tool", NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17659 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17660 if (PyErr_Occurred()) SWIG_fail;
17661 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 {
17671 resultobj = wxPyMake_wxObject(result, 0);
17672 }
17673 return resultobj;
17674 fail:
17675 return NULL;
17676 }
17677
17678
17679 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
17680 PyObject *resultobj;
17681 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17682 wxControl *arg2 = (wxControl *) 0 ;
17683 wxToolBarToolBase *result;
17684 PyObject * obj0 = 0 ;
17685 PyObject * obj1 = 0 ;
17686 char *kwnames[] = {
17687 (char *) "self",(char *) "control", NULL
17688 };
17689
17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 {
17703 resultobj = wxPyMake_wxObject(result, 0);
17704 }
17705 return resultobj;
17706 fail:
17707 return NULL;
17708 }
17709
17710
17711 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
17712 PyObject *resultobj;
17713 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17714 size_t arg2 ;
17715 wxControl *arg3 = (wxControl *) 0 ;
17716 wxToolBarToolBase *result;
17717 PyObject * obj0 = 0 ;
17718 PyObject * obj1 = 0 ;
17719 PyObject * obj2 = 0 ;
17720 char *kwnames[] = {
17721 (char *) "self",(char *) "pos",(char *) "control", NULL
17722 };
17723
17724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17727 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17734
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 {
17739 resultobj = wxPyMake_wxObject(result, 0);
17740 }
17741 return resultobj;
17742 fail:
17743 return NULL;
17744 }
17745
17746
17747 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
17748 PyObject *resultobj;
17749 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17750 int arg2 ;
17751 wxControl *result;
17752 PyObject * obj0 = 0 ;
17753 PyObject * obj1 = 0 ;
17754 char *kwnames[] = {
17755 (char *) "self",(char *) "id", NULL
17756 };
17757
17758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17761 arg2 = (int)SWIG_As_int(obj1);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 result = (wxControl *)(arg1)->FindControl(arg2);
17766
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 {
17771 resultobj = wxPyMake_wxObject(result, 0);
17772 }
17773 return resultobj;
17774 fail:
17775 return NULL;
17776 }
17777
17778
17779 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
17780 PyObject *resultobj;
17781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17782 wxToolBarToolBase *result;
17783 PyObject * obj0 = 0 ;
17784 char *kwnames[] = {
17785 (char *) "self", NULL
17786 };
17787
17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 {
17799 resultobj = wxPyMake_wxObject(result, 0);
17800 }
17801 return resultobj;
17802 fail:
17803 return NULL;
17804 }
17805
17806
17807 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
17808 PyObject *resultobj;
17809 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17810 size_t arg2 ;
17811 wxToolBarToolBase *result;
17812 PyObject * obj0 = 0 ;
17813 PyObject * obj1 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self",(char *) "pos", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17821 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 {
17831 resultobj = wxPyMake_wxObject(result, 0);
17832 }
17833 return resultobj;
17834 fail:
17835 return NULL;
17836 }
17837
17838
17839 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
17840 PyObject *resultobj;
17841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17842 int arg2 ;
17843 wxToolBarToolBase *result;
17844 PyObject * obj0 = 0 ;
17845 PyObject * obj1 = 0 ;
17846 char *kwnames[] = {
17847 (char *) "self",(char *) "id", NULL
17848 };
17849
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17853 arg2 = (int)SWIG_As_int(obj1);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 {
17863 resultobj = wxPyMake_wxObject(result, 0);
17864 }
17865 return resultobj;
17866 fail:
17867 return NULL;
17868 }
17869
17870
17871 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
17872 PyObject *resultobj;
17873 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17874 size_t arg2 ;
17875 bool result;
17876 PyObject * obj0 = 0 ;
17877 PyObject * obj1 = 0 ;
17878 char *kwnames[] = {
17879 (char *) "self",(char *) "pos", NULL
17880 };
17881
17882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17885 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (bool)(arg1)->DeleteToolByPos(arg2);
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 {
17895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17896 }
17897 return resultobj;
17898 fail:
17899 return NULL;
17900 }
17901
17902
17903 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17906 int arg2 ;
17907 bool result;
17908 PyObject * obj0 = 0 ;
17909 PyObject * obj1 = 0 ;
17910 char *kwnames[] = {
17911 (char *) "self",(char *) "id", NULL
17912 };
17913
17914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17917 arg2 = (int)SWIG_As_int(obj1);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 result = (bool)(arg1)->DeleteTool(arg2);
17922
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 {
17927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17928 }
17929 return resultobj;
17930 fail:
17931 return NULL;
17932 }
17933
17934
17935 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17938 PyObject * obj0 = 0 ;
17939 char *kwnames[] = {
17940 (char *) "self", NULL
17941 };
17942
17943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 (arg1)->ClearTools();
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 Py_INCREF(Py_None); resultobj = Py_None;
17954 return resultobj;
17955 fail:
17956 return NULL;
17957 }
17958
17959
17960 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
17961 PyObject *resultobj;
17962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17963 bool result;
17964 PyObject * obj0 = 0 ;
17965 char *kwnames[] = {
17966 (char *) "self", NULL
17967 };
17968
17969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17972 {
17973 PyThreadState* __tstate = wxPyBeginAllowThreads();
17974 result = (bool)(arg1)->Realize();
17975
17976 wxPyEndAllowThreads(__tstate);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 }
17979 {
17980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17981 }
17982 return resultobj;
17983 fail:
17984 return NULL;
17985 }
17986
17987
17988 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
17989 PyObject *resultobj;
17990 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17991 int arg2 ;
17992 bool arg3 ;
17993 PyObject * obj0 = 0 ;
17994 PyObject * obj1 = 0 ;
17995 PyObject * obj2 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self",(char *) "id",(char *) "enable", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
18001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18003 arg2 = (int)SWIG_As_int(obj1);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 arg3 = (bool)SWIG_As_bool(obj2);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 (arg1)->EnableTool(arg2,arg3);
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 Py_INCREF(Py_None); resultobj = Py_None;
18015 return resultobj;
18016 fail:
18017 return NULL;
18018 }
18019
18020
18021 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18024 int arg2 ;
18025 bool arg3 ;
18026 PyObject * obj0 = 0 ;
18027 PyObject * obj1 = 0 ;
18028 PyObject * obj2 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self",(char *) "id",(char *) "toggle", NULL
18031 };
18032
18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
18034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18036 arg2 = (int)SWIG_As_int(obj1);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 arg3 = (bool)SWIG_As_bool(obj2);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 (arg1)->ToggleTool(arg2,arg3);
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 Py_INCREF(Py_None); resultobj = Py_None;
18048 return resultobj;
18049 fail:
18050 return NULL;
18051 }
18052
18053
18054 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18057 int arg2 ;
18058 bool arg3 ;
18059 PyObject * obj0 = 0 ;
18060 PyObject * obj1 = 0 ;
18061 PyObject * obj2 = 0 ;
18062 char *kwnames[] = {
18063 (char *) "self",(char *) "id",(char *) "toggle", NULL
18064 };
18065
18066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
18067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18069 arg2 = (int)SWIG_As_int(obj1);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 arg3 = (bool)SWIG_As_bool(obj2);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
18075 (arg1)->SetToggle(arg2,arg3);
18076
18077 wxPyEndAllowThreads(__tstate);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 }
18080 Py_INCREF(Py_None); resultobj = Py_None;
18081 return resultobj;
18082 fail:
18083 return NULL;
18084 }
18085
18086
18087 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
18088 PyObject *resultobj;
18089 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18090 int arg2 ;
18091 PyObject *result;
18092 PyObject * obj0 = 0 ;
18093 PyObject * obj1 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self",(char *) "id", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18101 arg2 = (int)SWIG_As_int(obj1);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = result;
18111 return resultobj;
18112 fail:
18113 return NULL;
18114 }
18115
18116
18117 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
18118 PyObject *resultobj;
18119 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18120 int arg2 ;
18121 PyObject *arg3 = (PyObject *) 0 ;
18122 PyObject * obj0 = 0 ;
18123 PyObject * obj1 = 0 ;
18124 PyObject * obj2 = 0 ;
18125 char *kwnames[] = {
18126 (char *) "self",(char *) "id",(char *) "clientData", NULL
18127 };
18128
18129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
18130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18132 arg2 = (int)SWIG_As_int(obj1);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 arg3 = obj2;
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 Py_INCREF(Py_None); resultobj = Py_None;
18143 return resultobj;
18144 fail:
18145 return NULL;
18146 }
18147
18148
18149 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
18150 PyObject *resultobj;
18151 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18152 int arg2 ;
18153 int result;
18154 PyObject * obj0 = 0 ;
18155 PyObject * obj1 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "self",(char *) "id", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
18161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18163 arg2 = (int)SWIG_As_int(obj1);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
18168
18169 wxPyEndAllowThreads(__tstate);
18170 if (PyErr_Occurred()) SWIG_fail;
18171 }
18172 resultobj = SWIG_From_int((int)result);
18173 return resultobj;
18174 fail:
18175 return NULL;
18176 }
18177
18178
18179 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
18180 PyObject *resultobj;
18181 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18182 int arg2 ;
18183 bool result;
18184 PyObject * obj0 = 0 ;
18185 PyObject * obj1 = 0 ;
18186 char *kwnames[] = {
18187 (char *) "self",(char *) "id", NULL
18188 };
18189
18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
18191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18193 arg2 = (int)SWIG_As_int(obj1);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 result = (bool)(arg1)->GetToolState(arg2);
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
18202 {
18203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18204 }
18205 return resultobj;
18206 fail:
18207 return NULL;
18208 }
18209
18210
18211 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18212 PyObject *resultobj;
18213 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18214 int arg2 ;
18215 bool result;
18216 PyObject * obj0 = 0 ;
18217 PyObject * obj1 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "self",(char *) "id", NULL
18220 };
18221
18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
18223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18225 arg2 = (int)SWIG_As_int(obj1);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 result = (bool)(arg1)->GetToolEnabled(arg2);
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 {
18235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18236 }
18237 return resultobj;
18238 fail:
18239 return NULL;
18240 }
18241
18242
18243 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18244 PyObject *resultobj;
18245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18246 int arg2 ;
18247 wxString *arg3 = 0 ;
18248 bool temp3 = false ;
18249 PyObject * obj0 = 0 ;
18250 PyObject * obj1 = 0 ;
18251 PyObject * obj2 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self",(char *) "id",(char *) "helpString", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18259 arg2 = (int)SWIG_As_int(obj1);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 {
18262 arg3 = wxString_in_helper(obj2);
18263 if (arg3 == NULL) SWIG_fail;
18264 temp3 = true;
18265 }
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 Py_INCREF(Py_None); resultobj = Py_None;
18274 {
18275 if (temp3)
18276 delete arg3;
18277 }
18278 return resultobj;
18279 fail:
18280 {
18281 if (temp3)
18282 delete arg3;
18283 }
18284 return NULL;
18285 }
18286
18287
18288 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18289 PyObject *resultobj;
18290 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18291 int arg2 ;
18292 wxString result;
18293 PyObject * obj0 = 0 ;
18294 PyObject * obj1 = 0 ;
18295 char *kwnames[] = {
18296 (char *) "self",(char *) "id", NULL
18297 };
18298
18299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
18300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18302 arg2 = (int)SWIG_As_int(obj1);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 result = (arg1)->GetToolShortHelp(arg2);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 {
18312 #if wxUSE_UNICODE
18313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18314 #else
18315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18316 #endif
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18327 int arg2 ;
18328 wxString *arg3 = 0 ;
18329 bool temp3 = false ;
18330 PyObject * obj0 = 0 ;
18331 PyObject * obj1 = 0 ;
18332 PyObject * obj2 = 0 ;
18333 char *kwnames[] = {
18334 (char *) "self",(char *) "id",(char *) "helpString", NULL
18335 };
18336
18337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
18338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18340 arg2 = (int)SWIG_As_int(obj1);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 {
18343 arg3 = wxString_in_helper(obj2);
18344 if (arg3 == NULL) SWIG_fail;
18345 temp3 = true;
18346 }
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
18354 Py_INCREF(Py_None); resultobj = Py_None;
18355 {
18356 if (temp3)
18357 delete arg3;
18358 }
18359 return resultobj;
18360 fail:
18361 {
18362 if (temp3)
18363 delete arg3;
18364 }
18365 return NULL;
18366 }
18367
18368
18369 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18370 PyObject *resultobj;
18371 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18372 int arg2 ;
18373 wxString result;
18374 PyObject * obj0 = 0 ;
18375 PyObject * obj1 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self",(char *) "id", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
18381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18383 arg2 = (int)SWIG_As_int(obj1);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 result = (arg1)->GetToolLongHelp(arg2);
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 {
18393 #if wxUSE_UNICODE
18394 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18395 #else
18396 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18397 #endif
18398 }
18399 return resultobj;
18400 fail:
18401 return NULL;
18402 }
18403
18404
18405 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
18406 PyObject *resultobj;
18407 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18408 int arg2 ;
18409 int arg3 ;
18410 PyObject * obj0 = 0 ;
18411 PyObject * obj1 = 0 ;
18412 PyObject * obj2 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self",(char *) "x",(char *) "y", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
18418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18420 arg2 = (int)SWIG_As_int(obj1);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 arg3 = (int)SWIG_As_int(obj2);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 {
18425 PyThreadState* __tstate = wxPyBeginAllowThreads();
18426 (arg1)->SetMargins(arg2,arg3);
18427
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 Py_INCREF(Py_None); resultobj = Py_None;
18432 return resultobj;
18433 fail:
18434 return NULL;
18435 }
18436
18437
18438 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18439 PyObject *resultobj;
18440 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18441 wxSize *arg2 = 0 ;
18442 wxSize temp2 ;
18443 PyObject * obj0 = 0 ;
18444 PyObject * obj1 = 0 ;
18445 char *kwnames[] = {
18446 (char *) "self",(char *) "size", NULL
18447 };
18448
18449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
18450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18452 {
18453 arg2 = &temp2;
18454 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18455 }
18456 {
18457 PyThreadState* __tstate = wxPyBeginAllowThreads();
18458 (arg1)->SetMargins((wxSize const &)*arg2);
18459
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 Py_INCREF(Py_None); resultobj = Py_None;
18464 return resultobj;
18465 fail:
18466 return NULL;
18467 }
18468
18469
18470 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj;
18472 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18473 int arg2 ;
18474 PyObject * obj0 = 0 ;
18475 PyObject * obj1 = 0 ;
18476 char *kwnames[] = {
18477 (char *) "self",(char *) "packing", NULL
18478 };
18479
18480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
18481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18483 arg2 = (int)SWIG_As_int(obj1);
18484 if (PyErr_Occurred()) SWIG_fail;
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 (arg1)->SetToolPacking(arg2);
18488
18489 wxPyEndAllowThreads(__tstate);
18490 if (PyErr_Occurred()) SWIG_fail;
18491 }
18492 Py_INCREF(Py_None); resultobj = Py_None;
18493 return resultobj;
18494 fail:
18495 return NULL;
18496 }
18497
18498
18499 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
18500 PyObject *resultobj;
18501 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18502 int arg2 ;
18503 PyObject * obj0 = 0 ;
18504 PyObject * obj1 = 0 ;
18505 char *kwnames[] = {
18506 (char *) "self",(char *) "separation", NULL
18507 };
18508
18509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
18510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18512 arg2 = (int)SWIG_As_int(obj1);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 (arg1)->SetToolSeparation(arg2);
18517
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 Py_INCREF(Py_None); resultobj = Py_None;
18522 return resultobj;
18523 fail:
18524 return NULL;
18525 }
18526
18527
18528 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18529 PyObject *resultobj;
18530 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18531 wxSize result;
18532 PyObject * obj0 = 0 ;
18533 char *kwnames[] = {
18534 (char *) "self", NULL
18535 };
18536
18537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
18538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18540 {
18541 PyThreadState* __tstate = wxPyBeginAllowThreads();
18542 result = (arg1)->GetToolMargins();
18543
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
18547 {
18548 wxSize * resultptr;
18549 resultptr = new wxSize((wxSize &) result);
18550 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18551 }
18552 return resultobj;
18553 fail:
18554 return NULL;
18555 }
18556
18557
18558 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18559 PyObject *resultobj;
18560 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18561 wxSize result;
18562 PyObject * obj0 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "self", NULL
18565 };
18566
18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
18568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 result = (arg1)->GetMargins();
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 {
18578 wxSize * resultptr;
18579 resultptr = new wxSize((wxSize &) result);
18580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18581 }
18582 return resultobj;
18583 fail:
18584 return NULL;
18585 }
18586
18587
18588 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
18589 PyObject *resultobj;
18590 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18591 int result;
18592 PyObject * obj0 = 0 ;
18593 char *kwnames[] = {
18594 (char *) "self", NULL
18595 };
18596
18597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (int)(arg1)->GetToolPacking();
18603
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 resultobj = SWIG_From_int((int)result);
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj;
18616 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18617 int result;
18618 PyObject * obj0 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "self", NULL
18621 };
18622
18623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18626 {
18627 PyThreadState* __tstate = wxPyBeginAllowThreads();
18628 result = (int)(arg1)->GetToolSeparation();
18629
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 resultobj = SWIG_From_int((int)result);
18634 return resultobj;
18635 fail:
18636 return NULL;
18637 }
18638
18639
18640 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj;
18642 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18643 int arg2 ;
18644 PyObject * obj0 = 0 ;
18645 PyObject * obj1 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self",(char *) "nRows", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18653 arg2 = (int)SWIG_As_int(obj1);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 (arg1)->SetRows(arg2);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 Py_INCREF(Py_None); resultobj = Py_None;
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18672 int arg2 ;
18673 int arg3 ;
18674 PyObject * obj0 = 0 ;
18675 PyObject * obj1 = 0 ;
18676 PyObject * obj2 = 0 ;
18677 char *kwnames[] = {
18678 (char *) "self",(char *) "rows",(char *) "cols", NULL
18679 };
18680
18681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18684 arg2 = (int)SWIG_As_int(obj1);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 arg3 = (int)SWIG_As_int(obj2);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 (arg1)->SetMaxRowsCols(arg2,arg3);
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 Py_INCREF(Py_None); resultobj = Py_None;
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18705 int result;
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (int)(arg1)->GetMaxRows();
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 resultobj = SWIG_From_int((int)result);
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18731 int result;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 result = (int)(arg1)->GetMaxCols();
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 resultobj = SWIG_From_int((int)result);
18748 return resultobj;
18749 fail:
18750 return NULL;
18751 }
18752
18753
18754 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
18755 PyObject *resultobj;
18756 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18757 wxSize *arg2 = 0 ;
18758 wxSize temp2 ;
18759 PyObject * obj0 = 0 ;
18760 PyObject * obj1 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self",(char *) "size", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18768 {
18769 arg2 = &temp2;
18770 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18771 }
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 Py_INCREF(Py_None); resultobj = Py_None;
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18789 wxSize result;
18790 PyObject * obj0 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 result = (arg1)->GetToolBitmapSize();
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 {
18806 wxSize * resultptr;
18807 resultptr = new wxSize((wxSize &) result);
18808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18809 }
18810 return resultobj;
18811 fail:
18812 return NULL;
18813 }
18814
18815
18816 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
18817 PyObject *resultobj;
18818 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18819 wxSize result;
18820 PyObject * obj0 = 0 ;
18821 char *kwnames[] = {
18822 (char *) "self", NULL
18823 };
18824
18825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18828 {
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
18830 result = (arg1)->GetToolSize();
18831
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 {
18836 wxSize * resultptr;
18837 resultptr = new wxSize((wxSize &) result);
18838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18839 }
18840 return resultobj;
18841 fail:
18842 return NULL;
18843 }
18844
18845
18846 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18849 int arg2 ;
18850 int arg3 ;
18851 wxToolBarToolBase *result;
18852 PyObject * obj0 = 0 ;
18853 PyObject * obj1 = 0 ;
18854 PyObject * obj2 = 0 ;
18855 char *kwnames[] = {
18856 (char *) "self",(char *) "x",(char *) "y", NULL
18857 };
18858
18859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18862 arg2 = (int)SWIG_As_int(obj1);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 arg3 = (int)SWIG_As_int(obj2);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18869
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 {
18874 resultobj = wxPyMake_wxObject(result, 0);
18875 }
18876 return resultobj;
18877 fail:
18878 return NULL;
18879 }
18880
18881
18882 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18885 int arg2 ;
18886 wxToolBarToolBase *result;
18887 PyObject * obj0 = 0 ;
18888 PyObject * obj1 = 0 ;
18889 char *kwnames[] = {
18890 (char *) "self",(char *) "toolid", NULL
18891 };
18892
18893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18896 arg2 = (int)SWIG_As_int(obj1);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 {
18899 PyThreadState* __tstate = wxPyBeginAllowThreads();
18900 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18901
18902 wxPyEndAllowThreads(__tstate);
18903 if (PyErr_Occurred()) SWIG_fail;
18904 }
18905 {
18906 resultobj = wxPyMake_wxObject(result, 0);
18907 }
18908 return resultobj;
18909 fail:
18910 return NULL;
18911 }
18912
18913
18914 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18915 PyObject *resultobj;
18916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18917 bool result;
18918 PyObject * obj0 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = (bool)(arg1)->IsVertical();
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 {
18934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18935 }
18936 return resultobj;
18937 fail:
18938 return NULL;
18939 }
18940
18941
18942 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
18943 PyObject *obj;
18944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18945 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18946 Py_INCREF(obj);
18947 return Py_BuildValue((char *)"");
18948 }
18949 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18950 PyObject *resultobj;
18951 wxWindow *arg1 = (wxWindow *) 0 ;
18952 int arg2 = (int) -1 ;
18953 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18954 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18955 wxSize const &arg4_defvalue = wxDefaultSize ;
18956 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18957 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18958 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18959 wxString *arg6 = (wxString *) &arg6_defvalue ;
18960 wxToolBar *result;
18961 wxPoint temp3 ;
18962 wxSize temp4 ;
18963 bool temp6 = false ;
18964 PyObject * obj0 = 0 ;
18965 PyObject * obj1 = 0 ;
18966 PyObject * obj2 = 0 ;
18967 PyObject * obj3 = 0 ;
18968 PyObject * obj4 = 0 ;
18969 PyObject * obj5 = 0 ;
18970 char *kwnames[] = {
18971 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18972 };
18973
18974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18977 if (obj1) {
18978 arg2 = (int)SWIG_As_int(obj1);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 if (obj2) {
18982 {
18983 arg3 = &temp3;
18984 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18985 }
18986 }
18987 if (obj3) {
18988 {
18989 arg4 = &temp4;
18990 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18991 }
18992 }
18993 if (obj4) {
18994 arg5 = (long)SWIG_As_long(obj4);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 if (obj5) {
18998 {
18999 arg6 = wxString_in_helper(obj5);
19000 if (arg6 == NULL) SWIG_fail;
19001 temp6 = true;
19002 }
19003 }
19004 {
19005 if (!wxPyCheckForApp()) SWIG_fail;
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19008
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
19013 {
19014 if (temp6)
19015 delete arg6;
19016 }
19017 return resultobj;
19018 fail:
19019 {
19020 if (temp6)
19021 delete arg6;
19022 }
19023 return NULL;
19024 }
19025
19026
19027 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
19028 PyObject *resultobj;
19029 wxToolBar *result;
19030 char *kwnames[] = {
19031 NULL
19032 };
19033
19034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
19035 {
19036 if (!wxPyCheckForApp()) SWIG_fail;
19037 PyThreadState* __tstate = wxPyBeginAllowThreads();
19038 result = (wxToolBar *)new wxToolBar();
19039
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
19044 return resultobj;
19045 fail:
19046 return NULL;
19047 }
19048
19049
19050 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
19051 PyObject *resultobj;
19052 wxToolBar *arg1 = (wxToolBar *) 0 ;
19053 wxWindow *arg2 = (wxWindow *) 0 ;
19054 int arg3 = (int) -1 ;
19055 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19056 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19057 wxSize const &arg5_defvalue = wxDefaultSize ;
19058 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19059 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
19060 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
19061 wxString *arg7 = (wxString *) &arg7_defvalue ;
19062 bool result;
19063 wxPoint temp4 ;
19064 wxSize temp5 ;
19065 bool temp7 = false ;
19066 PyObject * obj0 = 0 ;
19067 PyObject * obj1 = 0 ;
19068 PyObject * obj2 = 0 ;
19069 PyObject * obj3 = 0 ;
19070 PyObject * obj4 = 0 ;
19071 PyObject * obj5 = 0 ;
19072 PyObject * obj6 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
19079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19082 if (obj2) {
19083 arg3 = (int)SWIG_As_int(obj2);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 if (obj3) {
19087 {
19088 arg4 = &temp4;
19089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19090 }
19091 }
19092 if (obj4) {
19093 {
19094 arg5 = &temp5;
19095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19096 }
19097 }
19098 if (obj5) {
19099 arg6 = (long)SWIG_As_long(obj5);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 if (obj6) {
19103 {
19104 arg7 = wxString_in_helper(obj6);
19105 if (arg7 == NULL) SWIG_fail;
19106 temp7 = true;
19107 }
19108 }
19109 {
19110 PyThreadState* __tstate = wxPyBeginAllowThreads();
19111 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19112
19113 wxPyEndAllowThreads(__tstate);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 {
19117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19118 }
19119 {
19120 if (temp7)
19121 delete arg7;
19122 }
19123 return resultobj;
19124 fail:
19125 {
19126 if (temp7)
19127 delete arg7;
19128 }
19129 return NULL;
19130 }
19131
19132
19133 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj;
19135 wxToolBar *arg1 = (wxToolBar *) 0 ;
19136 int arg2 ;
19137 int arg3 ;
19138 wxToolBarToolBase *result;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 PyObject * obj2 = 0 ;
19142 char *kwnames[] = {
19143 (char *) "self",(char *) "x",(char *) "y", NULL
19144 };
19145
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
19147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
19148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19149 arg2 = (int)SWIG_As_int(obj1);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 arg3 = (int)SWIG_As_int(obj2);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
19156
19157 wxPyEndAllowThreads(__tstate);
19158 if (PyErr_Occurred()) SWIG_fail;
19159 }
19160 {
19161 resultobj = wxPyMake_wxObject(result, 0);
19162 }
19163 return resultobj;
19164 fail:
19165 return NULL;
19166 }
19167
19168
19169 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
19172 wxVisualAttributes result;
19173 PyObject * obj0 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "variant", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
19179 if (obj0) {
19180 arg1 = (int)SWIG_As_int(obj0);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 {
19184 if (!wxPyCheckForApp()) SWIG_fail;
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 {
19192 wxVisualAttributes * resultptr;
19193 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
19194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19195 }
19196 return resultobj;
19197 fail:
19198 return NULL;
19199 }
19200
19201
19202 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
19203 PyObject *obj;
19204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19205 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
19206 Py_INCREF(obj);
19207 return Py_BuildValue((char *)"");
19208 }
19209 static int _wrap_ListCtrlNameStr_set(PyObject *) {
19210 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
19211 return 1;
19212 }
19213
19214
19215 static PyObject *_wrap_ListCtrlNameStr_get() {
19216 PyObject *pyobj;
19217
19218 {
19219 #if wxUSE_UNICODE
19220 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19221 #else
19222 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
19223 #endif
19224 }
19225 return pyobj;
19226 }
19227
19228
19229 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
19230 PyObject *resultobj;
19231 wxColour const &arg1_defvalue = wxNullColour ;
19232 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
19233 wxColour const &arg2_defvalue = wxNullColour ;
19234 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19235 wxFont const &arg3_defvalue = wxNullFont ;
19236 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
19237 wxListItemAttr *result;
19238 wxColour temp1 ;
19239 wxColour temp2 ;
19240 PyObject * obj0 = 0 ;
19241 PyObject * obj1 = 0 ;
19242 PyObject * obj2 = 0 ;
19243 char *kwnames[] = {
19244 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19245 };
19246
19247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
19248 if (obj0) {
19249 {
19250 arg1 = &temp1;
19251 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
19252 }
19253 }
19254 if (obj1) {
19255 {
19256 arg2 = &temp2;
19257 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19258 }
19259 }
19260 if (obj2) {
19261 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
19262 SWIG_POINTER_EXCEPTION | 0)) == -1)
19263 SWIG_fail;
19264 if (arg3 == NULL) {
19265 PyErr_SetString(PyExc_TypeError,"null reference");
19266 SWIG_fail;
19267 }
19268 }
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
19277 return resultobj;
19278 fail:
19279 return NULL;
19280 }
19281
19282
19283 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19286 wxColour *arg2 = 0 ;
19287 wxColour temp2 ;
19288 PyObject * obj0 = 0 ;
19289 PyObject * obj1 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self",(char *) "colText", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19297 {
19298 arg2 = &temp2;
19299 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19300 }
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->SetTextColour((wxColour const &)*arg2);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19318 wxColour *arg2 = 0 ;
19319 wxColour temp2 ;
19320 PyObject * obj0 = 0 ;
19321 PyObject * obj1 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "self",(char *) "colBack", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19329 {
19330 arg2 = &temp2;
19331 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19332 }
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19336
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 Py_INCREF(Py_None); resultobj = Py_None;
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19350 wxFont *arg2 = 0 ;
19351 PyObject * obj0 = 0 ;
19352 PyObject * obj1 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self",(char *) "font", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
19358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19361 SWIG_POINTER_EXCEPTION | 0)) == -1)
19362 SWIG_fail;
19363 if (arg2 == NULL) {
19364 PyErr_SetString(PyExc_TypeError,"null reference");
19365 SWIG_fail;
19366 }
19367 {
19368 PyThreadState* __tstate = wxPyBeginAllowThreads();
19369 (arg1)->SetFont((wxFont const &)*arg2);
19370
19371 wxPyEndAllowThreads(__tstate);
19372 if (PyErr_Occurred()) SWIG_fail;
19373 }
19374 Py_INCREF(Py_None); resultobj = Py_None;
19375 return resultobj;
19376 fail:
19377 return NULL;
19378 }
19379
19380
19381 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19382 PyObject *resultobj;
19383 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19384 bool result;
19385 PyObject * obj0 = 0 ;
19386 char *kwnames[] = {
19387 (char *) "self", NULL
19388 };
19389
19390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
19391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19393 {
19394 PyThreadState* __tstate = wxPyBeginAllowThreads();
19395 result = (bool)(arg1)->HasTextColour();
19396
19397 wxPyEndAllowThreads(__tstate);
19398 if (PyErr_Occurred()) SWIG_fail;
19399 }
19400 {
19401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19402 }
19403 return resultobj;
19404 fail:
19405 return NULL;
19406 }
19407
19408
19409 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19410 PyObject *resultobj;
19411 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19412 bool result;
19413 PyObject * obj0 = 0 ;
19414 char *kwnames[] = {
19415 (char *) "self", NULL
19416 };
19417
19418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
19419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 result = (bool)(arg1)->HasBackgroundColour();
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 {
19429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19430 }
19431 return resultobj;
19432 fail:
19433 return NULL;
19434 }
19435
19436
19437 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
19438 PyObject *resultobj;
19439 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19440 bool result;
19441 PyObject * obj0 = 0 ;
19442 char *kwnames[] = {
19443 (char *) "self", NULL
19444 };
19445
19446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
19447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 result = (bool)(arg1)->HasFont();
19452
19453 wxPyEndAllowThreads(__tstate);
19454 if (PyErr_Occurred()) SWIG_fail;
19455 }
19456 {
19457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19458 }
19459 return resultobj;
19460 fail:
19461 return NULL;
19462 }
19463
19464
19465 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19466 PyObject *resultobj;
19467 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19468 wxColour result;
19469 PyObject * obj0 = 0 ;
19470 char *kwnames[] = {
19471 (char *) "self", NULL
19472 };
19473
19474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
19475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 result = (arg1)->GetTextColour();
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 {
19485 wxColour * resultptr;
19486 resultptr = new wxColour((wxColour &) result);
19487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19488 }
19489 return resultobj;
19490 fail:
19491 return NULL;
19492 }
19493
19494
19495 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj;
19497 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19498 wxColour result;
19499 PyObject * obj0 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 result = (arg1)->GetBackgroundColour();
19510
19511 wxPyEndAllowThreads(__tstate);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 }
19514 {
19515 wxColour * resultptr;
19516 resultptr = new wxColour((wxColour &) result);
19517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19518 }
19519 return resultobj;
19520 fail:
19521 return NULL;
19522 }
19523
19524
19525 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19528 wxFont result;
19529 PyObject * obj0 = 0 ;
19530 char *kwnames[] = {
19531 (char *) "self", NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
19535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19537 {
19538 PyThreadState* __tstate = wxPyBeginAllowThreads();
19539 result = (arg1)->GetFont();
19540
19541 wxPyEndAllowThreads(__tstate);
19542 if (PyErr_Occurred()) SWIG_fail;
19543 }
19544 {
19545 wxFont * resultptr;
19546 resultptr = new wxFont((wxFont &) result);
19547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19548 }
19549 return resultobj;
19550 fail:
19551 return NULL;
19552 }
19553
19554
19555 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
19556 PyObject *resultobj;
19557 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19558 PyObject * obj0 = 0 ;
19559 char *kwnames[] = {
19560 (char *) "self", NULL
19561 };
19562
19563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
19564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19566 {
19567 PyThreadState* __tstate = wxPyBeginAllowThreads();
19568 wxListItemAttr_Destroy(arg1);
19569
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 Py_INCREF(Py_None); resultobj = Py_None;
19574 return resultobj;
19575 fail:
19576 return NULL;
19577 }
19578
19579
19580 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
19581 PyObject *obj;
19582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19583 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19584 Py_INCREF(obj);
19585 return Py_BuildValue((char *)"");
19586 }
19587 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
19588 PyObject *resultobj;
19589 wxListItem *result;
19590 char *kwnames[] = {
19591 NULL
19592 };
19593
19594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19595 {
19596 PyThreadState* __tstate = wxPyBeginAllowThreads();
19597 result = (wxListItem *)new wxListItem();
19598
19599 wxPyEndAllowThreads(__tstate);
19600 if (PyErr_Occurred()) SWIG_fail;
19601 }
19602 {
19603 resultobj = wxPyMake_wxObject(result, 1);
19604 }
19605 return resultobj;
19606 fail:
19607 return NULL;
19608 }
19609
19610
19611 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
19612 PyObject *resultobj;
19613 wxListItem *arg1 = (wxListItem *) 0 ;
19614 PyObject * obj0 = 0 ;
19615 char *kwnames[] = {
19616 (char *) "self", NULL
19617 };
19618
19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 delete arg1;
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 Py_INCREF(Py_None); resultobj = Py_None;
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxListItem *arg1 = (wxListItem *) 0 ;
19639 PyObject * obj0 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 (arg1)->Clear();
19650
19651 wxPyEndAllowThreads(__tstate);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 }
19654 Py_INCREF(Py_None); resultobj = Py_None;
19655 return resultobj;
19656 fail:
19657 return NULL;
19658 }
19659
19660
19661 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19662 PyObject *resultobj;
19663 wxListItem *arg1 = (wxListItem *) 0 ;
19664 PyObject * obj0 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 (arg1)->ClearAttributes();
19675
19676 wxPyEndAllowThreads(__tstate);
19677 if (PyErr_Occurred()) SWIG_fail;
19678 }
19679 Py_INCREF(Py_None); resultobj = Py_None;
19680 return resultobj;
19681 fail:
19682 return NULL;
19683 }
19684
19685
19686 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19687 PyObject *resultobj;
19688 wxListItem *arg1 = (wxListItem *) 0 ;
19689 long arg2 ;
19690 PyObject * obj0 = 0 ;
19691 PyObject * obj1 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self",(char *) "mask", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19699 arg2 = (long)SWIG_As_long(obj1);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 (arg1)->SetMask(arg2);
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 Py_INCREF(Py_None); resultobj = Py_None;
19709 return resultobj;
19710 fail:
19711 return NULL;
19712 }
19713
19714
19715 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj;
19717 wxListItem *arg1 = (wxListItem *) 0 ;
19718 long arg2 ;
19719 PyObject * obj0 = 0 ;
19720 PyObject * obj1 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self",(char *) "id", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19728 arg2 = (long)SWIG_As_long(obj1);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->SetId(arg2);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 Py_INCREF(Py_None); resultobj = Py_None;
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxListItem *arg1 = (wxListItem *) 0 ;
19747 int arg2 ;
19748 PyObject * obj0 = 0 ;
19749 PyObject * obj1 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self",(char *) "col", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19757 arg2 = (int)SWIG_As_int(obj1);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 (arg1)->SetColumn(arg2);
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 Py_INCREF(Py_None); resultobj = Py_None;
19767 return resultobj;
19768 fail:
19769 return NULL;
19770 }
19771
19772
19773 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxListItem *arg1 = (wxListItem *) 0 ;
19776 long arg2 ;
19777 PyObject * obj0 = 0 ;
19778 PyObject * obj1 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self",(char *) "state", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19786 arg2 = (long)SWIG_As_long(obj1);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 (arg1)->SetState(arg2);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 Py_INCREF(Py_None); resultobj = Py_None;
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxListItem *arg1 = (wxListItem *) 0 ;
19805 long arg2 ;
19806 PyObject * obj0 = 0 ;
19807 PyObject * obj1 = 0 ;
19808 char *kwnames[] = {
19809 (char *) "self",(char *) "stateMask", NULL
19810 };
19811
19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19815 arg2 = (long)SWIG_As_long(obj1);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 (arg1)->SetStateMask(arg2);
19820
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 Py_INCREF(Py_None); resultobj = Py_None;
19825 return resultobj;
19826 fail:
19827 return NULL;
19828 }
19829
19830
19831 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
19832 PyObject *resultobj;
19833 wxListItem *arg1 = (wxListItem *) 0 ;
19834 wxString *arg2 = 0 ;
19835 bool temp2 = false ;
19836 PyObject * obj0 = 0 ;
19837 PyObject * obj1 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self",(char *) "text", NULL
19840 };
19841
19842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19845 {
19846 arg2 = wxString_in_helper(obj1);
19847 if (arg2 == NULL) SWIG_fail;
19848 temp2 = true;
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 (arg1)->SetText((wxString const &)*arg2);
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 Py_INCREF(Py_None); resultobj = Py_None;
19858 {
19859 if (temp2)
19860 delete arg2;
19861 }
19862 return resultobj;
19863 fail:
19864 {
19865 if (temp2)
19866 delete arg2;
19867 }
19868 return NULL;
19869 }
19870
19871
19872 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 wxListItem *arg1 = (wxListItem *) 0 ;
19875 int arg2 ;
19876 PyObject * obj0 = 0 ;
19877 PyObject * obj1 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self",(char *) "image", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19885 arg2 = (int)SWIG_As_int(obj1);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 {
19888 PyThreadState* __tstate = wxPyBeginAllowThreads();
19889 (arg1)->SetImage(arg2);
19890
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 Py_INCREF(Py_None); resultobj = Py_None;
19895 return resultobj;
19896 fail:
19897 return NULL;
19898 }
19899
19900
19901 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj;
19903 wxListItem *arg1 = (wxListItem *) 0 ;
19904 long arg2 ;
19905 PyObject * obj0 = 0 ;
19906 PyObject * obj1 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self",(char *) "data", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19914 arg2 = (long)SWIG_As_long(obj1);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 (arg1)->SetData(arg2);
19919
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 Py_INCREF(Py_None); resultobj = Py_None;
19924 return resultobj;
19925 fail:
19926 return NULL;
19927 }
19928
19929
19930 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxListItem *arg1 = (wxListItem *) 0 ;
19933 int arg2 ;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 char *kwnames[] = {
19937 (char *) "self",(char *) "width", NULL
19938 };
19939
19940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19943 arg2 = (int)SWIG_As_int(obj1);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 (arg1)->SetWidth(arg2);
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 Py_INCREF(Py_None); resultobj = Py_None;
19953 return resultobj;
19954 fail:
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxListItem *arg1 = (wxListItem *) 0 ;
19962 int arg2 ;
19963 PyObject * obj0 = 0 ;
19964 PyObject * obj1 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self",(char *) "align", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19972 arg2 = (int)SWIG_As_int(obj1);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 (arg1)->SetAlign((wxListColumnFormat )arg2);
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 Py_INCREF(Py_None); resultobj = Py_None;
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj;
19990 wxListItem *arg1 = (wxListItem *) 0 ;
19991 wxColour *arg2 = 0 ;
19992 wxColour temp2 ;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "colText", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20002 {
20003 arg2 = &temp2;
20004 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20005 }
20006 {
20007 PyThreadState* __tstate = wxPyBeginAllowThreads();
20008 (arg1)->SetTextColour((wxColour const &)*arg2);
20009
20010 wxPyEndAllowThreads(__tstate);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 }
20013 Py_INCREF(Py_None); resultobj = Py_None;
20014 return resultobj;
20015 fail:
20016 return NULL;
20017 }
20018
20019
20020 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20021 PyObject *resultobj;
20022 wxListItem *arg1 = (wxListItem *) 0 ;
20023 wxColour *arg2 = 0 ;
20024 wxColour temp2 ;
20025 PyObject * obj0 = 0 ;
20026 PyObject * obj1 = 0 ;
20027 char *kwnames[] = {
20028 (char *) "self",(char *) "colBack", NULL
20029 };
20030
20031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20034 {
20035 arg2 = &temp2;
20036 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20037 }
20038 {
20039 PyThreadState* __tstate = wxPyBeginAllowThreads();
20040 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 Py_INCREF(Py_None); resultobj = Py_None;
20046 return resultobj;
20047 fail:
20048 return NULL;
20049 }
20050
20051
20052 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
20053 PyObject *resultobj;
20054 wxListItem *arg1 = (wxListItem *) 0 ;
20055 wxFont *arg2 = 0 ;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self",(char *) "font", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
20063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
20066 SWIG_POINTER_EXCEPTION | 0)) == -1)
20067 SWIG_fail;
20068 if (arg2 == NULL) {
20069 PyErr_SetString(PyExc_TypeError,"null reference");
20070 SWIG_fail;
20071 }
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 (arg1)->SetFont((wxFont const &)*arg2);
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 Py_INCREF(Py_None); resultobj = Py_None;
20080 return resultobj;
20081 fail:
20082 return NULL;
20083 }
20084
20085
20086 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxListItem *arg1 = (wxListItem *) 0 ;
20089 long result;
20090 PyObject * obj0 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
20096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 result = (long)(arg1)->GetMask();
20101
20102 wxPyEndAllowThreads(__tstate);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 }
20105 resultobj = SWIG_From_long((long)result);
20106 return resultobj;
20107 fail:
20108 return NULL;
20109 }
20110
20111
20112 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
20113 PyObject *resultobj;
20114 wxListItem *arg1 = (wxListItem *) 0 ;
20115 long result;
20116 PyObject * obj0 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
20122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20124 {
20125 PyThreadState* __tstate = wxPyBeginAllowThreads();
20126 result = (long)(arg1)->GetId();
20127
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
20131 resultobj = SWIG_From_long((long)result);
20132 return resultobj;
20133 fail:
20134 return NULL;
20135 }
20136
20137
20138 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20139 PyObject *resultobj;
20140 wxListItem *arg1 = (wxListItem *) 0 ;
20141 int result;
20142 PyObject * obj0 = 0 ;
20143 char *kwnames[] = {
20144 (char *) "self", NULL
20145 };
20146
20147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
20148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20150 {
20151 PyThreadState* __tstate = wxPyBeginAllowThreads();
20152 result = (int)(arg1)->GetColumn();
20153
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
20157 resultobj = SWIG_From_int((int)result);
20158 return resultobj;
20159 fail:
20160 return NULL;
20161 }
20162
20163
20164 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
20165 PyObject *resultobj;
20166 wxListItem *arg1 = (wxListItem *) 0 ;
20167 long result;
20168 PyObject * obj0 = 0 ;
20169 char *kwnames[] = {
20170 (char *) "self", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
20174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 result = (long)(arg1)->GetState();
20179
20180 wxPyEndAllowThreads(__tstate);
20181 if (PyErr_Occurred()) SWIG_fail;
20182 }
20183 resultobj = SWIG_From_long((long)result);
20184 return resultobj;
20185 fail:
20186 return NULL;
20187 }
20188
20189
20190 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxListItem *arg1 = (wxListItem *) 0 ;
20193 wxString *result;
20194 PyObject * obj0 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 {
20203 PyThreadState* __tstate = wxPyBeginAllowThreads();
20204 {
20205 wxString const &_result_ref = (arg1)->GetText();
20206 result = (wxString *) &_result_ref;
20207 }
20208
20209 wxPyEndAllowThreads(__tstate);
20210 if (PyErr_Occurred()) SWIG_fail;
20211 }
20212 {
20213 #if wxUSE_UNICODE
20214 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20215 #else
20216 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20217 #endif
20218 }
20219 return resultobj;
20220 fail:
20221 return NULL;
20222 }
20223
20224
20225 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj;
20227 wxListItem *arg1 = (wxListItem *) 0 ;
20228 int result;
20229 PyObject * obj0 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
20235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 result = (int)(arg1)->GetImage();
20240
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 resultobj = SWIG_From_int((int)result);
20245 return resultobj;
20246 fail:
20247 return NULL;
20248 }
20249
20250
20251 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
20252 PyObject *resultobj;
20253 wxListItem *arg1 = (wxListItem *) 0 ;
20254 long result;
20255 PyObject * obj0 = 0 ;
20256 char *kwnames[] = {
20257 (char *) "self", NULL
20258 };
20259
20260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
20261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20263 {
20264 PyThreadState* __tstate = wxPyBeginAllowThreads();
20265 result = (long)(arg1)->GetData();
20266
20267 wxPyEndAllowThreads(__tstate);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 }
20270 resultobj = SWIG_From_long((long)result);
20271 return resultobj;
20272 fail:
20273 return NULL;
20274 }
20275
20276
20277 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj;
20279 wxListItem *arg1 = (wxListItem *) 0 ;
20280 int result;
20281 PyObject * obj0 = 0 ;
20282 char *kwnames[] = {
20283 (char *) "self", NULL
20284 };
20285
20286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
20287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 result = (int)(arg1)->GetWidth();
20292
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 resultobj = SWIG_From_int((int)result);
20297 return resultobj;
20298 fail:
20299 return NULL;
20300 }
20301
20302
20303 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 wxListItem *arg1 = (wxListItem *) 0 ;
20306 int result;
20307 PyObject * obj0 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
20313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (int)(arg1)->GetAlign();
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 resultobj = SWIG_From_int((int)result);
20323 return resultobj;
20324 fail:
20325 return NULL;
20326 }
20327
20328
20329 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj;
20331 wxListItem *arg1 = (wxListItem *) 0 ;
20332 wxListItemAttr *result;
20333 PyObject * obj0 = 0 ;
20334 char *kwnames[] = {
20335 (char *) "self", NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
20339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20341 {
20342 PyThreadState* __tstate = wxPyBeginAllowThreads();
20343 result = (wxListItemAttr *)(arg1)->GetAttributes();
20344
20345 wxPyEndAllowThreads(__tstate);
20346 if (PyErr_Occurred()) SWIG_fail;
20347 }
20348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
20349 return resultobj;
20350 fail:
20351 return NULL;
20352 }
20353
20354
20355 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20356 PyObject *resultobj;
20357 wxListItem *arg1 = (wxListItem *) 0 ;
20358 bool result;
20359 PyObject * obj0 = 0 ;
20360 char *kwnames[] = {
20361 (char *) "self", NULL
20362 };
20363
20364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
20365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 result = (bool)(arg1)->HasAttributes();
20370
20371 wxPyEndAllowThreads(__tstate);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
20374 {
20375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20376 }
20377 return resultobj;
20378 fail:
20379 return NULL;
20380 }
20381
20382
20383 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
20384 PyObject *resultobj;
20385 wxListItem *arg1 = (wxListItem *) 0 ;
20386 wxColour result;
20387 PyObject * obj0 = 0 ;
20388 char *kwnames[] = {
20389 (char *) "self", NULL
20390 };
20391
20392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
20393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20395 {
20396 PyThreadState* __tstate = wxPyBeginAllowThreads();
20397 result = ((wxListItem const *)arg1)->GetTextColour();
20398
20399 wxPyEndAllowThreads(__tstate);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 }
20402 {
20403 wxColour * resultptr;
20404 resultptr = new wxColour((wxColour &) result);
20405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20406 }
20407 return resultobj;
20408 fail:
20409 return NULL;
20410 }
20411
20412
20413 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20414 PyObject *resultobj;
20415 wxListItem *arg1 = (wxListItem *) 0 ;
20416 wxColour result;
20417 PyObject * obj0 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
20423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = ((wxListItem const *)arg1)->GetBackgroundColour();
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 wxColour * resultptr;
20434 resultptr = new wxColour((wxColour &) result);
20435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20436 }
20437 return resultobj;
20438 fail:
20439 return NULL;
20440 }
20441
20442
20443 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
20444 PyObject *resultobj;
20445 wxListItem *arg1 = (wxListItem *) 0 ;
20446 wxFont result;
20447 PyObject * obj0 = 0 ;
20448 char *kwnames[] = {
20449 (char *) "self", NULL
20450 };
20451
20452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
20453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20455 {
20456 PyThreadState* __tstate = wxPyBeginAllowThreads();
20457 result = ((wxListItem const *)arg1)->GetFont();
20458
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
20462 {
20463 wxFont * resultptr;
20464 resultptr = new wxFont((wxFont &) result);
20465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
20466 }
20467 return resultobj;
20468 fail:
20469 return NULL;
20470 }
20471
20472
20473 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
20474 PyObject *resultobj;
20475 wxListItem *arg1 = (wxListItem *) 0 ;
20476 long arg2 ;
20477 PyObject * obj0 = 0 ;
20478 PyObject * obj1 = 0 ;
20479 char *kwnames[] = {
20480 (char *) "self",(char *) "m_mask", NULL
20481 };
20482
20483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
20484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20486 arg2 = (long)SWIG_As_long(obj1);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 if (arg1) (arg1)->m_mask = arg2;
20489
20490 Py_INCREF(Py_None); resultobj = Py_None;
20491 return resultobj;
20492 fail:
20493 return NULL;
20494 }
20495
20496
20497 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
20498 PyObject *resultobj;
20499 wxListItem *arg1 = (wxListItem *) 0 ;
20500 long result;
20501 PyObject * obj0 = 0 ;
20502 char *kwnames[] = {
20503 (char *) "self", NULL
20504 };
20505
20506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
20507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20509 result = (long) ((arg1)->m_mask);
20510
20511 resultobj = SWIG_From_long((long)result);
20512 return resultobj;
20513 fail:
20514 return NULL;
20515 }
20516
20517
20518 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
20519 PyObject *resultobj;
20520 wxListItem *arg1 = (wxListItem *) 0 ;
20521 long arg2 ;
20522 PyObject * obj0 = 0 ;
20523 PyObject * obj1 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self",(char *) "m_itemId", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
20529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20531 arg2 = (long)SWIG_As_long(obj1);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 if (arg1) (arg1)->m_itemId = arg2;
20534
20535 Py_INCREF(Py_None); resultobj = Py_None;
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxListItem *arg1 = (wxListItem *) 0 ;
20545 long result;
20546 PyObject * obj0 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20554 result = (long) ((arg1)->m_itemId);
20555
20556 resultobj = SWIG_From_long((long)result);
20557 return resultobj;
20558 fail:
20559 return NULL;
20560 }
20561
20562
20563 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj;
20565 wxListItem *arg1 = (wxListItem *) 0 ;
20566 int arg2 ;
20567 PyObject * obj0 = 0 ;
20568 PyObject * obj1 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self",(char *) "m_col", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20576 arg2 = (int)SWIG_As_int(obj1);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 if (arg1) (arg1)->m_col = arg2;
20579
20580 Py_INCREF(Py_None); resultobj = Py_None;
20581 return resultobj;
20582 fail:
20583 return NULL;
20584 }
20585
20586
20587 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
20588 PyObject *resultobj;
20589 wxListItem *arg1 = (wxListItem *) 0 ;
20590 int result;
20591 PyObject * obj0 = 0 ;
20592 char *kwnames[] = {
20593 (char *) "self", NULL
20594 };
20595
20596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20599 result = (int) ((arg1)->m_col);
20600
20601 resultobj = SWIG_From_int((int)result);
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
20609 PyObject *resultobj;
20610 wxListItem *arg1 = (wxListItem *) 0 ;
20611 long arg2 ;
20612 PyObject * obj0 = 0 ;
20613 PyObject * obj1 = 0 ;
20614 char *kwnames[] = {
20615 (char *) "self",(char *) "m_state", NULL
20616 };
20617
20618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20621 arg2 = (long)SWIG_As_long(obj1);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 if (arg1) (arg1)->m_state = arg2;
20624
20625 Py_INCREF(Py_None); resultobj = Py_None;
20626 return resultobj;
20627 fail:
20628 return NULL;
20629 }
20630
20631
20632 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj;
20634 wxListItem *arg1 = (wxListItem *) 0 ;
20635 long result;
20636 PyObject * obj0 = 0 ;
20637 char *kwnames[] = {
20638 (char *) "self", NULL
20639 };
20640
20641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20644 result = (long) ((arg1)->m_state);
20645
20646 resultobj = SWIG_From_long((long)result);
20647 return resultobj;
20648 fail:
20649 return NULL;
20650 }
20651
20652
20653 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
20654 PyObject *resultobj;
20655 wxListItem *arg1 = (wxListItem *) 0 ;
20656 long arg2 ;
20657 PyObject * obj0 = 0 ;
20658 PyObject * obj1 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self",(char *) "m_stateMask", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20666 arg2 = (long)SWIG_As_long(obj1);
20667 if (PyErr_Occurred()) SWIG_fail;
20668 if (arg1) (arg1)->m_stateMask = arg2;
20669
20670 Py_INCREF(Py_None); resultobj = Py_None;
20671 return resultobj;
20672 fail:
20673 return NULL;
20674 }
20675
20676
20677 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
20678 PyObject *resultobj;
20679 wxListItem *arg1 = (wxListItem *) 0 ;
20680 long result;
20681 PyObject * obj0 = 0 ;
20682 char *kwnames[] = {
20683 (char *) "self", NULL
20684 };
20685
20686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20689 result = (long) ((arg1)->m_stateMask);
20690
20691 resultobj = SWIG_From_long((long)result);
20692 return resultobj;
20693 fail:
20694 return NULL;
20695 }
20696
20697
20698 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxListItem *arg1 = (wxListItem *) 0 ;
20701 wxString *arg2 = (wxString *) 0 ;
20702 bool temp2 = false ;
20703 PyObject * obj0 = 0 ;
20704 PyObject * obj1 = 0 ;
20705 char *kwnames[] = {
20706 (char *) "self",(char *) "m_text", NULL
20707 };
20708
20709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20712 {
20713 arg2 = wxString_in_helper(obj1);
20714 if (arg2 == NULL) SWIG_fail;
20715 temp2 = true;
20716 }
20717 if (arg1) (arg1)->m_text = *arg2;
20718
20719 Py_INCREF(Py_None); resultobj = Py_None;
20720 {
20721 if (temp2)
20722 delete arg2;
20723 }
20724 return resultobj;
20725 fail:
20726 {
20727 if (temp2)
20728 delete arg2;
20729 }
20730 return NULL;
20731 }
20732
20733
20734 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
20735 PyObject *resultobj;
20736 wxListItem *arg1 = (wxListItem *) 0 ;
20737 wxString *result;
20738 PyObject * obj0 = 0 ;
20739 char *kwnames[] = {
20740 (char *) "self", NULL
20741 };
20742
20743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20746 result = (wxString *)& ((arg1)->m_text);
20747
20748 {
20749 #if wxUSE_UNICODE
20750 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20751 #else
20752 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20753 #endif
20754 }
20755 return resultobj;
20756 fail:
20757 return NULL;
20758 }
20759
20760
20761 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
20762 PyObject *resultobj;
20763 wxListItem *arg1 = (wxListItem *) 0 ;
20764 int arg2 ;
20765 PyObject * obj0 = 0 ;
20766 PyObject * obj1 = 0 ;
20767 char *kwnames[] = {
20768 (char *) "self",(char *) "m_image", NULL
20769 };
20770
20771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20774 arg2 = (int)SWIG_As_int(obj1);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 if (arg1) (arg1)->m_image = arg2;
20777
20778 Py_INCREF(Py_None); resultobj = Py_None;
20779 return resultobj;
20780 fail:
20781 return NULL;
20782 }
20783
20784
20785 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
20786 PyObject *resultobj;
20787 wxListItem *arg1 = (wxListItem *) 0 ;
20788 int result;
20789 PyObject * obj0 = 0 ;
20790 char *kwnames[] = {
20791 (char *) "self", NULL
20792 };
20793
20794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20797 result = (int) ((arg1)->m_image);
20798
20799 resultobj = SWIG_From_int((int)result);
20800 return resultobj;
20801 fail:
20802 return NULL;
20803 }
20804
20805
20806 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
20807 PyObject *resultobj;
20808 wxListItem *arg1 = (wxListItem *) 0 ;
20809 long arg2 ;
20810 PyObject * obj0 = 0 ;
20811 PyObject * obj1 = 0 ;
20812 char *kwnames[] = {
20813 (char *) "self",(char *) "m_data", NULL
20814 };
20815
20816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20819 arg2 = (long)SWIG_As_long(obj1);
20820 if (PyErr_Occurred()) SWIG_fail;
20821 if (arg1) (arg1)->m_data = arg2;
20822
20823 Py_INCREF(Py_None); resultobj = Py_None;
20824 return resultobj;
20825 fail:
20826 return NULL;
20827 }
20828
20829
20830 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxListItem *arg1 = (wxListItem *) 0 ;
20833 long result;
20834 PyObject * obj0 = 0 ;
20835 char *kwnames[] = {
20836 (char *) "self", NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20842 result = (long) ((arg1)->m_data);
20843
20844 resultobj = SWIG_From_long((long)result);
20845 return resultobj;
20846 fail:
20847 return NULL;
20848 }
20849
20850
20851 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
20852 PyObject *resultobj;
20853 wxListItem *arg1 = (wxListItem *) 0 ;
20854 int arg2 ;
20855 PyObject * obj0 = 0 ;
20856 PyObject * obj1 = 0 ;
20857 char *kwnames[] = {
20858 (char *) "self",(char *) "m_format", NULL
20859 };
20860
20861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20864 arg2 = (int)SWIG_As_int(obj1);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 if (arg1) (arg1)->m_format = arg2;
20867
20868 Py_INCREF(Py_None); resultobj = Py_None;
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj;
20877 wxListItem *arg1 = (wxListItem *) 0 ;
20878 int result;
20879 PyObject * obj0 = 0 ;
20880 char *kwnames[] = {
20881 (char *) "self", NULL
20882 };
20883
20884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20887 result = (int) ((arg1)->m_format);
20888
20889 resultobj = SWIG_From_int((int)result);
20890 return resultobj;
20891 fail:
20892 return NULL;
20893 }
20894
20895
20896 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
20897 PyObject *resultobj;
20898 wxListItem *arg1 = (wxListItem *) 0 ;
20899 int arg2 ;
20900 PyObject * obj0 = 0 ;
20901 PyObject * obj1 = 0 ;
20902 char *kwnames[] = {
20903 (char *) "self",(char *) "m_width", NULL
20904 };
20905
20906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20909 arg2 = (int)SWIG_As_int(obj1);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 if (arg1) (arg1)->m_width = arg2;
20912
20913 Py_INCREF(Py_None); resultobj = Py_None;
20914 return resultobj;
20915 fail:
20916 return NULL;
20917 }
20918
20919
20920 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxListItem *arg1 = (wxListItem *) 0 ;
20923 int result;
20924 PyObject * obj0 = 0 ;
20925 char *kwnames[] = {
20926 (char *) "self", NULL
20927 };
20928
20929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20932 result = (int) ((arg1)->m_width);
20933
20934 resultobj = SWIG_From_int((int)result);
20935 return resultobj;
20936 fail:
20937 return NULL;
20938 }
20939
20940
20941 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
20942 PyObject *obj;
20943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20944 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20945 Py_INCREF(obj);
20946 return Py_BuildValue((char *)"");
20947 }
20948 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20951 int arg2 = (int) 0 ;
20952 wxListEvent *result;
20953 PyObject * obj0 = 0 ;
20954 PyObject * obj1 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "commandType",(char *) "id", NULL
20957 };
20958
20959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20960 if (obj0) {
20961 arg1 = (wxEventType)SWIG_As_int(obj0);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 if (obj1) {
20965 arg2 = (int)SWIG_As_int(obj1);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxListEvent *arg1 = (wxListEvent *) 0 ;
20985 int arg2 ;
20986 PyObject * obj0 = 0 ;
20987 PyObject * obj1 = 0 ;
20988 char *kwnames[] = {
20989 (char *) "self",(char *) "m_code", NULL
20990 };
20991
20992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20995 arg2 = (int)SWIG_As_int(obj1);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 if (arg1) (arg1)->m_code = arg2;
20998
20999 Py_INCREF(Py_None); resultobj = Py_None;
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj;
21008 wxListEvent *arg1 = (wxListEvent *) 0 ;
21009 int result;
21010 PyObject * obj0 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
21016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21018 result = (int) ((arg1)->m_code);
21019
21020 resultobj = SWIG_From_int((int)result);
21021 return resultobj;
21022 fail:
21023 return NULL;
21024 }
21025
21026
21027 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
21028 PyObject *resultobj;
21029 wxListEvent *arg1 = (wxListEvent *) 0 ;
21030 long arg2 ;
21031 PyObject * obj0 = 0 ;
21032 PyObject * obj1 = 0 ;
21033 char *kwnames[] = {
21034 (char *) "self",(char *) "m_oldItemIndex", NULL
21035 };
21036
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
21038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21040 arg2 = (long)SWIG_As_long(obj1);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 if (arg1) (arg1)->m_oldItemIndex = arg2;
21043
21044 Py_INCREF(Py_None); resultobj = Py_None;
21045 return resultobj;
21046 fail:
21047 return NULL;
21048 }
21049
21050
21051 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
21052 PyObject *resultobj;
21053 wxListEvent *arg1 = (wxListEvent *) 0 ;
21054 long result;
21055 PyObject * obj0 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21063 result = (long) ((arg1)->m_oldItemIndex);
21064
21065 resultobj = SWIG_From_long((long)result);
21066 return resultobj;
21067 fail:
21068 return NULL;
21069 }
21070
21071
21072 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
21073 PyObject *resultobj;
21074 wxListEvent *arg1 = (wxListEvent *) 0 ;
21075 long arg2 ;
21076 PyObject * obj0 = 0 ;
21077 PyObject * obj1 = 0 ;
21078 char *kwnames[] = {
21079 (char *) "self",(char *) "m_itemIndex", NULL
21080 };
21081
21082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
21083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21085 arg2 = (long)SWIG_As_long(obj1);
21086 if (PyErr_Occurred()) SWIG_fail;
21087 if (arg1) (arg1)->m_itemIndex = arg2;
21088
21089 Py_INCREF(Py_None); resultobj = Py_None;
21090 return resultobj;
21091 fail:
21092 return NULL;
21093 }
21094
21095
21096 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxListEvent *arg1 = (wxListEvent *) 0 ;
21099 long result;
21100 PyObject * obj0 = 0 ;
21101 char *kwnames[] = {
21102 (char *) "self", NULL
21103 };
21104
21105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
21106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21108 result = (long) ((arg1)->m_itemIndex);
21109
21110 resultobj = SWIG_From_long((long)result);
21111 return resultobj;
21112 fail:
21113 return NULL;
21114 }
21115
21116
21117 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
21118 PyObject *resultobj;
21119 wxListEvent *arg1 = (wxListEvent *) 0 ;
21120 int arg2 ;
21121 PyObject * obj0 = 0 ;
21122 PyObject * obj1 = 0 ;
21123 char *kwnames[] = {
21124 (char *) "self",(char *) "m_col", NULL
21125 };
21126
21127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
21128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21130 arg2 = (int)SWIG_As_int(obj1);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 if (arg1) (arg1)->m_col = arg2;
21133
21134 Py_INCREF(Py_None); resultobj = Py_None;
21135 return resultobj;
21136 fail:
21137 return NULL;
21138 }
21139
21140
21141 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj;
21143 wxListEvent *arg1 = (wxListEvent *) 0 ;
21144 int result;
21145 PyObject * obj0 = 0 ;
21146 char *kwnames[] = {
21147 (char *) "self", NULL
21148 };
21149
21150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
21151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21153 result = (int) ((arg1)->m_col);
21154
21155 resultobj = SWIG_From_int((int)result);
21156 return resultobj;
21157 fail:
21158 return NULL;
21159 }
21160
21161
21162 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
21163 PyObject *resultobj;
21164 wxListEvent *arg1 = (wxListEvent *) 0 ;
21165 wxPoint *arg2 = (wxPoint *) 0 ;
21166 PyObject * obj0 = 0 ;
21167 PyObject * obj1 = 0 ;
21168 char *kwnames[] = {
21169 (char *) "self",(char *) "m_pointDrag", NULL
21170 };
21171
21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
21173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
21176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21177 if (arg1) (arg1)->m_pointDrag = *arg2;
21178
21179 Py_INCREF(Py_None); resultobj = Py_None;
21180 return resultobj;
21181 fail:
21182 return NULL;
21183 }
21184
21185
21186 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
21187 PyObject *resultobj;
21188 wxListEvent *arg1 = (wxListEvent *) 0 ;
21189 wxPoint *result;
21190 PyObject * obj0 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21198 result = (wxPoint *)& ((arg1)->m_pointDrag);
21199
21200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxListEvent *arg1 = (wxListEvent *) 0 ;
21210 wxListItem *result;
21211 PyObject * obj0 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "self", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
21217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21219 result = (wxListItem *)& ((arg1)->m_item);
21220
21221 {
21222 resultobj = wxPyMake_wxObject(result, 0);
21223 }
21224 return resultobj;
21225 fail:
21226 return NULL;
21227 }
21228
21229
21230 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
21231 PyObject *resultobj;
21232 wxListEvent *arg1 = (wxListEvent *) 0 ;
21233 int result;
21234 PyObject * obj0 = 0 ;
21235 char *kwnames[] = {
21236 (char *) "self", NULL
21237 };
21238
21239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
21240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 result = (int)(arg1)->GetKeyCode();
21245
21246 wxPyEndAllowThreads(__tstate);
21247 if (PyErr_Occurred()) SWIG_fail;
21248 }
21249 resultobj = SWIG_From_int((int)result);
21250 return resultobj;
21251 fail:
21252 return NULL;
21253 }
21254
21255
21256 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
21257 PyObject *resultobj;
21258 wxListEvent *arg1 = (wxListEvent *) 0 ;
21259 long result;
21260 PyObject * obj0 = 0 ;
21261 char *kwnames[] = {
21262 (char *) "self", NULL
21263 };
21264
21265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
21266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = (long)(arg1)->GetIndex();
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 resultobj = SWIG_From_long((long)result);
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxListEvent *arg1 = (wxListEvent *) 0 ;
21285 int result;
21286 PyObject * obj0 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21294 {
21295 PyThreadState* __tstate = wxPyBeginAllowThreads();
21296 result = (int)(arg1)->GetColumn();
21297
21298 wxPyEndAllowThreads(__tstate);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 }
21301 resultobj = SWIG_From_int((int)result);
21302 return resultobj;
21303 fail:
21304 return NULL;
21305 }
21306
21307
21308 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxListEvent *arg1 = (wxListEvent *) 0 ;
21311 wxPoint result;
21312 PyObject * obj0 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
21318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 result = (arg1)->GetPoint();
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 {
21328 wxPoint * resultptr;
21329 resultptr = new wxPoint((wxPoint &) result);
21330 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21331 }
21332 return resultobj;
21333 fail:
21334 return NULL;
21335 }
21336
21337
21338 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxListEvent *arg1 = (wxListEvent *) 0 ;
21341 wxString *result;
21342 PyObject * obj0 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 {
21353 wxString const &_result_ref = (arg1)->GetLabel();
21354 result = (wxString *) &_result_ref;
21355 }
21356
21357 wxPyEndAllowThreads(__tstate);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 {
21361 #if wxUSE_UNICODE
21362 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21363 #else
21364 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21365 #endif
21366 }
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxListEvent *arg1 = (wxListEvent *) 0 ;
21376 wxString *result;
21377 PyObject * obj0 = 0 ;
21378 char *kwnames[] = {
21379 (char *) "self", NULL
21380 };
21381
21382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
21383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21385 {
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 {
21388 wxString const &_result_ref = (arg1)->GetText();
21389 result = (wxString *) &_result_ref;
21390 }
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 {
21396 #if wxUSE_UNICODE
21397 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21398 #else
21399 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21400 #endif
21401 }
21402 return resultobj;
21403 fail:
21404 return NULL;
21405 }
21406
21407
21408 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21409 PyObject *resultobj;
21410 wxListEvent *arg1 = (wxListEvent *) 0 ;
21411 int result;
21412 PyObject * obj0 = 0 ;
21413 char *kwnames[] = {
21414 (char *) "self", NULL
21415 };
21416
21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
21418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21420 {
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 result = (int)(arg1)->GetImage();
21423
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 resultobj = SWIG_From_int((int)result);
21428 return resultobj;
21429 fail:
21430 return NULL;
21431 }
21432
21433
21434 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
21435 PyObject *resultobj;
21436 wxListEvent *arg1 = (wxListEvent *) 0 ;
21437 long result;
21438 PyObject * obj0 = 0 ;
21439 char *kwnames[] = {
21440 (char *) "self", NULL
21441 };
21442
21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
21444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 result = (long)(arg1)->GetData();
21449
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 resultobj = SWIG_From_long((long)result);
21454 return resultobj;
21455 fail:
21456 return NULL;
21457 }
21458
21459
21460 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj;
21462 wxListEvent *arg1 = (wxListEvent *) 0 ;
21463 long result;
21464 PyObject * obj0 = 0 ;
21465 char *kwnames[] = {
21466 (char *) "self", NULL
21467 };
21468
21469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
21470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21472 {
21473 PyThreadState* __tstate = wxPyBeginAllowThreads();
21474 result = (long)(arg1)->GetMask();
21475
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 resultobj = SWIG_From_long((long)result);
21480 return resultobj;
21481 fail:
21482 return NULL;
21483 }
21484
21485
21486 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
21487 PyObject *resultobj;
21488 wxListEvent *arg1 = (wxListEvent *) 0 ;
21489 wxListItem *result;
21490 PyObject * obj0 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
21496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 {
21501 wxListItem const &_result_ref = (arg1)->GetItem();
21502 result = (wxListItem *) &_result_ref;
21503 }
21504
21505 wxPyEndAllowThreads(__tstate);
21506 if (PyErr_Occurred()) SWIG_fail;
21507 }
21508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
21509 return resultobj;
21510 fail:
21511 return NULL;
21512 }
21513
21514
21515 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
21516 PyObject *resultobj;
21517 wxListEvent *arg1 = (wxListEvent *) 0 ;
21518 long result;
21519 PyObject * obj0 = 0 ;
21520 char *kwnames[] = {
21521 (char *) "self", NULL
21522 };
21523
21524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
21525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 result = (long)(arg1)->GetCacheFrom();
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 resultobj = SWIG_From_long((long)result);
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxListEvent *arg1 = (wxListEvent *) 0 ;
21544 long result;
21545 PyObject * obj0 = 0 ;
21546 char *kwnames[] = {
21547 (char *) "self", NULL
21548 };
21549
21550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
21551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 result = (long)(arg1)->GetCacheTo();
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 resultobj = SWIG_From_long((long)result);
21561 return resultobj;
21562 fail:
21563 return NULL;
21564 }
21565
21566
21567 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxListEvent *arg1 = (wxListEvent *) 0 ;
21570 bool result;
21571 PyObject * obj0 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 {
21587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21588 }
21589 return resultobj;
21590 fail:
21591 return NULL;
21592 }
21593
21594
21595 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxListEvent *arg1 = (wxListEvent *) 0 ;
21598 bool arg2 ;
21599 PyObject * obj0 = 0 ;
21600 PyObject * obj1 = 0 ;
21601 char *kwnames[] = {
21602 (char *) "self",(char *) "editCancelled", NULL
21603 };
21604
21605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21608 arg2 = (bool)SWIG_As_bool(obj1);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 {
21611 PyThreadState* __tstate = wxPyBeginAllowThreads();
21612 (arg1)->SetEditCanceled(arg2);
21613
21614 wxPyEndAllowThreads(__tstate);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 }
21617 Py_INCREF(Py_None); resultobj = Py_None;
21618 return resultobj;
21619 fail:
21620 return NULL;
21621 }
21622
21623
21624 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
21625 PyObject *obj;
21626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21627 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21628 Py_INCREF(obj);
21629 return Py_BuildValue((char *)"");
21630 }
21631 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
21632 PyObject *resultobj;
21633 wxWindow *arg1 = (wxWindow *) 0 ;
21634 int arg2 = (int) -1 ;
21635 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21636 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21637 wxSize const &arg4_defvalue = wxDefaultSize ;
21638 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21639 long arg5 = (long) wxLC_ICON ;
21640 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21641 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21642 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21643 wxString *arg7 = (wxString *) &arg7_defvalue ;
21644 wxPyListCtrl *result;
21645 wxPoint temp3 ;
21646 wxSize temp4 ;
21647 bool temp7 = false ;
21648 PyObject * obj0 = 0 ;
21649 PyObject * obj1 = 0 ;
21650 PyObject * obj2 = 0 ;
21651 PyObject * obj3 = 0 ;
21652 PyObject * obj4 = 0 ;
21653 PyObject * obj5 = 0 ;
21654 PyObject * obj6 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21662 if (obj1) {
21663 arg2 = (int)SWIG_As_int(obj1);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 if (obj2) {
21667 {
21668 arg3 = &temp3;
21669 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21670 }
21671 }
21672 if (obj3) {
21673 {
21674 arg4 = &temp4;
21675 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21676 }
21677 }
21678 if (obj4) {
21679 arg5 = (long)SWIG_As_long(obj4);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 }
21682 if (obj5) {
21683 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21684 SWIG_POINTER_EXCEPTION | 0)) == -1)
21685 SWIG_fail;
21686 if (arg6 == NULL) {
21687 PyErr_SetString(PyExc_TypeError,"null reference");
21688 SWIG_fail;
21689 }
21690 }
21691 if (obj6) {
21692 {
21693 arg7 = wxString_in_helper(obj6);
21694 if (arg7 == NULL) SWIG_fail;
21695 temp7 = true;
21696 }
21697 }
21698 {
21699 if (!wxPyCheckForApp()) SWIG_fail;
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21707 {
21708 if (temp7)
21709 delete arg7;
21710 }
21711 return resultobj;
21712 fail:
21713 {
21714 if (temp7)
21715 delete arg7;
21716 }
21717 return NULL;
21718 }
21719
21720
21721 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
21722 PyObject *resultobj;
21723 wxPyListCtrl *result;
21724 char *kwnames[] = {
21725 NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21729 {
21730 if (!wxPyCheckForApp()) SWIG_fail;
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 result = (wxPyListCtrl *)new wxPyListCtrl();
21733
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21738 return resultobj;
21739 fail:
21740 return NULL;
21741 }
21742
21743
21744 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21745 PyObject *resultobj;
21746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21747 wxWindow *arg2 = (wxWindow *) 0 ;
21748 int arg3 = (int) -1 ;
21749 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21750 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21751 wxSize const &arg5_defvalue = wxDefaultSize ;
21752 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21753 long arg6 = (long) wxLC_ICON ;
21754 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21755 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21756 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21757 wxString *arg8 = (wxString *) &arg8_defvalue ;
21758 bool result;
21759 wxPoint temp4 ;
21760 wxSize temp5 ;
21761 bool temp8 = false ;
21762 PyObject * obj0 = 0 ;
21763 PyObject * obj1 = 0 ;
21764 PyObject * obj2 = 0 ;
21765 PyObject * obj3 = 0 ;
21766 PyObject * obj4 = 0 ;
21767 PyObject * obj5 = 0 ;
21768 PyObject * obj6 = 0 ;
21769 PyObject * obj7 = 0 ;
21770 char *kwnames[] = {
21771 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21772 };
21773
21774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21779 if (obj2) {
21780 arg3 = (int)SWIG_As_int(obj2);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
21783 if (obj3) {
21784 {
21785 arg4 = &temp4;
21786 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21787 }
21788 }
21789 if (obj4) {
21790 {
21791 arg5 = &temp5;
21792 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21793 }
21794 }
21795 if (obj5) {
21796 arg6 = (long)SWIG_As_long(obj5);
21797 if (PyErr_Occurred()) SWIG_fail;
21798 }
21799 if (obj6) {
21800 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21801 SWIG_POINTER_EXCEPTION | 0)) == -1)
21802 SWIG_fail;
21803 if (arg7 == NULL) {
21804 PyErr_SetString(PyExc_TypeError,"null reference");
21805 SWIG_fail;
21806 }
21807 }
21808 if (obj7) {
21809 {
21810 arg8 = wxString_in_helper(obj7);
21811 if (arg8 == NULL) SWIG_fail;
21812 temp8 = true;
21813 }
21814 }
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21818
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 {
21823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21824 }
21825 {
21826 if (temp8)
21827 delete arg8;
21828 }
21829 return resultobj;
21830 fail:
21831 {
21832 if (temp8)
21833 delete arg8;
21834 }
21835 return NULL;
21836 }
21837
21838
21839 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21840 PyObject *resultobj;
21841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21842 PyObject *arg2 = (PyObject *) 0 ;
21843 PyObject *arg3 = (PyObject *) 0 ;
21844 PyObject * obj0 = 0 ;
21845 PyObject * obj1 = 0 ;
21846 PyObject * obj2 = 0 ;
21847 char *kwnames[] = {
21848 (char *) "self",(char *) "self",(char *) "_class", NULL
21849 };
21850
21851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21854 arg2 = obj1;
21855 arg3 = obj2;
21856 {
21857 PyThreadState* __tstate = wxPyBeginAllowThreads();
21858 (arg1)->_setCallbackInfo(arg2,arg3);
21859
21860 wxPyEndAllowThreads(__tstate);
21861 if (PyErr_Occurred()) SWIG_fail;
21862 }
21863 Py_INCREF(Py_None); resultobj = Py_None;
21864 return resultobj;
21865 fail:
21866 return NULL;
21867 }
21868
21869
21870 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21871 PyObject *resultobj;
21872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21873 wxColour *arg2 = 0 ;
21874 bool result;
21875 wxColour temp2 ;
21876 PyObject * obj0 = 0 ;
21877 PyObject * obj1 = 0 ;
21878 char *kwnames[] = {
21879 (char *) "self",(char *) "col", NULL
21880 };
21881
21882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21885 {
21886 arg2 = &temp2;
21887 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21888 }
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 {
21897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21898 }
21899 return resultobj;
21900 fail:
21901 return NULL;
21902 }
21903
21904
21905 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj;
21907 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21908 wxColour *arg2 = 0 ;
21909 bool result;
21910 wxColour temp2 ;
21911 PyObject * obj0 = 0 ;
21912 PyObject * obj1 = 0 ;
21913 char *kwnames[] = {
21914 (char *) "self",(char *) "col", NULL
21915 };
21916
21917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21920 {
21921 arg2 = &temp2;
21922 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21923 }
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 {
21932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21933 }
21934 return resultobj;
21935 fail:
21936 return NULL;
21937 }
21938
21939
21940 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj;
21942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21943 int arg2 ;
21944 wxListItem *result;
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "col", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21954 arg2 = (int)SWIG_As_int(obj1);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 {
21957 PyThreadState* __tstate = wxPyBeginAllowThreads();
21958 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21959
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 {
21964 resultobj = wxPyMake_wxObject(result, 0);
21965 }
21966 return resultobj;
21967 fail:
21968 return NULL;
21969 }
21970
21971
21972 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj;
21974 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21975 int arg2 ;
21976 wxListItem *arg3 = 0 ;
21977 bool result;
21978 PyObject * obj0 = 0 ;
21979 PyObject * obj1 = 0 ;
21980 PyObject * obj2 = 0 ;
21981 char *kwnames[] = {
21982 (char *) "self",(char *) "col",(char *) "item", NULL
21983 };
21984
21985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21988 arg2 = (int)SWIG_As_int(obj1);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21991 SWIG_POINTER_EXCEPTION | 0)) == -1)
21992 SWIG_fail;
21993 if (arg3 == NULL) {
21994 PyErr_SetString(PyExc_TypeError,"null reference");
21995 SWIG_fail;
21996 }
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 result = (bool)(arg1)->SetColumn(arg2,*arg3);
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 {
22005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22006 }
22007 return resultobj;
22008 fail:
22009 return NULL;
22010 }
22011
22012
22013 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22014 PyObject *resultobj;
22015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22016 int arg2 ;
22017 int result;
22018 PyObject * obj0 = 0 ;
22019 PyObject * obj1 = 0 ;
22020 char *kwnames[] = {
22021 (char *) "self",(char *) "col", NULL
22022 };
22023
22024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
22025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22027 arg2 = (int)SWIG_As_int(obj1);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
22032
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 resultobj = SWIG_From_int((int)result);
22037 return resultobj;
22038 fail:
22039 return NULL;
22040 }
22041
22042
22043 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22044 PyObject *resultobj;
22045 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22046 int arg2 ;
22047 int arg3 ;
22048 bool result;
22049 PyObject * obj0 = 0 ;
22050 PyObject * obj1 = 0 ;
22051 PyObject * obj2 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self",(char *) "col",(char *) "width", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22059 arg2 = (int)SWIG_As_int(obj1);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 arg3 = (int)SWIG_As_int(obj2);
22062 if (PyErr_Occurred()) SWIG_fail;
22063 {
22064 PyThreadState* __tstate = wxPyBeginAllowThreads();
22065 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
22066
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 {
22071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22072 }
22073 return resultobj;
22074 fail:
22075 return NULL;
22076 }
22077
22078
22079 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
22080 PyObject *resultobj;
22081 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22082 int result;
22083 PyObject * obj0 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
22089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
22094
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 resultobj = SWIG_From_int((int)result);
22099 return resultobj;
22100 fail:
22101 return NULL;
22102 }
22103
22104
22105 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj;
22107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22108 wxRect result;
22109 PyObject * obj0 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
22115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22117 {
22118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22119 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
22120
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 {
22125 wxRect * resultptr;
22126 resultptr = new wxRect((wxRect &) result);
22127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22128 }
22129 return resultobj;
22130 fail:
22131 return NULL;
22132 }
22133
22134
22135 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
22136 PyObject *resultobj;
22137 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22138 wxTextCtrl *result;
22139 PyObject * obj0 = 0 ;
22140 char *kwnames[] = {
22141 (char *) "self", NULL
22142 };
22143
22144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22147 {
22148 PyThreadState* __tstate = wxPyBeginAllowThreads();
22149 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
22150
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 {
22155 resultobj = wxPyMake_wxObject(result, 0);
22156 }
22157 return resultobj;
22158 fail:
22159 return NULL;
22160 }
22161
22162
22163 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
22164 PyObject *resultobj;
22165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22166 long arg2 ;
22167 int arg3 = (int) 0 ;
22168 wxListItem *result;
22169 PyObject * obj0 = 0 ;
22170 PyObject * obj1 = 0 ;
22171 PyObject * obj2 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self",(char *) "itemId",(char *) "col", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22179 arg2 = (long)SWIG_As_long(obj1);
22180 if (PyErr_Occurred()) SWIG_fail;
22181 if (obj2) {
22182 arg3 = (int)SWIG_As_int(obj2);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 {
22186 PyThreadState* __tstate = wxPyBeginAllowThreads();
22187 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
22188
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 {
22193 resultobj = wxPyMake_wxObject(result, 0);
22194 }
22195 return resultobj;
22196 fail:
22197 return NULL;
22198 }
22199
22200
22201 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22204 wxListItem *arg2 = 0 ;
22205 bool result;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self",(char *) "info", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
22213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22216 SWIG_POINTER_EXCEPTION | 0)) == -1)
22217 SWIG_fail;
22218 if (arg2 == NULL) {
22219 PyErr_SetString(PyExc_TypeError,"null reference");
22220 SWIG_fail;
22221 }
22222 {
22223 PyThreadState* __tstate = wxPyBeginAllowThreads();
22224 result = (bool)(arg1)->SetItem(*arg2);
22225
22226 wxPyEndAllowThreads(__tstate);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 }
22229 {
22230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22231 }
22232 return resultobj;
22233 fail:
22234 return NULL;
22235 }
22236
22237
22238 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
22239 PyObject *resultobj;
22240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22241 long arg2 ;
22242 int arg3 ;
22243 wxString *arg4 = 0 ;
22244 int arg5 = (int) -1 ;
22245 long result;
22246 bool temp4 = false ;
22247 PyObject * obj0 = 0 ;
22248 PyObject * obj1 = 0 ;
22249 PyObject * obj2 = 0 ;
22250 PyObject * obj3 = 0 ;
22251 PyObject * obj4 = 0 ;
22252 char *kwnames[] = {
22253 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22254 };
22255
22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22259 arg2 = (long)SWIG_As_long(obj1);
22260 if (PyErr_Occurred()) SWIG_fail;
22261 arg3 = (int)SWIG_As_int(obj2);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 {
22264 arg4 = wxString_in_helper(obj3);
22265 if (arg4 == NULL) SWIG_fail;
22266 temp4 = true;
22267 }
22268 if (obj4) {
22269 arg5 = (int)SWIG_As_int(obj4);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 resultobj = SWIG_From_long((long)result);
22280 {
22281 if (temp4)
22282 delete arg4;
22283 }
22284 return resultobj;
22285 fail:
22286 {
22287 if (temp4)
22288 delete arg4;
22289 }
22290 return NULL;
22291 }
22292
22293
22294 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj;
22296 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22297 long arg2 ;
22298 long arg3 ;
22299 int result;
22300 PyObject * obj0 = 0 ;
22301 PyObject * obj1 = 0 ;
22302 PyObject * obj2 = 0 ;
22303 char *kwnames[] = {
22304 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22305 };
22306
22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
22308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22310 arg2 = (long)SWIG_As_long(obj1);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 arg3 = (long)SWIG_As_long(obj2);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
22317
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 resultobj = SWIG_From_int((int)result);
22322 return resultobj;
22323 fail:
22324 return NULL;
22325 }
22326
22327
22328 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj;
22330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22331 long arg2 ;
22332 long arg3 ;
22333 long arg4 ;
22334 bool result;
22335 PyObject * obj0 = 0 ;
22336 PyObject * obj1 = 0 ;
22337 PyObject * obj2 = 0 ;
22338 PyObject * obj3 = 0 ;
22339 char *kwnames[] = {
22340 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22341 };
22342
22343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22346 arg2 = (long)SWIG_As_long(obj1);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 arg3 = (long)SWIG_As_long(obj2);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 arg4 = (long)SWIG_As_long(obj3);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
22355
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 {
22360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22361 }
22362 return resultobj;
22363 fail:
22364 return NULL;
22365 }
22366
22367
22368 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj;
22370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22371 long arg2 ;
22372 int arg3 ;
22373 int arg4 = (int) -1 ;
22374 bool result;
22375 PyObject * obj0 = 0 ;
22376 PyObject * obj1 = 0 ;
22377 PyObject * obj2 = 0 ;
22378 PyObject * obj3 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22386 arg2 = (long)SWIG_As_long(obj1);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 arg3 = (int)SWIG_As_int(obj2);
22389 if (PyErr_Occurred()) SWIG_fail;
22390 if (obj3) {
22391 arg4 = (int)SWIG_As_int(obj3);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 {
22402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22403 }
22404 return resultobj;
22405 fail:
22406 return NULL;
22407 }
22408
22409
22410 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
22411 PyObject *resultobj;
22412 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22413 long arg2 ;
22414 wxString result;
22415 PyObject * obj0 = 0 ;
22416 PyObject * obj1 = 0 ;
22417 char *kwnames[] = {
22418 (char *) "self",(char *) "item", NULL
22419 };
22420
22421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
22422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22424 arg2 = (long)SWIG_As_long(obj1);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
22429
22430 wxPyEndAllowThreads(__tstate);
22431 if (PyErr_Occurred()) SWIG_fail;
22432 }
22433 {
22434 #if wxUSE_UNICODE
22435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22436 #else
22437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22438 #endif
22439 }
22440 return resultobj;
22441 fail:
22442 return NULL;
22443 }
22444
22445
22446 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
22447 PyObject *resultobj;
22448 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22449 long arg2 ;
22450 wxString *arg3 = 0 ;
22451 bool temp3 = false ;
22452 PyObject * obj0 = 0 ;
22453 PyObject * obj1 = 0 ;
22454 PyObject * obj2 = 0 ;
22455 char *kwnames[] = {
22456 (char *) "self",(char *) "item",(char *) "str", NULL
22457 };
22458
22459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
22460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22462 arg2 = (long)SWIG_As_long(obj1);
22463 if (PyErr_Occurred()) SWIG_fail;
22464 {
22465 arg3 = wxString_in_helper(obj2);
22466 if (arg3 == NULL) SWIG_fail;
22467 temp3 = true;
22468 }
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 Py_INCREF(Py_None); resultobj = Py_None;
22477 {
22478 if (temp3)
22479 delete arg3;
22480 }
22481 return resultobj;
22482 fail:
22483 {
22484 if (temp3)
22485 delete arg3;
22486 }
22487 return NULL;
22488 }
22489
22490
22491 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22492 PyObject *resultobj;
22493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22494 long arg2 ;
22495 long result;
22496 PyObject * obj0 = 0 ;
22497 PyObject * obj1 = 0 ;
22498 char *kwnames[] = {
22499 (char *) "self",(char *) "item", NULL
22500 };
22501
22502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22505 arg2 = (long)SWIG_As_long(obj1);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 resultobj = SWIG_From_long((long)result);
22515 return resultobj;
22516 fail:
22517 return NULL;
22518 }
22519
22520
22521 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22522 PyObject *resultobj;
22523 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22524 long arg2 ;
22525 long arg3 ;
22526 bool result;
22527 PyObject * obj0 = 0 ;
22528 PyObject * obj1 = 0 ;
22529 PyObject * obj2 = 0 ;
22530 char *kwnames[] = {
22531 (char *) "self",(char *) "item",(char *) "data", NULL
22532 };
22533
22534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22537 arg2 = (long)SWIG_As_long(obj1);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 arg3 = (long)SWIG_As_long(obj2);
22540 if (PyErr_Occurred()) SWIG_fail;
22541 {
22542 PyThreadState* __tstate = wxPyBeginAllowThreads();
22543 result = (bool)(arg1)->SetItemData(arg2,arg3);
22544
22545 wxPyEndAllowThreads(__tstate);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 {
22549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22550 }
22551 return resultobj;
22552 fail:
22553 return NULL;
22554 }
22555
22556
22557 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22558 PyObject *resultobj;
22559 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22560 long arg2 ;
22561 wxPoint result;
22562 PyObject * obj0 = 0 ;
22563 PyObject * obj1 = 0 ;
22564 char *kwnames[] = {
22565 (char *) "self",(char *) "item", NULL
22566 };
22567
22568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
22569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22571 arg2 = (long)SWIG_As_long(obj1);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 {
22574 PyThreadState* __tstate = wxPyBeginAllowThreads();
22575 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22576
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 {
22581 wxPoint * resultptr;
22582 resultptr = new wxPoint((wxPoint &) result);
22583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22584 }
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
22592 PyObject *resultobj;
22593 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22594 long arg2 ;
22595 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22596 wxRect result;
22597 PyObject * obj0 = 0 ;
22598 PyObject * obj1 = 0 ;
22599 PyObject * obj2 = 0 ;
22600 char *kwnames[] = {
22601 (char *) "self",(char *) "item",(char *) "code", NULL
22602 };
22603
22604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22607 arg2 = (long)SWIG_As_long(obj1);
22608 if (PyErr_Occurred()) SWIG_fail;
22609 if (obj2) {
22610 arg3 = (int)SWIG_As_int(obj2);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22616
22617 wxPyEndAllowThreads(__tstate);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 }
22620 {
22621 wxRect * resultptr;
22622 resultptr = new wxRect((wxRect &) result);
22623 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22624 }
22625 return resultobj;
22626 fail:
22627 return NULL;
22628 }
22629
22630
22631 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22632 PyObject *resultobj;
22633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22634 long arg2 ;
22635 wxPoint *arg3 = 0 ;
22636 bool result;
22637 wxPoint temp3 ;
22638 PyObject * obj0 = 0 ;
22639 PyObject * obj1 = 0 ;
22640 PyObject * obj2 = 0 ;
22641 char *kwnames[] = {
22642 (char *) "self",(char *) "item",(char *) "pos", NULL
22643 };
22644
22645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22648 arg2 = (long)SWIG_As_long(obj1);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 {
22651 arg3 = &temp3;
22652 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22653 }
22654 {
22655 PyThreadState* __tstate = wxPyBeginAllowThreads();
22656 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22657
22658 wxPyEndAllowThreads(__tstate);
22659 if (PyErr_Occurred()) SWIG_fail;
22660 }
22661 {
22662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22663 }
22664 return resultobj;
22665 fail:
22666 return NULL;
22667 }
22668
22669
22670 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22671 PyObject *resultobj;
22672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22673 int result;
22674 PyObject * obj0 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "self", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 resultobj = SWIG_From_int((int)result);
22690 return resultobj;
22691 fail:
22692 return NULL;
22693 }
22694
22695
22696 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
22697 PyObject *resultobj;
22698 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22699 int result;
22700 PyObject * obj0 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 resultobj = SWIG_From_int((int)result);
22716 return resultobj;
22717 fail:
22718 return NULL;
22719 }
22720
22721
22722 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
22723 PyObject *resultobj;
22724 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22725 wxSize result;
22726 PyObject * obj0 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "self", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22737
22738 wxPyEndAllowThreads(__tstate);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 }
22741 {
22742 wxSize * resultptr;
22743 resultptr = new wxSize((wxSize &) result);
22744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22745 }
22746 return resultobj;
22747 fail:
22748 return NULL;
22749 }
22750
22751
22752 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22753 PyObject *resultobj;
22754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22755 int result;
22756 PyObject * obj0 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22764 {
22765 PyThreadState* __tstate = wxPyBeginAllowThreads();
22766 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22767
22768 wxPyEndAllowThreads(__tstate);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 }
22771 resultobj = SWIG_From_int((int)result);
22772 return resultobj;
22773 fail:
22774 return NULL;
22775 }
22776
22777
22778 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22779 PyObject *resultobj;
22780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22781 wxColour result;
22782 PyObject * obj0 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "self", NULL
22785 };
22786
22787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22790 {
22791 PyThreadState* __tstate = wxPyBeginAllowThreads();
22792 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22793
22794 wxPyEndAllowThreads(__tstate);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 }
22797 {
22798 wxColour * resultptr;
22799 resultptr = new wxColour((wxColour &) result);
22800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22801 }
22802 return resultobj;
22803 fail:
22804 return NULL;
22805 }
22806
22807
22808 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22809 PyObject *resultobj;
22810 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22811 wxColour *arg2 = 0 ;
22812 wxColour temp2 ;
22813 PyObject * obj0 = 0 ;
22814 PyObject * obj1 = 0 ;
22815 char *kwnames[] = {
22816 (char *) "self",(char *) "col", NULL
22817 };
22818
22819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22822 {
22823 arg2 = &temp2;
22824 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22825 }
22826 {
22827 PyThreadState* __tstate = wxPyBeginAllowThreads();
22828 (arg1)->SetTextColour((wxColour const &)*arg2);
22829
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 Py_INCREF(Py_None); resultobj = Py_None;
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj;
22842 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22843 long result;
22844 PyObject * obj0 = 0 ;
22845 char *kwnames[] = {
22846 (char *) "self", NULL
22847 };
22848
22849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 resultobj = SWIG_From_long((long)result);
22860 return resultobj;
22861 fail:
22862 return NULL;
22863 }
22864
22865
22866 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
22867 PyObject *resultobj;
22868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22869 long arg2 ;
22870 bool arg3 = (bool) true ;
22871 PyObject * obj0 = 0 ;
22872 PyObject * obj1 = 0 ;
22873 PyObject * obj2 = 0 ;
22874 char *kwnames[] = {
22875 (char *) "self",(char *) "style",(char *) "add", NULL
22876 };
22877
22878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22881 arg2 = (long)SWIG_As_long(obj1);
22882 if (PyErr_Occurred()) SWIG_fail;
22883 if (obj2) {
22884 arg3 = (bool)SWIG_As_bool(obj2);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 (arg1)->SetSingleStyle(arg2,arg3);
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 Py_INCREF(Py_None); resultobj = Py_None;
22895 return resultobj;
22896 fail:
22897 return NULL;
22898 }
22899
22900
22901 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
22902 PyObject *resultobj;
22903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22904 long arg2 ;
22905 PyObject * obj0 = 0 ;
22906 PyObject * obj1 = 0 ;
22907 char *kwnames[] = {
22908 (char *) "self",(char *) "style", NULL
22909 };
22910
22911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22914 arg2 = (long)SWIG_As_long(obj1);
22915 if (PyErr_Occurred()) SWIG_fail;
22916 {
22917 PyThreadState* __tstate = wxPyBeginAllowThreads();
22918 (arg1)->SetWindowStyleFlag(arg2);
22919
22920 wxPyEndAllowThreads(__tstate);
22921 if (PyErr_Occurred()) SWIG_fail;
22922 }
22923 Py_INCREF(Py_None); resultobj = Py_None;
22924 return resultobj;
22925 fail:
22926 return NULL;
22927 }
22928
22929
22930 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
22931 PyObject *resultobj;
22932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22933 long arg2 ;
22934 int arg3 = (int) wxLIST_NEXT_ALL ;
22935 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22936 long result;
22937 PyObject * obj0 = 0 ;
22938 PyObject * obj1 = 0 ;
22939 PyObject * obj2 = 0 ;
22940 PyObject * obj3 = 0 ;
22941 char *kwnames[] = {
22942 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22943 };
22944
22945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22948 arg2 = (long)SWIG_As_long(obj1);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 if (obj2) {
22951 arg3 = (int)SWIG_As_int(obj2);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 if (obj3) {
22955 arg4 = (int)SWIG_As_int(obj3);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22961
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 resultobj = SWIG_From_long((long)result);
22966 return resultobj;
22967 fail:
22968 return NULL;
22969 }
22970
22971
22972 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
22973 PyObject *resultobj;
22974 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22975 int arg2 ;
22976 wxImageList *result;
22977 PyObject * obj0 = 0 ;
22978 PyObject * obj1 = 0 ;
22979 char *kwnames[] = {
22980 (char *) "self",(char *) "which", NULL
22981 };
22982
22983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22986 arg2 = (int)SWIG_As_int(obj1);
22987 if (PyErr_Occurred()) SWIG_fail;
22988 {
22989 PyThreadState* __tstate = wxPyBeginAllowThreads();
22990 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22991
22992 wxPyEndAllowThreads(__tstate);
22993 if (PyErr_Occurred()) SWIG_fail;
22994 }
22995 {
22996 resultobj = wxPyMake_wxObject(result, 0);
22997 }
22998 return resultobj;
22999 fail:
23000 return NULL;
23001 }
23002
23003
23004 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23005 PyObject *resultobj;
23006 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23007 wxImageList *arg2 = (wxImageList *) 0 ;
23008 int arg3 ;
23009 PyObject * obj0 = 0 ;
23010 PyObject * obj1 = 0 ;
23011 PyObject * obj2 = 0 ;
23012 char *kwnames[] = {
23013 (char *) "self",(char *) "imageList",(char *) "which", NULL
23014 };
23015
23016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23021 arg3 = (int)SWIG_As_int(obj2);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 {
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 (arg1)->SetImageList(arg2,arg3);
23026
23027 wxPyEndAllowThreads(__tstate);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
23030 Py_INCREF(Py_None); resultobj = Py_None;
23031 return resultobj;
23032 fail:
23033 return NULL;
23034 }
23035
23036
23037 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23038 PyObject *resultobj;
23039 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23040 wxImageList *arg2 = (wxImageList *) 0 ;
23041 int arg3 ;
23042 PyObject * obj0 = 0 ;
23043 PyObject * obj1 = 0 ;
23044 PyObject * obj2 = 0 ;
23045 char *kwnames[] = {
23046 (char *) "self",(char *) "imageList",(char *) "which", NULL
23047 };
23048
23049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23053 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23054 arg3 = (int)SWIG_As_int(obj2);
23055 if (PyErr_Occurred()) SWIG_fail;
23056 {
23057 PyThreadState* __tstate = wxPyBeginAllowThreads();
23058 (arg1)->AssignImageList(arg2,arg3);
23059
23060 wxPyEndAllowThreads(__tstate);
23061 if (PyErr_Occurred()) SWIG_fail;
23062 }
23063 Py_INCREF(Py_None); resultobj = Py_None;
23064 return resultobj;
23065 fail:
23066 return NULL;
23067 }
23068
23069
23070 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
23071 PyObject *resultobj;
23072 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23073 bool result;
23074 PyObject * obj0 = 0 ;
23075 char *kwnames[] = {
23076 (char *) "self", NULL
23077 };
23078
23079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
23080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23082 {
23083 PyThreadState* __tstate = wxPyBeginAllowThreads();
23084 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
23085
23086 wxPyEndAllowThreads(__tstate);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 {
23090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23091 }
23092 return resultobj;
23093 fail:
23094 return NULL;
23095 }
23096
23097
23098 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23101 bool result;
23102 PyObject * obj0 = 0 ;
23103 char *kwnames[] = {
23104 (char *) "self", NULL
23105 };
23106
23107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
23108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23110 {
23111 PyThreadState* __tstate = wxPyBeginAllowThreads();
23112 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
23113
23114 wxPyEndAllowThreads(__tstate);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 {
23118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23119 }
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
23127 PyObject *resultobj;
23128 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23129 long arg2 ;
23130 PyObject * obj0 = 0 ;
23131 PyObject * obj1 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self",(char *) "item", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23139 arg2 = (long)SWIG_As_long(obj1);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 (arg1)->RefreshItem(arg2);
23144
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 Py_INCREF(Py_None); resultobj = Py_None;
23149 return resultobj;
23150 fail:
23151 return NULL;
23152 }
23153
23154
23155 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj;
23157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23158 long arg2 ;
23159 long arg3 ;
23160 PyObject * obj0 = 0 ;
23161 PyObject * obj1 = 0 ;
23162 PyObject * obj2 = 0 ;
23163 char *kwnames[] = {
23164 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23165 };
23166
23167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
23168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23170 arg2 = (long)SWIG_As_long(obj1);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 arg3 = (long)SWIG_As_long(obj2);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 {
23175 PyThreadState* __tstate = wxPyBeginAllowThreads();
23176 (arg1)->RefreshItems(arg2,arg3);
23177
23178 wxPyEndAllowThreads(__tstate);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
23181 Py_INCREF(Py_None); resultobj = Py_None;
23182 return resultobj;
23183 fail:
23184 return NULL;
23185 }
23186
23187
23188 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
23189 PyObject *resultobj;
23190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23191 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
23192 bool result;
23193 PyObject * obj0 = 0 ;
23194 PyObject * obj1 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self",(char *) "flag", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
23200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23202 if (obj1) {
23203 arg2 = (int)SWIG_As_int(obj1);
23204 if (PyErr_Occurred()) SWIG_fail;
23205 }
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 result = (bool)(arg1)->Arrange(arg2);
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 {
23214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23215 }
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
23223 PyObject *resultobj;
23224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23225 long arg2 ;
23226 bool result;
23227 PyObject * obj0 = 0 ;
23228 PyObject * obj1 = 0 ;
23229 char *kwnames[] = {
23230 (char *) "self",(char *) "item", NULL
23231 };
23232
23233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
23234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23236 arg2 = (long)SWIG_As_long(obj1);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (bool)(arg1)->DeleteItem(arg2);
23241
23242 wxPyEndAllowThreads(__tstate);
23243 if (PyErr_Occurred()) SWIG_fail;
23244 }
23245 {
23246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23247 }
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23257 bool result;
23258 PyObject * obj0 = 0 ;
23259 char *kwnames[] = {
23260 (char *) "self", NULL
23261 };
23262
23263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (bool)(arg1)->DeleteAllItems();
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 {
23274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23275 }
23276 return resultobj;
23277 fail:
23278 return NULL;
23279 }
23280
23281
23282 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23283 PyObject *resultobj;
23284 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23285 int arg2 ;
23286 bool result;
23287 PyObject * obj0 = 0 ;
23288 PyObject * obj1 = 0 ;
23289 char *kwnames[] = {
23290 (char *) "self",(char *) "col", NULL
23291 };
23292
23293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
23294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23296 arg2 = (int)SWIG_As_int(obj1);
23297 if (PyErr_Occurred()) SWIG_fail;
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 result = (bool)(arg1)->DeleteColumn(arg2);
23301
23302 wxPyEndAllowThreads(__tstate);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
23305 {
23306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23307 }
23308 return resultobj;
23309 fail:
23310 return NULL;
23311 }
23312
23313
23314 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
23315 PyObject *resultobj;
23316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23317 bool result;
23318 PyObject * obj0 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self", NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
23324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23326 {
23327 PyThreadState* __tstate = wxPyBeginAllowThreads();
23328 result = (bool)(arg1)->DeleteAllColumns();
23329
23330 wxPyEndAllowThreads(__tstate);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 }
23333 {
23334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23335 }
23336 return resultobj;
23337 fail:
23338 return NULL;
23339 }
23340
23341
23342 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
23343 PyObject *resultobj;
23344 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23345 PyObject * obj0 = 0 ;
23346 char *kwnames[] = {
23347 (char *) "self", NULL
23348 };
23349
23350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
23351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23353 {
23354 PyThreadState* __tstate = wxPyBeginAllowThreads();
23355 (arg1)->ClearAll();
23356
23357 wxPyEndAllowThreads(__tstate);
23358 if (PyErr_Occurred()) SWIG_fail;
23359 }
23360 Py_INCREF(Py_None); resultobj = Py_None;
23361 return resultobj;
23362 fail:
23363 return NULL;
23364 }
23365
23366
23367 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23368 PyObject *resultobj;
23369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23370 long arg2 ;
23371 wxTextCtrl *result;
23372 PyObject * obj0 = 0 ;
23373 PyObject * obj1 = 0 ;
23374 char *kwnames[] = {
23375 (char *) "self",(char *) "item", NULL
23376 };
23377
23378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23381 arg2 = (long)SWIG_As_long(obj1);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 {
23384 PyThreadState* __tstate = wxPyBeginAllowThreads();
23385 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
23386
23387 wxPyEndAllowThreads(__tstate);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
23390 {
23391 resultobj = wxPyMake_wxObject(result, 0);
23392 }
23393 return resultobj;
23394 fail:
23395 return NULL;
23396 }
23397
23398
23399 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23400 PyObject *resultobj;
23401 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23402 bool arg2 ;
23403 bool result;
23404 PyObject * obj0 = 0 ;
23405 PyObject * obj1 = 0 ;
23406 char *kwnames[] = {
23407 (char *) "self",(char *) "cancel", NULL
23408 };
23409
23410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
23411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23413 arg2 = (bool)SWIG_As_bool(obj1);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 result = (bool)(arg1)->EndEditLabel(arg2);
23418
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
23422 {
23423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23424 }
23425 return resultobj;
23426 fail:
23427 return NULL;
23428 }
23429
23430
23431 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
23432 PyObject *resultobj;
23433 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23434 long arg2 ;
23435 bool result;
23436 PyObject * obj0 = 0 ;
23437 PyObject * obj1 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self",(char *) "item", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23445 arg2 = (long)SWIG_As_long(obj1);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 result = (bool)(arg1)->EnsureVisible(arg2);
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 {
23455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23456 }
23457 return resultobj;
23458 fail:
23459 return NULL;
23460 }
23461
23462
23463 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
23464 PyObject *resultobj;
23465 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23466 long arg2 ;
23467 wxString *arg3 = 0 ;
23468 bool arg4 = (bool) false ;
23469 long result;
23470 bool temp3 = false ;
23471 PyObject * obj0 = 0 ;
23472 PyObject * obj1 = 0 ;
23473 PyObject * obj2 = 0 ;
23474 PyObject * obj3 = 0 ;
23475 char *kwnames[] = {
23476 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23477 };
23478
23479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23482 arg2 = (long)SWIG_As_long(obj1);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 {
23485 arg3 = wxString_in_helper(obj2);
23486 if (arg3 == NULL) SWIG_fail;
23487 temp3 = true;
23488 }
23489 if (obj3) {
23490 arg4 = (bool)SWIG_As_bool(obj3);
23491 if (PyErr_Occurred()) SWIG_fail;
23492 }
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 resultobj = SWIG_From_long((long)result);
23501 {
23502 if (temp3)
23503 delete arg3;
23504 }
23505 return resultobj;
23506 fail:
23507 {
23508 if (temp3)
23509 delete arg3;
23510 }
23511 return NULL;
23512 }
23513
23514
23515 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
23516 PyObject *resultobj;
23517 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23518 long arg2 ;
23519 long arg3 ;
23520 long result;
23521 PyObject * obj0 = 0 ;
23522 PyObject * obj1 = 0 ;
23523 PyObject * obj2 = 0 ;
23524 char *kwnames[] = {
23525 (char *) "self",(char *) "start",(char *) "data", NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
23529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23531 arg2 = (long)SWIG_As_long(obj1);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 arg3 = (long)SWIG_As_long(obj2);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 {
23536 PyThreadState* __tstate = wxPyBeginAllowThreads();
23537 result = (long)(arg1)->FindItem(arg2,arg3);
23538
23539 wxPyEndAllowThreads(__tstate);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
23542 resultobj = SWIG_From_long((long)result);
23543 return resultobj;
23544 fail:
23545 return NULL;
23546 }
23547
23548
23549 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23552 long arg2 ;
23553 wxPoint *arg3 = 0 ;
23554 int arg4 ;
23555 long result;
23556 wxPoint temp3 ;
23557 PyObject * obj0 = 0 ;
23558 PyObject * obj1 = 0 ;
23559 PyObject * obj2 = 0 ;
23560 PyObject * obj3 = 0 ;
23561 char *kwnames[] = {
23562 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23568 arg2 = (long)SWIG_As_long(obj1);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 {
23571 arg3 = &temp3;
23572 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23573 }
23574 arg4 = (int)SWIG_As_int(obj3);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 {
23577 PyThreadState* __tstate = wxPyBeginAllowThreads();
23578 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23579
23580 wxPyEndAllowThreads(__tstate);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
23583 resultobj = SWIG_From_long((long)result);
23584 return resultobj;
23585 fail:
23586 return NULL;
23587 }
23588
23589
23590 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
23591 PyObject *resultobj;
23592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23593 wxPoint *arg2 = 0 ;
23594 int *arg3 = 0 ;
23595 long result;
23596 wxPoint temp2 ;
23597 int temp3 ;
23598 int res3 = 0 ;
23599 PyObject * obj0 = 0 ;
23600 PyObject * obj1 = 0 ;
23601 char *kwnames[] = {
23602 (char *) "self",(char *) "point", NULL
23603 };
23604
23605 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23609 {
23610 arg2 = &temp2;
23611 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23612 }
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23616
23617 wxPyEndAllowThreads(__tstate);
23618 if (PyErr_Occurred()) SWIG_fail;
23619 }
23620 resultobj = SWIG_From_long((long)result);
23621 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23622 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj;
23631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23632 wxListItem *arg2 = 0 ;
23633 long result;
23634 PyObject * obj0 = 0 ;
23635 PyObject * obj1 = 0 ;
23636 char *kwnames[] = {
23637 (char *) "self",(char *) "info", NULL
23638 };
23639
23640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23644 SWIG_POINTER_EXCEPTION | 0)) == -1)
23645 SWIG_fail;
23646 if (arg2 == NULL) {
23647 PyErr_SetString(PyExc_TypeError,"null reference");
23648 SWIG_fail;
23649 }
23650 {
23651 PyThreadState* __tstate = wxPyBeginAllowThreads();
23652 result = (long)(arg1)->InsertItem(*arg2);
23653
23654 wxPyEndAllowThreads(__tstate);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 }
23657 resultobj = SWIG_From_long((long)result);
23658 return resultobj;
23659 fail:
23660 return NULL;
23661 }
23662
23663
23664 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
23665 PyObject *resultobj;
23666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23667 long arg2 ;
23668 wxString *arg3 = 0 ;
23669 long result;
23670 bool temp3 = false ;
23671 PyObject * obj0 = 0 ;
23672 PyObject * obj1 = 0 ;
23673 PyObject * obj2 = 0 ;
23674 char *kwnames[] = {
23675 (char *) "self",(char *) "index",(char *) "label", NULL
23676 };
23677
23678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23681 arg2 = (long)SWIG_As_long(obj1);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 {
23684 arg3 = wxString_in_helper(obj2);
23685 if (arg3 == NULL) SWIG_fail;
23686 temp3 = true;
23687 }
23688 {
23689 PyThreadState* __tstate = wxPyBeginAllowThreads();
23690 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23691
23692 wxPyEndAllowThreads(__tstate);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 }
23695 resultobj = SWIG_From_long((long)result);
23696 {
23697 if (temp3)
23698 delete arg3;
23699 }
23700 return resultobj;
23701 fail:
23702 {
23703 if (temp3)
23704 delete arg3;
23705 }
23706 return NULL;
23707 }
23708
23709
23710 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
23711 PyObject *resultobj;
23712 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23713 long arg2 ;
23714 int arg3 ;
23715 long result;
23716 PyObject * obj0 = 0 ;
23717 PyObject * obj1 = 0 ;
23718 PyObject * obj2 = 0 ;
23719 char *kwnames[] = {
23720 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23721 };
23722
23723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23726 arg2 = (long)SWIG_As_long(obj1);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 arg3 = (int)SWIG_As_int(obj2);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 result = (long)(arg1)->InsertItem(arg2,arg3);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 resultobj = SWIG_From_long((long)result);
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23747 long arg2 ;
23748 wxString *arg3 = 0 ;
23749 int arg4 ;
23750 long result;
23751 bool temp3 = false ;
23752 PyObject * obj0 = 0 ;
23753 PyObject * obj1 = 0 ;
23754 PyObject * obj2 = 0 ;
23755 PyObject * obj3 = 0 ;
23756 char *kwnames[] = {
23757 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23758 };
23759
23760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23763 arg2 = (long)SWIG_As_long(obj1);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 {
23766 arg3 = wxString_in_helper(obj2);
23767 if (arg3 == NULL) SWIG_fail;
23768 temp3 = true;
23769 }
23770 arg4 = (int)SWIG_As_int(obj3);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23775
23776 wxPyEndAllowThreads(__tstate);
23777 if (PyErr_Occurred()) SWIG_fail;
23778 }
23779 resultobj = SWIG_From_long((long)result);
23780 {
23781 if (temp3)
23782 delete arg3;
23783 }
23784 return resultobj;
23785 fail:
23786 {
23787 if (temp3)
23788 delete arg3;
23789 }
23790 return NULL;
23791 }
23792
23793
23794 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23795 PyObject *resultobj;
23796 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23797 long arg2 ;
23798 wxListItem *arg3 = 0 ;
23799 long result;
23800 PyObject * obj0 = 0 ;
23801 PyObject * obj1 = 0 ;
23802 PyObject * obj2 = 0 ;
23803 char *kwnames[] = {
23804 (char *) "self",(char *) "col",(char *) "info", NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23810 arg2 = (long)SWIG_As_long(obj1);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23813 SWIG_POINTER_EXCEPTION | 0)) == -1)
23814 SWIG_fail;
23815 if (arg3 == NULL) {
23816 PyErr_SetString(PyExc_TypeError,"null reference");
23817 SWIG_fail;
23818 }
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23822
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 resultobj = SWIG_From_long((long)result);
23827 return resultobj;
23828 fail:
23829 return NULL;
23830 }
23831
23832
23833 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23834 PyObject *resultobj;
23835 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23836 long arg2 ;
23837 wxString *arg3 = 0 ;
23838 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23839 int arg5 = (int) -1 ;
23840 long result;
23841 bool temp3 = false ;
23842 PyObject * obj0 = 0 ;
23843 PyObject * obj1 = 0 ;
23844 PyObject * obj2 = 0 ;
23845 PyObject * obj3 = 0 ;
23846 PyObject * obj4 = 0 ;
23847 char *kwnames[] = {
23848 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23849 };
23850
23851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23854 arg2 = (long)SWIG_As_long(obj1);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 {
23857 arg3 = wxString_in_helper(obj2);
23858 if (arg3 == NULL) SWIG_fail;
23859 temp3 = true;
23860 }
23861 if (obj3) {
23862 arg4 = (int)SWIG_As_int(obj3);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 }
23865 if (obj4) {
23866 arg5 = (int)SWIG_As_int(obj4);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23872
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 resultobj = SWIG_From_long((long)result);
23877 {
23878 if (temp3)
23879 delete arg3;
23880 }
23881 return resultobj;
23882 fail:
23883 {
23884 if (temp3)
23885 delete arg3;
23886 }
23887 return NULL;
23888 }
23889
23890
23891 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
23892 PyObject *resultobj;
23893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23894 long arg2 ;
23895 PyObject * obj0 = 0 ;
23896 PyObject * obj1 = 0 ;
23897 char *kwnames[] = {
23898 (char *) "self",(char *) "count", NULL
23899 };
23900
23901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23904 arg2 = (long)SWIG_As_long(obj1);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 {
23907 PyThreadState* __tstate = wxPyBeginAllowThreads();
23908 (arg1)->SetItemCount(arg2);
23909
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 Py_INCREF(Py_None); resultobj = Py_None;
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
23921 PyObject *resultobj;
23922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23923 int arg2 ;
23924 int arg3 ;
23925 bool result;
23926 PyObject * obj0 = 0 ;
23927 PyObject * obj1 = 0 ;
23928 PyObject * obj2 = 0 ;
23929 char *kwnames[] = {
23930 (char *) "self",(char *) "dx",(char *) "dy", NULL
23931 };
23932
23933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23936 arg2 = (int)SWIG_As_int(obj1);
23937 if (PyErr_Occurred()) SWIG_fail;
23938 arg3 = (int)SWIG_As_int(obj2);
23939 if (PyErr_Occurred()) SWIG_fail;
23940 {
23941 PyThreadState* __tstate = wxPyBeginAllowThreads();
23942 result = (bool)(arg1)->ScrollList(arg2,arg3);
23943
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 {
23948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23949 }
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23957 PyObject *resultobj;
23958 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23959 long arg2 ;
23960 wxColour *arg3 = 0 ;
23961 wxColour temp3 ;
23962 PyObject * obj0 = 0 ;
23963 PyObject * obj1 = 0 ;
23964 PyObject * obj2 = 0 ;
23965 char *kwnames[] = {
23966 (char *) "self",(char *) "item",(char *) "col", NULL
23967 };
23968
23969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23972 arg2 = (long)SWIG_As_long(obj1);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 {
23975 arg3 = &temp3;
23976 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23977 }
23978 {
23979 PyThreadState* __tstate = wxPyBeginAllowThreads();
23980 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23981
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 Py_INCREF(Py_None); resultobj = Py_None;
23986 return resultobj;
23987 fail:
23988 return NULL;
23989 }
23990
23991
23992 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj;
23994 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23995 long arg2 ;
23996 wxColour result;
23997 PyObject * obj0 = 0 ;
23998 PyObject * obj1 = 0 ;
23999 char *kwnames[] = {
24000 (char *) "self",(char *) "item", NULL
24001 };
24002
24003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24006 arg2 = (long)SWIG_As_long(obj1);
24007 if (PyErr_Occurred()) SWIG_fail;
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 {
24016 wxColour * resultptr;
24017 resultptr = new wxColour((wxColour &) result);
24018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24019 }
24020 return resultobj;
24021 fail:
24022 return NULL;
24023 }
24024
24025
24026 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24027 PyObject *resultobj;
24028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24029 long arg2 ;
24030 wxColour *arg3 = 0 ;
24031 wxColour temp3 ;
24032 PyObject * obj0 = 0 ;
24033 PyObject * obj1 = 0 ;
24034 PyObject * obj2 = 0 ;
24035 char *kwnames[] = {
24036 (char *) "self",(char *) "item",(char *) "col", NULL
24037 };
24038
24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24042 arg2 = (long)SWIG_As_long(obj1);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 {
24045 arg3 = &temp3;
24046 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24047 }
24048 {
24049 PyThreadState* __tstate = wxPyBeginAllowThreads();
24050 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
24051
24052 wxPyEndAllowThreads(__tstate);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 }
24055 Py_INCREF(Py_None); resultobj = Py_None;
24056 return resultobj;
24057 fail:
24058 return NULL;
24059 }
24060
24061
24062 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24063 PyObject *resultobj;
24064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24065 long arg2 ;
24066 wxColour result;
24067 PyObject * obj0 = 0 ;
24068 PyObject * obj1 = 0 ;
24069 char *kwnames[] = {
24070 (char *) "self",(char *) "item", NULL
24071 };
24072
24073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24076 arg2 = (long)SWIG_As_long(obj1);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
24081
24082 wxPyEndAllowThreads(__tstate);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
24085 {
24086 wxColour * resultptr;
24087 resultptr = new wxColour((wxColour &) result);
24088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24089 }
24090 return resultobj;
24091 fail:
24092 return NULL;
24093 }
24094
24095
24096 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
24097 PyObject *resultobj;
24098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24099 PyObject *arg2 = (PyObject *) 0 ;
24100 bool result;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self",(char *) "func", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
24108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24110 arg2 = obj1;
24111 {
24112 PyThreadState* __tstate = wxPyBeginAllowThreads();
24113 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 {
24119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24120 }
24121 return resultobj;
24122 fail:
24123 return NULL;
24124 }
24125
24126
24127 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24128 PyObject *resultobj;
24129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24130 wxWindow *result;
24131 PyObject * obj0 = 0 ;
24132 char *kwnames[] = {
24133 (char *) "self", NULL
24134 };
24135
24136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
24137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
24138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
24142
24143 wxPyEndAllowThreads(__tstate);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 }
24146 {
24147 resultobj = wxPyMake_wxObject(result, 0);
24148 }
24149 return resultobj;
24150 fail:
24151 return NULL;
24152 }
24153
24154
24155 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
24156 PyObject *resultobj;
24157 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
24158 wxVisualAttributes result;
24159 PyObject * obj0 = 0 ;
24160 char *kwnames[] = {
24161 (char *) "variant", NULL
24162 };
24163
24164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
24165 if (obj0) {
24166 arg1 = (int)SWIG_As_int(obj0);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 {
24170 if (!wxPyCheckForApp()) SWIG_fail;
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
24173
24174 wxPyEndAllowThreads(__tstate);
24175 if (PyErr_Occurred()) SWIG_fail;
24176 }
24177 {
24178 wxVisualAttributes * resultptr;
24179 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
24180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
24181 }
24182 return resultobj;
24183 fail:
24184 return NULL;
24185 }
24186
24187
24188 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
24189 PyObject *obj;
24190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24191 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
24192 Py_INCREF(obj);
24193 return Py_BuildValue((char *)"");
24194 }
24195 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj;
24197 wxWindow *arg1 = (wxWindow *) 0 ;
24198 int arg2 = (int) -1 ;
24199 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24200 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24201 wxSize const &arg4_defvalue = wxDefaultSize ;
24202 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24203 long arg5 = (long) wxLC_REPORT ;
24204 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24205 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24206 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
24207 wxString *arg7 = (wxString *) &arg7_defvalue ;
24208 wxListView *result;
24209 wxPoint temp3 ;
24210 wxSize temp4 ;
24211 bool temp7 = false ;
24212 PyObject * obj0 = 0 ;
24213 PyObject * obj1 = 0 ;
24214 PyObject * obj2 = 0 ;
24215 PyObject * obj3 = 0 ;
24216 PyObject * obj4 = 0 ;
24217 PyObject * obj5 = 0 ;
24218 PyObject * obj6 = 0 ;
24219 char *kwnames[] = {
24220 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24221 };
24222
24223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24226 if (obj1) {
24227 arg2 = (int)SWIG_As_int(obj1);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
24230 if (obj2) {
24231 {
24232 arg3 = &temp3;
24233 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24234 }
24235 }
24236 if (obj3) {
24237 {
24238 arg4 = &temp4;
24239 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24240 }
24241 }
24242 if (obj4) {
24243 arg5 = (long)SWIG_As_long(obj4);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 if (obj5) {
24247 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24248 SWIG_POINTER_EXCEPTION | 0)) == -1)
24249 SWIG_fail;
24250 if (arg6 == NULL) {
24251 PyErr_SetString(PyExc_TypeError,"null reference");
24252 SWIG_fail;
24253 }
24254 }
24255 if (obj6) {
24256 {
24257 arg7 = wxString_in_helper(obj6);
24258 if (arg7 == NULL) SWIG_fail;
24259 temp7 = true;
24260 }
24261 }
24262 {
24263 if (!wxPyCheckForApp()) SWIG_fail;
24264 PyThreadState* __tstate = wxPyBeginAllowThreads();
24265 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24266
24267 wxPyEndAllowThreads(__tstate);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24271 {
24272 if (temp7)
24273 delete arg7;
24274 }
24275 return resultobj;
24276 fail:
24277 {
24278 if (temp7)
24279 delete arg7;
24280 }
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxListView *result;
24288 char *kwnames[] = {
24289 NULL
24290 };
24291
24292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
24293 {
24294 if (!wxPyCheckForApp()) SWIG_fail;
24295 PyThreadState* __tstate = wxPyBeginAllowThreads();
24296 result = (wxListView *)new wxListView();
24297
24298 wxPyEndAllowThreads(__tstate);
24299 if (PyErr_Occurred()) SWIG_fail;
24300 }
24301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
24302 return resultobj;
24303 fail:
24304 return NULL;
24305 }
24306
24307
24308 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
24309 PyObject *resultobj;
24310 wxListView *arg1 = (wxListView *) 0 ;
24311 wxWindow *arg2 = (wxWindow *) 0 ;
24312 int arg3 = (int) -1 ;
24313 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24314 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24315 wxSize const &arg5_defvalue = wxDefaultSize ;
24316 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24317 long arg6 = (long) wxLC_REPORT ;
24318 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24319 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24320 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
24321 wxString *arg8 = (wxString *) &arg8_defvalue ;
24322 bool result;
24323 wxPoint temp4 ;
24324 wxSize temp5 ;
24325 bool temp8 = false ;
24326 PyObject * obj0 = 0 ;
24327 PyObject * obj1 = 0 ;
24328 PyObject * obj2 = 0 ;
24329 PyObject * obj3 = 0 ;
24330 PyObject * obj4 = 0 ;
24331 PyObject * obj5 = 0 ;
24332 PyObject * obj6 = 0 ;
24333 PyObject * obj7 = 0 ;
24334 char *kwnames[] = {
24335 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24336 };
24337
24338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24343 if (obj2) {
24344 arg3 = (int)SWIG_As_int(obj2);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
24347 if (obj3) {
24348 {
24349 arg4 = &temp4;
24350 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24351 }
24352 }
24353 if (obj4) {
24354 {
24355 arg5 = &temp5;
24356 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24357 }
24358 }
24359 if (obj5) {
24360 arg6 = (long)SWIG_As_long(obj5);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 if (obj6) {
24364 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24365 SWIG_POINTER_EXCEPTION | 0)) == -1)
24366 SWIG_fail;
24367 if (arg7 == NULL) {
24368 PyErr_SetString(PyExc_TypeError,"null reference");
24369 SWIG_fail;
24370 }
24371 }
24372 if (obj7) {
24373 {
24374 arg8 = wxString_in_helper(obj7);
24375 if (arg8 == NULL) SWIG_fail;
24376 temp8 = true;
24377 }
24378 }
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 {
24387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24388 }
24389 {
24390 if (temp8)
24391 delete arg8;
24392 }
24393 return resultobj;
24394 fail:
24395 {
24396 if (temp8)
24397 delete arg8;
24398 }
24399 return NULL;
24400 }
24401
24402
24403 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxListView *arg1 = (wxListView *) 0 ;
24406 long arg2 ;
24407 bool arg3 = (bool) true ;
24408 PyObject * obj0 = 0 ;
24409 PyObject * obj1 = 0 ;
24410 PyObject * obj2 = 0 ;
24411 char *kwnames[] = {
24412 (char *) "self",(char *) "n",(char *) "on", NULL
24413 };
24414
24415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
24416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24418 arg2 = (long)SWIG_As_long(obj1);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 if (obj2) {
24421 arg3 = (bool)SWIG_As_bool(obj2);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 {
24425 PyThreadState* __tstate = wxPyBeginAllowThreads();
24426 (arg1)->Select(arg2,arg3);
24427
24428 wxPyEndAllowThreads(__tstate);
24429 if (PyErr_Occurred()) SWIG_fail;
24430 }
24431 Py_INCREF(Py_None); resultobj = Py_None;
24432 return resultobj;
24433 fail:
24434 return NULL;
24435 }
24436
24437
24438 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
24439 PyObject *resultobj;
24440 wxListView *arg1 = (wxListView *) 0 ;
24441 long arg2 ;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 char *kwnames[] = {
24445 (char *) "self",(char *) "index", NULL
24446 };
24447
24448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
24449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24451 arg2 = (long)SWIG_As_long(obj1);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 (arg1)->Focus(arg2);
24456
24457 wxPyEndAllowThreads(__tstate);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 Py_INCREF(Py_None); resultobj = Py_None;
24461 return resultobj;
24462 fail:
24463 return NULL;
24464 }
24465
24466
24467 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
24468 PyObject *resultobj;
24469 wxListView *arg1 = (wxListView *) 0 ;
24470 long result;
24471 PyObject * obj0 = 0 ;
24472 char *kwnames[] = {
24473 (char *) "self", NULL
24474 };
24475
24476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
24477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24479 {
24480 PyThreadState* __tstate = wxPyBeginAllowThreads();
24481 result = (long)((wxListView const *)arg1)->GetFocusedItem();
24482
24483 wxPyEndAllowThreads(__tstate);
24484 if (PyErr_Occurred()) SWIG_fail;
24485 }
24486 resultobj = SWIG_From_long((long)result);
24487 return resultobj;
24488 fail:
24489 return NULL;
24490 }
24491
24492
24493 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24494 PyObject *resultobj;
24495 wxListView *arg1 = (wxListView *) 0 ;
24496 long arg2 ;
24497 long result;
24498 PyObject * obj0 = 0 ;
24499 PyObject * obj1 = 0 ;
24500 char *kwnames[] = {
24501 (char *) "self",(char *) "item", NULL
24502 };
24503
24504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
24505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24507 arg2 = (long)SWIG_As_long(obj1);
24508 if (PyErr_Occurred()) SWIG_fail;
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 resultobj = SWIG_From_long((long)result);
24517 return resultobj;
24518 fail:
24519 return NULL;
24520 }
24521
24522
24523 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj;
24525 wxListView *arg1 = (wxListView *) 0 ;
24526 long result;
24527 PyObject * obj0 = 0 ;
24528 char *kwnames[] = {
24529 (char *) "self", NULL
24530 };
24531
24532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
24533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 resultobj = SWIG_From_long((long)result);
24543 return resultobj;
24544 fail:
24545 return NULL;
24546 }
24547
24548
24549 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24550 PyObject *resultobj;
24551 wxListView *arg1 = (wxListView *) 0 ;
24552 long arg2 ;
24553 bool result;
24554 PyObject * obj0 = 0 ;
24555 PyObject * obj1 = 0 ;
24556 char *kwnames[] = {
24557 (char *) "self",(char *) "index", NULL
24558 };
24559
24560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24563 arg2 = (long)SWIG_As_long(obj1);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 {
24566 PyThreadState* __tstate = wxPyBeginAllowThreads();
24567 result = (bool)(arg1)->IsSelected(arg2);
24568
24569 wxPyEndAllowThreads(__tstate);
24570 if (PyErr_Occurred()) SWIG_fail;
24571 }
24572 {
24573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24574 }
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxListView *arg1 = (wxListView *) 0 ;
24584 int arg2 ;
24585 int arg3 ;
24586 PyObject * obj0 = 0 ;
24587 PyObject * obj1 = 0 ;
24588 PyObject * obj2 = 0 ;
24589 char *kwnames[] = {
24590 (char *) "self",(char *) "col",(char *) "image", NULL
24591 };
24592
24593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24596 arg2 = (int)SWIG_As_int(obj1);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 arg3 = (int)SWIG_As_int(obj2);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 {
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 (arg1)->SetColumnImage(arg2,arg3);
24603
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 Py_INCREF(Py_None); resultobj = Py_None;
24608 return resultobj;
24609 fail:
24610 return NULL;
24611 }
24612
24613
24614 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
24615 PyObject *resultobj;
24616 wxListView *arg1 = (wxListView *) 0 ;
24617 int arg2 ;
24618 PyObject * obj0 = 0 ;
24619 PyObject * obj1 = 0 ;
24620 char *kwnames[] = {
24621 (char *) "self",(char *) "col", NULL
24622 };
24623
24624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24627 arg2 = (int)SWIG_As_int(obj1);
24628 if (PyErr_Occurred()) SWIG_fail;
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 (arg1)->ClearColumnImage(arg2);
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
24636 Py_INCREF(Py_None); resultobj = Py_None;
24637 return resultobj;
24638 fail:
24639 return NULL;
24640 }
24641
24642
24643 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
24644 PyObject *obj;
24645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24646 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24647 Py_INCREF(obj);
24648 return Py_BuildValue((char *)"");
24649 }
24650 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
24651 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24652 return 1;
24653 }
24654
24655
24656 static PyObject *_wrap_TreeCtrlNameStr_get() {
24657 PyObject *pyobj;
24658
24659 {
24660 #if wxUSE_UNICODE
24661 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24662 #else
24663 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24664 #endif
24665 }
24666 return pyobj;
24667 }
24668
24669
24670 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
24671 PyObject *resultobj;
24672 wxTreeItemId *result;
24673 char *kwnames[] = {
24674 NULL
24675 };
24676
24677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 result = (wxTreeItemId *)new wxTreeItemId();
24681
24682 wxPyEndAllowThreads(__tstate);
24683 if (PyErr_Occurred()) SWIG_fail;
24684 }
24685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24686 return resultobj;
24687 fail:
24688 return NULL;
24689 }
24690
24691
24692 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
24693 PyObject *resultobj;
24694 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24695 PyObject * obj0 = 0 ;
24696 char *kwnames[] = {
24697 (char *) "self", NULL
24698 };
24699
24700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 delete arg1;
24706
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 Py_INCREF(Py_None); resultobj = Py_None;
24711 return resultobj;
24712 fail:
24713 return NULL;
24714 }
24715
24716
24717 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj;
24719 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24720 bool result;
24721 PyObject * obj0 = 0 ;
24722 char *kwnames[] = {
24723 (char *) "self", NULL
24724 };
24725
24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24732
24733 wxPyEndAllowThreads(__tstate);
24734 if (PyErr_Occurred()) SWIG_fail;
24735 }
24736 {
24737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24738 }
24739 return resultobj;
24740 fail:
24741 return NULL;
24742 }
24743
24744
24745 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
24746 PyObject *resultobj;
24747 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24748 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24749 bool result;
24750 PyObject * obj0 = 0 ;
24751 PyObject * obj1 = 0 ;
24752 char *kwnames[] = {
24753 (char *) "self",(char *) "other", NULL
24754 };
24755
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24764
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 {
24769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24770 }
24771 return resultobj;
24772 fail:
24773 return NULL;
24774 }
24775
24776
24777 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj;
24779 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24780 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24781 bool result;
24782 PyObject * obj0 = 0 ;
24783 PyObject * obj1 = 0 ;
24784 char *kwnames[] = {
24785 (char *) "self",(char *) "other", NULL
24786 };
24787
24788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 {
24801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24802 }
24803 return resultobj;
24804 fail:
24805 return NULL;
24806 }
24807
24808
24809 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
24810 PyObject *resultobj;
24811 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24812 void *arg2 = (void *) 0 ;
24813 PyObject * obj0 = 0 ;
24814 PyObject * obj1 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self",(char *) "m_pItem", NULL
24817 };
24818
24819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24822 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24823 if (arg1) (arg1)->m_pItem = arg2;
24824
24825 Py_INCREF(Py_None); resultobj = Py_None;
24826 return resultobj;
24827 fail:
24828 return NULL;
24829 }
24830
24831
24832 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
24833 PyObject *resultobj;
24834 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24835 void *result;
24836 PyObject * obj0 = 0 ;
24837 char *kwnames[] = {
24838 (char *) "self", NULL
24839 };
24840
24841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24844 result = (void *) ((arg1)->m_pItem);
24845
24846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24847 return resultobj;
24848 fail:
24849 return NULL;
24850 }
24851
24852
24853 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
24854 PyObject *obj;
24855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24856 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24857 Py_INCREF(obj);
24858 return Py_BuildValue((char *)"");
24859 }
24860 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24861 PyObject *resultobj;
24862 PyObject *arg1 = (PyObject *) NULL ;
24863 wxPyTreeItemData *result;
24864 PyObject * obj0 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "obj", NULL
24867 };
24868
24869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24870 if (obj0) {
24871 arg1 = obj0;
24872 }
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24876
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
24880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24881 return resultobj;
24882 fail:
24883 return NULL;
24884 }
24885
24886
24887 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj;
24889 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24890 PyObject *result;
24891 PyObject * obj0 = 0 ;
24892 char *kwnames[] = {
24893 (char *) "self", NULL
24894 };
24895
24896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24899 {
24900 PyThreadState* __tstate = wxPyBeginAllowThreads();
24901 result = (PyObject *)(arg1)->GetData();
24902
24903 wxPyEndAllowThreads(__tstate);
24904 if (PyErr_Occurred()) SWIG_fail;
24905 }
24906 resultobj = result;
24907 return resultobj;
24908 fail:
24909 return NULL;
24910 }
24911
24912
24913 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
24914 PyObject *resultobj;
24915 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24916 PyObject *arg2 = (PyObject *) 0 ;
24917 PyObject * obj0 = 0 ;
24918 PyObject * obj1 = 0 ;
24919 char *kwnames[] = {
24920 (char *) "self",(char *) "obj", NULL
24921 };
24922
24923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24926 arg2 = obj1;
24927 {
24928 PyThreadState* __tstate = wxPyBeginAllowThreads();
24929 (arg1)->SetData(arg2);
24930
24931 wxPyEndAllowThreads(__tstate);
24932 if (PyErr_Occurred()) SWIG_fail;
24933 }
24934 Py_INCREF(Py_None); resultobj = Py_None;
24935 return resultobj;
24936 fail:
24937 return NULL;
24938 }
24939
24940
24941 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
24942 PyObject *resultobj;
24943 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24944 wxTreeItemId *result;
24945 PyObject * obj0 = 0 ;
24946 char *kwnames[] = {
24947 (char *) "self", NULL
24948 };
24949
24950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24953 {
24954 PyThreadState* __tstate = wxPyBeginAllowThreads();
24955 {
24956 wxTreeItemId const &_result_ref = (arg1)->GetId();
24957 result = (wxTreeItemId *) &_result_ref;
24958 }
24959
24960 wxPyEndAllowThreads(__tstate);
24961 if (PyErr_Occurred()) SWIG_fail;
24962 }
24963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24964 return resultobj;
24965 fail:
24966 return NULL;
24967 }
24968
24969
24970 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
24971 PyObject *resultobj;
24972 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24973 wxTreeItemId *arg2 = 0 ;
24974 PyObject * obj0 = 0 ;
24975 PyObject * obj1 = 0 ;
24976 char *kwnames[] = {
24977 (char *) "self",(char *) "id", NULL
24978 };
24979
24980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24984 SWIG_POINTER_EXCEPTION | 0)) == -1)
24985 SWIG_fail;
24986 if (arg2 == NULL) {
24987 PyErr_SetString(PyExc_TypeError,"null reference");
24988 SWIG_fail;
24989 }
24990 {
24991 PyThreadState* __tstate = wxPyBeginAllowThreads();
24992 (arg1)->SetId((wxTreeItemId const &)*arg2);
24993
24994 wxPyEndAllowThreads(__tstate);
24995 if (PyErr_Occurred()) SWIG_fail;
24996 }
24997 Py_INCREF(Py_None); resultobj = Py_None;
24998 return resultobj;
24999 fail:
25000 return NULL;
25001 }
25002
25003
25004 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
25005 PyObject *resultobj;
25006 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
25007 PyObject * obj0 = 0 ;
25008 char *kwnames[] = {
25009 (char *) "self", NULL
25010 };
25011
25012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
25013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
25014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 wxPyTreeItemData_Destroy(arg1);
25018
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 Py_INCREF(Py_None); resultobj = Py_None;
25023 return resultobj;
25024 fail:
25025 return NULL;
25026 }
25027
25028
25029 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
25030 PyObject *obj;
25031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25032 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
25033 Py_INCREF(obj);
25034 return Py_BuildValue((char *)"");
25035 }
25036 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25037 PyObject *resultobj;
25038 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25039 int arg2 = (int) 0 ;
25040 wxTreeEvent *result;
25041 PyObject * obj0 = 0 ;
25042 PyObject * obj1 = 0 ;
25043 char *kwnames[] = {
25044 (char *) "commandType",(char *) "id", NULL
25045 };
25046
25047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
25048 if (obj0) {
25049 arg1 = (wxEventType)SWIG_As_int(obj0);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 if (obj1) {
25053 arg2 = (int)SWIG_As_int(obj1);
25054 if (PyErr_Occurred()) SWIG_fail;
25055 }
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
25059
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
25064 return resultobj;
25065 fail:
25066 return NULL;
25067 }
25068
25069
25070 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25071 PyObject *resultobj;
25072 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25073 wxTreeItemId result;
25074 PyObject * obj0 = 0 ;
25075 char *kwnames[] = {
25076 (char *) "self", NULL
25077 };
25078
25079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
25080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 result = ((wxTreeEvent const *)arg1)->GetItem();
25085
25086 wxPyEndAllowThreads(__tstate);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
25089 {
25090 wxTreeItemId * resultptr;
25091 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25093 }
25094 return resultobj;
25095 fail:
25096 return NULL;
25097 }
25098
25099
25100 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25101 PyObject *resultobj;
25102 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25103 wxTreeItemId *arg2 = 0 ;
25104 PyObject * obj0 = 0 ;
25105 PyObject * obj1 = 0 ;
25106 char *kwnames[] = {
25107 (char *) "self",(char *) "item", NULL
25108 };
25109
25110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
25111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25114 SWIG_POINTER_EXCEPTION | 0)) == -1)
25115 SWIG_fail;
25116 if (arg2 == NULL) {
25117 PyErr_SetString(PyExc_TypeError,"null reference");
25118 SWIG_fail;
25119 }
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 (arg1)->SetItem((wxTreeItemId const &)*arg2);
25123
25124 wxPyEndAllowThreads(__tstate);
25125 if (PyErr_Occurred()) SWIG_fail;
25126 }
25127 Py_INCREF(Py_None); resultobj = Py_None;
25128 return resultobj;
25129 fail:
25130 return NULL;
25131 }
25132
25133
25134 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
25135 PyObject *resultobj;
25136 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25137 wxTreeItemId result;
25138 PyObject * obj0 = 0 ;
25139 char *kwnames[] = {
25140 (char *) "self", NULL
25141 };
25142
25143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
25144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 result = ((wxTreeEvent const *)arg1)->GetOldItem();
25149
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
25153 {
25154 wxTreeItemId * resultptr;
25155 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25157 }
25158 return resultobj;
25159 fail:
25160 return NULL;
25161 }
25162
25163
25164 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
25165 PyObject *resultobj;
25166 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25167 wxTreeItemId *arg2 = 0 ;
25168 PyObject * obj0 = 0 ;
25169 PyObject * obj1 = 0 ;
25170 char *kwnames[] = {
25171 (char *) "self",(char *) "item", NULL
25172 };
25173
25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
25175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25178 SWIG_POINTER_EXCEPTION | 0)) == -1)
25179 SWIG_fail;
25180 if (arg2 == NULL) {
25181 PyErr_SetString(PyExc_TypeError,"null reference");
25182 SWIG_fail;
25183 }
25184 {
25185 PyThreadState* __tstate = wxPyBeginAllowThreads();
25186 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
25187
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 Py_INCREF(Py_None); resultobj = Py_None;
25192 return resultobj;
25193 fail:
25194 return NULL;
25195 }
25196
25197
25198 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
25199 PyObject *resultobj;
25200 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25201 wxPoint result;
25202 PyObject * obj0 = 0 ;
25203 char *kwnames[] = {
25204 (char *) "self", NULL
25205 };
25206
25207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
25208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25210 {
25211 PyThreadState* __tstate = wxPyBeginAllowThreads();
25212 result = ((wxTreeEvent const *)arg1)->GetPoint();
25213
25214 wxPyEndAllowThreads(__tstate);
25215 if (PyErr_Occurred()) SWIG_fail;
25216 }
25217 {
25218 wxPoint * resultptr;
25219 resultptr = new wxPoint((wxPoint &) result);
25220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25221 }
25222 return resultobj;
25223 fail:
25224 return NULL;
25225 }
25226
25227
25228 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
25229 PyObject *resultobj;
25230 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25231 wxPoint *arg2 = 0 ;
25232 wxPoint temp2 ;
25233 PyObject * obj0 = 0 ;
25234 PyObject * obj1 = 0 ;
25235 char *kwnames[] = {
25236 (char *) "self",(char *) "pt", NULL
25237 };
25238
25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
25240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25242 {
25243 arg2 = &temp2;
25244 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25245 }
25246 {
25247 PyThreadState* __tstate = wxPyBeginAllowThreads();
25248 (arg1)->SetPoint((wxPoint const &)*arg2);
25249
25250 wxPyEndAllowThreads(__tstate);
25251 if (PyErr_Occurred()) SWIG_fail;
25252 }
25253 Py_INCREF(Py_None); resultobj = Py_None;
25254 return resultobj;
25255 fail:
25256 return NULL;
25257 }
25258
25259
25260 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25261 PyObject *resultobj;
25262 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25263 wxKeyEvent *result;
25264 PyObject * obj0 = 0 ;
25265 char *kwnames[] = {
25266 (char *) "self", NULL
25267 };
25268
25269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
25270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 {
25275 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
25276 result = (wxKeyEvent *) &_result_ref;
25277 }
25278
25279 wxPyEndAllowThreads(__tstate);
25280 if (PyErr_Occurred()) SWIG_fail;
25281 }
25282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
25283 return resultobj;
25284 fail:
25285 return NULL;
25286 }
25287
25288
25289 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
25290 PyObject *resultobj;
25291 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25292 int result;
25293 PyObject * obj0 = 0 ;
25294 char *kwnames[] = {
25295 (char *) "self", NULL
25296 };
25297
25298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
25299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25301 {
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
25304
25305 wxPyEndAllowThreads(__tstate);
25306 if (PyErr_Occurred()) SWIG_fail;
25307 }
25308 resultobj = SWIG_From_int((int)result);
25309 return resultobj;
25310 fail:
25311 return NULL;
25312 }
25313
25314
25315 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
25316 PyObject *resultobj;
25317 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25318 wxKeyEvent *arg2 = 0 ;
25319 PyObject * obj0 = 0 ;
25320 PyObject * obj1 = 0 ;
25321 char *kwnames[] = {
25322 (char *) "self",(char *) "evt", NULL
25323 };
25324
25325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
25326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25328 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
25329 SWIG_POINTER_EXCEPTION | 0)) == -1)
25330 SWIG_fail;
25331 if (arg2 == NULL) {
25332 PyErr_SetString(PyExc_TypeError,"null reference");
25333 SWIG_fail;
25334 }
25335 {
25336 PyThreadState* __tstate = wxPyBeginAllowThreads();
25337 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
25338
25339 wxPyEndAllowThreads(__tstate);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 }
25342 Py_INCREF(Py_None); resultobj = Py_None;
25343 return resultobj;
25344 fail:
25345 return NULL;
25346 }
25347
25348
25349 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25350 PyObject *resultobj;
25351 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25352 wxString *result;
25353 PyObject * obj0 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
25359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25361 {
25362 PyThreadState* __tstate = wxPyBeginAllowThreads();
25363 {
25364 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
25365 result = (wxString *) &_result_ref;
25366 }
25367
25368 wxPyEndAllowThreads(__tstate);
25369 if (PyErr_Occurred()) SWIG_fail;
25370 }
25371 {
25372 #if wxUSE_UNICODE
25373 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25374 #else
25375 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25376 #endif
25377 }
25378 return resultobj;
25379 fail:
25380 return NULL;
25381 }
25382
25383
25384 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25385 PyObject *resultobj;
25386 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25387 wxString *arg2 = 0 ;
25388 bool temp2 = false ;
25389 PyObject * obj0 = 0 ;
25390 PyObject * obj1 = 0 ;
25391 char *kwnames[] = {
25392 (char *) "self",(char *) "label", NULL
25393 };
25394
25395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
25396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25398 {
25399 arg2 = wxString_in_helper(obj1);
25400 if (arg2 == NULL) SWIG_fail;
25401 temp2 = true;
25402 }
25403 {
25404 PyThreadState* __tstate = wxPyBeginAllowThreads();
25405 (arg1)->SetLabel((wxString const &)*arg2);
25406
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 Py_INCREF(Py_None); resultobj = Py_None;
25411 {
25412 if (temp2)
25413 delete arg2;
25414 }
25415 return resultobj;
25416 fail:
25417 {
25418 if (temp2)
25419 delete arg2;
25420 }
25421 return NULL;
25422 }
25423
25424
25425 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
25426 PyObject *resultobj;
25427 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25428 bool result;
25429 PyObject * obj0 = 0 ;
25430 char *kwnames[] = {
25431 (char *) "self", NULL
25432 };
25433
25434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
25435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25437 {
25438 PyThreadState* __tstate = wxPyBeginAllowThreads();
25439 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
25440
25441 wxPyEndAllowThreads(__tstate);
25442 if (PyErr_Occurred()) SWIG_fail;
25443 }
25444 {
25445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25446 }
25447 return resultobj;
25448 fail:
25449 return NULL;
25450 }
25451
25452
25453 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
25454 PyObject *resultobj;
25455 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25456 bool arg2 ;
25457 PyObject * obj0 = 0 ;
25458 PyObject * obj1 = 0 ;
25459 char *kwnames[] = {
25460 (char *) "self",(char *) "editCancelled", NULL
25461 };
25462
25463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
25464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25466 arg2 = (bool)SWIG_As_bool(obj1);
25467 if (PyErr_Occurred()) SWIG_fail;
25468 {
25469 PyThreadState* __tstate = wxPyBeginAllowThreads();
25470 (arg1)->SetEditCanceled(arg2);
25471
25472 wxPyEndAllowThreads(__tstate);
25473 if (PyErr_Occurred()) SWIG_fail;
25474 }
25475 Py_INCREF(Py_None); resultobj = Py_None;
25476 return resultobj;
25477 fail:
25478 return NULL;
25479 }
25480
25481
25482 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
25483 PyObject *resultobj;
25484 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25485 wxString *arg2 = 0 ;
25486 bool temp2 = false ;
25487 PyObject * obj0 = 0 ;
25488 PyObject * obj1 = 0 ;
25489 char *kwnames[] = {
25490 (char *) "self",(char *) "toolTip", NULL
25491 };
25492
25493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
25494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25496 {
25497 arg2 = wxString_in_helper(obj1);
25498 if (arg2 == NULL) SWIG_fail;
25499 temp2 = true;
25500 }
25501 {
25502 PyThreadState* __tstate = wxPyBeginAllowThreads();
25503 (arg1)->SetToolTip((wxString const &)*arg2);
25504
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 Py_INCREF(Py_None); resultobj = Py_None;
25509 {
25510 if (temp2)
25511 delete arg2;
25512 }
25513 return resultobj;
25514 fail:
25515 {
25516 if (temp2)
25517 delete arg2;
25518 }
25519 return NULL;
25520 }
25521
25522
25523 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
25524 PyObject *obj;
25525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25526 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25527 Py_INCREF(obj);
25528 return Py_BuildValue((char *)"");
25529 }
25530 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25531 PyObject *resultobj;
25532 wxWindow *arg1 = (wxWindow *) 0 ;
25533 int arg2 = (int) -1 ;
25534 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25535 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25536 wxSize const &arg4_defvalue = wxDefaultSize ;
25537 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25538 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25539 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25540 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25541 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
25542 wxString *arg7 = (wxString *) &arg7_defvalue ;
25543 wxPyTreeCtrl *result;
25544 wxPoint temp3 ;
25545 wxSize temp4 ;
25546 bool temp7 = false ;
25547 PyObject * obj0 = 0 ;
25548 PyObject * obj1 = 0 ;
25549 PyObject * obj2 = 0 ;
25550 PyObject * obj3 = 0 ;
25551 PyObject * obj4 = 0 ;
25552 PyObject * obj5 = 0 ;
25553 PyObject * obj6 = 0 ;
25554 char *kwnames[] = {
25555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25556 };
25557
25558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25561 if (obj1) {
25562 arg2 = (int)SWIG_As_int(obj1);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 if (obj2) {
25566 {
25567 arg3 = &temp3;
25568 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25569 }
25570 }
25571 if (obj3) {
25572 {
25573 arg4 = &temp4;
25574 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25575 }
25576 }
25577 if (obj4) {
25578 arg5 = (long)SWIG_As_long(obj4);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 if (obj5) {
25582 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25583 SWIG_POINTER_EXCEPTION | 0)) == -1)
25584 SWIG_fail;
25585 if (arg6 == NULL) {
25586 PyErr_SetString(PyExc_TypeError,"null reference");
25587 SWIG_fail;
25588 }
25589 }
25590 if (obj6) {
25591 {
25592 arg7 = wxString_in_helper(obj6);
25593 if (arg7 == NULL) SWIG_fail;
25594 temp7 = true;
25595 }
25596 }
25597 {
25598 if (!wxPyCheckForApp()) SWIG_fail;
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25606 {
25607 if (temp7)
25608 delete arg7;
25609 }
25610 return resultobj;
25611 fail:
25612 {
25613 if (temp7)
25614 delete arg7;
25615 }
25616 return NULL;
25617 }
25618
25619
25620 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25621 PyObject *resultobj;
25622 wxPyTreeCtrl *result;
25623 char *kwnames[] = {
25624 NULL
25625 };
25626
25627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25628 {
25629 if (!wxPyCheckForApp()) SWIG_fail;
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25646 wxWindow *arg2 = (wxWindow *) 0 ;
25647 int arg3 = (int) -1 ;
25648 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25649 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25650 wxSize const &arg5_defvalue = wxDefaultSize ;
25651 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25652 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25653 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25654 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25655 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25656 wxString *arg8 = (wxString *) &arg8_defvalue ;
25657 bool result;
25658 wxPoint temp4 ;
25659 wxSize temp5 ;
25660 bool temp8 = false ;
25661 PyObject * obj0 = 0 ;
25662 PyObject * obj1 = 0 ;
25663 PyObject * obj2 = 0 ;
25664 PyObject * obj3 = 0 ;
25665 PyObject * obj4 = 0 ;
25666 PyObject * obj5 = 0 ;
25667 PyObject * obj6 = 0 ;
25668 PyObject * obj7 = 0 ;
25669 char *kwnames[] = {
25670 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25671 };
25672
25673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25678 if (obj2) {
25679 arg3 = (int)SWIG_As_int(obj2);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 }
25682 if (obj3) {
25683 {
25684 arg4 = &temp4;
25685 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25686 }
25687 }
25688 if (obj4) {
25689 {
25690 arg5 = &temp5;
25691 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25692 }
25693 }
25694 if (obj5) {
25695 arg6 = (long)SWIG_As_long(obj5);
25696 if (PyErr_Occurred()) SWIG_fail;
25697 }
25698 if (obj6) {
25699 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25700 SWIG_POINTER_EXCEPTION | 0)) == -1)
25701 SWIG_fail;
25702 if (arg7 == NULL) {
25703 PyErr_SetString(PyExc_TypeError,"null reference");
25704 SWIG_fail;
25705 }
25706 }
25707 if (obj7) {
25708 {
25709 arg8 = wxString_in_helper(obj7);
25710 if (arg8 == NULL) SWIG_fail;
25711 temp8 = true;
25712 }
25713 }
25714 {
25715 PyThreadState* __tstate = wxPyBeginAllowThreads();
25716 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25717
25718 wxPyEndAllowThreads(__tstate);
25719 if (PyErr_Occurred()) SWIG_fail;
25720 }
25721 {
25722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25723 }
25724 {
25725 if (temp8)
25726 delete arg8;
25727 }
25728 return resultobj;
25729 fail:
25730 {
25731 if (temp8)
25732 delete arg8;
25733 }
25734 return NULL;
25735 }
25736
25737
25738 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25739 PyObject *resultobj;
25740 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25741 PyObject *arg2 = (PyObject *) 0 ;
25742 PyObject *arg3 = (PyObject *) 0 ;
25743 PyObject * obj0 = 0 ;
25744 PyObject * obj1 = 0 ;
25745 PyObject * obj2 = 0 ;
25746 char *kwnames[] = {
25747 (char *) "self",(char *) "self",(char *) "_class", NULL
25748 };
25749
25750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25753 arg2 = obj1;
25754 arg3 = obj2;
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 (arg1)->_setCallbackInfo(arg2,arg3);
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 Py_INCREF(Py_None); resultobj = Py_None;
25763 return resultobj;
25764 fail:
25765 return NULL;
25766 }
25767
25768
25769 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
25770 PyObject *resultobj;
25771 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25772 size_t result;
25773 PyObject * obj0 = 0 ;
25774 char *kwnames[] = {
25775 (char *) "self", NULL
25776 };
25777
25778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25784
25785 wxPyEndAllowThreads(__tstate);
25786 if (PyErr_Occurred()) SWIG_fail;
25787 }
25788 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25789 return resultobj;
25790 fail:
25791 return NULL;
25792 }
25793
25794
25795 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
25796 PyObject *resultobj;
25797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25798 unsigned int result;
25799 PyObject * obj0 = 0 ;
25800 char *kwnames[] = {
25801 (char *) "self", NULL
25802 };
25803
25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25810
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
25815 return resultobj;
25816 fail:
25817 return NULL;
25818 }
25819
25820
25821 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
25822 PyObject *resultobj;
25823 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25824 unsigned int arg2 ;
25825 PyObject * obj0 = 0 ;
25826 PyObject * obj1 = 0 ;
25827 char *kwnames[] = {
25828 (char *) "self",(char *) "indent", NULL
25829 };
25830
25831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25834 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
25835 if (PyErr_Occurred()) SWIG_fail;
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 (arg1)->SetIndent(arg2);
25839
25840 wxPyEndAllowThreads(__tstate);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 }
25843 Py_INCREF(Py_None); resultobj = Py_None;
25844 return resultobj;
25845 fail:
25846 return NULL;
25847 }
25848
25849
25850 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25851 PyObject *resultobj;
25852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25853 unsigned int result;
25854 PyObject * obj0 = 0 ;
25855 char *kwnames[] = {
25856 (char *) "self", NULL
25857 };
25858
25859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25862 {
25863 PyThreadState* __tstate = wxPyBeginAllowThreads();
25864 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25865
25866 wxPyEndAllowThreads(__tstate);
25867 if (PyErr_Occurred()) SWIG_fail;
25868 }
25869 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
25870 return resultobj;
25871 fail:
25872 return NULL;
25873 }
25874
25875
25876 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25877 PyObject *resultobj;
25878 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25879 unsigned int arg2 ;
25880 PyObject * obj0 = 0 ;
25881 PyObject * obj1 = 0 ;
25882 char *kwnames[] = {
25883 (char *) "self",(char *) "spacing", NULL
25884 };
25885
25886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25889 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
25890 if (PyErr_Occurred()) SWIG_fail;
25891 {
25892 PyThreadState* __tstate = wxPyBeginAllowThreads();
25893 (arg1)->SetSpacing(arg2);
25894
25895 wxPyEndAllowThreads(__tstate);
25896 if (PyErr_Occurred()) SWIG_fail;
25897 }
25898 Py_INCREF(Py_None); resultobj = Py_None;
25899 return resultobj;
25900 fail:
25901 return NULL;
25902 }
25903
25904
25905 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25906 PyObject *resultobj;
25907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25908 wxImageList *result;
25909 PyObject * obj0 = 0 ;
25910 char *kwnames[] = {
25911 (char *) "self", NULL
25912 };
25913
25914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25917 {
25918 PyThreadState* __tstate = wxPyBeginAllowThreads();
25919 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25920
25921 wxPyEndAllowThreads(__tstate);
25922 if (PyErr_Occurred()) SWIG_fail;
25923 }
25924 {
25925 resultobj = wxPyMake_wxObject(result, 0);
25926 }
25927 return resultobj;
25928 fail:
25929 return NULL;
25930 }
25931
25932
25933 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25934 PyObject *resultobj;
25935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25936 wxImageList *result;
25937 PyObject * obj0 = 0 ;
25938 char *kwnames[] = {
25939 (char *) "self", NULL
25940 };
25941
25942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25945 {
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25948
25949 wxPyEndAllowThreads(__tstate);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 }
25952 {
25953 resultobj = wxPyMake_wxObject(result, 0);
25954 }
25955 return resultobj;
25956 fail:
25957 return NULL;
25958 }
25959
25960
25961 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25962 PyObject *resultobj;
25963 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25964 wxImageList *arg2 = (wxImageList *) 0 ;
25965 PyObject * obj0 = 0 ;
25966 PyObject * obj1 = 0 ;
25967 char *kwnames[] = {
25968 (char *) "self",(char *) "imageList", NULL
25969 };
25970
25971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25976 {
25977 PyThreadState* __tstate = wxPyBeginAllowThreads();
25978 (arg1)->SetImageList(arg2);
25979
25980 wxPyEndAllowThreads(__tstate);
25981 if (PyErr_Occurred()) SWIG_fail;
25982 }
25983 Py_INCREF(Py_None); resultobj = Py_None;
25984 return resultobj;
25985 fail:
25986 return NULL;
25987 }
25988
25989
25990 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25991 PyObject *resultobj;
25992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25993 wxImageList *arg2 = (wxImageList *) 0 ;
25994 PyObject * obj0 = 0 ;
25995 PyObject * obj1 = 0 ;
25996 char *kwnames[] = {
25997 (char *) "self",(char *) "imageList", NULL
25998 };
25999
26000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
26001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
26004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 (arg1)->SetStateImageList(arg2);
26008
26009 wxPyEndAllowThreads(__tstate);
26010 if (PyErr_Occurred()) SWIG_fail;
26011 }
26012 Py_INCREF(Py_None); resultobj = Py_None;
26013 return resultobj;
26014 fail:
26015 return NULL;
26016 }
26017
26018
26019 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26020 PyObject *resultobj;
26021 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26022 wxImageList *arg2 = (wxImageList *) 0 ;
26023 PyObject * obj0 = 0 ;
26024 PyObject * obj1 = 0 ;
26025 char *kwnames[] = {
26026 (char *) "self",(char *) "imageList", NULL
26027 };
26028
26029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
26030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
26033 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 (arg1)->AssignImageList(arg2);
26037
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 Py_INCREF(Py_None); resultobj = Py_None;
26042 return resultobj;
26043 fail:
26044 return NULL;
26045 }
26046
26047
26048 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26049 PyObject *resultobj;
26050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26051 wxImageList *arg2 = (wxImageList *) 0 ;
26052 PyObject * obj0 = 0 ;
26053 PyObject * obj1 = 0 ;
26054 char *kwnames[] = {
26055 (char *) "self",(char *) "imageList", NULL
26056 };
26057
26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
26059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
26062 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26063 {
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 (arg1)->AssignStateImageList(arg2);
26066
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 Py_INCREF(Py_None); resultobj = Py_None;
26071 return resultobj;
26072 fail:
26073 return NULL;
26074 }
26075
26076
26077 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
26078 PyObject *resultobj;
26079 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26080 wxTreeItemId *arg2 = 0 ;
26081 wxString result;
26082 PyObject * obj0 = 0 ;
26083 PyObject * obj1 = 0 ;
26084 char *kwnames[] = {
26085 (char *) "self",(char *) "item", NULL
26086 };
26087
26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
26089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26092 SWIG_POINTER_EXCEPTION | 0)) == -1)
26093 SWIG_fail;
26094 if (arg2 == NULL) {
26095 PyErr_SetString(PyExc_TypeError,"null reference");
26096 SWIG_fail;
26097 }
26098 {
26099 PyThreadState* __tstate = wxPyBeginAllowThreads();
26100 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
26101
26102 wxPyEndAllowThreads(__tstate);
26103 if (PyErr_Occurred()) SWIG_fail;
26104 }
26105 {
26106 #if wxUSE_UNICODE
26107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26108 #else
26109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26110 #endif
26111 }
26112 return resultobj;
26113 fail:
26114 return NULL;
26115 }
26116
26117
26118 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
26119 PyObject *resultobj;
26120 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26121 wxTreeItemId *arg2 = 0 ;
26122 int arg3 = (int) wxTreeItemIcon_Normal ;
26123 int result;
26124 PyObject * obj0 = 0 ;
26125 PyObject * obj1 = 0 ;
26126 PyObject * obj2 = 0 ;
26127 char *kwnames[] = {
26128 (char *) "self",(char *) "item",(char *) "which", NULL
26129 };
26130
26131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26135 SWIG_POINTER_EXCEPTION | 0)) == -1)
26136 SWIG_fail;
26137 if (arg2 == NULL) {
26138 PyErr_SetString(PyExc_TypeError,"null reference");
26139 SWIG_fail;
26140 }
26141 if (obj2) {
26142 arg3 = (int)SWIG_As_int(obj2);
26143 if (PyErr_Occurred()) SWIG_fail;
26144 }
26145 {
26146 PyThreadState* __tstate = wxPyBeginAllowThreads();
26147 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
26148
26149 wxPyEndAllowThreads(__tstate);
26150 if (PyErr_Occurred()) SWIG_fail;
26151 }
26152 resultobj = SWIG_From_int((int)result);
26153 return resultobj;
26154 fail:
26155 return NULL;
26156 }
26157
26158
26159 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26160 PyObject *resultobj;
26161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26162 wxTreeItemId *arg2 = 0 ;
26163 wxPyTreeItemData *result;
26164 PyObject * obj0 = 0 ;
26165 PyObject * obj1 = 0 ;
26166 char *kwnames[] = {
26167 (char *) "self",(char *) "item", NULL
26168 };
26169
26170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
26171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26174 SWIG_POINTER_EXCEPTION | 0)) == -1)
26175 SWIG_fail;
26176 if (arg2 == NULL) {
26177 PyErr_SetString(PyExc_TypeError,"null reference");
26178 SWIG_fail;
26179 }
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
26183
26184 wxPyEndAllowThreads(__tstate);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 }
26187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
26188 return resultobj;
26189 fail:
26190 return NULL;
26191 }
26192
26193
26194 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
26195 PyObject *resultobj;
26196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26197 wxTreeItemId *arg2 = 0 ;
26198 PyObject *result;
26199 PyObject * obj0 = 0 ;
26200 PyObject * obj1 = 0 ;
26201 char *kwnames[] = {
26202 (char *) "self",(char *) "item", NULL
26203 };
26204
26205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
26206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26209 SWIG_POINTER_EXCEPTION | 0)) == -1)
26210 SWIG_fail;
26211 if (arg2 == NULL) {
26212 PyErr_SetString(PyExc_TypeError,"null reference");
26213 SWIG_fail;
26214 }
26215 {
26216 PyThreadState* __tstate = wxPyBeginAllowThreads();
26217 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
26218
26219 wxPyEndAllowThreads(__tstate);
26220 if (PyErr_Occurred()) SWIG_fail;
26221 }
26222 resultobj = result;
26223 return resultobj;
26224 fail:
26225 return NULL;
26226 }
26227
26228
26229 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26230 PyObject *resultobj;
26231 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26232 wxTreeItemId *arg2 = 0 ;
26233 wxColour result;
26234 PyObject * obj0 = 0 ;
26235 PyObject * obj1 = 0 ;
26236 char *kwnames[] = {
26237 (char *) "self",(char *) "item", NULL
26238 };
26239
26240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26243 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26244 SWIG_POINTER_EXCEPTION | 0)) == -1)
26245 SWIG_fail;
26246 if (arg2 == NULL) {
26247 PyErr_SetString(PyExc_TypeError,"null reference");
26248 SWIG_fail;
26249 }
26250 {
26251 PyThreadState* __tstate = wxPyBeginAllowThreads();
26252 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
26253
26254 wxPyEndAllowThreads(__tstate);
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
26257 {
26258 wxColour * resultptr;
26259 resultptr = new wxColour((wxColour &) result);
26260 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26261 }
26262 return resultobj;
26263 fail:
26264 return NULL;
26265 }
26266
26267
26268 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26269 PyObject *resultobj;
26270 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26271 wxTreeItemId *arg2 = 0 ;
26272 wxColour result;
26273 PyObject * obj0 = 0 ;
26274 PyObject * obj1 = 0 ;
26275 char *kwnames[] = {
26276 (char *) "self",(char *) "item", NULL
26277 };
26278
26279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26283 SWIG_POINTER_EXCEPTION | 0)) == -1)
26284 SWIG_fail;
26285 if (arg2 == NULL) {
26286 PyErr_SetString(PyExc_TypeError,"null reference");
26287 SWIG_fail;
26288 }
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 {
26297 wxColour * resultptr;
26298 resultptr = new wxColour((wxColour &) result);
26299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26300 }
26301 return resultobj;
26302 fail:
26303 return NULL;
26304 }
26305
26306
26307 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26308 PyObject *resultobj;
26309 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26310 wxTreeItemId *arg2 = 0 ;
26311 wxFont result;
26312 PyObject * obj0 = 0 ;
26313 PyObject * obj1 = 0 ;
26314 char *kwnames[] = {
26315 (char *) "self",(char *) "item", NULL
26316 };
26317
26318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
26319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26322 SWIG_POINTER_EXCEPTION | 0)) == -1)
26323 SWIG_fail;
26324 if (arg2 == NULL) {
26325 PyErr_SetString(PyExc_TypeError,"null reference");
26326 SWIG_fail;
26327 }
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
26331
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 {
26336 wxFont * resultptr;
26337 resultptr = new wxFont((wxFont &) result);
26338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
26339 }
26340 return resultobj;
26341 fail:
26342 return NULL;
26343 }
26344
26345
26346 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
26347 PyObject *resultobj;
26348 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26349 wxTreeItemId *arg2 = 0 ;
26350 wxString *arg3 = 0 ;
26351 bool temp3 = false ;
26352 PyObject * obj0 = 0 ;
26353 PyObject * obj1 = 0 ;
26354 PyObject * obj2 = 0 ;
26355 char *kwnames[] = {
26356 (char *) "self",(char *) "item",(char *) "text", NULL
26357 };
26358
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
26360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26362 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26363 SWIG_POINTER_EXCEPTION | 0)) == -1)
26364 SWIG_fail;
26365 if (arg2 == NULL) {
26366 PyErr_SetString(PyExc_TypeError,"null reference");
26367 SWIG_fail;
26368 }
26369 {
26370 arg3 = wxString_in_helper(obj2);
26371 if (arg3 == NULL) SWIG_fail;
26372 temp3 = true;
26373 }
26374 {
26375 PyThreadState* __tstate = wxPyBeginAllowThreads();
26376 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
26377
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 Py_INCREF(Py_None); resultobj = Py_None;
26382 {
26383 if (temp3)
26384 delete arg3;
26385 }
26386 return resultobj;
26387 fail:
26388 {
26389 if (temp3)
26390 delete arg3;
26391 }
26392 return NULL;
26393 }
26394
26395
26396 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
26397 PyObject *resultobj;
26398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26399 wxTreeItemId *arg2 = 0 ;
26400 int arg3 ;
26401 int arg4 = (int) wxTreeItemIcon_Normal ;
26402 PyObject * obj0 = 0 ;
26403 PyObject * obj1 = 0 ;
26404 PyObject * obj2 = 0 ;
26405 PyObject * obj3 = 0 ;
26406 char *kwnames[] = {
26407 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26408 };
26409
26410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26414 SWIG_POINTER_EXCEPTION | 0)) == -1)
26415 SWIG_fail;
26416 if (arg2 == NULL) {
26417 PyErr_SetString(PyExc_TypeError,"null reference");
26418 SWIG_fail;
26419 }
26420 arg3 = (int)SWIG_As_int(obj2);
26421 if (PyErr_Occurred()) SWIG_fail;
26422 if (obj3) {
26423 arg4 = (int)SWIG_As_int(obj3);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 {
26427 PyThreadState* __tstate = wxPyBeginAllowThreads();
26428 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
26429
26430 wxPyEndAllowThreads(__tstate);
26431 if (PyErr_Occurred()) SWIG_fail;
26432 }
26433 Py_INCREF(Py_None); resultobj = Py_None;
26434 return resultobj;
26435 fail:
26436 return NULL;
26437 }
26438
26439
26440 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26441 PyObject *resultobj;
26442 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26443 wxTreeItemId *arg2 = 0 ;
26444 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
26445 PyObject * obj0 = 0 ;
26446 PyObject * obj1 = 0 ;
26447 PyObject * obj2 = 0 ;
26448 char *kwnames[] = {
26449 (char *) "self",(char *) "item",(char *) "data", NULL
26450 };
26451
26452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26456 SWIG_POINTER_EXCEPTION | 0)) == -1)
26457 SWIG_fail;
26458 if (arg2 == NULL) {
26459 PyErr_SetString(PyExc_TypeError,"null reference");
26460 SWIG_fail;
26461 }
26462 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
26463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26464 {
26465 PyThreadState* __tstate = wxPyBeginAllowThreads();
26466 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
26467
26468 wxPyEndAllowThreads(__tstate);
26469 if (PyErr_Occurred()) SWIG_fail;
26470 }
26471 Py_INCREF(Py_None); resultobj = Py_None;
26472 return resultobj;
26473 fail:
26474 return NULL;
26475 }
26476
26477
26478 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
26479 PyObject *resultobj;
26480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26481 wxTreeItemId *arg2 = 0 ;
26482 PyObject *arg3 = (PyObject *) 0 ;
26483 PyObject * obj0 = 0 ;
26484 PyObject * obj1 = 0 ;
26485 PyObject * obj2 = 0 ;
26486 char *kwnames[] = {
26487 (char *) "self",(char *) "item",(char *) "obj", NULL
26488 };
26489
26490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26494 SWIG_POINTER_EXCEPTION | 0)) == -1)
26495 SWIG_fail;
26496 if (arg2 == NULL) {
26497 PyErr_SetString(PyExc_TypeError,"null reference");
26498 SWIG_fail;
26499 }
26500 arg3 = obj2;
26501 {
26502 PyThreadState* __tstate = wxPyBeginAllowThreads();
26503 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
26504
26505 wxPyEndAllowThreads(__tstate);
26506 if (PyErr_Occurred()) SWIG_fail;
26507 }
26508 Py_INCREF(Py_None); resultobj = Py_None;
26509 return resultobj;
26510 fail:
26511 return NULL;
26512 }
26513
26514
26515 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26516 PyObject *resultobj;
26517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26518 wxTreeItemId *arg2 = 0 ;
26519 bool arg3 = (bool) true ;
26520 PyObject * obj0 = 0 ;
26521 PyObject * obj1 = 0 ;
26522 PyObject * obj2 = 0 ;
26523 char *kwnames[] = {
26524 (char *) "self",(char *) "item",(char *) "has", NULL
26525 };
26526
26527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
26528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26531 SWIG_POINTER_EXCEPTION | 0)) == -1)
26532 SWIG_fail;
26533 if (arg2 == NULL) {
26534 PyErr_SetString(PyExc_TypeError,"null reference");
26535 SWIG_fail;
26536 }
26537 if (obj2) {
26538 arg3 = (bool)SWIG_As_bool(obj2);
26539 if (PyErr_Occurred()) SWIG_fail;
26540 }
26541 {
26542 PyThreadState* __tstate = wxPyBeginAllowThreads();
26543 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26544
26545 wxPyEndAllowThreads(__tstate);
26546 if (PyErr_Occurred()) SWIG_fail;
26547 }
26548 Py_INCREF(Py_None); resultobj = Py_None;
26549 return resultobj;
26550 fail:
26551 return NULL;
26552 }
26553
26554
26555 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
26556 PyObject *resultobj;
26557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26558 wxTreeItemId *arg2 = 0 ;
26559 bool arg3 = (bool) true ;
26560 PyObject * obj0 = 0 ;
26561 PyObject * obj1 = 0 ;
26562 PyObject * obj2 = 0 ;
26563 char *kwnames[] = {
26564 (char *) "self",(char *) "item",(char *) "bold", NULL
26565 };
26566
26567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
26568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26571 SWIG_POINTER_EXCEPTION | 0)) == -1)
26572 SWIG_fail;
26573 if (arg2 == NULL) {
26574 PyErr_SetString(PyExc_TypeError,"null reference");
26575 SWIG_fail;
26576 }
26577 if (obj2) {
26578 arg3 = (bool)SWIG_As_bool(obj2);
26579 if (PyErr_Occurred()) SWIG_fail;
26580 }
26581 {
26582 PyThreadState* __tstate = wxPyBeginAllowThreads();
26583 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26584
26585 wxPyEndAllowThreads(__tstate);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 }
26588 Py_INCREF(Py_None); resultobj = Py_None;
26589 return resultobj;
26590 fail:
26591 return NULL;
26592 }
26593
26594
26595 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
26596 PyObject *resultobj;
26597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26598 wxTreeItemId *arg2 = 0 ;
26599 bool arg3 = (bool) true ;
26600 PyObject * obj0 = 0 ;
26601 PyObject * obj1 = 0 ;
26602 PyObject * obj2 = 0 ;
26603 char *kwnames[] = {
26604 (char *) "self",(char *) "item",(char *) "highlight", NULL
26605 };
26606
26607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
26608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26611 SWIG_POINTER_EXCEPTION | 0)) == -1)
26612 SWIG_fail;
26613 if (arg2 == NULL) {
26614 PyErr_SetString(PyExc_TypeError,"null reference");
26615 SWIG_fail;
26616 }
26617 if (obj2) {
26618 arg3 = (bool)SWIG_As_bool(obj2);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 {
26622 PyThreadState* __tstate = wxPyBeginAllowThreads();
26623 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
26624
26625 wxPyEndAllowThreads(__tstate);
26626 if (PyErr_Occurred()) SWIG_fail;
26627 }
26628 Py_INCREF(Py_None); resultobj = Py_None;
26629 return resultobj;
26630 fail:
26631 return NULL;
26632 }
26633
26634
26635 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26636 PyObject *resultobj;
26637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26638 wxTreeItemId *arg2 = 0 ;
26639 wxColour *arg3 = 0 ;
26640 wxColour temp3 ;
26641 PyObject * obj0 = 0 ;
26642 PyObject * obj1 = 0 ;
26643 PyObject * obj2 = 0 ;
26644 char *kwnames[] = {
26645 (char *) "self",(char *) "item",(char *) "col", NULL
26646 };
26647
26648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26652 SWIG_POINTER_EXCEPTION | 0)) == -1)
26653 SWIG_fail;
26654 if (arg2 == NULL) {
26655 PyErr_SetString(PyExc_TypeError,"null reference");
26656 SWIG_fail;
26657 }
26658 {
26659 arg3 = &temp3;
26660 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26661 }
26662 {
26663 PyThreadState* __tstate = wxPyBeginAllowThreads();
26664 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26665
26666 wxPyEndAllowThreads(__tstate);
26667 if (PyErr_Occurred()) SWIG_fail;
26668 }
26669 Py_INCREF(Py_None); resultobj = Py_None;
26670 return resultobj;
26671 fail:
26672 return NULL;
26673 }
26674
26675
26676 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26677 PyObject *resultobj;
26678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26679 wxTreeItemId *arg2 = 0 ;
26680 wxColour *arg3 = 0 ;
26681 wxColour temp3 ;
26682 PyObject * obj0 = 0 ;
26683 PyObject * obj1 = 0 ;
26684 PyObject * obj2 = 0 ;
26685 char *kwnames[] = {
26686 (char *) "self",(char *) "item",(char *) "col", NULL
26687 };
26688
26689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26693 SWIG_POINTER_EXCEPTION | 0)) == -1)
26694 SWIG_fail;
26695 if (arg2 == NULL) {
26696 PyErr_SetString(PyExc_TypeError,"null reference");
26697 SWIG_fail;
26698 }
26699 {
26700 arg3 = &temp3;
26701 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26702 }
26703 {
26704 PyThreadState* __tstate = wxPyBeginAllowThreads();
26705 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26706
26707 wxPyEndAllowThreads(__tstate);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 }
26710 Py_INCREF(Py_None); resultobj = Py_None;
26711 return resultobj;
26712 fail:
26713 return NULL;
26714 }
26715
26716
26717 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26718 PyObject *resultobj;
26719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26720 wxTreeItemId *arg2 = 0 ;
26721 wxFont *arg3 = 0 ;
26722 PyObject * obj0 = 0 ;
26723 PyObject * obj1 = 0 ;
26724 PyObject * obj2 = 0 ;
26725 char *kwnames[] = {
26726 (char *) "self",(char *) "item",(char *) "font", NULL
26727 };
26728
26729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26733 SWIG_POINTER_EXCEPTION | 0)) == -1)
26734 SWIG_fail;
26735 if (arg2 == NULL) {
26736 PyErr_SetString(PyExc_TypeError,"null reference");
26737 SWIG_fail;
26738 }
26739 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26740 SWIG_POINTER_EXCEPTION | 0)) == -1)
26741 SWIG_fail;
26742 if (arg3 == NULL) {
26743 PyErr_SetString(PyExc_TypeError,"null reference");
26744 SWIG_fail;
26745 }
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26749
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
26753 Py_INCREF(Py_None); resultobj = Py_None;
26754 return resultobj;
26755 fail:
26756 return NULL;
26757 }
26758
26759
26760 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26761 PyObject *resultobj;
26762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26763 wxTreeItemId *arg2 = 0 ;
26764 bool result;
26765 PyObject * obj0 = 0 ;
26766 PyObject * obj1 = 0 ;
26767 char *kwnames[] = {
26768 (char *) "self",(char *) "item", NULL
26769 };
26770
26771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26775 SWIG_POINTER_EXCEPTION | 0)) == -1)
26776 SWIG_fail;
26777 if (arg2 == NULL) {
26778 PyErr_SetString(PyExc_TypeError,"null reference");
26779 SWIG_fail;
26780 }
26781 {
26782 PyThreadState* __tstate = wxPyBeginAllowThreads();
26783 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26784
26785 wxPyEndAllowThreads(__tstate);
26786 if (PyErr_Occurred()) SWIG_fail;
26787 }
26788 {
26789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26790 }
26791 return resultobj;
26792 fail:
26793 return NULL;
26794 }
26795
26796
26797 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26798 PyObject *resultobj;
26799 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26800 wxTreeItemId *arg2 = 0 ;
26801 bool result;
26802 PyObject * obj0 = 0 ;
26803 PyObject * obj1 = 0 ;
26804 char *kwnames[] = {
26805 (char *) "self",(char *) "item", NULL
26806 };
26807
26808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26812 SWIG_POINTER_EXCEPTION | 0)) == -1)
26813 SWIG_fail;
26814 if (arg2 == NULL) {
26815 PyErr_SetString(PyExc_TypeError,"null reference");
26816 SWIG_fail;
26817 }
26818 {
26819 PyThreadState* __tstate = wxPyBeginAllowThreads();
26820 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26821
26822 wxPyEndAllowThreads(__tstate);
26823 if (PyErr_Occurred()) SWIG_fail;
26824 }
26825 {
26826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26827 }
26828 return resultobj;
26829 fail:
26830 return NULL;
26831 }
26832
26833
26834 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
26835 PyObject *resultobj;
26836 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26837 wxTreeItemId *arg2 = 0 ;
26838 bool result;
26839 PyObject * obj0 = 0 ;
26840 PyObject * obj1 = 0 ;
26841 char *kwnames[] = {
26842 (char *) "self",(char *) "item", NULL
26843 };
26844
26845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26849 SWIG_POINTER_EXCEPTION | 0)) == -1)
26850 SWIG_fail;
26851 if (arg2 == NULL) {
26852 PyErr_SetString(PyExc_TypeError,"null reference");
26853 SWIG_fail;
26854 }
26855 {
26856 PyThreadState* __tstate = wxPyBeginAllowThreads();
26857 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26858
26859 wxPyEndAllowThreads(__tstate);
26860 if (PyErr_Occurred()) SWIG_fail;
26861 }
26862 {
26863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26864 }
26865 return resultobj;
26866 fail:
26867 return NULL;
26868 }
26869
26870
26871 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26872 PyObject *resultobj;
26873 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26874 wxTreeItemId *arg2 = 0 ;
26875 bool result;
26876 PyObject * obj0 = 0 ;
26877 PyObject * obj1 = 0 ;
26878 char *kwnames[] = {
26879 (char *) "self",(char *) "item", NULL
26880 };
26881
26882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26886 SWIG_POINTER_EXCEPTION | 0)) == -1)
26887 SWIG_fail;
26888 if (arg2 == NULL) {
26889 PyErr_SetString(PyExc_TypeError,"null reference");
26890 SWIG_fail;
26891 }
26892 {
26893 PyThreadState* __tstate = wxPyBeginAllowThreads();
26894 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26895
26896 wxPyEndAllowThreads(__tstate);
26897 if (PyErr_Occurred()) SWIG_fail;
26898 }
26899 {
26900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26901 }
26902 return resultobj;
26903 fail:
26904 return NULL;
26905 }
26906
26907
26908 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
26909 PyObject *resultobj;
26910 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26911 wxTreeItemId *arg2 = 0 ;
26912 bool result;
26913 PyObject * obj0 = 0 ;
26914 PyObject * obj1 = 0 ;
26915 char *kwnames[] = {
26916 (char *) "self",(char *) "item", NULL
26917 };
26918
26919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26923 SWIG_POINTER_EXCEPTION | 0)) == -1)
26924 SWIG_fail;
26925 if (arg2 == NULL) {
26926 PyErr_SetString(PyExc_TypeError,"null reference");
26927 SWIG_fail;
26928 }
26929 {
26930 PyThreadState* __tstate = wxPyBeginAllowThreads();
26931 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26932
26933 wxPyEndAllowThreads(__tstate);
26934 if (PyErr_Occurred()) SWIG_fail;
26935 }
26936 {
26937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26938 }
26939 return resultobj;
26940 fail:
26941 return NULL;
26942 }
26943
26944
26945 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
26946 PyObject *resultobj;
26947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26948 wxTreeItemId *arg2 = 0 ;
26949 bool arg3 = (bool) true ;
26950 size_t result;
26951 PyObject * obj0 = 0 ;
26952 PyObject * obj1 = 0 ;
26953 PyObject * obj2 = 0 ;
26954 char *kwnames[] = {
26955 (char *) "self",(char *) "item",(char *) "recursively", NULL
26956 };
26957
26958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26962 SWIG_POINTER_EXCEPTION | 0)) == -1)
26963 SWIG_fail;
26964 if (arg2 == NULL) {
26965 PyErr_SetString(PyExc_TypeError,"null reference");
26966 SWIG_fail;
26967 }
26968 if (obj2) {
26969 arg3 = (bool)SWIG_As_bool(obj2);
26970 if (PyErr_Occurred()) SWIG_fail;
26971 }
26972 {
26973 PyThreadState* __tstate = wxPyBeginAllowThreads();
26974 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26975
26976 wxPyEndAllowThreads(__tstate);
26977 if (PyErr_Occurred()) SWIG_fail;
26978 }
26979 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
26980 return resultobj;
26981 fail:
26982 return NULL;
26983 }
26984
26985
26986 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
26987 PyObject *resultobj;
26988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26989 wxTreeItemId result;
26990 PyObject * obj0 = 0 ;
26991 char *kwnames[] = {
26992 (char *) "self", NULL
26993 };
26994
26995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26998 {
26999 PyThreadState* __tstate = wxPyBeginAllowThreads();
27000 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
27001
27002 wxPyEndAllowThreads(__tstate);
27003 if (PyErr_Occurred()) SWIG_fail;
27004 }
27005 {
27006 wxTreeItemId * resultptr;
27007 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27009 }
27010 return resultobj;
27011 fail:
27012 return NULL;
27013 }
27014
27015
27016 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
27017 PyObject *resultobj;
27018 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27019 wxTreeItemId result;
27020 PyObject * obj0 = 0 ;
27021 char *kwnames[] = {
27022 (char *) "self", NULL
27023 };
27024
27025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
27026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27028 {
27029 PyThreadState* __tstate = wxPyBeginAllowThreads();
27030 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
27031
27032 wxPyEndAllowThreads(__tstate);
27033 if (PyErr_Occurred()) SWIG_fail;
27034 }
27035 {
27036 wxTreeItemId * resultptr;
27037 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27038 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27039 }
27040 return resultobj;
27041 fail:
27042 return NULL;
27043 }
27044
27045
27046 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
27047 PyObject *resultobj;
27048 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27049 PyObject *result;
27050 PyObject * obj0 = 0 ;
27051 char *kwnames[] = {
27052 (char *) "self", NULL
27053 };
27054
27055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
27056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27058 {
27059 PyThreadState* __tstate = wxPyBeginAllowThreads();
27060 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
27061
27062 wxPyEndAllowThreads(__tstate);
27063 if (PyErr_Occurred()) SWIG_fail;
27064 }
27065 resultobj = result;
27066 return resultobj;
27067 fail:
27068 return NULL;
27069 }
27070
27071
27072 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
27073 PyObject *resultobj;
27074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27075 wxTreeItemId *arg2 = 0 ;
27076 wxTreeItemId result;
27077 PyObject * obj0 = 0 ;
27078 PyObject * obj1 = 0 ;
27079 char *kwnames[] = {
27080 (char *) "self",(char *) "item", NULL
27081 };
27082
27083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
27084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27087 SWIG_POINTER_EXCEPTION | 0)) == -1)
27088 SWIG_fail;
27089 if (arg2 == NULL) {
27090 PyErr_SetString(PyExc_TypeError,"null reference");
27091 SWIG_fail;
27092 }
27093 {
27094 PyThreadState* __tstate = wxPyBeginAllowThreads();
27095 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
27096
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 {
27101 wxTreeItemId * resultptr;
27102 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27104 }
27105 return resultobj;
27106 fail:
27107 return NULL;
27108 }
27109
27110
27111 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
27112 PyObject *resultobj;
27113 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27114 wxTreeItemId *arg2 = 0 ;
27115 PyObject *result;
27116 PyObject * obj0 = 0 ;
27117 PyObject * obj1 = 0 ;
27118 char *kwnames[] = {
27119 (char *) "self",(char *) "item", NULL
27120 };
27121
27122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
27123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27126 SWIG_POINTER_EXCEPTION | 0)) == -1)
27127 SWIG_fail;
27128 if (arg2 == NULL) {
27129 PyErr_SetString(PyExc_TypeError,"null reference");
27130 SWIG_fail;
27131 }
27132 {
27133 PyThreadState* __tstate = wxPyBeginAllowThreads();
27134 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
27135
27136 wxPyEndAllowThreads(__tstate);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
27139 resultobj = result;
27140 return resultobj;
27141 fail:
27142 return NULL;
27143 }
27144
27145
27146 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
27147 PyObject *resultobj;
27148 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27149 wxTreeItemId *arg2 = 0 ;
27150 void *arg3 = (void *) 0 ;
27151 PyObject *result;
27152 PyObject * obj0 = 0 ;
27153 PyObject * obj1 = 0 ;
27154 PyObject * obj2 = 0 ;
27155 char *kwnames[] = {
27156 (char *) "self",(char *) "item",(char *) "cookie", NULL
27157 };
27158
27159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27163 SWIG_POINTER_EXCEPTION | 0)) == -1)
27164 SWIG_fail;
27165 if (arg2 == NULL) {
27166 PyErr_SetString(PyExc_TypeError,"null reference");
27167 SWIG_fail;
27168 }
27169 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27170 {
27171 PyThreadState* __tstate = wxPyBeginAllowThreads();
27172 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
27173
27174 wxPyEndAllowThreads(__tstate);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 }
27177 resultobj = result;
27178 return resultobj;
27179 fail:
27180 return NULL;
27181 }
27182
27183
27184 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
27185 PyObject *resultobj;
27186 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27187 wxTreeItemId *arg2 = 0 ;
27188 wxTreeItemId result;
27189 PyObject * obj0 = 0 ;
27190 PyObject * obj1 = 0 ;
27191 char *kwnames[] = {
27192 (char *) "self",(char *) "item", NULL
27193 };
27194
27195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
27196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27199 SWIG_POINTER_EXCEPTION | 0)) == -1)
27200 SWIG_fail;
27201 if (arg2 == NULL) {
27202 PyErr_SetString(PyExc_TypeError,"null reference");
27203 SWIG_fail;
27204 }
27205 {
27206 PyThreadState* __tstate = wxPyBeginAllowThreads();
27207 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
27208
27209 wxPyEndAllowThreads(__tstate);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
27212 {
27213 wxTreeItemId * resultptr;
27214 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27216 }
27217 return resultobj;
27218 fail:
27219 return NULL;
27220 }
27221
27222
27223 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj;
27225 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27226 wxTreeItemId *arg2 = 0 ;
27227 wxTreeItemId result;
27228 PyObject * obj0 = 0 ;
27229 PyObject * obj1 = 0 ;
27230 char *kwnames[] = {
27231 (char *) "self",(char *) "item", NULL
27232 };
27233
27234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
27235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27237 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27238 SWIG_POINTER_EXCEPTION | 0)) == -1)
27239 SWIG_fail;
27240 if (arg2 == NULL) {
27241 PyErr_SetString(PyExc_TypeError,"null reference");
27242 SWIG_fail;
27243 }
27244 {
27245 PyThreadState* __tstate = wxPyBeginAllowThreads();
27246 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
27247
27248 wxPyEndAllowThreads(__tstate);
27249 if (PyErr_Occurred()) SWIG_fail;
27250 }
27251 {
27252 wxTreeItemId * resultptr;
27253 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27255 }
27256 return resultobj;
27257 fail:
27258 return NULL;
27259 }
27260
27261
27262 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
27263 PyObject *resultobj;
27264 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27265 wxTreeItemId *arg2 = 0 ;
27266 wxTreeItemId result;
27267 PyObject * obj0 = 0 ;
27268 PyObject * obj1 = 0 ;
27269 char *kwnames[] = {
27270 (char *) "self",(char *) "item", NULL
27271 };
27272
27273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
27274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27277 SWIG_POINTER_EXCEPTION | 0)) == -1)
27278 SWIG_fail;
27279 if (arg2 == NULL) {
27280 PyErr_SetString(PyExc_TypeError,"null reference");
27281 SWIG_fail;
27282 }
27283 {
27284 PyThreadState* __tstate = wxPyBeginAllowThreads();
27285 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
27286
27287 wxPyEndAllowThreads(__tstate);
27288 if (PyErr_Occurred()) SWIG_fail;
27289 }
27290 {
27291 wxTreeItemId * resultptr;
27292 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27294 }
27295 return resultobj;
27296 fail:
27297 return NULL;
27298 }
27299
27300
27301 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
27302 PyObject *resultobj;
27303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27304 wxTreeItemId result;
27305 PyObject * obj0 = 0 ;
27306 char *kwnames[] = {
27307 (char *) "self", NULL
27308 };
27309
27310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
27311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
27316
27317 wxPyEndAllowThreads(__tstate);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 {
27321 wxTreeItemId * resultptr;
27322 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27324 }
27325 return resultobj;
27326 fail:
27327 return NULL;
27328 }
27329
27330
27331 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
27332 PyObject *resultobj;
27333 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27334 wxTreeItemId *arg2 = 0 ;
27335 wxTreeItemId result;
27336 PyObject * obj0 = 0 ;
27337 PyObject * obj1 = 0 ;
27338 char *kwnames[] = {
27339 (char *) "self",(char *) "item", NULL
27340 };
27341
27342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
27343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27346 SWIG_POINTER_EXCEPTION | 0)) == -1)
27347 SWIG_fail;
27348 if (arg2 == NULL) {
27349 PyErr_SetString(PyExc_TypeError,"null reference");
27350 SWIG_fail;
27351 }
27352 {
27353 PyThreadState* __tstate = wxPyBeginAllowThreads();
27354 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
27355
27356 wxPyEndAllowThreads(__tstate);
27357 if (PyErr_Occurred()) SWIG_fail;
27358 }
27359 {
27360 wxTreeItemId * resultptr;
27361 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27363 }
27364 return resultobj;
27365 fail:
27366 return NULL;
27367 }
27368
27369
27370 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
27371 PyObject *resultobj;
27372 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27373 wxTreeItemId *arg2 = 0 ;
27374 wxTreeItemId result;
27375 PyObject * obj0 = 0 ;
27376 PyObject * obj1 = 0 ;
27377 char *kwnames[] = {
27378 (char *) "self",(char *) "item", NULL
27379 };
27380
27381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
27382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27385 SWIG_POINTER_EXCEPTION | 0)) == -1)
27386 SWIG_fail;
27387 if (arg2 == NULL) {
27388 PyErr_SetString(PyExc_TypeError,"null reference");
27389 SWIG_fail;
27390 }
27391 {
27392 PyThreadState* __tstate = wxPyBeginAllowThreads();
27393 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
27394
27395 wxPyEndAllowThreads(__tstate);
27396 if (PyErr_Occurred()) SWIG_fail;
27397 }
27398 {
27399 wxTreeItemId * resultptr;
27400 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27402 }
27403 return resultobj;
27404 fail:
27405 return NULL;
27406 }
27407
27408
27409 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
27410 PyObject *resultobj;
27411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27412 wxString *arg2 = 0 ;
27413 int arg3 = (int) -1 ;
27414 int arg4 = (int) -1 ;
27415 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
27416 wxTreeItemId result;
27417 bool temp2 = false ;
27418 PyObject * obj0 = 0 ;
27419 PyObject * obj1 = 0 ;
27420 PyObject * obj2 = 0 ;
27421 PyObject * obj3 = 0 ;
27422 PyObject * obj4 = 0 ;
27423 char *kwnames[] = {
27424 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27425 };
27426
27427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27430 {
27431 arg2 = wxString_in_helper(obj1);
27432 if (arg2 == NULL) SWIG_fail;
27433 temp2 = true;
27434 }
27435 if (obj2) {
27436 arg3 = (int)SWIG_As_int(obj2);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 }
27439 if (obj3) {
27440 arg4 = (int)SWIG_As_int(obj3);
27441 if (PyErr_Occurred()) SWIG_fail;
27442 }
27443 if (obj4) {
27444 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
27445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27446 }
27447 {
27448 PyThreadState* __tstate = wxPyBeginAllowThreads();
27449 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
27450
27451 wxPyEndAllowThreads(__tstate);
27452 if (PyErr_Occurred()) SWIG_fail;
27453 }
27454 {
27455 wxTreeItemId * resultptr;
27456 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27458 }
27459 {
27460 if (temp2)
27461 delete arg2;
27462 }
27463 return resultobj;
27464 fail:
27465 {
27466 if (temp2)
27467 delete arg2;
27468 }
27469 return NULL;
27470 }
27471
27472
27473 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
27474 PyObject *resultobj;
27475 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27476 wxTreeItemId *arg2 = 0 ;
27477 wxString *arg3 = 0 ;
27478 int arg4 = (int) -1 ;
27479 int arg5 = (int) -1 ;
27480 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27481 wxTreeItemId result;
27482 bool temp3 = false ;
27483 PyObject * obj0 = 0 ;
27484 PyObject * obj1 = 0 ;
27485 PyObject * obj2 = 0 ;
27486 PyObject * obj3 = 0 ;
27487 PyObject * obj4 = 0 ;
27488 PyObject * obj5 = 0 ;
27489 char *kwnames[] = {
27490 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27491 };
27492
27493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27497 SWIG_POINTER_EXCEPTION | 0)) == -1)
27498 SWIG_fail;
27499 if (arg2 == NULL) {
27500 PyErr_SetString(PyExc_TypeError,"null reference");
27501 SWIG_fail;
27502 }
27503 {
27504 arg3 = wxString_in_helper(obj2);
27505 if (arg3 == NULL) SWIG_fail;
27506 temp3 = true;
27507 }
27508 if (obj3) {
27509 arg4 = (int)SWIG_As_int(obj3);
27510 if (PyErr_Occurred()) SWIG_fail;
27511 }
27512 if (obj4) {
27513 arg5 = (int)SWIG_As_int(obj4);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 if (obj5) {
27517 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27519 }
27520 {
27521 PyThreadState* __tstate = wxPyBeginAllowThreads();
27522 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27523
27524 wxPyEndAllowThreads(__tstate);
27525 if (PyErr_Occurred()) SWIG_fail;
27526 }
27527 {
27528 wxTreeItemId * resultptr;
27529 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27531 }
27532 {
27533 if (temp3)
27534 delete arg3;
27535 }
27536 return resultobj;
27537 fail:
27538 {
27539 if (temp3)
27540 delete arg3;
27541 }
27542 return NULL;
27543 }
27544
27545
27546 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
27547 PyObject *resultobj;
27548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27549 wxTreeItemId *arg2 = 0 ;
27550 wxTreeItemId *arg3 = 0 ;
27551 wxString *arg4 = 0 ;
27552 int arg5 = (int) -1 ;
27553 int arg6 = (int) -1 ;
27554 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27555 wxTreeItemId result;
27556 bool temp4 = false ;
27557 PyObject * obj0 = 0 ;
27558 PyObject * obj1 = 0 ;
27559 PyObject * obj2 = 0 ;
27560 PyObject * obj3 = 0 ;
27561 PyObject * obj4 = 0 ;
27562 PyObject * obj5 = 0 ;
27563 PyObject * obj6 = 0 ;
27564 char *kwnames[] = {
27565 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27566 };
27567
27568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27572 SWIG_POINTER_EXCEPTION | 0)) == -1)
27573 SWIG_fail;
27574 if (arg2 == NULL) {
27575 PyErr_SetString(PyExc_TypeError,"null reference");
27576 SWIG_fail;
27577 }
27578 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27579 SWIG_POINTER_EXCEPTION | 0)) == -1)
27580 SWIG_fail;
27581 if (arg3 == NULL) {
27582 PyErr_SetString(PyExc_TypeError,"null reference");
27583 SWIG_fail;
27584 }
27585 {
27586 arg4 = wxString_in_helper(obj3);
27587 if (arg4 == NULL) SWIG_fail;
27588 temp4 = true;
27589 }
27590 if (obj4) {
27591 arg5 = (int)SWIG_As_int(obj4);
27592 if (PyErr_Occurred()) SWIG_fail;
27593 }
27594 if (obj5) {
27595 arg6 = (int)SWIG_As_int(obj5);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 if (obj6) {
27599 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27601 }
27602 {
27603 PyThreadState* __tstate = wxPyBeginAllowThreads();
27604 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27605
27606 wxPyEndAllowThreads(__tstate);
27607 if (PyErr_Occurred()) SWIG_fail;
27608 }
27609 {
27610 wxTreeItemId * resultptr;
27611 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27613 }
27614 {
27615 if (temp4)
27616 delete arg4;
27617 }
27618 return resultobj;
27619 fail:
27620 {
27621 if (temp4)
27622 delete arg4;
27623 }
27624 return NULL;
27625 }
27626
27627
27628 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
27629 PyObject *resultobj;
27630 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27631 wxTreeItemId *arg2 = 0 ;
27632 size_t arg3 ;
27633 wxString *arg4 = 0 ;
27634 int arg5 = (int) -1 ;
27635 int arg6 = (int) -1 ;
27636 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27637 wxTreeItemId result;
27638 bool temp4 = false ;
27639 PyObject * obj0 = 0 ;
27640 PyObject * obj1 = 0 ;
27641 PyObject * obj2 = 0 ;
27642 PyObject * obj3 = 0 ;
27643 PyObject * obj4 = 0 ;
27644 PyObject * obj5 = 0 ;
27645 PyObject * obj6 = 0 ;
27646 char *kwnames[] = {
27647 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27648 };
27649
27650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27654 SWIG_POINTER_EXCEPTION | 0)) == -1)
27655 SWIG_fail;
27656 if (arg2 == NULL) {
27657 PyErr_SetString(PyExc_TypeError,"null reference");
27658 SWIG_fail;
27659 }
27660 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
27661 if (PyErr_Occurred()) SWIG_fail;
27662 {
27663 arg4 = wxString_in_helper(obj3);
27664 if (arg4 == NULL) SWIG_fail;
27665 temp4 = true;
27666 }
27667 if (obj4) {
27668 arg5 = (int)SWIG_As_int(obj4);
27669 if (PyErr_Occurred()) SWIG_fail;
27670 }
27671 if (obj5) {
27672 arg6 = (int)SWIG_As_int(obj5);
27673 if (PyErr_Occurred()) SWIG_fail;
27674 }
27675 if (obj6) {
27676 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27678 }
27679 {
27680 PyThreadState* __tstate = wxPyBeginAllowThreads();
27681 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27682
27683 wxPyEndAllowThreads(__tstate);
27684 if (PyErr_Occurred()) SWIG_fail;
27685 }
27686 {
27687 wxTreeItemId * resultptr;
27688 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27690 }
27691 {
27692 if (temp4)
27693 delete arg4;
27694 }
27695 return resultobj;
27696 fail:
27697 {
27698 if (temp4)
27699 delete arg4;
27700 }
27701 return NULL;
27702 }
27703
27704
27705 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
27706 PyObject *resultobj;
27707 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27708 wxTreeItemId *arg2 = 0 ;
27709 wxString *arg3 = 0 ;
27710 int arg4 = (int) -1 ;
27711 int arg5 = (int) -1 ;
27712 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27713 wxTreeItemId result;
27714 bool temp3 = false ;
27715 PyObject * obj0 = 0 ;
27716 PyObject * obj1 = 0 ;
27717 PyObject * obj2 = 0 ;
27718 PyObject * obj3 = 0 ;
27719 PyObject * obj4 = 0 ;
27720 PyObject * obj5 = 0 ;
27721 char *kwnames[] = {
27722 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27723 };
27724
27725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27729 SWIG_POINTER_EXCEPTION | 0)) == -1)
27730 SWIG_fail;
27731 if (arg2 == NULL) {
27732 PyErr_SetString(PyExc_TypeError,"null reference");
27733 SWIG_fail;
27734 }
27735 {
27736 arg3 = wxString_in_helper(obj2);
27737 if (arg3 == NULL) SWIG_fail;
27738 temp3 = true;
27739 }
27740 if (obj3) {
27741 arg4 = (int)SWIG_As_int(obj3);
27742 if (PyErr_Occurred()) SWIG_fail;
27743 }
27744 if (obj4) {
27745 arg5 = (int)SWIG_As_int(obj4);
27746 if (PyErr_Occurred()) SWIG_fail;
27747 }
27748 if (obj5) {
27749 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27751 }
27752 {
27753 PyThreadState* __tstate = wxPyBeginAllowThreads();
27754 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27755
27756 wxPyEndAllowThreads(__tstate);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 }
27759 {
27760 wxTreeItemId * resultptr;
27761 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27763 }
27764 {
27765 if (temp3)
27766 delete arg3;
27767 }
27768 return resultobj;
27769 fail:
27770 {
27771 if (temp3)
27772 delete arg3;
27773 }
27774 return NULL;
27775 }
27776
27777
27778 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
27779 PyObject *resultobj;
27780 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27781 wxTreeItemId *arg2 = 0 ;
27782 PyObject * obj0 = 0 ;
27783 PyObject * obj1 = 0 ;
27784 char *kwnames[] = {
27785 (char *) "self",(char *) "item", NULL
27786 };
27787
27788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27792 SWIG_POINTER_EXCEPTION | 0)) == -1)
27793 SWIG_fail;
27794 if (arg2 == NULL) {
27795 PyErr_SetString(PyExc_TypeError,"null reference");
27796 SWIG_fail;
27797 }
27798 {
27799 PyThreadState* __tstate = wxPyBeginAllowThreads();
27800 (arg1)->Delete((wxTreeItemId const &)*arg2);
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 Py_INCREF(Py_None); resultobj = Py_None;
27806 return resultobj;
27807 fail:
27808 return NULL;
27809 }
27810
27811
27812 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
27813 PyObject *resultobj;
27814 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27815 wxTreeItemId *arg2 = 0 ;
27816 PyObject * obj0 = 0 ;
27817 PyObject * obj1 = 0 ;
27818 char *kwnames[] = {
27819 (char *) "self",(char *) "item", NULL
27820 };
27821
27822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27826 SWIG_POINTER_EXCEPTION | 0)) == -1)
27827 SWIG_fail;
27828 if (arg2 == NULL) {
27829 PyErr_SetString(PyExc_TypeError,"null reference");
27830 SWIG_fail;
27831 }
27832 {
27833 PyThreadState* __tstate = wxPyBeginAllowThreads();
27834 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27835
27836 wxPyEndAllowThreads(__tstate);
27837 if (PyErr_Occurred()) SWIG_fail;
27838 }
27839 Py_INCREF(Py_None); resultobj = Py_None;
27840 return resultobj;
27841 fail:
27842 return NULL;
27843 }
27844
27845
27846 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
27847 PyObject *resultobj;
27848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27849 PyObject * obj0 = 0 ;
27850 char *kwnames[] = {
27851 (char *) "self", NULL
27852 };
27853
27854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27857 {
27858 PyThreadState* __tstate = wxPyBeginAllowThreads();
27859 (arg1)->DeleteAllItems();
27860
27861 wxPyEndAllowThreads(__tstate);
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 Py_INCREF(Py_None); resultobj = Py_None;
27865 return resultobj;
27866 fail:
27867 return NULL;
27868 }
27869
27870
27871 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
27872 PyObject *resultobj;
27873 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27874 wxTreeItemId *arg2 = 0 ;
27875 PyObject * obj0 = 0 ;
27876 PyObject * obj1 = 0 ;
27877 char *kwnames[] = {
27878 (char *) "self",(char *) "item", NULL
27879 };
27880
27881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27885 SWIG_POINTER_EXCEPTION | 0)) == -1)
27886 SWIG_fail;
27887 if (arg2 == NULL) {
27888 PyErr_SetString(PyExc_TypeError,"null reference");
27889 SWIG_fail;
27890 }
27891 {
27892 PyThreadState* __tstate = wxPyBeginAllowThreads();
27893 (arg1)->Expand((wxTreeItemId const &)*arg2);
27894
27895 wxPyEndAllowThreads(__tstate);
27896 if (PyErr_Occurred()) SWIG_fail;
27897 }
27898 Py_INCREF(Py_None); resultobj = Py_None;
27899 return resultobj;
27900 fail:
27901 return NULL;
27902 }
27903
27904
27905 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
27906 PyObject *resultobj;
27907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27908 wxTreeItemId *arg2 = 0 ;
27909 PyObject * obj0 = 0 ;
27910 PyObject * obj1 = 0 ;
27911 char *kwnames[] = {
27912 (char *) "self",(char *) "item", NULL
27913 };
27914
27915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27919 SWIG_POINTER_EXCEPTION | 0)) == -1)
27920 SWIG_fail;
27921 if (arg2 == NULL) {
27922 PyErr_SetString(PyExc_TypeError,"null reference");
27923 SWIG_fail;
27924 }
27925 {
27926 PyThreadState* __tstate = wxPyBeginAllowThreads();
27927 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27928
27929 wxPyEndAllowThreads(__tstate);
27930 if (PyErr_Occurred()) SWIG_fail;
27931 }
27932 Py_INCREF(Py_None); resultobj = Py_None;
27933 return resultobj;
27934 fail:
27935 return NULL;
27936 }
27937
27938
27939 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
27940 PyObject *resultobj;
27941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27942 wxTreeItemId *arg2 = 0 ;
27943 PyObject * obj0 = 0 ;
27944 PyObject * obj1 = 0 ;
27945 char *kwnames[] = {
27946 (char *) "self",(char *) "item", NULL
27947 };
27948
27949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27953 SWIG_POINTER_EXCEPTION | 0)) == -1)
27954 SWIG_fail;
27955 if (arg2 == NULL) {
27956 PyErr_SetString(PyExc_TypeError,"null reference");
27957 SWIG_fail;
27958 }
27959 {
27960 PyThreadState* __tstate = wxPyBeginAllowThreads();
27961 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27962
27963 wxPyEndAllowThreads(__tstate);
27964 if (PyErr_Occurred()) SWIG_fail;
27965 }
27966 Py_INCREF(Py_None); resultobj = Py_None;
27967 return resultobj;
27968 fail:
27969 return NULL;
27970 }
27971
27972
27973 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
27974 PyObject *resultobj;
27975 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27976 wxTreeItemId *arg2 = 0 ;
27977 PyObject * obj0 = 0 ;
27978 PyObject * obj1 = 0 ;
27979 char *kwnames[] = {
27980 (char *) "self",(char *) "item", NULL
27981 };
27982
27983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27987 SWIG_POINTER_EXCEPTION | 0)) == -1)
27988 SWIG_fail;
27989 if (arg2 == NULL) {
27990 PyErr_SetString(PyExc_TypeError,"null reference");
27991 SWIG_fail;
27992 }
27993 {
27994 PyThreadState* __tstate = wxPyBeginAllowThreads();
27995 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27996
27997 wxPyEndAllowThreads(__tstate);
27998 if (PyErr_Occurred()) SWIG_fail;
27999 }
28000 Py_INCREF(Py_None); resultobj = Py_None;
28001 return resultobj;
28002 fail:
28003 return NULL;
28004 }
28005
28006
28007 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
28008 PyObject *resultobj;
28009 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28010 PyObject * obj0 = 0 ;
28011 char *kwnames[] = {
28012 (char *) "self", NULL
28013 };
28014
28015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
28016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28018 {
28019 PyThreadState* __tstate = wxPyBeginAllowThreads();
28020 (arg1)->Unselect();
28021
28022 wxPyEndAllowThreads(__tstate);
28023 if (PyErr_Occurred()) SWIG_fail;
28024 }
28025 Py_INCREF(Py_None); resultobj = Py_None;
28026 return resultobj;
28027 fail:
28028 return NULL;
28029 }
28030
28031
28032 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
28033 PyObject *resultobj;
28034 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28035 wxTreeItemId *arg2 = 0 ;
28036 PyObject * obj0 = 0 ;
28037 PyObject * obj1 = 0 ;
28038 char *kwnames[] = {
28039 (char *) "self",(char *) "item", NULL
28040 };
28041
28042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
28043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28046 SWIG_POINTER_EXCEPTION | 0)) == -1)
28047 SWIG_fail;
28048 if (arg2 == NULL) {
28049 PyErr_SetString(PyExc_TypeError,"null reference");
28050 SWIG_fail;
28051 }
28052 {
28053 PyThreadState* __tstate = wxPyBeginAllowThreads();
28054 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
28055
28056 wxPyEndAllowThreads(__tstate);
28057 if (PyErr_Occurred()) SWIG_fail;
28058 }
28059 Py_INCREF(Py_None); resultobj = Py_None;
28060 return resultobj;
28061 fail:
28062 return NULL;
28063 }
28064
28065
28066 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
28067 PyObject *resultobj;
28068 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28069 PyObject * obj0 = 0 ;
28070 char *kwnames[] = {
28071 (char *) "self", NULL
28072 };
28073
28074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
28075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28077 {
28078 PyThreadState* __tstate = wxPyBeginAllowThreads();
28079 (arg1)->UnselectAll();
28080
28081 wxPyEndAllowThreads(__tstate);
28082 if (PyErr_Occurred()) SWIG_fail;
28083 }
28084 Py_INCREF(Py_None); resultobj = Py_None;
28085 return resultobj;
28086 fail:
28087 return NULL;
28088 }
28089
28090
28091 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
28092 PyObject *resultobj;
28093 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28094 wxTreeItemId *arg2 = 0 ;
28095 bool arg3 = (bool) true ;
28096 PyObject * obj0 = 0 ;
28097 PyObject * obj1 = 0 ;
28098 PyObject * obj2 = 0 ;
28099 char *kwnames[] = {
28100 (char *) "self",(char *) "item",(char *) "select", NULL
28101 };
28102
28103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
28104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28107 SWIG_POINTER_EXCEPTION | 0)) == -1)
28108 SWIG_fail;
28109 if (arg2 == NULL) {
28110 PyErr_SetString(PyExc_TypeError,"null reference");
28111 SWIG_fail;
28112 }
28113 if (obj2) {
28114 arg3 = (bool)SWIG_As_bool(obj2);
28115 if (PyErr_Occurred()) SWIG_fail;
28116 }
28117 {
28118 PyThreadState* __tstate = wxPyBeginAllowThreads();
28119 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
28120
28121 wxPyEndAllowThreads(__tstate);
28122 if (PyErr_Occurred()) SWIG_fail;
28123 }
28124 Py_INCREF(Py_None); resultobj = Py_None;
28125 return resultobj;
28126 fail:
28127 return NULL;
28128 }
28129
28130
28131 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
28132 PyObject *resultobj;
28133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28134 wxTreeItemId *arg2 = 0 ;
28135 PyObject * obj0 = 0 ;
28136 PyObject * obj1 = 0 ;
28137 char *kwnames[] = {
28138 (char *) "self",(char *) "item", NULL
28139 };
28140
28141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
28142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28145 SWIG_POINTER_EXCEPTION | 0)) == -1)
28146 SWIG_fail;
28147 if (arg2 == NULL) {
28148 PyErr_SetString(PyExc_TypeError,"null reference");
28149 SWIG_fail;
28150 }
28151 {
28152 PyThreadState* __tstate = wxPyBeginAllowThreads();
28153 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
28154
28155 wxPyEndAllowThreads(__tstate);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 }
28158 Py_INCREF(Py_None); resultobj = Py_None;
28159 return resultobj;
28160 fail:
28161 return NULL;
28162 }
28163
28164
28165 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
28166 PyObject *resultobj;
28167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28168 wxTreeItemId *arg2 = 0 ;
28169 PyObject * obj0 = 0 ;
28170 PyObject * obj1 = 0 ;
28171 char *kwnames[] = {
28172 (char *) "self",(char *) "item", NULL
28173 };
28174
28175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
28176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28179 SWIG_POINTER_EXCEPTION | 0)) == -1)
28180 SWIG_fail;
28181 if (arg2 == NULL) {
28182 PyErr_SetString(PyExc_TypeError,"null reference");
28183 SWIG_fail;
28184 }
28185 {
28186 PyThreadState* __tstate = wxPyBeginAllowThreads();
28187 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
28188
28189 wxPyEndAllowThreads(__tstate);
28190 if (PyErr_Occurred()) SWIG_fail;
28191 }
28192 Py_INCREF(Py_None); resultobj = Py_None;
28193 return resultobj;
28194 fail:
28195 return NULL;
28196 }
28197
28198
28199 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
28200 PyObject *resultobj;
28201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28202 wxTreeItemId *arg2 = 0 ;
28203 PyObject * obj0 = 0 ;
28204 PyObject * obj1 = 0 ;
28205 char *kwnames[] = {
28206 (char *) "self",(char *) "item", NULL
28207 };
28208
28209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
28210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28213 SWIG_POINTER_EXCEPTION | 0)) == -1)
28214 SWIG_fail;
28215 if (arg2 == NULL) {
28216 PyErr_SetString(PyExc_TypeError,"null reference");
28217 SWIG_fail;
28218 }
28219 {
28220 PyThreadState* __tstate = wxPyBeginAllowThreads();
28221 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
28222
28223 wxPyEndAllowThreads(__tstate);
28224 if (PyErr_Occurred()) SWIG_fail;
28225 }
28226 Py_INCREF(Py_None); resultobj = Py_None;
28227 return resultobj;
28228 fail:
28229 return NULL;
28230 }
28231
28232
28233 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
28234 PyObject *resultobj;
28235 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28236 wxTreeItemId *arg2 = 0 ;
28237 PyObject * obj0 = 0 ;
28238 PyObject * obj1 = 0 ;
28239 char *kwnames[] = {
28240 (char *) "self",(char *) "item", NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
28244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28247 SWIG_POINTER_EXCEPTION | 0)) == -1)
28248 SWIG_fail;
28249 if (arg2 == NULL) {
28250 PyErr_SetString(PyExc_TypeError,"null reference");
28251 SWIG_fail;
28252 }
28253 {
28254 PyThreadState* __tstate = wxPyBeginAllowThreads();
28255 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
28256
28257 wxPyEndAllowThreads(__tstate);
28258 if (PyErr_Occurred()) SWIG_fail;
28259 }
28260 Py_INCREF(Py_None); resultobj = Py_None;
28261 return resultobj;
28262 fail:
28263 return NULL;
28264 }
28265
28266
28267 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
28268 PyObject *resultobj;
28269 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28270 wxTextCtrl *result;
28271 PyObject * obj0 = 0 ;
28272 char *kwnames[] = {
28273 (char *) "self", NULL
28274 };
28275
28276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
28277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28279 {
28280 PyThreadState* __tstate = wxPyBeginAllowThreads();
28281 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
28282
28283 wxPyEndAllowThreads(__tstate);
28284 if (PyErr_Occurred()) SWIG_fail;
28285 }
28286 {
28287 resultobj = wxPyMake_wxObject(result, 0);
28288 }
28289 return resultobj;
28290 fail:
28291 return NULL;
28292 }
28293
28294
28295 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
28296 PyObject *resultobj;
28297 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28298 wxTreeItemId *arg2 = 0 ;
28299 bool arg3 = (bool) false ;
28300 PyObject * obj0 = 0 ;
28301 PyObject * obj1 = 0 ;
28302 PyObject * obj2 = 0 ;
28303 char *kwnames[] = {
28304 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
28305 };
28306
28307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
28308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28311 SWIG_POINTER_EXCEPTION | 0)) == -1)
28312 SWIG_fail;
28313 if (arg2 == NULL) {
28314 PyErr_SetString(PyExc_TypeError,"null reference");
28315 SWIG_fail;
28316 }
28317 if (obj2) {
28318 arg3 = (bool)SWIG_As_bool(obj2);
28319 if (PyErr_Occurred()) SWIG_fail;
28320 }
28321 {
28322 PyThreadState* __tstate = wxPyBeginAllowThreads();
28323 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
28324
28325 wxPyEndAllowThreads(__tstate);
28326 if (PyErr_Occurred()) SWIG_fail;
28327 }
28328 Py_INCREF(Py_None); resultobj = Py_None;
28329 return resultobj;
28330 fail:
28331 return NULL;
28332 }
28333
28334
28335 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28336 PyObject *resultobj;
28337 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28338 wxTreeItemId *arg2 = 0 ;
28339 PyObject * obj0 = 0 ;
28340 PyObject * obj1 = 0 ;
28341 char *kwnames[] = {
28342 (char *) "self",(char *) "item", NULL
28343 };
28344
28345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
28346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28349 SWIG_POINTER_EXCEPTION | 0)) == -1)
28350 SWIG_fail;
28351 if (arg2 == NULL) {
28352 PyErr_SetString(PyExc_TypeError,"null reference");
28353 SWIG_fail;
28354 }
28355 {
28356 PyThreadState* __tstate = wxPyBeginAllowThreads();
28357 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
28358
28359 wxPyEndAllowThreads(__tstate);
28360 if (PyErr_Occurred()) SWIG_fail;
28361 }
28362 Py_INCREF(Py_None); resultobj = Py_None;
28363 return resultobj;
28364 fail:
28365 return NULL;
28366 }
28367
28368
28369 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
28370 PyObject *resultobj;
28371 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28372 wxPoint *arg2 = 0 ;
28373 int *arg3 = 0 ;
28374 wxTreeItemId result;
28375 wxPoint temp2 ;
28376 int temp3 ;
28377 int res3 = 0 ;
28378 PyObject * obj0 = 0 ;
28379 PyObject * obj1 = 0 ;
28380 char *kwnames[] = {
28381 (char *) "self",(char *) "point", NULL
28382 };
28383
28384 arg3 = &temp3; res3 = SWIG_NEWOBJ;
28385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
28386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28388 {
28389 arg2 = &temp2;
28390 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28391 }
28392 {
28393 PyThreadState* __tstate = wxPyBeginAllowThreads();
28394 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
28395
28396 wxPyEndAllowThreads(__tstate);
28397 if (PyErr_Occurred()) SWIG_fail;
28398 }
28399 {
28400 wxTreeItemId * resultptr;
28401 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28403 }
28404 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
28405 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
28406 return resultobj;
28407 fail:
28408 return NULL;
28409 }
28410
28411
28412 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
28413 PyObject *resultobj;
28414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28415 wxTreeItemId *arg2 = 0 ;
28416 bool arg3 = (bool) false ;
28417 PyObject *result;
28418 PyObject * obj0 = 0 ;
28419 PyObject * obj1 = 0 ;
28420 PyObject * obj2 = 0 ;
28421 char *kwnames[] = {
28422 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28423 };
28424
28425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
28426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28429 SWIG_POINTER_EXCEPTION | 0)) == -1)
28430 SWIG_fail;
28431 if (arg2 == NULL) {
28432 PyErr_SetString(PyExc_TypeError,"null reference");
28433 SWIG_fail;
28434 }
28435 if (obj2) {
28436 arg3 = (bool)SWIG_As_bool(obj2);
28437 if (PyErr_Occurred()) SWIG_fail;
28438 }
28439 {
28440 PyThreadState* __tstate = wxPyBeginAllowThreads();
28441 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
28442
28443 wxPyEndAllowThreads(__tstate);
28444 if (PyErr_Occurred()) SWIG_fail;
28445 }
28446 resultobj = result;
28447 return resultobj;
28448 fail:
28449 return NULL;
28450 }
28451
28452
28453 static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
28454 PyObject *resultobj;
28455 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28456 wxTreeItemId *arg2 = 0 ;
28457 int arg3 ;
28458 PyObject * obj0 = 0 ;
28459 PyObject * obj1 = 0 ;
28460 PyObject * obj2 = 0 ;
28461 char *kwnames[] = {
28462 (char *) "self",(char *) "node",(char *) "state", NULL
28463 };
28464
28465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
28466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28469 SWIG_POINTER_EXCEPTION | 0)) == -1)
28470 SWIG_fail;
28471 if (arg2 == NULL) {
28472 PyErr_SetString(PyExc_TypeError,"null reference");
28473 SWIG_fail;
28474 }
28475 arg3 = (int)SWIG_As_int(obj2);
28476 if (PyErr_Occurred()) SWIG_fail;
28477 {
28478 PyThreadState* __tstate = wxPyBeginAllowThreads();
28479 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
28480
28481 wxPyEndAllowThreads(__tstate);
28482 if (PyErr_Occurred()) SWIG_fail;
28483 }
28484 Py_INCREF(Py_None); resultobj = Py_None;
28485 return resultobj;
28486 fail:
28487 return NULL;
28488 }
28489
28490
28491 static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
28492 PyObject *resultobj;
28493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28494 wxTreeItemId *arg2 = 0 ;
28495 int result;
28496 PyObject * obj0 = 0 ;
28497 PyObject * obj1 = 0 ;
28498 char *kwnames[] = {
28499 (char *) "self",(char *) "node", NULL
28500 };
28501
28502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
28503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28506 SWIG_POINTER_EXCEPTION | 0)) == -1)
28507 SWIG_fail;
28508 if (arg2 == NULL) {
28509 PyErr_SetString(PyExc_TypeError,"null reference");
28510 SWIG_fail;
28511 }
28512 {
28513 PyThreadState* __tstate = wxPyBeginAllowThreads();
28514 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
28515
28516 wxPyEndAllowThreads(__tstate);
28517 if (PyErr_Occurred()) SWIG_fail;
28518 }
28519 resultobj = SWIG_From_int((int)result);
28520 return resultobj;
28521 fail:
28522 return NULL;
28523 }
28524
28525
28526 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
28527 PyObject *resultobj;
28528 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
28529 wxVisualAttributes result;
28530 PyObject * obj0 = 0 ;
28531 char *kwnames[] = {
28532 (char *) "variant", NULL
28533 };
28534
28535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
28536 if (obj0) {
28537 arg1 = (int)SWIG_As_int(obj0);
28538 if (PyErr_Occurred()) SWIG_fail;
28539 }
28540 {
28541 if (!wxPyCheckForApp()) SWIG_fail;
28542 PyThreadState* __tstate = wxPyBeginAllowThreads();
28543 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
28544
28545 wxPyEndAllowThreads(__tstate);
28546 if (PyErr_Occurred()) SWIG_fail;
28547 }
28548 {
28549 wxVisualAttributes * resultptr;
28550 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
28551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
28552 }
28553 return resultobj;
28554 fail:
28555 return NULL;
28556 }
28557
28558
28559 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
28560 PyObject *obj;
28561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28562 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
28563 Py_INCREF(obj);
28564 return Py_BuildValue((char *)"");
28565 }
28566 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
28567 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
28568 return 1;
28569 }
28570
28571
28572 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
28573 PyObject *pyobj;
28574
28575 {
28576 #if wxUSE_UNICODE
28577 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28578 #else
28579 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28580 #endif
28581 }
28582 return pyobj;
28583 }
28584
28585
28586 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28587 PyObject *resultobj;
28588 wxWindow *arg1 = (wxWindow *) 0 ;
28589 int arg2 = (int) (int)-1 ;
28590 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
28591 wxString *arg3 = (wxString *) &arg3_defvalue ;
28592 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28593 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28594 wxSize const &arg5_defvalue = wxDefaultSize ;
28595 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28596 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28597 wxString const &arg7_defvalue = wxPyEmptyString ;
28598 wxString *arg7 = (wxString *) &arg7_defvalue ;
28599 int arg8 = (int) 0 ;
28600 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
28601 wxString *arg9 = (wxString *) &arg9_defvalue ;
28602 wxGenericDirCtrl *result;
28603 bool temp3 = false ;
28604 wxPoint temp4 ;
28605 wxSize temp5 ;
28606 bool temp7 = false ;
28607 bool temp9 = false ;
28608 PyObject * obj0 = 0 ;
28609 PyObject * obj1 = 0 ;
28610 PyObject * obj2 = 0 ;
28611 PyObject * obj3 = 0 ;
28612 PyObject * obj4 = 0 ;
28613 PyObject * obj5 = 0 ;
28614 PyObject * obj6 = 0 ;
28615 PyObject * obj7 = 0 ;
28616 PyObject * obj8 = 0 ;
28617 char *kwnames[] = {
28618 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28619 };
28620
28621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
28622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28624 if (obj1) {
28625 arg2 = (int)SWIG_As_int(obj1);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 if (obj2) {
28629 {
28630 arg3 = wxString_in_helper(obj2);
28631 if (arg3 == NULL) SWIG_fail;
28632 temp3 = true;
28633 }
28634 }
28635 if (obj3) {
28636 {
28637 arg4 = &temp4;
28638 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28639 }
28640 }
28641 if (obj4) {
28642 {
28643 arg5 = &temp5;
28644 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28645 }
28646 }
28647 if (obj5) {
28648 arg6 = (long)SWIG_As_long(obj5);
28649 if (PyErr_Occurred()) SWIG_fail;
28650 }
28651 if (obj6) {
28652 {
28653 arg7 = wxString_in_helper(obj6);
28654 if (arg7 == NULL) SWIG_fail;
28655 temp7 = true;
28656 }
28657 }
28658 if (obj7) {
28659 arg8 = (int)SWIG_As_int(obj7);
28660 if (PyErr_Occurred()) SWIG_fail;
28661 }
28662 if (obj8) {
28663 {
28664 arg9 = wxString_in_helper(obj8);
28665 if (arg9 == NULL) SWIG_fail;
28666 temp9 = true;
28667 }
28668 }
28669 {
28670 if (!wxPyCheckForApp()) SWIG_fail;
28671 PyThreadState* __tstate = wxPyBeginAllowThreads();
28672 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
28673
28674 wxPyEndAllowThreads(__tstate);
28675 if (PyErr_Occurred()) SWIG_fail;
28676 }
28677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28678 {
28679 if (temp3)
28680 delete arg3;
28681 }
28682 {
28683 if (temp7)
28684 delete arg7;
28685 }
28686 {
28687 if (temp9)
28688 delete arg9;
28689 }
28690 return resultobj;
28691 fail:
28692 {
28693 if (temp3)
28694 delete arg3;
28695 }
28696 {
28697 if (temp7)
28698 delete arg7;
28699 }
28700 {
28701 if (temp9)
28702 delete arg9;
28703 }
28704 return NULL;
28705 }
28706
28707
28708 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28709 PyObject *resultobj;
28710 wxGenericDirCtrl *result;
28711 char *kwnames[] = {
28712 NULL
28713 };
28714
28715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28716 {
28717 if (!wxPyCheckForApp()) SWIG_fail;
28718 PyThreadState* __tstate = wxPyBeginAllowThreads();
28719 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28720
28721 wxPyEndAllowThreads(__tstate);
28722 if (PyErr_Occurred()) SWIG_fail;
28723 }
28724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28725 return resultobj;
28726 fail:
28727 return NULL;
28728 }
28729
28730
28731 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28732 PyObject *resultobj;
28733 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28734 wxWindow *arg2 = (wxWindow *) 0 ;
28735 int arg3 = (int) (int)-1 ;
28736 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28737 wxString *arg4 = (wxString *) &arg4_defvalue ;
28738 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28739 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28740 wxSize const &arg6_defvalue = wxDefaultSize ;
28741 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28742 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28743 wxString const &arg8_defvalue = wxPyEmptyString ;
28744 wxString *arg8 = (wxString *) &arg8_defvalue ;
28745 int arg9 = (int) 0 ;
28746 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28747 wxString *arg10 = (wxString *) &arg10_defvalue ;
28748 bool result;
28749 bool temp4 = false ;
28750 wxPoint temp5 ;
28751 wxSize temp6 ;
28752 bool temp8 = false ;
28753 bool temp10 = false ;
28754 PyObject * obj0 = 0 ;
28755 PyObject * obj1 = 0 ;
28756 PyObject * obj2 = 0 ;
28757 PyObject * obj3 = 0 ;
28758 PyObject * obj4 = 0 ;
28759 PyObject * obj5 = 0 ;
28760 PyObject * obj6 = 0 ;
28761 PyObject * obj7 = 0 ;
28762 PyObject * obj8 = 0 ;
28763 PyObject * obj9 = 0 ;
28764 char *kwnames[] = {
28765 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28766 };
28767
28768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28773 if (obj2) {
28774 arg3 = (int)SWIG_As_int(obj2);
28775 if (PyErr_Occurred()) SWIG_fail;
28776 }
28777 if (obj3) {
28778 {
28779 arg4 = wxString_in_helper(obj3);
28780 if (arg4 == NULL) SWIG_fail;
28781 temp4 = true;
28782 }
28783 }
28784 if (obj4) {
28785 {
28786 arg5 = &temp5;
28787 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28788 }
28789 }
28790 if (obj5) {
28791 {
28792 arg6 = &temp6;
28793 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28794 }
28795 }
28796 if (obj6) {
28797 arg7 = (long)SWIG_As_long(obj6);
28798 if (PyErr_Occurred()) SWIG_fail;
28799 }
28800 if (obj7) {
28801 {
28802 arg8 = wxString_in_helper(obj7);
28803 if (arg8 == NULL) SWIG_fail;
28804 temp8 = true;
28805 }
28806 }
28807 if (obj8) {
28808 arg9 = (int)SWIG_As_int(obj8);
28809 if (PyErr_Occurred()) SWIG_fail;
28810 }
28811 if (obj9) {
28812 {
28813 arg10 = wxString_in_helper(obj9);
28814 if (arg10 == NULL) SWIG_fail;
28815 temp10 = true;
28816 }
28817 }
28818 {
28819 PyThreadState* __tstate = wxPyBeginAllowThreads();
28820 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28821
28822 wxPyEndAllowThreads(__tstate);
28823 if (PyErr_Occurred()) SWIG_fail;
28824 }
28825 {
28826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28827 }
28828 {
28829 if (temp4)
28830 delete arg4;
28831 }
28832 {
28833 if (temp8)
28834 delete arg8;
28835 }
28836 {
28837 if (temp10)
28838 delete arg10;
28839 }
28840 return resultobj;
28841 fail:
28842 {
28843 if (temp4)
28844 delete arg4;
28845 }
28846 {
28847 if (temp8)
28848 delete arg8;
28849 }
28850 {
28851 if (temp10)
28852 delete arg10;
28853 }
28854 return NULL;
28855 }
28856
28857
28858 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
28859 PyObject *resultobj;
28860 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28861 wxString *arg2 = 0 ;
28862 bool result;
28863 bool temp2 = false ;
28864 PyObject * obj0 = 0 ;
28865 PyObject * obj1 = 0 ;
28866 char *kwnames[] = {
28867 (char *) "self",(char *) "path", NULL
28868 };
28869
28870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28873 {
28874 arg2 = wxString_in_helper(obj1);
28875 if (arg2 == NULL) SWIG_fail;
28876 temp2 = true;
28877 }
28878 {
28879 PyThreadState* __tstate = wxPyBeginAllowThreads();
28880 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28881
28882 wxPyEndAllowThreads(__tstate);
28883 if (PyErr_Occurred()) SWIG_fail;
28884 }
28885 {
28886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28887 }
28888 {
28889 if (temp2)
28890 delete arg2;
28891 }
28892 return resultobj;
28893 fail:
28894 {
28895 if (temp2)
28896 delete arg2;
28897 }
28898 return NULL;
28899 }
28900
28901
28902 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
28903 PyObject *resultobj;
28904 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28905 wxString result;
28906 PyObject * obj0 = 0 ;
28907 char *kwnames[] = {
28908 (char *) "self", NULL
28909 };
28910
28911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28914 {
28915 PyThreadState* __tstate = wxPyBeginAllowThreads();
28916 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28917
28918 wxPyEndAllowThreads(__tstate);
28919 if (PyErr_Occurred()) SWIG_fail;
28920 }
28921 {
28922 #if wxUSE_UNICODE
28923 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28924 #else
28925 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28926 #endif
28927 }
28928 return resultobj;
28929 fail:
28930 return NULL;
28931 }
28932
28933
28934 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
28935 PyObject *resultobj;
28936 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28937 wxString *arg2 = 0 ;
28938 bool temp2 = false ;
28939 PyObject * obj0 = 0 ;
28940 PyObject * obj1 = 0 ;
28941 char *kwnames[] = {
28942 (char *) "self",(char *) "path", NULL
28943 };
28944
28945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28948 {
28949 arg2 = wxString_in_helper(obj1);
28950 if (arg2 == NULL) SWIG_fail;
28951 temp2 = true;
28952 }
28953 {
28954 PyThreadState* __tstate = wxPyBeginAllowThreads();
28955 (arg1)->SetDefaultPath((wxString const &)*arg2);
28956
28957 wxPyEndAllowThreads(__tstate);
28958 if (PyErr_Occurred()) SWIG_fail;
28959 }
28960 Py_INCREF(Py_None); resultobj = Py_None;
28961 {
28962 if (temp2)
28963 delete arg2;
28964 }
28965 return resultobj;
28966 fail:
28967 {
28968 if (temp2)
28969 delete arg2;
28970 }
28971 return NULL;
28972 }
28973
28974
28975 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
28976 PyObject *resultobj;
28977 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28978 wxString result;
28979 PyObject * obj0 = 0 ;
28980 char *kwnames[] = {
28981 (char *) "self", NULL
28982 };
28983
28984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28987 {
28988 PyThreadState* __tstate = wxPyBeginAllowThreads();
28989 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28990
28991 wxPyEndAllowThreads(__tstate);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 }
28994 {
28995 #if wxUSE_UNICODE
28996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28997 #else
28998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28999 #endif
29000 }
29001 return resultobj;
29002 fail:
29003 return NULL;
29004 }
29005
29006
29007 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
29008 PyObject *resultobj;
29009 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29010 wxString result;
29011 PyObject * obj0 = 0 ;
29012 char *kwnames[] = {
29013 (char *) "self", NULL
29014 };
29015
29016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
29017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29019 {
29020 PyThreadState* __tstate = wxPyBeginAllowThreads();
29021 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
29022
29023 wxPyEndAllowThreads(__tstate);
29024 if (PyErr_Occurred()) SWIG_fail;
29025 }
29026 {
29027 #if wxUSE_UNICODE
29028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29029 #else
29030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29031 #endif
29032 }
29033 return resultobj;
29034 fail:
29035 return NULL;
29036 }
29037
29038
29039 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
29040 PyObject *resultobj;
29041 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29042 wxString *arg2 = 0 ;
29043 bool temp2 = false ;
29044 PyObject * obj0 = 0 ;
29045 PyObject * obj1 = 0 ;
29046 char *kwnames[] = {
29047 (char *) "self",(char *) "path", NULL
29048 };
29049
29050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
29051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29053 {
29054 arg2 = wxString_in_helper(obj1);
29055 if (arg2 == NULL) SWIG_fail;
29056 temp2 = true;
29057 }
29058 {
29059 PyThreadState* __tstate = wxPyBeginAllowThreads();
29060 (arg1)->SetPath((wxString const &)*arg2);
29061
29062 wxPyEndAllowThreads(__tstate);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
29065 Py_INCREF(Py_None); resultobj = Py_None;
29066 {
29067 if (temp2)
29068 delete arg2;
29069 }
29070 return resultobj;
29071 fail:
29072 {
29073 if (temp2)
29074 delete arg2;
29075 }
29076 return NULL;
29077 }
29078
29079
29080 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
29081 PyObject *resultobj;
29082 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29083 bool arg2 ;
29084 PyObject * obj0 = 0 ;
29085 PyObject * obj1 = 0 ;
29086 char *kwnames[] = {
29087 (char *) "self",(char *) "show", NULL
29088 };
29089
29090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
29091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29093 arg2 = (bool)SWIG_As_bool(obj1);
29094 if (PyErr_Occurred()) SWIG_fail;
29095 {
29096 PyThreadState* __tstate = wxPyBeginAllowThreads();
29097 (arg1)->ShowHidden(arg2);
29098
29099 wxPyEndAllowThreads(__tstate);
29100 if (PyErr_Occurred()) SWIG_fail;
29101 }
29102 Py_INCREF(Py_None); resultobj = Py_None;
29103 return resultobj;
29104 fail:
29105 return NULL;
29106 }
29107
29108
29109 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
29110 PyObject *resultobj;
29111 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29112 bool result;
29113 PyObject * obj0 = 0 ;
29114 char *kwnames[] = {
29115 (char *) "self", NULL
29116 };
29117
29118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
29119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29121 {
29122 PyThreadState* __tstate = wxPyBeginAllowThreads();
29123 result = (bool)(arg1)->GetShowHidden();
29124
29125 wxPyEndAllowThreads(__tstate);
29126 if (PyErr_Occurred()) SWIG_fail;
29127 }
29128 {
29129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29130 }
29131 return resultobj;
29132 fail:
29133 return NULL;
29134 }
29135
29136
29137 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
29138 PyObject *resultobj;
29139 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29140 wxString result;
29141 PyObject * obj0 = 0 ;
29142 char *kwnames[] = {
29143 (char *) "self", NULL
29144 };
29145
29146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
29147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29149 {
29150 PyThreadState* __tstate = wxPyBeginAllowThreads();
29151 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
29152
29153 wxPyEndAllowThreads(__tstate);
29154 if (PyErr_Occurred()) SWIG_fail;
29155 }
29156 {
29157 #if wxUSE_UNICODE
29158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29159 #else
29160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29161 #endif
29162 }
29163 return resultobj;
29164 fail:
29165 return NULL;
29166 }
29167
29168
29169 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
29170 PyObject *resultobj;
29171 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29172 wxString *arg2 = 0 ;
29173 bool temp2 = false ;
29174 PyObject * obj0 = 0 ;
29175 PyObject * obj1 = 0 ;
29176 char *kwnames[] = {
29177 (char *) "self",(char *) "filter", NULL
29178 };
29179
29180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
29181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29183 {
29184 arg2 = wxString_in_helper(obj1);
29185 if (arg2 == NULL) SWIG_fail;
29186 temp2 = true;
29187 }
29188 {
29189 PyThreadState* __tstate = wxPyBeginAllowThreads();
29190 (arg1)->SetFilter((wxString const &)*arg2);
29191
29192 wxPyEndAllowThreads(__tstate);
29193 if (PyErr_Occurred()) SWIG_fail;
29194 }
29195 Py_INCREF(Py_None); resultobj = Py_None;
29196 {
29197 if (temp2)
29198 delete arg2;
29199 }
29200 return resultobj;
29201 fail:
29202 {
29203 if (temp2)
29204 delete arg2;
29205 }
29206 return NULL;
29207 }
29208
29209
29210 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
29211 PyObject *resultobj;
29212 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29213 int result;
29214 PyObject * obj0 = 0 ;
29215 char *kwnames[] = {
29216 (char *) "self", NULL
29217 };
29218
29219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
29220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29222 {
29223 PyThreadState* __tstate = wxPyBeginAllowThreads();
29224 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
29225
29226 wxPyEndAllowThreads(__tstate);
29227 if (PyErr_Occurred()) SWIG_fail;
29228 }
29229 resultobj = SWIG_From_int((int)result);
29230 return resultobj;
29231 fail:
29232 return NULL;
29233 }
29234
29235
29236 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
29237 PyObject *resultobj;
29238 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29239 int arg2 ;
29240 PyObject * obj0 = 0 ;
29241 PyObject * obj1 = 0 ;
29242 char *kwnames[] = {
29243 (char *) "self",(char *) "n", NULL
29244 };
29245
29246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
29247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29249 arg2 = (int)SWIG_As_int(obj1);
29250 if (PyErr_Occurred()) SWIG_fail;
29251 {
29252 PyThreadState* __tstate = wxPyBeginAllowThreads();
29253 (arg1)->SetFilterIndex(arg2);
29254
29255 wxPyEndAllowThreads(__tstate);
29256 if (PyErr_Occurred()) SWIG_fail;
29257 }
29258 Py_INCREF(Py_None); resultobj = Py_None;
29259 return resultobj;
29260 fail:
29261 return NULL;
29262 }
29263
29264
29265 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
29266 PyObject *resultobj;
29267 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29268 wxTreeItemId result;
29269 PyObject * obj0 = 0 ;
29270 char *kwnames[] = {
29271 (char *) "self", NULL
29272 };
29273
29274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
29275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29277 {
29278 PyThreadState* __tstate = wxPyBeginAllowThreads();
29279 result = (arg1)->GetRootId();
29280
29281 wxPyEndAllowThreads(__tstate);
29282 if (PyErr_Occurred()) SWIG_fail;
29283 }
29284 {
29285 wxTreeItemId * resultptr;
29286 resultptr = new wxTreeItemId((wxTreeItemId &) result);
29287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29288 }
29289 return resultobj;
29290 fail:
29291 return NULL;
29292 }
29293
29294
29295 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29296 PyObject *resultobj;
29297 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29298 wxPyTreeCtrl *result;
29299 PyObject * obj0 = 0 ;
29300 char *kwnames[] = {
29301 (char *) "self", NULL
29302 };
29303
29304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
29305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29307 {
29308 PyThreadState* __tstate = wxPyBeginAllowThreads();
29309 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
29310
29311 wxPyEndAllowThreads(__tstate);
29312 if (PyErr_Occurred()) SWIG_fail;
29313 }
29314 {
29315 resultobj = wxPyMake_wxObject(result, 0);
29316 }
29317 return resultobj;
29318 fail:
29319 return NULL;
29320 }
29321
29322
29323 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29324 PyObject *resultobj;
29325 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29326 wxDirFilterListCtrl *result;
29327 PyObject * obj0 = 0 ;
29328 char *kwnames[] = {
29329 (char *) "self", NULL
29330 };
29331
29332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
29333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29335 {
29336 PyThreadState* __tstate = wxPyBeginAllowThreads();
29337 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
29338
29339 wxPyEndAllowThreads(__tstate);
29340 if (PyErr_Occurred()) SWIG_fail;
29341 }
29342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
29343 return resultobj;
29344 fail:
29345 return NULL;
29346 }
29347
29348
29349 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
29350 PyObject *resultobj;
29351 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29352 wxTreeItemId arg2 ;
29353 wxString *arg3 = 0 ;
29354 bool *arg4 = 0 ;
29355 wxTreeItemId result;
29356 wxTreeItemId *argp2 ;
29357 bool temp3 = false ;
29358 bool temp4 ;
29359 int res4 = 0 ;
29360 PyObject * obj0 = 0 ;
29361 PyObject * obj1 = 0 ;
29362 PyObject * obj2 = 0 ;
29363 char *kwnames[] = {
29364 (char *) "self",(char *) "parentId",(char *) "path", NULL
29365 };
29366
29367 arg4 = &temp4; res4 = SWIG_NEWOBJ;
29368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29371 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
29372 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29373 arg2 = *argp2;
29374 {
29375 arg3 = wxString_in_helper(obj2);
29376 if (arg3 == NULL) SWIG_fail;
29377 temp3 = true;
29378 }
29379 {
29380 PyThreadState* __tstate = wxPyBeginAllowThreads();
29381 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
29382
29383 wxPyEndAllowThreads(__tstate);
29384 if (PyErr_Occurred()) SWIG_fail;
29385 }
29386 {
29387 wxTreeItemId * resultptr;
29388 resultptr = new wxTreeItemId((wxTreeItemId &) result);
29389 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29390 }
29391 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29392 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
29393 {
29394 if (temp3)
29395 delete arg3;
29396 }
29397 return resultobj;
29398 fail:
29399 {
29400 if (temp3)
29401 delete arg3;
29402 }
29403 return NULL;
29404 }
29405
29406
29407 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
29408 PyObject *resultobj;
29409 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29410 PyObject * obj0 = 0 ;
29411 char *kwnames[] = {
29412 (char *) "self", NULL
29413 };
29414
29415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
29416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29418 {
29419 PyThreadState* __tstate = wxPyBeginAllowThreads();
29420 (arg1)->DoResize();
29421
29422 wxPyEndAllowThreads(__tstate);
29423 if (PyErr_Occurred()) SWIG_fail;
29424 }
29425 Py_INCREF(Py_None); resultobj = Py_None;
29426 return resultobj;
29427 fail:
29428 return NULL;
29429 }
29430
29431
29432 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
29433 PyObject *resultobj;
29434 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29435 PyObject * obj0 = 0 ;
29436 char *kwnames[] = {
29437 (char *) "self", NULL
29438 };
29439
29440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
29441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29443 {
29444 PyThreadState* __tstate = wxPyBeginAllowThreads();
29445 (arg1)->ReCreateTree();
29446
29447 wxPyEndAllowThreads(__tstate);
29448 if (PyErr_Occurred()) SWIG_fail;
29449 }
29450 Py_INCREF(Py_None); resultobj = Py_None;
29451 return resultobj;
29452 fail:
29453 return NULL;
29454 }
29455
29456
29457 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
29458 PyObject *obj;
29459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29460 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
29461 Py_INCREF(obj);
29462 return Py_BuildValue((char *)"");
29463 }
29464 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29465 PyObject *resultobj;
29466 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29467 int arg2 = (int) (int)-1 ;
29468 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29469 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29470 wxSize const &arg4_defvalue = wxDefaultSize ;
29471 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29472 long arg5 = (long) 0 ;
29473 wxDirFilterListCtrl *result;
29474 wxPoint temp3 ;
29475 wxSize temp4 ;
29476 PyObject * obj0 = 0 ;
29477 PyObject * obj1 = 0 ;
29478 PyObject * obj2 = 0 ;
29479 PyObject * obj3 = 0 ;
29480 PyObject * obj4 = 0 ;
29481 char *kwnames[] = {
29482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29483 };
29484
29485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29488 if (obj1) {
29489 arg2 = (int)SWIG_As_int(obj1);
29490 if (PyErr_Occurred()) SWIG_fail;
29491 }
29492 if (obj2) {
29493 {
29494 arg3 = &temp3;
29495 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29496 }
29497 }
29498 if (obj3) {
29499 {
29500 arg4 = &temp4;
29501 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29502 }
29503 }
29504 if (obj4) {
29505 arg5 = (long)SWIG_As_long(obj4);
29506 if (PyErr_Occurred()) SWIG_fail;
29507 }
29508 {
29509 if (!wxPyCheckForApp()) SWIG_fail;
29510 PyThreadState* __tstate = wxPyBeginAllowThreads();
29511 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29512
29513 wxPyEndAllowThreads(__tstate);
29514 if (PyErr_Occurred()) SWIG_fail;
29515 }
29516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29517 return resultobj;
29518 fail:
29519 return NULL;
29520 }
29521
29522
29523 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29524 PyObject *resultobj;
29525 wxDirFilterListCtrl *result;
29526 char *kwnames[] = {
29527 NULL
29528 };
29529
29530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
29531 {
29532 if (!wxPyCheckForApp()) SWIG_fail;
29533 PyThreadState* __tstate = wxPyBeginAllowThreads();
29534 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
29535
29536 wxPyEndAllowThreads(__tstate);
29537 if (PyErr_Occurred()) SWIG_fail;
29538 }
29539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29540 return resultobj;
29541 fail:
29542 return NULL;
29543 }
29544
29545
29546 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
29547 PyObject *resultobj;
29548 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29549 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
29550 int arg3 = (int) (int)-1 ;
29551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29553 wxSize const &arg5_defvalue = wxDefaultSize ;
29554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29555 long arg6 = (long) 0 ;
29556 bool result;
29557 wxPoint temp4 ;
29558 wxSize temp5 ;
29559 PyObject * obj0 = 0 ;
29560 PyObject * obj1 = 0 ;
29561 PyObject * obj2 = 0 ;
29562 PyObject * obj3 = 0 ;
29563 PyObject * obj4 = 0 ;
29564 PyObject * obj5 = 0 ;
29565 char *kwnames[] = {
29566 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29567 };
29568
29569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
29573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29574 if (obj2) {
29575 arg3 = (int)SWIG_As_int(obj2);
29576 if (PyErr_Occurred()) SWIG_fail;
29577 }
29578 if (obj3) {
29579 {
29580 arg4 = &temp4;
29581 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29582 }
29583 }
29584 if (obj4) {
29585 {
29586 arg5 = &temp5;
29587 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29588 }
29589 }
29590 if (obj5) {
29591 arg6 = (long)SWIG_As_long(obj5);
29592 if (PyErr_Occurred()) SWIG_fail;
29593 }
29594 {
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
29596 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
29597
29598 wxPyEndAllowThreads(__tstate);
29599 if (PyErr_Occurred()) SWIG_fail;
29600 }
29601 {
29602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29603 }
29604 return resultobj;
29605 fail:
29606 return NULL;
29607 }
29608
29609
29610 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
29611 PyObject *resultobj;
29612 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29613 wxString *arg2 = 0 ;
29614 int arg3 ;
29615 bool temp2 = false ;
29616 PyObject * obj0 = 0 ;
29617 PyObject * obj1 = 0 ;
29618 PyObject * obj2 = 0 ;
29619 char *kwnames[] = {
29620 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29621 };
29622
29623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
29624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29626 {
29627 arg2 = wxString_in_helper(obj1);
29628 if (arg2 == NULL) SWIG_fail;
29629 temp2 = true;
29630 }
29631 arg3 = (int)SWIG_As_int(obj2);
29632 if (PyErr_Occurred()) SWIG_fail;
29633 {
29634 PyThreadState* __tstate = wxPyBeginAllowThreads();
29635 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
29636
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 Py_INCREF(Py_None); resultobj = Py_None;
29641 {
29642 if (temp2)
29643 delete arg2;
29644 }
29645 return resultobj;
29646 fail:
29647 {
29648 if (temp2)
29649 delete arg2;
29650 }
29651 return NULL;
29652 }
29653
29654
29655 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
29656 PyObject *obj;
29657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29658 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
29659 Py_INCREF(obj);
29660 return Py_BuildValue((char *)"");
29661 }
29662 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
29663 PyObject *resultobj;
29664 wxWindow *arg1 = (wxWindow *) 0 ;
29665 int arg2 = (int) (int)-1 ;
29666 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29667 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29668 wxSize const &arg4_defvalue = wxDefaultSize ;
29669 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29670 long arg5 = (long) 0 ;
29671 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29672 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29673 wxString const &arg7_defvalue = wxPyControlNameStr ;
29674 wxString *arg7 = (wxString *) &arg7_defvalue ;
29675 wxPyControl *result;
29676 wxPoint temp3 ;
29677 wxSize temp4 ;
29678 bool temp7 = false ;
29679 PyObject * obj0 = 0 ;
29680 PyObject * obj1 = 0 ;
29681 PyObject * obj2 = 0 ;
29682 PyObject * obj3 = 0 ;
29683 PyObject * obj4 = 0 ;
29684 PyObject * obj5 = 0 ;
29685 PyObject * obj6 = 0 ;
29686 char *kwnames[] = {
29687 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29688 };
29689
29690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29693 if (obj1) {
29694 arg2 = (int)SWIG_As_int(obj1);
29695 if (PyErr_Occurred()) SWIG_fail;
29696 }
29697 if (obj2) {
29698 {
29699 arg3 = &temp3;
29700 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29701 }
29702 }
29703 if (obj3) {
29704 {
29705 arg4 = &temp4;
29706 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29707 }
29708 }
29709 if (obj4) {
29710 arg5 = (long)SWIG_As_long(obj4);
29711 if (PyErr_Occurred()) SWIG_fail;
29712 }
29713 if (obj5) {
29714 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29715 SWIG_POINTER_EXCEPTION | 0)) == -1)
29716 SWIG_fail;
29717 if (arg6 == NULL) {
29718 PyErr_SetString(PyExc_TypeError,"null reference");
29719 SWIG_fail;
29720 }
29721 }
29722 if (obj6) {
29723 {
29724 arg7 = wxString_in_helper(obj6);
29725 if (arg7 == NULL) SWIG_fail;
29726 temp7 = true;
29727 }
29728 }
29729 {
29730 if (!wxPyCheckForApp()) SWIG_fail;
29731 PyThreadState* __tstate = wxPyBeginAllowThreads();
29732 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29733
29734 wxPyEndAllowThreads(__tstate);
29735 if (PyErr_Occurred()) SWIG_fail;
29736 }
29737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29738 {
29739 if (temp7)
29740 delete arg7;
29741 }
29742 return resultobj;
29743 fail:
29744 {
29745 if (temp7)
29746 delete arg7;
29747 }
29748 return NULL;
29749 }
29750
29751
29752 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
29753 PyObject *resultobj;
29754 wxPyControl *result;
29755 char *kwnames[] = {
29756 NULL
29757 };
29758
29759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29760 {
29761 if (!wxPyCheckForApp()) SWIG_fail;
29762 PyThreadState* __tstate = wxPyBeginAllowThreads();
29763 result = (wxPyControl *)new wxPyControl();
29764
29765 wxPyEndAllowThreads(__tstate);
29766 if (PyErr_Occurred()) SWIG_fail;
29767 }
29768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29769 return resultobj;
29770 fail:
29771 return NULL;
29772 }
29773
29774
29775 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
29776 PyObject *resultobj;
29777 wxPyControl *arg1 = (wxPyControl *) 0 ;
29778 PyObject *arg2 = (PyObject *) 0 ;
29779 PyObject *arg3 = (PyObject *) 0 ;
29780 PyObject * obj0 = 0 ;
29781 PyObject * obj1 = 0 ;
29782 PyObject * obj2 = 0 ;
29783 char *kwnames[] = {
29784 (char *) "self",(char *) "self",(char *) "_class", NULL
29785 };
29786
29787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29790 arg2 = obj1;
29791 arg3 = obj2;
29792 {
29793 PyThreadState* __tstate = wxPyBeginAllowThreads();
29794 (arg1)->_setCallbackInfo(arg2,arg3);
29795
29796 wxPyEndAllowThreads(__tstate);
29797 if (PyErr_Occurred()) SWIG_fail;
29798 }
29799 Py_INCREF(Py_None); resultobj = Py_None;
29800 return resultobj;
29801 fail:
29802 return NULL;
29803 }
29804
29805
29806 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
29807 PyObject *resultobj;
29808 wxPyControl *arg1 = (wxPyControl *) 0 ;
29809 wxSize *arg2 = 0 ;
29810 wxSize temp2 ;
29811 PyObject * obj0 = 0 ;
29812 PyObject * obj1 = 0 ;
29813 char *kwnames[] = {
29814 (char *) "self",(char *) "size", NULL
29815 };
29816
29817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29820 {
29821 arg2 = &temp2;
29822 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29823 }
29824 {
29825 PyThreadState* __tstate = wxPyBeginAllowThreads();
29826 (arg1)->SetBestSize((wxSize const &)*arg2);
29827
29828 wxPyEndAllowThreads(__tstate);
29829 if (PyErr_Occurred()) SWIG_fail;
29830 }
29831 Py_INCREF(Py_None); resultobj = Py_None;
29832 return resultobj;
29833 fail:
29834 return NULL;
29835 }
29836
29837
29838 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29839 PyObject *resultobj;
29840 wxPyControl *arg1 = (wxPyControl *) 0 ;
29841 int arg2 ;
29842 int arg3 ;
29843 int arg4 ;
29844 int arg5 ;
29845 PyObject * obj0 = 0 ;
29846 PyObject * obj1 = 0 ;
29847 PyObject * obj2 = 0 ;
29848 PyObject * obj3 = 0 ;
29849 PyObject * obj4 = 0 ;
29850 char *kwnames[] = {
29851 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29852 };
29853
29854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29857 arg2 = (int)SWIG_As_int(obj1);
29858 if (PyErr_Occurred()) SWIG_fail;
29859 arg3 = (int)SWIG_As_int(obj2);
29860 if (PyErr_Occurred()) SWIG_fail;
29861 arg4 = (int)SWIG_As_int(obj3);
29862 if (PyErr_Occurred()) SWIG_fail;
29863 arg5 = (int)SWIG_As_int(obj4);
29864 if (PyErr_Occurred()) SWIG_fail;
29865 {
29866 PyThreadState* __tstate = wxPyBeginAllowThreads();
29867 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29868
29869 wxPyEndAllowThreads(__tstate);
29870 if (PyErr_Occurred()) SWIG_fail;
29871 }
29872 Py_INCREF(Py_None); resultobj = Py_None;
29873 return resultobj;
29874 fail:
29875 return NULL;
29876 }
29877
29878
29879 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
29880 PyObject *resultobj;
29881 wxPyControl *arg1 = (wxPyControl *) 0 ;
29882 int arg2 ;
29883 int arg3 ;
29884 int arg4 ;
29885 int arg5 ;
29886 int arg6 = (int) wxSIZE_AUTO ;
29887 PyObject * obj0 = 0 ;
29888 PyObject * obj1 = 0 ;
29889 PyObject * obj2 = 0 ;
29890 PyObject * obj3 = 0 ;
29891 PyObject * obj4 = 0 ;
29892 PyObject * obj5 = 0 ;
29893 char *kwnames[] = {
29894 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29895 };
29896
29897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29900 arg2 = (int)SWIG_As_int(obj1);
29901 if (PyErr_Occurred()) SWIG_fail;
29902 arg3 = (int)SWIG_As_int(obj2);
29903 if (PyErr_Occurred()) SWIG_fail;
29904 arg4 = (int)SWIG_As_int(obj3);
29905 if (PyErr_Occurred()) SWIG_fail;
29906 arg5 = (int)SWIG_As_int(obj4);
29907 if (PyErr_Occurred()) SWIG_fail;
29908 if (obj5) {
29909 arg6 = (int)SWIG_As_int(obj5);
29910 if (PyErr_Occurred()) SWIG_fail;
29911 }
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29915
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 Py_INCREF(Py_None); resultobj = Py_None;
29920 return resultobj;
29921 fail:
29922 return NULL;
29923 }
29924
29925
29926 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
29927 PyObject *resultobj;
29928 wxPyControl *arg1 = (wxPyControl *) 0 ;
29929 int arg2 ;
29930 int arg3 ;
29931 PyObject * obj0 = 0 ;
29932 PyObject * obj1 = 0 ;
29933 PyObject * obj2 = 0 ;
29934 char *kwnames[] = {
29935 (char *) "self",(char *) "width",(char *) "height", NULL
29936 };
29937
29938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29941 arg2 = (int)SWIG_As_int(obj1);
29942 if (PyErr_Occurred()) SWIG_fail;
29943 arg3 = (int)SWIG_As_int(obj2);
29944 if (PyErr_Occurred()) SWIG_fail;
29945 {
29946 PyThreadState* __tstate = wxPyBeginAllowThreads();
29947 (arg1)->base_DoSetClientSize(arg2,arg3);
29948
29949 wxPyEndAllowThreads(__tstate);
29950 if (PyErr_Occurred()) SWIG_fail;
29951 }
29952 Py_INCREF(Py_None); resultobj = Py_None;
29953 return resultobj;
29954 fail:
29955 return NULL;
29956 }
29957
29958
29959 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
29960 PyObject *resultobj;
29961 wxPyControl *arg1 = (wxPyControl *) 0 ;
29962 int arg2 ;
29963 int arg3 ;
29964 PyObject * obj0 = 0 ;
29965 PyObject * obj1 = 0 ;
29966 PyObject * obj2 = 0 ;
29967 char *kwnames[] = {
29968 (char *) "self",(char *) "x",(char *) "y", NULL
29969 };
29970
29971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29974 arg2 = (int)SWIG_As_int(obj1);
29975 if (PyErr_Occurred()) SWIG_fail;
29976 arg3 = (int)SWIG_As_int(obj2);
29977 if (PyErr_Occurred()) SWIG_fail;
29978 {
29979 PyThreadState* __tstate = wxPyBeginAllowThreads();
29980 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29981
29982 wxPyEndAllowThreads(__tstate);
29983 if (PyErr_Occurred()) SWIG_fail;
29984 }
29985 Py_INCREF(Py_None); resultobj = Py_None;
29986 return resultobj;
29987 fail:
29988 return NULL;
29989 }
29990
29991
29992 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
29993 PyObject *resultobj;
29994 wxPyControl *arg1 = (wxPyControl *) 0 ;
29995 int *arg2 = (int *) 0 ;
29996 int *arg3 = (int *) 0 ;
29997 int temp2 ;
29998 int res2 = 0 ;
29999 int temp3 ;
30000 int res3 = 0 ;
30001 PyObject * obj0 = 0 ;
30002 char *kwnames[] = {
30003 (char *) "self", NULL
30004 };
30005
30006 arg2 = &temp2; res2 = SWIG_NEWOBJ;
30007 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
30009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30011 {
30012 PyThreadState* __tstate = wxPyBeginAllowThreads();
30013 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
30014
30015 wxPyEndAllowThreads(__tstate);
30016 if (PyErr_Occurred()) SWIG_fail;
30017 }
30018 Py_INCREF(Py_None); resultobj = Py_None;
30019 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30020 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30021 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30022 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30023 return resultobj;
30024 fail:
30025 return NULL;
30026 }
30027
30028
30029 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
30030 PyObject *resultobj;
30031 wxPyControl *arg1 = (wxPyControl *) 0 ;
30032 int *arg2 = (int *) 0 ;
30033 int *arg3 = (int *) 0 ;
30034 int temp2 ;
30035 int res2 = 0 ;
30036 int temp3 ;
30037 int res3 = 0 ;
30038 PyObject * obj0 = 0 ;
30039 char *kwnames[] = {
30040 (char *) "self", NULL
30041 };
30042
30043 arg2 = &temp2; res2 = SWIG_NEWOBJ;
30044 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
30046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30048 {
30049 PyThreadState* __tstate = wxPyBeginAllowThreads();
30050 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
30051
30052 wxPyEndAllowThreads(__tstate);
30053 if (PyErr_Occurred()) SWIG_fail;
30054 }
30055 Py_INCREF(Py_None); resultobj = Py_None;
30056 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30057 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30058 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30059 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30060 return resultobj;
30061 fail:
30062 return NULL;
30063 }
30064
30065
30066 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30067 PyObject *resultobj;
30068 wxPyControl *arg1 = (wxPyControl *) 0 ;
30069 int *arg2 = (int *) 0 ;
30070 int *arg3 = (int *) 0 ;
30071 int temp2 ;
30072 int res2 = 0 ;
30073 int temp3 ;
30074 int res3 = 0 ;
30075 PyObject * obj0 = 0 ;
30076 char *kwnames[] = {
30077 (char *) "self", NULL
30078 };
30079
30080 arg2 = &temp2; res2 = SWIG_NEWOBJ;
30081 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
30083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30085 {
30086 PyThreadState* __tstate = wxPyBeginAllowThreads();
30087 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
30088
30089 wxPyEndAllowThreads(__tstate);
30090 if (PyErr_Occurred()) SWIG_fail;
30091 }
30092 Py_INCREF(Py_None); resultobj = Py_None;
30093 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30094 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30095 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30096 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30097 return resultobj;
30098 fail:
30099 return NULL;
30100 }
30101
30102
30103 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
30104 PyObject *resultobj;
30105 wxPyControl *arg1 = (wxPyControl *) 0 ;
30106 wxSize result;
30107 PyObject * obj0 = 0 ;
30108 char *kwnames[] = {
30109 (char *) "self", NULL
30110 };
30111
30112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
30113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30115 {
30116 PyThreadState* __tstate = wxPyBeginAllowThreads();
30117 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
30118
30119 wxPyEndAllowThreads(__tstate);
30120 if (PyErr_Occurred()) SWIG_fail;
30121 }
30122 {
30123 wxSize * resultptr;
30124 resultptr = new wxSize((wxSize &) result);
30125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
30126 }
30127 return resultobj;
30128 fail:
30129 return NULL;
30130 }
30131
30132
30133 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
30134 PyObject *resultobj;
30135 wxPyControl *arg1 = (wxPyControl *) 0 ;
30136 wxSize result;
30137 PyObject * obj0 = 0 ;
30138 char *kwnames[] = {
30139 (char *) "self", NULL
30140 };
30141
30142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
30143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30145 {
30146 PyThreadState* __tstate = wxPyBeginAllowThreads();
30147 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
30148
30149 wxPyEndAllowThreads(__tstate);
30150 if (PyErr_Occurred()) SWIG_fail;
30151 }
30152 {
30153 wxSize * resultptr;
30154 resultptr = new wxSize((wxSize &) result);
30155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
30156 }
30157 return resultobj;
30158 fail:
30159 return NULL;
30160 }
30161
30162
30163 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
30164 PyObject *resultobj;
30165 wxPyControl *arg1 = (wxPyControl *) 0 ;
30166 PyObject * obj0 = 0 ;
30167 char *kwnames[] = {
30168 (char *) "self", NULL
30169 };
30170
30171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
30172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30174 {
30175 PyThreadState* __tstate = wxPyBeginAllowThreads();
30176 (arg1)->base_InitDialog();
30177
30178 wxPyEndAllowThreads(__tstate);
30179 if (PyErr_Occurred()) SWIG_fail;
30180 }
30181 Py_INCREF(Py_None); resultobj = Py_None;
30182 return resultobj;
30183 fail:
30184 return NULL;
30185 }
30186
30187
30188 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
30189 PyObject *resultobj;
30190 wxPyControl *arg1 = (wxPyControl *) 0 ;
30191 bool result;
30192 PyObject * obj0 = 0 ;
30193 char *kwnames[] = {
30194 (char *) "self", NULL
30195 };
30196
30197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
30198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30200 {
30201 PyThreadState* __tstate = wxPyBeginAllowThreads();
30202 result = (bool)(arg1)->base_TransferDataToWindow();
30203
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 {
30208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30209 }
30210 return resultobj;
30211 fail:
30212 return NULL;
30213 }
30214
30215
30216 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
30217 PyObject *resultobj;
30218 wxPyControl *arg1 = (wxPyControl *) 0 ;
30219 bool result;
30220 PyObject * obj0 = 0 ;
30221 char *kwnames[] = {
30222 (char *) "self", NULL
30223 };
30224
30225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
30226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30228 {
30229 PyThreadState* __tstate = wxPyBeginAllowThreads();
30230 result = (bool)(arg1)->base_TransferDataFromWindow();
30231
30232 wxPyEndAllowThreads(__tstate);
30233 if (PyErr_Occurred()) SWIG_fail;
30234 }
30235 {
30236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30237 }
30238 return resultobj;
30239 fail:
30240 return NULL;
30241 }
30242
30243
30244 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj;
30246 wxPyControl *arg1 = (wxPyControl *) 0 ;
30247 bool result;
30248 PyObject * obj0 = 0 ;
30249 char *kwnames[] = {
30250 (char *) "self", NULL
30251 };
30252
30253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
30254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30256 {
30257 PyThreadState* __tstate = wxPyBeginAllowThreads();
30258 result = (bool)(arg1)->base_Validate();
30259
30260 wxPyEndAllowThreads(__tstate);
30261 if (PyErr_Occurred()) SWIG_fail;
30262 }
30263 {
30264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30265 }
30266 return resultobj;
30267 fail:
30268 return NULL;
30269 }
30270
30271
30272 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
30273 PyObject *resultobj;
30274 wxPyControl *arg1 = (wxPyControl *) 0 ;
30275 bool result;
30276 PyObject * obj0 = 0 ;
30277 char *kwnames[] = {
30278 (char *) "self", NULL
30279 };
30280
30281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
30282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30284 {
30285 PyThreadState* __tstate = wxPyBeginAllowThreads();
30286 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
30287
30288 wxPyEndAllowThreads(__tstate);
30289 if (PyErr_Occurred()) SWIG_fail;
30290 }
30291 {
30292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30293 }
30294 return resultobj;
30295 fail:
30296 return NULL;
30297 }
30298
30299
30300 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
30301 PyObject *resultobj;
30302 wxPyControl *arg1 = (wxPyControl *) 0 ;
30303 bool result;
30304 PyObject * obj0 = 0 ;
30305 char *kwnames[] = {
30306 (char *) "self", NULL
30307 };
30308
30309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
30310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30312 {
30313 PyThreadState* __tstate = wxPyBeginAllowThreads();
30314 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
30315
30316 wxPyEndAllowThreads(__tstate);
30317 if (PyErr_Occurred()) SWIG_fail;
30318 }
30319 {
30320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30321 }
30322 return resultobj;
30323 fail:
30324 return NULL;
30325 }
30326
30327
30328 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
30329 PyObject *resultobj;
30330 wxPyControl *arg1 = (wxPyControl *) 0 ;
30331 wxSize result;
30332 PyObject * obj0 = 0 ;
30333 char *kwnames[] = {
30334 (char *) "self", NULL
30335 };
30336
30337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
30338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30340 {
30341 PyThreadState* __tstate = wxPyBeginAllowThreads();
30342 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
30343
30344 wxPyEndAllowThreads(__tstate);
30345 if (PyErr_Occurred()) SWIG_fail;
30346 }
30347 {
30348 wxSize * resultptr;
30349 resultptr = new wxSize((wxSize &) result);
30350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
30351 }
30352 return resultobj;
30353 fail:
30354 return NULL;
30355 }
30356
30357
30358 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
30359 PyObject *resultobj;
30360 wxPyControl *arg1 = (wxPyControl *) 0 ;
30361 wxWindow *arg2 = (wxWindow *) 0 ;
30362 PyObject * obj0 = 0 ;
30363 PyObject * obj1 = 0 ;
30364 char *kwnames[] = {
30365 (char *) "self",(char *) "child", NULL
30366 };
30367
30368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
30369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30371 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30373 {
30374 PyThreadState* __tstate = wxPyBeginAllowThreads();
30375 (arg1)->base_AddChild(arg2);
30376
30377 wxPyEndAllowThreads(__tstate);
30378 if (PyErr_Occurred()) SWIG_fail;
30379 }
30380 Py_INCREF(Py_None); resultobj = Py_None;
30381 return resultobj;
30382 fail:
30383 return NULL;
30384 }
30385
30386
30387 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
30388 PyObject *resultobj;
30389 wxPyControl *arg1 = (wxPyControl *) 0 ;
30390 wxWindow *arg2 = (wxWindow *) 0 ;
30391 PyObject * obj0 = 0 ;
30392 PyObject * obj1 = 0 ;
30393 char *kwnames[] = {
30394 (char *) "self",(char *) "child", NULL
30395 };
30396
30397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
30398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30402 {
30403 PyThreadState* __tstate = wxPyBeginAllowThreads();
30404 (arg1)->base_RemoveChild(arg2);
30405
30406 wxPyEndAllowThreads(__tstate);
30407 if (PyErr_Occurred()) SWIG_fail;
30408 }
30409 Py_INCREF(Py_None); resultobj = Py_None;
30410 return resultobj;
30411 fail:
30412 return NULL;
30413 }
30414
30415
30416 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
30417 PyObject *resultobj;
30418 wxPyControl *arg1 = (wxPyControl *) 0 ;
30419 bool result;
30420 PyObject * obj0 = 0 ;
30421 char *kwnames[] = {
30422 (char *) "self", NULL
30423 };
30424
30425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
30426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30428 {
30429 PyThreadState* __tstate = wxPyBeginAllowThreads();
30430 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
30431
30432 wxPyEndAllowThreads(__tstate);
30433 if (PyErr_Occurred()) SWIG_fail;
30434 }
30435 {
30436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30437 }
30438 return resultobj;
30439 fail:
30440 return NULL;
30441 }
30442
30443
30444 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
30445 PyObject *resultobj;
30446 wxPyControl *arg1 = (wxPyControl *) 0 ;
30447 wxColour *arg2 = 0 ;
30448 wxColour temp2 ;
30449 PyObject * obj0 = 0 ;
30450 PyObject * obj1 = 0 ;
30451 char *kwnames[] = {
30452 (char *) "self",(char *) "c", NULL
30453 };
30454
30455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
30456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30458 {
30459 arg2 = &temp2;
30460 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30461 }
30462 {
30463 PyThreadState* __tstate = wxPyBeginAllowThreads();
30464 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
30465
30466 wxPyEndAllowThreads(__tstate);
30467 if (PyErr_Occurred()) SWIG_fail;
30468 }
30469 Py_INCREF(Py_None); resultobj = Py_None;
30470 return resultobj;
30471 fail:
30472 return NULL;
30473 }
30474
30475
30476 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30477 PyObject *resultobj;
30478 wxPyControl *arg1 = (wxPyControl *) 0 ;
30479 wxVisualAttributes result;
30480 PyObject * obj0 = 0 ;
30481 char *kwnames[] = {
30482 (char *) "self", NULL
30483 };
30484
30485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
30486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30488 {
30489 PyThreadState* __tstate = wxPyBeginAllowThreads();
30490 result = (arg1)->base_GetDefaultAttributes();
30491
30492 wxPyEndAllowThreads(__tstate);
30493 if (PyErr_Occurred()) SWIG_fail;
30494 }
30495 {
30496 wxVisualAttributes * resultptr;
30497 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
30498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30499 }
30500 return resultobj;
30501 fail:
30502 return NULL;
30503 }
30504
30505
30506 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
30507 PyObject *obj;
30508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30509 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
30510 Py_INCREF(obj);
30511 return Py_BuildValue((char *)"");
30512 }
30513 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
30514 PyObject *resultobj;
30515 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
30516 int arg2 = (int) 0 ;
30517 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30518 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30519 wxHelpEvent *result;
30520 wxPoint temp3 ;
30521 PyObject * obj0 = 0 ;
30522 PyObject * obj1 = 0 ;
30523 PyObject * obj2 = 0 ;
30524 char *kwnames[] = {
30525 (char *) "type",(char *) "winid",(char *) "pt", NULL
30526 };
30527
30528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30529 if (obj0) {
30530 arg1 = (wxEventType)SWIG_As_int(obj0);
30531 if (PyErr_Occurred()) SWIG_fail;
30532 }
30533 if (obj1) {
30534 arg2 = (int)SWIG_As_int(obj1);
30535 if (PyErr_Occurred()) SWIG_fail;
30536 }
30537 if (obj2) {
30538 {
30539 arg3 = &temp3;
30540 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30541 }
30542 }
30543 {
30544 PyThreadState* __tstate = wxPyBeginAllowThreads();
30545 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
30546
30547 wxPyEndAllowThreads(__tstate);
30548 if (PyErr_Occurred()) SWIG_fail;
30549 }
30550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
30551 return resultobj;
30552 fail:
30553 return NULL;
30554 }
30555
30556
30557 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30558 PyObject *resultobj;
30559 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30560 wxPoint result;
30561 PyObject * obj0 = 0 ;
30562 char *kwnames[] = {
30563 (char *) "self", NULL
30564 };
30565
30566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
30567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30569 {
30570 PyThreadState* __tstate = wxPyBeginAllowThreads();
30571 result = ((wxHelpEvent const *)arg1)->GetPosition();
30572
30573 wxPyEndAllowThreads(__tstate);
30574 if (PyErr_Occurred()) SWIG_fail;
30575 }
30576 {
30577 wxPoint * resultptr;
30578 resultptr = new wxPoint((wxPoint &) result);
30579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30580 }
30581 return resultobj;
30582 fail:
30583 return NULL;
30584 }
30585
30586
30587 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
30588 PyObject *resultobj;
30589 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30590 wxPoint *arg2 = 0 ;
30591 wxPoint temp2 ;
30592 PyObject * obj0 = 0 ;
30593 PyObject * obj1 = 0 ;
30594 char *kwnames[] = {
30595 (char *) "self",(char *) "pos", NULL
30596 };
30597
30598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
30599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30601 {
30602 arg2 = &temp2;
30603 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30604 }
30605 {
30606 PyThreadState* __tstate = wxPyBeginAllowThreads();
30607 (arg1)->SetPosition((wxPoint const &)*arg2);
30608
30609 wxPyEndAllowThreads(__tstate);
30610 if (PyErr_Occurred()) SWIG_fail;
30611 }
30612 Py_INCREF(Py_None); resultobj = Py_None;
30613 return resultobj;
30614 fail:
30615 return NULL;
30616 }
30617
30618
30619 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
30620 PyObject *resultobj;
30621 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30622 wxString *result;
30623 PyObject * obj0 = 0 ;
30624 char *kwnames[] = {
30625 (char *) "self", NULL
30626 };
30627
30628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
30629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30631 {
30632 PyThreadState* __tstate = wxPyBeginAllowThreads();
30633 {
30634 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
30635 result = (wxString *) &_result_ref;
30636 }
30637
30638 wxPyEndAllowThreads(__tstate);
30639 if (PyErr_Occurred()) SWIG_fail;
30640 }
30641 {
30642 #if wxUSE_UNICODE
30643 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30644 #else
30645 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30646 #endif
30647 }
30648 return resultobj;
30649 fail:
30650 return NULL;
30651 }
30652
30653
30654 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
30655 PyObject *resultobj;
30656 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30657 wxString *arg2 = 0 ;
30658 bool temp2 = false ;
30659 PyObject * obj0 = 0 ;
30660 PyObject * obj1 = 0 ;
30661 char *kwnames[] = {
30662 (char *) "self",(char *) "link", NULL
30663 };
30664
30665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
30666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30668 {
30669 arg2 = wxString_in_helper(obj1);
30670 if (arg2 == NULL) SWIG_fail;
30671 temp2 = true;
30672 }
30673 {
30674 PyThreadState* __tstate = wxPyBeginAllowThreads();
30675 (arg1)->SetLink((wxString const &)*arg2);
30676
30677 wxPyEndAllowThreads(__tstate);
30678 if (PyErr_Occurred()) SWIG_fail;
30679 }
30680 Py_INCREF(Py_None); resultobj = Py_None;
30681 {
30682 if (temp2)
30683 delete arg2;
30684 }
30685 return resultobj;
30686 fail:
30687 {
30688 if (temp2)
30689 delete arg2;
30690 }
30691 return NULL;
30692 }
30693
30694
30695 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
30696 PyObject *resultobj;
30697 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30698 wxString *result;
30699 PyObject * obj0 = 0 ;
30700 char *kwnames[] = {
30701 (char *) "self", NULL
30702 };
30703
30704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
30705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30707 {
30708 PyThreadState* __tstate = wxPyBeginAllowThreads();
30709 {
30710 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30711 result = (wxString *) &_result_ref;
30712 }
30713
30714 wxPyEndAllowThreads(__tstate);
30715 if (PyErr_Occurred()) SWIG_fail;
30716 }
30717 {
30718 #if wxUSE_UNICODE
30719 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30720 #else
30721 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30722 #endif
30723 }
30724 return resultobj;
30725 fail:
30726 return NULL;
30727 }
30728
30729
30730 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
30731 PyObject *resultobj;
30732 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30733 wxString *arg2 = 0 ;
30734 bool temp2 = false ;
30735 PyObject * obj0 = 0 ;
30736 PyObject * obj1 = 0 ;
30737 char *kwnames[] = {
30738 (char *) "self",(char *) "target", NULL
30739 };
30740
30741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30744 {
30745 arg2 = wxString_in_helper(obj1);
30746 if (arg2 == NULL) SWIG_fail;
30747 temp2 = true;
30748 }
30749 {
30750 PyThreadState* __tstate = wxPyBeginAllowThreads();
30751 (arg1)->SetTarget((wxString const &)*arg2);
30752
30753 wxPyEndAllowThreads(__tstate);
30754 if (PyErr_Occurred()) SWIG_fail;
30755 }
30756 Py_INCREF(Py_None); resultobj = Py_None;
30757 {
30758 if (temp2)
30759 delete arg2;
30760 }
30761 return resultobj;
30762 fail:
30763 {
30764 if (temp2)
30765 delete arg2;
30766 }
30767 return NULL;
30768 }
30769
30770
30771 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
30772 PyObject *obj;
30773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30774 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30775 Py_INCREF(obj);
30776 return Py_BuildValue((char *)"");
30777 }
30778 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30779 PyObject *resultobj;
30780 wxWindow *arg1 = (wxWindow *) NULL ;
30781 bool arg2 = (bool) true ;
30782 wxContextHelp *result;
30783 PyObject * obj0 = 0 ;
30784 PyObject * obj1 = 0 ;
30785 char *kwnames[] = {
30786 (char *) "window",(char *) "doNow", NULL
30787 };
30788
30789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30790 if (obj0) {
30791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30793 }
30794 if (obj1) {
30795 arg2 = (bool)SWIG_As_bool(obj1);
30796 if (PyErr_Occurred()) SWIG_fail;
30797 }
30798 {
30799 if (!wxPyCheckForApp()) SWIG_fail;
30800 PyThreadState* __tstate = wxPyBeginAllowThreads();
30801 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30802
30803 wxPyEndAllowThreads(__tstate);
30804 if (PyErr_Occurred()) SWIG_fail;
30805 }
30806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30807 return resultobj;
30808 fail:
30809 return NULL;
30810 }
30811
30812
30813 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30814 PyObject *resultobj;
30815 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30816 PyObject * obj0 = 0 ;
30817 char *kwnames[] = {
30818 (char *) "self", NULL
30819 };
30820
30821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30824 {
30825 PyThreadState* __tstate = wxPyBeginAllowThreads();
30826 delete arg1;
30827
30828 wxPyEndAllowThreads(__tstate);
30829 if (PyErr_Occurred()) SWIG_fail;
30830 }
30831 Py_INCREF(Py_None); resultobj = Py_None;
30832 return resultobj;
30833 fail:
30834 return NULL;
30835 }
30836
30837
30838 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30839 PyObject *resultobj;
30840 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30841 wxWindow *arg2 = (wxWindow *) NULL ;
30842 bool result;
30843 PyObject * obj0 = 0 ;
30844 PyObject * obj1 = 0 ;
30845 char *kwnames[] = {
30846 (char *) "self",(char *) "window", NULL
30847 };
30848
30849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30852 if (obj1) {
30853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30855 }
30856 {
30857 PyThreadState* __tstate = wxPyBeginAllowThreads();
30858 result = (bool)(arg1)->BeginContextHelp(arg2);
30859
30860 wxPyEndAllowThreads(__tstate);
30861 if (PyErr_Occurred()) SWIG_fail;
30862 }
30863 {
30864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30865 }
30866 return resultobj;
30867 fail:
30868 return NULL;
30869 }
30870
30871
30872 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
30873 PyObject *resultobj;
30874 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30875 bool result;
30876 PyObject * obj0 = 0 ;
30877 char *kwnames[] = {
30878 (char *) "self", NULL
30879 };
30880
30881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30884 {
30885 PyThreadState* __tstate = wxPyBeginAllowThreads();
30886 result = (bool)(arg1)->EndContextHelp();
30887
30888 wxPyEndAllowThreads(__tstate);
30889 if (PyErr_Occurred()) SWIG_fail;
30890 }
30891 {
30892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30893 }
30894 return resultobj;
30895 fail:
30896 return NULL;
30897 }
30898
30899
30900 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
30901 PyObject *obj;
30902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30903 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30904 Py_INCREF(obj);
30905 return Py_BuildValue((char *)"");
30906 }
30907 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
30908 PyObject *resultobj;
30909 wxWindow *arg1 = (wxWindow *) 0 ;
30910 int arg2 = (int) wxID_CONTEXT_HELP ;
30911 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30912 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30913 wxSize const &arg4_defvalue = wxDefaultSize ;
30914 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30915 long arg5 = (long) wxBU_AUTODRAW ;
30916 wxContextHelpButton *result;
30917 wxPoint temp3 ;
30918 wxSize temp4 ;
30919 PyObject * obj0 = 0 ;
30920 PyObject * obj1 = 0 ;
30921 PyObject * obj2 = 0 ;
30922 PyObject * obj3 = 0 ;
30923 PyObject * obj4 = 0 ;
30924 char *kwnames[] = {
30925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30926 };
30927
30928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30931 if (obj1) {
30932 arg2 = (int)SWIG_As_int(obj1);
30933 if (PyErr_Occurred()) SWIG_fail;
30934 }
30935 if (obj2) {
30936 {
30937 arg3 = &temp3;
30938 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30939 }
30940 }
30941 if (obj3) {
30942 {
30943 arg4 = &temp4;
30944 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30945 }
30946 }
30947 if (obj4) {
30948 arg5 = (long)SWIG_As_long(obj4);
30949 if (PyErr_Occurred()) SWIG_fail;
30950 }
30951 {
30952 if (!wxPyCheckForApp()) SWIG_fail;
30953 PyThreadState* __tstate = wxPyBeginAllowThreads();
30954 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30955
30956 wxPyEndAllowThreads(__tstate);
30957 if (PyErr_Occurred()) SWIG_fail;
30958 }
30959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30960 return resultobj;
30961 fail:
30962 return NULL;
30963 }
30964
30965
30966 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
30967 PyObject *obj;
30968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30969 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30970 Py_INCREF(obj);
30971 return Py_BuildValue((char *)"");
30972 }
30973 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
30974 PyObject *resultobj;
30975 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30976 wxHelpProvider *result;
30977 PyObject * obj0 = 0 ;
30978 char *kwnames[] = {
30979 (char *) "helpProvider", NULL
30980 };
30981
30982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30985 {
30986 PyThreadState* __tstate = wxPyBeginAllowThreads();
30987 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30988
30989 wxPyEndAllowThreads(__tstate);
30990 if (PyErr_Occurred()) SWIG_fail;
30991 }
30992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30993 return resultobj;
30994 fail:
30995 return NULL;
30996 }
30997
30998
30999 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
31000 PyObject *resultobj;
31001 wxHelpProvider *result;
31002 char *kwnames[] = {
31003 NULL
31004 };
31005
31006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
31007 {
31008 PyThreadState* __tstate = wxPyBeginAllowThreads();
31009 result = (wxHelpProvider *)wxHelpProvider::Get();
31010
31011 wxPyEndAllowThreads(__tstate);
31012 if (PyErr_Occurred()) SWIG_fail;
31013 }
31014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
31015 return resultobj;
31016 fail:
31017 return NULL;
31018 }
31019
31020
31021 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31022 PyObject *resultobj;
31023 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31024 wxWindow *arg2 = (wxWindow *) 0 ;
31025 wxString result;
31026 PyObject * obj0 = 0 ;
31027 PyObject * obj1 = 0 ;
31028 char *kwnames[] = {
31029 (char *) "self",(char *) "window", NULL
31030 };
31031
31032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
31033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31037 {
31038 PyThreadState* __tstate = wxPyBeginAllowThreads();
31039 result = (arg1)->GetHelp((wxWindow const *)arg2);
31040
31041 wxPyEndAllowThreads(__tstate);
31042 if (PyErr_Occurred()) SWIG_fail;
31043 }
31044 {
31045 #if wxUSE_UNICODE
31046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31047 #else
31048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31049 #endif
31050 }
31051 return resultobj;
31052 fail:
31053 return NULL;
31054 }
31055
31056
31057 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31058 PyObject *resultobj;
31059 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31060 wxWindow *arg2 = (wxWindow *) 0 ;
31061 bool result;
31062 PyObject * obj0 = 0 ;
31063 PyObject * obj1 = 0 ;
31064 char *kwnames[] = {
31065 (char *) "self",(char *) "window", NULL
31066 };
31067
31068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
31069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31073 {
31074 PyThreadState* __tstate = wxPyBeginAllowThreads();
31075 result = (bool)(arg1)->ShowHelp(arg2);
31076
31077 wxPyEndAllowThreads(__tstate);
31078 if (PyErr_Occurred()) SWIG_fail;
31079 }
31080 {
31081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31082 }
31083 return resultobj;
31084 fail:
31085 return NULL;
31086 }
31087
31088
31089 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31090 PyObject *resultobj;
31091 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31092 wxWindow *arg2 = (wxWindow *) 0 ;
31093 wxString *arg3 = 0 ;
31094 bool temp3 = false ;
31095 PyObject * obj0 = 0 ;
31096 PyObject * obj1 = 0 ;
31097 PyObject * obj2 = 0 ;
31098 char *kwnames[] = {
31099 (char *) "self",(char *) "window",(char *) "text", NULL
31100 };
31101
31102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
31103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31107 {
31108 arg3 = wxString_in_helper(obj2);
31109 if (arg3 == NULL) SWIG_fail;
31110 temp3 = true;
31111 }
31112 {
31113 PyThreadState* __tstate = wxPyBeginAllowThreads();
31114 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
31115
31116 wxPyEndAllowThreads(__tstate);
31117 if (PyErr_Occurred()) SWIG_fail;
31118 }
31119 Py_INCREF(Py_None); resultobj = Py_None;
31120 {
31121 if (temp3)
31122 delete arg3;
31123 }
31124 return resultobj;
31125 fail:
31126 {
31127 if (temp3)
31128 delete arg3;
31129 }
31130 return NULL;
31131 }
31132
31133
31134 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
31135 PyObject *resultobj;
31136 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31137 int arg2 ;
31138 wxString *arg3 = 0 ;
31139 bool temp3 = false ;
31140 PyObject * obj0 = 0 ;
31141 PyObject * obj1 = 0 ;
31142 PyObject * obj2 = 0 ;
31143 char *kwnames[] = {
31144 (char *) "self",(char *) "id",(char *) "text", NULL
31145 };
31146
31147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
31148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31150 arg2 = (int)SWIG_As_int(obj1);
31151 if (PyErr_Occurred()) SWIG_fail;
31152 {
31153 arg3 = wxString_in_helper(obj2);
31154 if (arg3 == NULL) SWIG_fail;
31155 temp3 = true;
31156 }
31157 {
31158 PyThreadState* __tstate = wxPyBeginAllowThreads();
31159 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
31160
31161 wxPyEndAllowThreads(__tstate);
31162 if (PyErr_Occurred()) SWIG_fail;
31163 }
31164 Py_INCREF(Py_None); resultobj = Py_None;
31165 {
31166 if (temp3)
31167 delete arg3;
31168 }
31169 return resultobj;
31170 fail:
31171 {
31172 if (temp3)
31173 delete arg3;
31174 }
31175 return NULL;
31176 }
31177
31178
31179 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31180 PyObject *resultobj;
31181 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31182 wxWindow *arg2 = (wxWindow *) 0 ;
31183 PyObject * obj0 = 0 ;
31184 PyObject * obj1 = 0 ;
31185 char *kwnames[] = {
31186 (char *) "self",(char *) "window", NULL
31187 };
31188
31189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
31190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31194 {
31195 PyThreadState* __tstate = wxPyBeginAllowThreads();
31196 (arg1)->RemoveHelp(arg2);
31197
31198 wxPyEndAllowThreads(__tstate);
31199 if (PyErr_Occurred()) SWIG_fail;
31200 }
31201 Py_INCREF(Py_None); resultobj = Py_None;
31202 return resultobj;
31203 fail:
31204 return NULL;
31205 }
31206
31207
31208 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
31209 PyObject *resultobj;
31210 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
31211 PyObject * obj0 = 0 ;
31212 char *kwnames[] = {
31213 (char *) "self", NULL
31214 };
31215
31216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
31217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
31218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31219 {
31220 PyThreadState* __tstate = wxPyBeginAllowThreads();
31221 wxHelpProvider_Destroy(arg1);
31222
31223 wxPyEndAllowThreads(__tstate);
31224 if (PyErr_Occurred()) SWIG_fail;
31225 }
31226 Py_INCREF(Py_None); resultobj = Py_None;
31227 return resultobj;
31228 fail:
31229 return NULL;
31230 }
31231
31232
31233 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
31234 PyObject *obj;
31235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31236 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
31237 Py_INCREF(obj);
31238 return Py_BuildValue((char *)"");
31239 }
31240 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
31241 PyObject *resultobj;
31242 wxSimpleHelpProvider *result;
31243 char *kwnames[] = {
31244 NULL
31245 };
31246
31247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
31248 {
31249 PyThreadState* __tstate = wxPyBeginAllowThreads();
31250 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
31251
31252 wxPyEndAllowThreads(__tstate);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 }
31255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
31256 return resultobj;
31257 fail:
31258 return NULL;
31259 }
31260
31261
31262 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
31263 PyObject *obj;
31264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31265 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
31266 Py_INCREF(obj);
31267 return Py_BuildValue((char *)"");
31268 }
31269 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
31270 PyObject *resultobj;
31271 wxBitmap *arg1 = 0 ;
31272 wxCursor const &arg2_defvalue = wxNullCursor ;
31273 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31274 wxGenericDragImage *result;
31275 PyObject * obj0 = 0 ;
31276 PyObject * obj1 = 0 ;
31277 char *kwnames[] = {
31278 (char *) "image",(char *) "cursor", NULL
31279 };
31280
31281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
31282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
31283 SWIG_POINTER_EXCEPTION | 0)) == -1)
31284 SWIG_fail;
31285 if (arg1 == NULL) {
31286 PyErr_SetString(PyExc_TypeError,"null reference");
31287 SWIG_fail;
31288 }
31289 if (obj1) {
31290 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31291 SWIG_POINTER_EXCEPTION | 0)) == -1)
31292 SWIG_fail;
31293 if (arg2 == NULL) {
31294 PyErr_SetString(PyExc_TypeError,"null reference");
31295 SWIG_fail;
31296 }
31297 }
31298 {
31299 if (!wxPyCheckForApp()) SWIG_fail;
31300 PyThreadState* __tstate = wxPyBeginAllowThreads();
31301 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
31302
31303 wxPyEndAllowThreads(__tstate);
31304 if (PyErr_Occurred()) SWIG_fail;
31305 }
31306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31307 return resultobj;
31308 fail:
31309 return NULL;
31310 }
31311
31312
31313 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
31314 PyObject *resultobj;
31315 wxIcon *arg1 = 0 ;
31316 wxCursor const &arg2_defvalue = wxNullCursor ;
31317 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31318 wxGenericDragImage *result;
31319 PyObject * obj0 = 0 ;
31320 PyObject * obj1 = 0 ;
31321 char *kwnames[] = {
31322 (char *) "image",(char *) "cursor", NULL
31323 };
31324
31325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
31326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
31327 SWIG_POINTER_EXCEPTION | 0)) == -1)
31328 SWIG_fail;
31329 if (arg1 == NULL) {
31330 PyErr_SetString(PyExc_TypeError,"null reference");
31331 SWIG_fail;
31332 }
31333 if (obj1) {
31334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31335 SWIG_POINTER_EXCEPTION | 0)) == -1)
31336 SWIG_fail;
31337 if (arg2 == NULL) {
31338 PyErr_SetString(PyExc_TypeError,"null reference");
31339 SWIG_fail;
31340 }
31341 }
31342 {
31343 if (!wxPyCheckForApp()) SWIG_fail;
31344 PyThreadState* __tstate = wxPyBeginAllowThreads();
31345 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
31346
31347 wxPyEndAllowThreads(__tstate);
31348 if (PyErr_Occurred()) SWIG_fail;
31349 }
31350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31351 return resultobj;
31352 fail:
31353 return NULL;
31354 }
31355
31356
31357 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
31358 PyObject *resultobj;
31359 wxString *arg1 = 0 ;
31360 wxCursor const &arg2_defvalue = wxNullCursor ;
31361 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
31362 wxGenericDragImage *result;
31363 bool temp1 = false ;
31364 PyObject * obj0 = 0 ;
31365 PyObject * obj1 = 0 ;
31366 char *kwnames[] = {
31367 (char *) "str",(char *) "cursor", NULL
31368 };
31369
31370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
31371 {
31372 arg1 = wxString_in_helper(obj0);
31373 if (arg1 == NULL) SWIG_fail;
31374 temp1 = true;
31375 }
31376 if (obj1) {
31377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
31378 SWIG_POINTER_EXCEPTION | 0)) == -1)
31379 SWIG_fail;
31380 if (arg2 == NULL) {
31381 PyErr_SetString(PyExc_TypeError,"null reference");
31382 SWIG_fail;
31383 }
31384 }
31385 {
31386 if (!wxPyCheckForApp()) SWIG_fail;
31387 PyThreadState* __tstate = wxPyBeginAllowThreads();
31388 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
31389
31390 wxPyEndAllowThreads(__tstate);
31391 if (PyErr_Occurred()) SWIG_fail;
31392 }
31393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31394 {
31395 if (temp1)
31396 delete arg1;
31397 }
31398 return resultobj;
31399 fail:
31400 {
31401 if (temp1)
31402 delete arg1;
31403 }
31404 return NULL;
31405 }
31406
31407
31408 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
31409 PyObject *resultobj;
31410 wxPyTreeCtrl *arg1 = 0 ;
31411 wxTreeItemId *arg2 = 0 ;
31412 wxGenericDragImage *result;
31413 PyObject * obj0 = 0 ;
31414 PyObject * obj1 = 0 ;
31415 char *kwnames[] = {
31416 (char *) "treeCtrl",(char *) "id", NULL
31417 };
31418
31419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
31420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
31421 SWIG_POINTER_EXCEPTION | 0)) == -1)
31422 SWIG_fail;
31423 if (arg1 == NULL) {
31424 PyErr_SetString(PyExc_TypeError,"null reference");
31425 SWIG_fail;
31426 }
31427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
31428 SWIG_POINTER_EXCEPTION | 0)) == -1)
31429 SWIG_fail;
31430 if (arg2 == NULL) {
31431 PyErr_SetString(PyExc_TypeError,"null reference");
31432 SWIG_fail;
31433 }
31434 {
31435 if (!wxPyCheckForApp()) SWIG_fail;
31436 PyThreadState* __tstate = wxPyBeginAllowThreads();
31437 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
31438
31439 wxPyEndAllowThreads(__tstate);
31440 if (PyErr_Occurred()) SWIG_fail;
31441 }
31442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31443 return resultobj;
31444 fail:
31445 return NULL;
31446 }
31447
31448
31449 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
31450 PyObject *resultobj;
31451 wxPyListCtrl *arg1 = 0 ;
31452 long arg2 ;
31453 wxGenericDragImage *result;
31454 PyObject * obj0 = 0 ;
31455 PyObject * obj1 = 0 ;
31456 char *kwnames[] = {
31457 (char *) "listCtrl",(char *) "id", NULL
31458 };
31459
31460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
31461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
31462 SWIG_POINTER_EXCEPTION | 0)) == -1)
31463 SWIG_fail;
31464 if (arg1 == NULL) {
31465 PyErr_SetString(PyExc_TypeError,"null reference");
31466 SWIG_fail;
31467 }
31468 arg2 = (long)SWIG_As_long(obj1);
31469 if (PyErr_Occurred()) SWIG_fail;
31470 {
31471 if (!wxPyCheckForApp()) SWIG_fail;
31472 PyThreadState* __tstate = wxPyBeginAllowThreads();
31473 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
31474
31475 wxPyEndAllowThreads(__tstate);
31476 if (PyErr_Occurred()) SWIG_fail;
31477 }
31478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31479 return resultobj;
31480 fail:
31481 return NULL;
31482 }
31483
31484
31485 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
31486 PyObject *resultobj;
31487 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31488 PyObject * obj0 = 0 ;
31489 char *kwnames[] = {
31490 (char *) "self", NULL
31491 };
31492
31493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
31494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31496 {
31497 PyThreadState* __tstate = wxPyBeginAllowThreads();
31498 delete arg1;
31499
31500 wxPyEndAllowThreads(__tstate);
31501 if (PyErr_Occurred()) SWIG_fail;
31502 }
31503 Py_INCREF(Py_None); resultobj = Py_None;
31504 return resultobj;
31505 fail:
31506 return NULL;
31507 }
31508
31509
31510 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
31511 PyObject *resultobj;
31512 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31513 wxBitmap *arg2 = (wxBitmap *) 0 ;
31514 PyObject * obj0 = 0 ;
31515 PyObject * obj1 = 0 ;
31516 char *kwnames[] = {
31517 (char *) "self",(char *) "bitmap", NULL
31518 };
31519
31520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
31521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31525 {
31526 PyThreadState* __tstate = wxPyBeginAllowThreads();
31527 (arg1)->SetBackingBitmap(arg2);
31528
31529 wxPyEndAllowThreads(__tstate);
31530 if (PyErr_Occurred()) SWIG_fail;
31531 }
31532 Py_INCREF(Py_None); resultobj = Py_None;
31533 return resultobj;
31534 fail:
31535 return NULL;
31536 }
31537
31538
31539 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
31540 PyObject *resultobj;
31541 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31542 wxPoint *arg2 = 0 ;
31543 wxWindow *arg3 = (wxWindow *) 0 ;
31544 bool arg4 = (bool) false ;
31545 wxRect *arg5 = (wxRect *) NULL ;
31546 bool result;
31547 wxPoint temp2 ;
31548 PyObject * obj0 = 0 ;
31549 PyObject * obj1 = 0 ;
31550 PyObject * obj2 = 0 ;
31551 PyObject * obj3 = 0 ;
31552 PyObject * obj4 = 0 ;
31553 char *kwnames[] = {
31554 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31555 };
31556
31557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31560 {
31561 arg2 = &temp2;
31562 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31563 }
31564 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31566 if (obj3) {
31567 arg4 = (bool)SWIG_As_bool(obj3);
31568 if (PyErr_Occurred()) SWIG_fail;
31569 }
31570 if (obj4) {
31571 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
31572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31573 }
31574 {
31575 PyThreadState* __tstate = wxPyBeginAllowThreads();
31576 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
31577
31578 wxPyEndAllowThreads(__tstate);
31579 if (PyErr_Occurred()) SWIG_fail;
31580 }
31581 {
31582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31583 }
31584 return resultobj;
31585 fail:
31586 return NULL;
31587 }
31588
31589
31590 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
31591 PyObject *resultobj;
31592 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31593 wxPoint *arg2 = 0 ;
31594 wxWindow *arg3 = (wxWindow *) 0 ;
31595 wxWindow *arg4 = (wxWindow *) 0 ;
31596 bool result;
31597 wxPoint temp2 ;
31598 PyObject * obj0 = 0 ;
31599 PyObject * obj1 = 0 ;
31600 PyObject * obj2 = 0 ;
31601 PyObject * obj3 = 0 ;
31602 char *kwnames[] = {
31603 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31604 };
31605
31606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31609 {
31610 arg2 = &temp2;
31611 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31612 }
31613 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31615 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
31616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31617 {
31618 PyThreadState* __tstate = wxPyBeginAllowThreads();
31619 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
31620
31621 wxPyEndAllowThreads(__tstate);
31622 if (PyErr_Occurred()) SWIG_fail;
31623 }
31624 {
31625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31626 }
31627 return resultobj;
31628 fail:
31629 return NULL;
31630 }
31631
31632
31633 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
31634 PyObject *resultobj;
31635 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31636 bool result;
31637 PyObject * obj0 = 0 ;
31638 char *kwnames[] = {
31639 (char *) "self", NULL
31640 };
31641
31642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
31643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31645 {
31646 PyThreadState* __tstate = wxPyBeginAllowThreads();
31647 result = (bool)(arg1)->EndDrag();
31648
31649 wxPyEndAllowThreads(__tstate);
31650 if (PyErr_Occurred()) SWIG_fail;
31651 }
31652 {
31653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31654 }
31655 return resultobj;
31656 fail:
31657 return NULL;
31658 }
31659
31660
31661 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
31662 PyObject *resultobj;
31663 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31664 wxPoint *arg2 = 0 ;
31665 bool result;
31666 wxPoint temp2 ;
31667 PyObject * obj0 = 0 ;
31668 PyObject * obj1 = 0 ;
31669 char *kwnames[] = {
31670 (char *) "self",(char *) "pt", NULL
31671 };
31672
31673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
31674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31676 {
31677 arg2 = &temp2;
31678 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31679 }
31680 {
31681 PyThreadState* __tstate = wxPyBeginAllowThreads();
31682 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31683
31684 wxPyEndAllowThreads(__tstate);
31685 if (PyErr_Occurred()) SWIG_fail;
31686 }
31687 {
31688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31689 }
31690 return resultobj;
31691 fail:
31692 return NULL;
31693 }
31694
31695
31696 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
31697 PyObject *resultobj;
31698 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31699 bool result;
31700 PyObject * obj0 = 0 ;
31701 char *kwnames[] = {
31702 (char *) "self", NULL
31703 };
31704
31705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
31706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31708 {
31709 PyThreadState* __tstate = wxPyBeginAllowThreads();
31710 result = (bool)(arg1)->Show();
31711
31712 wxPyEndAllowThreads(__tstate);
31713 if (PyErr_Occurred()) SWIG_fail;
31714 }
31715 {
31716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31717 }
31718 return resultobj;
31719 fail:
31720 return NULL;
31721 }
31722
31723
31724 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
31725 PyObject *resultobj;
31726 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31727 bool result;
31728 PyObject * obj0 = 0 ;
31729 char *kwnames[] = {
31730 (char *) "self", NULL
31731 };
31732
31733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
31734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31736 {
31737 PyThreadState* __tstate = wxPyBeginAllowThreads();
31738 result = (bool)(arg1)->Hide();
31739
31740 wxPyEndAllowThreads(__tstate);
31741 if (PyErr_Occurred()) SWIG_fail;
31742 }
31743 {
31744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31745 }
31746 return resultobj;
31747 fail:
31748 return NULL;
31749 }
31750
31751
31752 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
31753 PyObject *resultobj;
31754 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31755 wxPoint *arg2 = 0 ;
31756 wxRect result;
31757 wxPoint temp2 ;
31758 PyObject * obj0 = 0 ;
31759 PyObject * obj1 = 0 ;
31760 char *kwnames[] = {
31761 (char *) "self",(char *) "pos", NULL
31762 };
31763
31764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31767 {
31768 arg2 = &temp2;
31769 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31770 }
31771 {
31772 PyThreadState* __tstate = wxPyBeginAllowThreads();
31773 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31774
31775 wxPyEndAllowThreads(__tstate);
31776 if (PyErr_Occurred()) SWIG_fail;
31777 }
31778 {
31779 wxRect * resultptr;
31780 resultptr = new wxRect((wxRect &) result);
31781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31782 }
31783 return resultobj;
31784 fail:
31785 return NULL;
31786 }
31787
31788
31789 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
31790 PyObject *resultobj;
31791 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31792 wxDC *arg2 = 0 ;
31793 wxPoint *arg3 = 0 ;
31794 bool result;
31795 wxPoint temp3 ;
31796 PyObject * obj0 = 0 ;
31797 PyObject * obj1 = 0 ;
31798 PyObject * obj2 = 0 ;
31799 char *kwnames[] = {
31800 (char *) "self",(char *) "dc",(char *) "pos", NULL
31801 };
31802
31803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31807 SWIG_POINTER_EXCEPTION | 0)) == -1)
31808 SWIG_fail;
31809 if (arg2 == NULL) {
31810 PyErr_SetString(PyExc_TypeError,"null reference");
31811 SWIG_fail;
31812 }
31813 {
31814 arg3 = &temp3;
31815 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31816 }
31817 {
31818 PyThreadState* __tstate = wxPyBeginAllowThreads();
31819 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31820
31821 wxPyEndAllowThreads(__tstate);
31822 if (PyErr_Occurred()) SWIG_fail;
31823 }
31824 {
31825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31826 }
31827 return resultobj;
31828 fail:
31829 return NULL;
31830 }
31831
31832
31833 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
31834 PyObject *resultobj;
31835 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31836 wxDC *arg2 = 0 ;
31837 wxMemoryDC *arg3 = 0 ;
31838 wxRect *arg4 = 0 ;
31839 wxRect *arg5 = 0 ;
31840 bool result;
31841 wxRect temp4 ;
31842 wxRect temp5 ;
31843 PyObject * obj0 = 0 ;
31844 PyObject * obj1 = 0 ;
31845 PyObject * obj2 = 0 ;
31846 PyObject * obj3 = 0 ;
31847 PyObject * obj4 = 0 ;
31848 char *kwnames[] = {
31849 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31850 };
31851
31852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31856 SWIG_POINTER_EXCEPTION | 0)) == -1)
31857 SWIG_fail;
31858 if (arg2 == NULL) {
31859 PyErr_SetString(PyExc_TypeError,"null reference");
31860 SWIG_fail;
31861 }
31862 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31863 SWIG_POINTER_EXCEPTION | 0)) == -1)
31864 SWIG_fail;
31865 if (arg3 == NULL) {
31866 PyErr_SetString(PyExc_TypeError,"null reference");
31867 SWIG_fail;
31868 }
31869 {
31870 arg4 = &temp4;
31871 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31872 }
31873 {
31874 arg5 = &temp5;
31875 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31876 }
31877 {
31878 PyThreadState* __tstate = wxPyBeginAllowThreads();
31879 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31880
31881 wxPyEndAllowThreads(__tstate);
31882 if (PyErr_Occurred()) SWIG_fail;
31883 }
31884 {
31885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31886 }
31887 return resultobj;
31888 fail:
31889 return NULL;
31890 }
31891
31892
31893 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
31894 PyObject *resultobj;
31895 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31896 wxPoint *arg2 = 0 ;
31897 wxPoint *arg3 = 0 ;
31898 bool arg4 ;
31899 bool arg5 ;
31900 bool result;
31901 wxPoint temp2 ;
31902 wxPoint temp3 ;
31903 PyObject * obj0 = 0 ;
31904 PyObject * obj1 = 0 ;
31905 PyObject * obj2 = 0 ;
31906 PyObject * obj3 = 0 ;
31907 PyObject * obj4 = 0 ;
31908 char *kwnames[] = {
31909 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31910 };
31911
31912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31915 {
31916 arg2 = &temp2;
31917 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31918 }
31919 {
31920 arg3 = &temp3;
31921 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31922 }
31923 arg4 = (bool)SWIG_As_bool(obj3);
31924 if (PyErr_Occurred()) SWIG_fail;
31925 arg5 = (bool)SWIG_As_bool(obj4);
31926 if (PyErr_Occurred()) SWIG_fail;
31927 {
31928 PyThreadState* __tstate = wxPyBeginAllowThreads();
31929 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31930
31931 wxPyEndAllowThreads(__tstate);
31932 if (PyErr_Occurred()) SWIG_fail;
31933 }
31934 {
31935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31936 }
31937 return resultobj;
31938 fail:
31939 return NULL;
31940 }
31941
31942
31943 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
31944 PyObject *obj;
31945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31946 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31947 Py_INCREF(obj);
31948 return Py_BuildValue((char *)"");
31949 }
31950 static PyMethodDef SwigMethods[] = {
31951 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
31952 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
31953 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31954 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
31955 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
31956 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31957 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
31958 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31959 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
31960 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31961 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31962 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31963 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31964 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31965 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
31966 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
31967 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
31968 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
31969 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
31970 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
31971 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
31972 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
31973 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31974 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
31975 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31976 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31977 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
31978 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31979 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31980 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
31981 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
31982 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
31983 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31984 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
31985 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
31986 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
31987 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31988 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31989 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
31990 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
31991 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
31992 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
31993 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31994 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
31995 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
31996 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31997 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
31998 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
31999 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
32000 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
32001 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32002 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32003 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32004 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
32005 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32006 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
32007 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32008 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
32009 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
32010 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
32011 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
32012 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32013 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
32014 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
32015 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
32016 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32017 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32018 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32019 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32020 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32021 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32022 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32023 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32024 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
32025 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
32026 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32027 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
32028 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
32029 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
32030 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32031 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32032 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
32033 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
32034 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
32035 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32036 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32037 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
32038 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32039 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
32040 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
32041 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
32042 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32043 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32044 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
32045 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32046 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32047 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32048 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32049 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32050 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
32051 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32052 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
32053 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
32054 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
32055 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32056 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
32057 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
32058 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
32059 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32060 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32061 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
32062 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
32063 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32064 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32065 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
32066 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
32067 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
32068 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32069 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32070 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
32071 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32072 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32073 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32074 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32075 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
32076 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
32077 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
32078 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32079 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
32080 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
32081 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL },
32082 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32083 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
32084 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
32085 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32086 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32087 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
32088 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32089 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32090 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32091 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
32092 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
32093 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32094 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32095 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
32096 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32097 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32098 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
32099 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
32100 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
32101 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32102 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32103 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
32104 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32105 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32106 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32107 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
32108 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
32109 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32110 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32111 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32112 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
32113 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
32114 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
32115 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
32116 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32117 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32118 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32119 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32120 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32121 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32122 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
32123 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
32124 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
32125 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
32126 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
32127 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
32128 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
32129 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32130 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32131 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
32132 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
32133 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
32134 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
32135 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
32136 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
32137 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
32138 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
32139 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
32140 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
32141 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
32142 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32143 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32144 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32145 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32146 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32147 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
32148 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32149 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32150 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL },
32151 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
32152 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
32153 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
32154 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
32155 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
32156 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
32157 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
32158 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
32159 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
32160 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
32161 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32162 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
32163 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32164 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32165 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32166 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32167 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
32168 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL },
32169 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL },
32170 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
32171 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
32172 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32173 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
32174 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32175 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32176 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
32177 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
32178 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
32179 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
32180 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
32181 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32182 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32183 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
32184 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32185 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32186 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32187 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32188 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
32189 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32190 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
32191 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
32192 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
32193 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32194 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32195 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32196 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32197 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32198 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32199 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32200 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32201 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32202 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32203 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
32204 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32205 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32206 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32207 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32208 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32209 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
32210 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32211 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32212 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32213 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32214 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32215 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
32216 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32217 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32218 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32219 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
32220 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
32221 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
32222 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32223 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32224 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32225 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32226 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32227 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
32228 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
32229 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
32230 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
32231 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
32232 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
32233 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
32234 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
32235 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
32236 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32237 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
32238 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
32239 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
32240 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32241 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32242 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32243 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32244 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
32245 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
32246 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
32247 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32248 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32249 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32250 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
32251 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32252 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32253 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
32254 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
32255 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
32256 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32257 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
32258 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32259 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
32260 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
32261 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
32262 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
32263 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
32264 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
32265 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
32266 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
32267 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
32268 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32269 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32270 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
32271 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
32272 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
32273 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32274 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32275 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
32276 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32277 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32278 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
32279 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
32280 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
32281 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32282 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32283 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
32284 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32285 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32286 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32287 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32288 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
32289 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
32290 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32291 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
32292 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
32293 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32294 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
32295 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
32296 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32297 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32298 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32299 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS, NULL },
32300 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32301 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32302 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32303 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32304 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32305 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS, NULL },
32306 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
32307 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32308 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32309 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
32310 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
32311 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
32312 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32313 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
32314 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
32315 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32316 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
32317 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32318 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
32319 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
32320 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
32321 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32322 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32323 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL },
32324 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
32325 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32326 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
32327 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32328 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL },
32329 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32330 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32331 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
32332 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL },
32333 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32334 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL },
32335 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32336 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32337 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32338 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32339 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
32340 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
32341 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
32342 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
32343 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
32344 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
32345 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32346 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
32347 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32348 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
32349 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
32350 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32351 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32352 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
32353 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32354 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32355 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
32356 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32357 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32358 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32359 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32360 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32361 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32362 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
32363 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32364 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32365 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32366 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32367 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32368 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32369 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32370 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
32371 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
32372 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32373 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32374 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
32375 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
32376 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
32377 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32378 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
32379 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
32380 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
32381 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
32382 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32383 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
32384 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
32385 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
32386 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
32387 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
32388 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
32389 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
32390 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
32391 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
32392 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32393 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
32394 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
32395 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
32396 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
32397 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32398 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32399 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32400 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32401 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
32402 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32403 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32404 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32405 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32406 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
32407 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
32408 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
32409 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
32410 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
32411 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
32412 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
32413 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32414 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
32415 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
32416 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32417 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
32418 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
32419 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
32420 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32421 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
32422 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32423 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32424 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32425 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
32426 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
32427 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32428 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32429 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32430 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32431 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32432 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
32433 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32434 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32435 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32436 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32437 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
32438 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32439 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32440 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
32441 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32442 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32443 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32444 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32445 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
32446 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
32447 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
32448 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32449 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32450 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32451 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32452 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32453 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32454 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32455 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32456 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32457 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32458 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
32459 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32460 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32461 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32462 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32463 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
32464 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32465 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32466 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32467 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32468 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32469 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32470 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32471 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
32472 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
32473 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32474 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32475 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
32476 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
32477 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
32478 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
32479 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
32480 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
32481 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
32482 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
32483 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
32484 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
32485 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
32486 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
32487 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
32488 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
32489 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
32490 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32491 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
32492 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
32493 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32494 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32495 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
32496 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
32497 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
32498 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
32499 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
32500 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
32501 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
32502 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32503 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32504 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32505 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32506 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32507 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32508 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
32509 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32510 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
32511 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32512 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
32513 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
32514 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32515 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32516 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
32517 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32518 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32519 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32520 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32521 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32522 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32523 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32524 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32525 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32526 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32527 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
32528 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
32529 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
32530 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32531 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32532 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32533 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32534 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
32535 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32536 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32537 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32538 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32539 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32540 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32541 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
32542 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32543 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32544 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
32545 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32546 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32547 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32548 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32549 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
32550 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32551 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
32552 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
32553 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32554 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32555 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32556 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
32557 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
32558 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
32559 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
32560 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
32561 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
32562 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32563 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32564 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
32565 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
32566 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32567 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32568 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32569 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
32570 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32571 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
32572 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32573 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32574 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32575 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
32576 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
32577 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32578 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
32579 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
32580 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
32581 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32582 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32583 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32584 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32585 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
32586 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32587 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32588 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
32589 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
32590 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
32591 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32592 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
32593 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
32594 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
32595 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32596 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32597 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32598 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32599 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
32600 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
32601 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32602 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
32603 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
32604 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
32605 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
32606 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
32607 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
32608 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
32609 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32610 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
32611 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
32612 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32613 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32614 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32615 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
32616 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32617 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32618 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
32619 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32620 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
32621 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32622 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32623 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32624 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
32625 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32626 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32627 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32628 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
32629 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
32630 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
32631 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
32632 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32633 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32634 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32635 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32636 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
32637 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32638 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
32639 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32640 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32641 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32642 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32643 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32644 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32645 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32646 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
32647 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32648 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32649 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32650 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32651 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32652 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32653 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32654 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
32655 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
32656 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
32657 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
32658 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32659 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
32660 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
32661 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32662 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32663 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
32664 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32665 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32666 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
32667 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32668 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
32669 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
32670 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
32671 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32672 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
32673 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
32674 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
32675 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
32676 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
32677 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32678 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
32679 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
32680 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32681 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32682 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
32683 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
32684 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
32685 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
32686 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
32687 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
32688 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32689 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
32690 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
32691 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
32692 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
32693 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
32694 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
32695 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32696 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
32697 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
32698 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
32699 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
32700 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
32701 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32702 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
32703 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32704 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32705 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32706 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
32707 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
32708 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
32709 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32710 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
32711 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32712 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32713 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32714 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
32715 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32716 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
32717 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32718 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
32719 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
32720 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32721 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
32722 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32723 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32724 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32725 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
32726 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
32727 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32728 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32729 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
32730 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
32731 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
32732 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
32733 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32734 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
32735 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
32736 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
32737 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
32738 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32739 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL },
32740 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32741 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32742 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32743 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32744 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32745 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32746 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32747 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
32748 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32749 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
32750 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
32751 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
32752 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32753 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32754 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
32755 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
32756 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
32757 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
32758 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
32759 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
32760 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
32761 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
32762 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
32763 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
32764 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
32765 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32766 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32767 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32768 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
32769 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32770 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
32771 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
32772 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32773 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32774 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32775 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32776 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
32777 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
32778 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
32779 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
32780 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
32781 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32782 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32783 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32784 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
32785 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
32786 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
32787 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
32788 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
32789 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
32790 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32791 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
32792 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
32793 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
32794 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
32795 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
32796 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
32797 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32798 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
32799 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
32800 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
32801 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
32802 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
32803 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
32804 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32805 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
32806 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
32807 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
32808 { NULL, NULL, 0, NULL }
32809 };
32810
32811
32812 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32813
32814 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32815 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32816 }
32817 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32818 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32819 }
32820 static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x) {
32821 return (void *)((wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32822 }
32823 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32824 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32825 }
32826 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32827 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32828 }
32829 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32830 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32831 }
32832 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32833 return (void *)((wxSizer *) ((wxGridSizer *) x));
32834 }
32835 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32836 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32837 }
32838 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32839 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32840 }
32841 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32842 return (void *)((wxSizer *) ((wxPySizer *) x));
32843 }
32844 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32845 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32846 }
32847 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32848 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32849 }
32850 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32851 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32852 }
32853 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32854 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32855 }
32856 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32857 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32858 }
32859 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32860 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32861 }
32862 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32863 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32864 }
32865 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32866 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32867 }
32868 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32869 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32870 }
32871 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32873 }
32874 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32875 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32876 }
32877 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32878 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32879 }
32880 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32881 return (void *)((wxEvent *) ((wxPyEvent *) x));
32882 }
32883 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32884 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32885 }
32886 static void *_p_wxListEventTo_p_wxEvent(void *x) {
32887 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32888 }
32889 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32890 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32891 }
32892 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32893 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32894 }
32895 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
32896 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
32897 }
32898 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32899 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32900 }
32901 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32902 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32903 }
32904 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32905 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32906 }
32907 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32908 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32909 }
32910 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32911 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32912 }
32913 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32914 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32915 }
32916 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32917 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32918 }
32919 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32920 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32921 }
32922 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32923 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32924 }
32925 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32926 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32927 }
32928 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32929 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32930 }
32931 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32932 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32933 }
32934 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32935 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32936 }
32937 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32938 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32939 }
32940 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32941 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32942 }
32943 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32944 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32945 }
32946 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32947 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32948 }
32949 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32950 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32951 }
32952 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32953 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32954 }
32955 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32956 return (void *)((wxEvent *) ((wxShowEvent *) x));
32957 }
32958 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32959 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32960 }
32961 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32962 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32963 }
32964 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32965 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32966 }
32967 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32968 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32969 }
32970 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32971 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32972 }
32973 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32974 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32975 }
32976 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32977 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32978 }
32979 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32980 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32981 }
32982 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32983 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32984 }
32985 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32986 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32987 }
32988 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32989 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32990 }
32991 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32992 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32993 }
32994 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32995 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32996 }
32997 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32998 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32999 }
33000 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
33001 return (void *)((wxControl *) ((wxBookCtrl *) x));
33002 }
33003 static void *_p_wxToolBarTo_p_wxControl(void *x) {
33004 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
33005 }
33006 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
33007 return (void *)((wxControl *) ((wxToggleButton *) x));
33008 }
33009 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
33010 return (void *)((wxControl *) ((wxRadioButton *) x));
33011 }
33012 static void *_p_wxPyControlTo_p_wxControl(void *x) {
33013 return (void *)((wxControl *) ((wxPyControl *) x));
33014 }
33015 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
33016 return (void *)((wxControl *) ((wxToolBarBase *) x));
33017 }
33018 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
33019 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33020 }
33021 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
33022 return (void *)((wxControl *) ((wxPyListCtrl *) x));
33023 }
33024 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
33025 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33026 }
33027 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
33028 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
33029 }
33030 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
33031 return (void *)((wxControl *) ((wxScrollBar *) x));
33032 }
33033 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
33034 return (void *)((wxControl *) ((wxControlWithItems *) x));
33035 }
33036 static void *_p_wxGaugeTo_p_wxControl(void *x) {
33037 return (void *)((wxControl *) ((wxGauge *) x));
33038 }
33039 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
33040 return (void *)((wxControl *) ((wxStaticLine *) x));
33041 }
33042 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
33043 return (void *)((wxControl *) (wxBookCtrl *) ((wxChoicebook *) x));
33044 }
33045 static void *_p_wxListbookTo_p_wxControl(void *x) {
33046 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
33047 }
33048 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
33049 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
33050 }
33051 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
33052 return (void *)((wxControl *) ((wxCheckBox *) x));
33053 }
33054 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
33055 return (void *)((wxControl *) ((wxRadioBox *) x));
33056 }
33057 static void *_p_wxChoiceTo_p_wxControl(void *x) {
33058 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
33059 }
33060 static void *_p_wxListBoxTo_p_wxControl(void *x) {
33061 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
33062 }
33063 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
33064 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33065 }
33066 static void *_p_wxListViewTo_p_wxControl(void *x) {
33067 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
33068 }
33069 static void *_p_wxNotebookTo_p_wxControl(void *x) {
33070 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
33071 }
33072 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
33073 return (void *)((wxControl *) ((wxStaticBitmap *) x));
33074 }
33075 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
33076 return (void *)((wxControl *) ((wxSpinCtrl *) x));
33077 }
33078 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
33079 return (void *)((wxControl *) ((wxStaticText *) x));
33080 }
33081 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
33082 return (void *)((wxControl *) ((wxStaticBox *) x));
33083 }
33084 static void *_p_wxSliderTo_p_wxControl(void *x) {
33085 return (void *)((wxControl *) ((wxSlider *) x));
33086 }
33087 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
33088 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33089 }
33090 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
33091 return (void *)((wxControl *) ((wxSpinButton *) x));
33092 }
33093 static void *_p_wxButtonTo_p_wxControl(void *x) {
33094 return (void *)((wxControl *) ((wxButton *) x));
33095 }
33096 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
33097 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
33098 }
33099 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
33100 return (void *)((wxControl *) ((wxTextCtrl *) x));
33101 }
33102 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
33103 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
33104 }
33105 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
33106 return (void *)((wxChoice *) ((wxComboBox *) x));
33107 }
33108 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
33109 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
33110 }
33111 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
33112 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
33113 }
33114 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
33115 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33116 }
33117 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
33118 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
33119 }
33120 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
33121 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
33122 }
33123 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
33124 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33125 }
33126 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
33127 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
33128 }
33129 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
33130 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33131 }
33132 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
33133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
33134 }
33135 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
33136 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
33137 }
33138 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
33139 return (void *)((wxEvtHandler *) ((wxValidator *) x));
33140 }
33141 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
33142 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
33143 }
33144 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
33145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33146 }
33147 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
33148 return (void *)((wxEvtHandler *) ((wxMenu *) x));
33149 }
33150 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
33151 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
33152 }
33153 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
33154 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
33155 }
33156 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
33157 return (void *)((wxEvtHandler *) ((wxWindow *) x));
33158 }
33159 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
33160 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
33161 }
33162 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
33163 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
33164 }
33165 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
33166 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33167 }
33168 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
33169 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
33170 }
33171 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
33172 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33173 }
33174 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
33175 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
33176 }
33177 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
33178 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
33179 }
33180 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
33181 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
33182 }
33183 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
33184 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
33185 }
33186 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
33187 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33188 }
33189 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
33190 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
33191 }
33192 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
33193 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
33194 }
33195 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
33196 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33197 }
33198 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
33199 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33200 }
33201 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
33202 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
33203 }
33204 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
33205 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
33206 }
33207 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
33208 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
33209 }
33210 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
33211 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33212 }
33213 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
33214 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33215 }
33216 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
33217 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33218 }
33219 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
33220 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33221 }
33222 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
33223 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
33224 }
33225 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
33226 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33227 }
33228 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
33229 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33230 }
33231 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
33232 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
33233 }
33234 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
33235 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
33236 }
33237 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
33238 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
33239 }
33240 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
33241 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
33242 }
33243 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
33244 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
33245 }
33246 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
33247 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33248 }
33249 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
33250 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33251 }
33252 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
33253 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
33254 }
33255 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
33256 return (void *)((wxListBox *) ((wxCheckListBox *) x));
33257 }
33258 static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x) {
33259 return (void *)((wxBookCtrl *) ((wxChoicebook *) x));
33260 }
33261 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
33262 return (void *)((wxBookCtrl *) ((wxListbook *) x));
33263 }
33264 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
33265 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
33266 }
33267 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
33268 return (void *)((wxButton *) ((wxBitmapButton *) x));
33269 }
33270 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
33271 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
33272 }
33273 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
33274 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
33275 }
33276 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
33277 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
33278 }
33279 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33280 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33281 }
33282 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33283 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33284 }
33285 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33286 return (void *)((wxObject *) ((wxSizerItem *) x));
33287 }
33288 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33289 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33290 }
33291 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33292 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33293 }
33294 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
33295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
33296 }
33297 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
33298 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33299 }
33300 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33301 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33302 }
33303 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33304 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33305 }
33306 static void *_p_wxSizerTo_p_wxObject(void *x) {
33307 return (void *)((wxObject *) ((wxSizer *) x));
33308 }
33309 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33310 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33311 }
33312 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
33313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
33314 }
33315 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
33316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
33317 }
33318 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33319 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33320 }
33321 static void *_p_wxEventTo_p_wxObject(void *x) {
33322 return (void *)((wxObject *) ((wxEvent *) x));
33323 }
33324 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33325 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33326 }
33327 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33328 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33329 }
33330 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33331 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33332 }
33333 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
33334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
33335 }
33336 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
33337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
33338 }
33339 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
33340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33341 }
33342 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33343 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33344 }
33345 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33346 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33347 }
33348 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33349 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33350 }
33351 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33352 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33353 }
33354 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33355 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33356 }
33357 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33358 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33359 }
33360 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
33361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
33362 }
33363 static void *_p_wxControlTo_p_wxObject(void *x) {
33364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33365 }
33366 static void *_p_wxPyControlTo_p_wxObject(void *x) {
33367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
33368 }
33369 static void *_p_wxGaugeTo_p_wxObject(void *x) {
33370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
33371 }
33372 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
33373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
33374 }
33375 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
33376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
33377 }
33378 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
33379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
33380 }
33381 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33382 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33383 }
33384 static void *_p_wxChoiceTo_p_wxObject(void *x) {
33385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33386 }
33387 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33388 return (void *)((wxObject *) ((wxFSFile *) x));
33389 }
33390 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33391 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33392 }
33393 static void *_p_wxListViewTo_p_wxObject(void *x) {
33394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33395 }
33396 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
33397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
33398 }
33399 static void *_p_wxNotebookTo_p_wxObject(void *x) {
33400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33401 }
33402 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33403 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33404 }
33405 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33406 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33407 }
33408 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
33409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33410 }
33411 static void *_p_wxListbookTo_p_wxObject(void *x) {
33412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33413 }
33414 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33415 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33416 }
33417 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
33418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
33419 }
33420 static void *_p_wxSliderTo_p_wxObject(void *x) {
33421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
33422 }
33423 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33424 return (void *)((wxObject *) ((wxMenuItem *) x));
33425 }
33426 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33427 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33428 }
33429 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33430 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33431 }
33432 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33433 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33434 }
33435 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33436 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33437 }
33438 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33439 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33440 }
33441 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33442 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33443 }
33444 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33445 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33446 }
33447 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33448 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33449 }
33450 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
33451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
33452 }
33453 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
33454 return (void *)((wxObject *) ((wxContextHelp *) x));
33455 }
33456 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33457 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33458 }
33459 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33460 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33461 }
33462 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33463 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33464 }
33465 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33466 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33467 }
33468 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33469 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33470 }
33471 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33472 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33473 }
33474 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33475 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33476 }
33477 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33478 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33479 }
33480 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33481 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33482 }
33483 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33484 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33485 }
33486 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33487 return (void *)((wxObject *) ((wxImageHandler *) x));
33488 }
33489 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33490 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33491 }
33492 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33493 return (void *)((wxObject *) ((wxEvtHandler *) x));
33494 }
33495 static void *_p_wxListEventTo_p_wxObject(void *x) {
33496 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
33497 }
33498 static void *_p_wxListBoxTo_p_wxObject(void *x) {
33499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33500 }
33501 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
33502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33503 }
33504 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
33505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
33506 }
33507 static void *_p_wxButtonTo_p_wxObject(void *x) {
33508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
33509 }
33510 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
33511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33512 }
33513 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
33514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
33515 }
33516 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
33517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33518 }
33519 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33520 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33521 }
33522 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
33523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
33524 }
33525 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
33526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
33527 }
33528 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
33529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33530 }
33531 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
33532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
33533 }
33534 static void *_p_wxListItemTo_p_wxObject(void *x) {
33535 return (void *)((wxObject *) ((wxListItem *) x));
33536 }
33537 static void *_p_wxImageTo_p_wxObject(void *x) {
33538 return (void *)((wxObject *) ((wxImage *) x));
33539 }
33540 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
33541 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
33542 }
33543 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33544 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33545 }
33546 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
33547 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
33548 }
33549 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
33550 return (void *)((wxObject *) ((wxGenericDragImage *) x));
33551 }
33552 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
33553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33554 }
33555 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
33556 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33557 }
33558 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
33559 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33560 }
33561 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
33562 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33563 }
33564 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33565 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33566 }
33567 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33568 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33569 }
33570 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33571 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33572 }
33573 static void *_p_wxWindowTo_p_wxObject(void *x) {
33574 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33575 }
33576 static void *_p_wxMenuTo_p_wxObject(void *x) {
33577 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33578 }
33579 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33581 }
33582 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33583 return (void *)((wxObject *) ((wxFileSystem *) x));
33584 }
33585 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33586 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33587 }
33588 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33589 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33590 }
33591 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33592 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33593 }
33594 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33595 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33596 }
33597 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33598 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33599 }
33600 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33601 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33602 }
33603 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
33604 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
33605 }
33606 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33607 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33608 }
33609 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33610 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33611 }
33612 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
33613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
33614 }
33615 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33616 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33617 }
33618 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33619 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33620 }
33621 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33622 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33623 }
33624 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33626 }
33627 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
33628 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
33629 }
33630 static void *_p_wxToolBarTo_p_wxObject(void *x) {
33631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33632 }
33633 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33634 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33635 }
33636 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33637 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33638 }
33639 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
33640 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
33641 }
33642 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
33643 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
33644 }
33645 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33646 return (void *)((wxWindow *) ((wxMenuBar *) x));
33647 }
33648 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
33649 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33650 }
33651 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
33652 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
33653 }
33654 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
33655 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
33656 }
33657 static void *_p_wxControlTo_p_wxWindow(void *x) {
33658 return (void *)((wxWindow *) ((wxControl *) x));
33659 }
33660 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
33661 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
33662 }
33663 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
33664 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33665 }
33666 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
33667 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
33668 }
33669 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
33670 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33671 }
33672 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
33673 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
33674 }
33675 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
33676 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
33677 }
33678 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
33679 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
33680 }
33681 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33682 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33683 }
33684 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
33685 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
33686 }
33687 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
33688 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
33689 }
33690 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
33691 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
33692 }
33693 static void *_p_wxListbookTo_p_wxWindow(void *x) {
33694 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33695 }
33696 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
33697 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
33698 }
33699 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
33700 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
33701 }
33702 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
33703 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
33704 }
33705 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
33706 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33707 }
33708 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
33709 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33710 }
33711 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
33712 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33713 }
33714 static void *_p_wxListViewTo_p_wxWindow(void *x) {
33715 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33716 }
33717 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
33718 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33719 }
33720 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33721 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33722 }
33723 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33724 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33725 }
33726 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33727 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33728 }
33729 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33730 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33731 }
33732 static void *_p_wxSliderTo_p_wxWindow(void *x) {
33733 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33734 }
33735 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33736 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33737 }
33738 static void *_p_wxButtonTo_p_wxWindow(void *x) {
33739 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33740 }
33741 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33742 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33743 }
33744 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33745 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33746 }
33747 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33748 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33749 }
33750 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33751 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33752 }
33753 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
33754 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33755 }
33756 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33757 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33758 }
33759 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33760 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33761 }
33762 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33763 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33764 }
33765 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33766 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33767 }
33768 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33769 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33770 }
33771 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
33772 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
33773 }
33774 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33775 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33776 }
33777 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33778 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33779 }
33780 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33781 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33782 }
33783 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33784 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33785 }
33786 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33787 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33788 }
33789 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33790 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33791 }
33792 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33793 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33794 }
33795 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33796 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33797 }
33798 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33799 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33800 }
33801 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
33802 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
33803 }
33804 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33805 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33806 }
33807 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33808 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33809 }
33810 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33811 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33812 }
33813 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33814 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33815 }
33816 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33817 return (void *)((wxValidator *) ((wxPyValidator *) x));
33818 }
33819 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}};
33820 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}};
33821 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}};
33822 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}};
33823 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}};
33824 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}};
33825 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}};
33826 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}};
33827 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}};
33828 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}};
33829 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}};
33830 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}};
33831 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}};
33832 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}};
33833 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}};
33834 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}};
33835 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}};
33836 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}};
33837 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}};
33838 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}};
33839 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}};
33840 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}};
33841 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}};
33842 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}};
33843 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}};
33844 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}};
33845 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}};
33846 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}};
33847 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}};
33848 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}};
33849 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}};
33850 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}};
33851 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}};
33852 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}};
33853 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}};
33854 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}};
33855 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}};
33856 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}};
33857 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}};
33858 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}};
33859 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}};
33860 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}};
33861 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}};
33862 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}};
33863 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}};
33864 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}};
33865 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}};
33866 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}};
33867 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}};
33868 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}};
33869 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}};
33870 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}};
33871 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}};
33872 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}};
33873 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}};
33874 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}};
33875 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}};
33876 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}};
33877 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}};
33878 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}};
33879 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}};
33880 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}};
33881 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}};
33882 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}};
33883 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}};
33884 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}};
33885 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}};
33886 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}};
33887 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}};
33888 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}};
33889 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}};
33890 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}};
33891 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}};
33892 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}};
33893 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}};
33894 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}};
33895 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}};
33896 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}};
33897 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}};
33898 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}};
33899 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}};
33900 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}};
33901 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}};
33902 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}};
33903 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}};
33904 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}};
33905 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}};
33906
33907 static swig_type_info *swig_types_initial[] = {
33908 _swigt__p_wxTextUrlEvent,
33909 _swigt__p_wxBookCtrlEvent,
33910 _swigt__p_wxSizer,
33911 _swigt__p_wxCheckBox,
33912 _swigt__p_wxPyTreeCtrl,
33913 _swigt__p_wxEvent,
33914 _swigt__p_wxGenericDirCtrl,
33915 _swigt__p_bool,
33916 _swigt__p_wxPyTreeItemData,
33917 _swigt__p_wxItemContainer,
33918 _swigt__p_wxPyListCtrl,
33919 _swigt__p_wxDirFilterListCtrl,
33920 _swigt__p_wxStaticLine,
33921 _swigt__p_wxControl,
33922 _swigt__p_wxPyControl,
33923 _swigt__p_wxGauge,
33924 _swigt__p_wxToolBarBase,
33925 _swigt__p_wxFont,
33926 _swigt__p_wxToggleButton,
33927 _swigt__p_wxRadioButton,
33928 _swigt__p_wxChoice,
33929 _swigt__p_wxMemoryDC,
33930 _swigt__p_wxListItemAttr,
33931 _swigt__p_void,
33932 _swigt__p_int,
33933 _swigt__p_wxSize,
33934 _swigt__p_wxDC,
33935 _swigt__p_wxListView,
33936 _swigt__p_wxIcon,
33937 _swigt__p_wxVisualAttributes,
33938 _swigt__p_wxTextCtrl,
33939 _swigt__p_wxNotebook,
33940 _swigt__p_wxChoicebook,
33941 _swigt__p_wxNotifyEvent,
33942 _swigt__p_wxArrayString,
33943 _swigt__p_wxListbook,
33944 _swigt__p_wxStaticBitmap,
33945 _swigt__p_wxSlider,
33946 _swigt__p_wxStaticBox,
33947 _swigt__p_wxArrayInt,
33948 _swigt__p_wxContextHelp,
33949 _swigt__p_long,
33950 _swigt__p_wxEvtHandler,
33951 _swigt__p_wxListEvent,
33952 _swigt__p_wxCheckListBox,
33953 _swigt__p_wxListBox,
33954 _swigt__p_wxBookCtrl,
33955 _swigt__p_wxSpinButton,
33956 _swigt__p_wxButton,
33957 _swigt__p_wxBitmapButton,
33958 _swigt__p_wxRect,
33959 _swigt__p_wxContextHelpButton,
33960 _swigt__p_wxRadioBox,
33961 _swigt__p_wxScrollBar,
33962 _swigt__p_char,
33963 _swigt__p_wxTreeItemId,
33964 _swigt__p_wxComboBox,
33965 _swigt__p_wxHelpEvent,
33966 _swigt__p_wxListItem,
33967 _swigt__p_wxNotebookSizer,
33968 _swigt__p_wxSpinEvent,
33969 _swigt__p_wxGenericDragImage,
33970 _swigt__p_wxSpinCtrl,
33971 _swigt__p_wxImageList,
33972 _swigt__p_wxHelpProvider,
33973 _swigt__p_wxTextAttr,
33974 _swigt__p_wxSimpleHelpProvider,
33975 _swigt__p_wxPoint,
33976 _swigt__p_wxChoicebookEvent,
33977 _swigt__p_wxListbookEvent,
33978 _swigt__p_wxNotebookEvent,
33979 _swigt__p_wxObject,
33980 _swigt__p_wxCursor,
33981 _swigt__p_wxKeyEvent,
33982 _swigt__p_wxWindow,
33983 _swigt__p_wxString,
33984 _swigt__p_wxBitmap,
33985 _swigt__p_wxTreeEvent,
33986 _swigt__p_wxMouseEvent,
33987 _swigt__p_wxCommandEvent,
33988 _swigt__p_wxStaticText,
33989 _swigt__p_wxControlWithItems,
33990 _swigt__p_wxToolBarToolBase,
33991 _swigt__p_wxColour,
33992 _swigt__p_wxToolBar,
33993 _swigt__p_wxBookCtrlSizer,
33994 _swigt__p_wxValidator,
33995 0
33996 };
33997
33998
33999 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34000
34001 static swig_const_info swig_const_table[] = {
34002 {0, 0, 0, 0.0, 0, 0}};
34003
34004 #ifdef __cplusplus
34005 }
34006 #endif
34007
34008 #ifdef __cplusplus
34009 extern "C"
34010 #endif
34011 SWIGEXPORT(void) SWIG_init(void) {
34012 static PyObject *SWIG_globals = 0;
34013 static int typeinit = 0;
34014 PyObject *m, *d;
34015 int i;
34016 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34017 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34018 d = PyModule_GetDict(m);
34019
34020 if (!typeinit) {
34021 for (i = 0; swig_types_initial[i]; i++) {
34022 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34023 }
34024 typeinit = 1;
34025 }
34026 SWIG_InstallConstants(d,swig_const_table);
34027
34028 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
34029 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
34030 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT));
34031 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)wxBU_TOP));
34032 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT));
34033 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM));
34034 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT));
34035 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW));
34036 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
34037 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE));
34038 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE));
34039 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
34040 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED));
34041 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED));
34042 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED));
34043 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
34044 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
34045 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
34046 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL));
34047 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL));
34048 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH));
34049 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR));
34050 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
34051 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
34052 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
34053 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
34054 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
34055 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL));
34056 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL));
34057 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY));
34058 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE));
34059 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB));
34060 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT));
34061 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER));
34062 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT));
34063 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE));
34064 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)wxTE_RICH));
34065 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER));
34066 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD));
34067 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL));
34068 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL));
34069 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP));
34070 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP));
34071 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP));
34072 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2));
34073 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT));
34074 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT));
34075 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE));
34076 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER));
34077 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT));
34078 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED));
34079 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR));
34080 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
34081 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE));
34082 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE));
34083 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT));
34084 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC));
34085 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE));
34086 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT));
34087 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT));
34088 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT));
34089 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT));
34090 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS));
34091 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN));
34092 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE));
34093 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT));
34094 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW));
34095 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND));
34096 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
34097 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
34098 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
34099 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
34100 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
34101 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
34102 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
34103 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL));
34104 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL));
34105 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS));
34106 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP));
34107 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
34108 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
34109 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
34110 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
34111 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
34112 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
34113 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
34114 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH));
34115 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)wxNB_TOP));
34116 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT));
34117 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT));
34118 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM));
34119 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE));
34120 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE));
34121 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON));
34122 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL));
34123 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM));
34124 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
34125 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
34126 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT));
34127 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)wxLB_TOP));
34128 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM));
34129 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT));
34130 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT));
34131 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK));
34132 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
34133 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
34134 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT));
34135 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP));
34136 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM));
34137 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT));
34138 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT));
34139 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK));
34140 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
34141 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
34142 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON));
34143 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR));
34144 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL));
34145 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL));
34146 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL));
34147 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS));
34148 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT));
34149 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE));
34150 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS));
34151 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT));
34152 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER));
34153 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN));
34154 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT));
34155 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT));
34156 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
34157 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES));
34158 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES));
34159 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)wxLC_ICON));
34160 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON));
34161 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)wxLC_LIST));
34162 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT));
34163 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP));
34164 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT));
34165 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE));
34166 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL));
34167 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS));
34168 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER));
34169 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER));
34170 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL));
34171 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING));
34172 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING));
34173 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE));
34174 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN));
34175 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT));
34176 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE));
34177 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT));
34178 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE));
34179 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA));
34180 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM));
34181 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH));
34182 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT));
34183 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE));
34184 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED));
34185 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED));
34186 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED));
34187 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT));
34188 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED));
34189 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED));
34190 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE));
34191 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED));
34192 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE));
34193 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE));
34194 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW));
34195 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE));
34196 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON));
34197 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL));
34198 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT));
34199 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON));
34200 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT));
34201 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT));
34202 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM));
34203 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE));
34204 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL));
34205 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW));
34206 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT));
34207 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT));
34208 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT));
34209 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT));
34210 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP));
34211 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID));
34212 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT));
34213 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT));
34214 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE));
34215 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER));
34216 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE));
34217 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER));
34218 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS));
34219 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON));
34220 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL));
34221 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP));
34222 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN));
34223 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT));
34224 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT));
34225 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
34226 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
34227 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
34228 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
34229 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
34230 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
34231 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
34232 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
34233 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
34234 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
34235 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
34236 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
34237 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
34238 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
34239 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
34240 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
34241 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
34242 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
34243 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
34244 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
34245 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
34246 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
34247
34248 // Map renamed classes back to their common name for OOR
34249 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
34250
34251 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
34252 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS));
34253 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS));
34254 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES));
34255 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT));
34256 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE));
34257 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE));
34258 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED));
34259 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
34260 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS));
34261 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT));
34262 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES));
34263 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT));
34264 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE));
34265 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS));
34266 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS));
34267 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS));
34268 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal));
34269 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected));
34270 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded));
34271 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded));
34272 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max));
34273 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE));
34274 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW));
34275 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE));
34276 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON));
34277 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON));
34278 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT));
34279 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL));
34280 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT));
34281 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON));
34282 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT));
34283 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT));
34284 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART));
34285 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART));
34286 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM));
34287 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
34288 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
34289 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
34290 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
34291 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
34292 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
34293 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
34294 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
34295 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
34296 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
34297 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
34298 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
34299 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
34300 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
34301 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
34302 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
34303 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
34304 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
34305 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
34306 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
34307
34308 // Map renamed classes back to their common name for OOR
34309 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34310 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34311
34312 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
34313 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY));
34314 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST));
34315 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS));
34316 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL));
34317 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS));
34318 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP));
34319 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP));
34320 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
34321 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
34322
34323 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
34324
34325 }
34326